Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-11 23:59:03.614162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 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 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-11 23:59:42.530430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 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 628, 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 dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:00:03.042389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 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 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:00:42.937562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_25_9365.jpg', '/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_36_10361.jpg', '/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_45_9470.jpg', '/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_56_10377.jpg', '/home/pi/Desktop/images/06042025/20/06/image_06042025_20_07_06_10367.jpg', '/home/pi/Desktop/images/06042025/20/07/image_06042025_20_07_15_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_25_9365.jpg
/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_36_10361.jpg
/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_45_9470.jpg
/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_56_10377.jpg
/home/pi/Desktop/images/06042025/20/06/image_06042025_20_07_06_10367.jpg
/home/pi/Desktop/images/06042025/20/07/image_06042025_20_07_15_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351961955","1351962017","1351962058","1351961992","1351962037","1351962087"],"photo_ids_order":["1351961955","1351961992","1351962017","1351962037","1351962058","1351962087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7aaa44675f012e2253660ed520f8762e.jpg","text":"TemporaryFile(/tmp/multipartBody9098185448867387368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408904697,"filename":"image_06042025_20_06_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/546690b70cd8ee352f984a42c817bdac.jpg","text":"TemporaryFile(/tmp/multipartBody3170229269348882376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408904697,"filename":"image_06042025_20_06_45_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e69004e2a5559915f20760cf3e84e18a.jpg","text":"TemporaryFile(/tmp/multipartBody6998416394249010293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408904697,"filename":"image_06042025_20_07_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8bbd4a537c457c2161145dff8fdc42fd.jpg","text":"TemporaryFile(/tmp/multipartBody8095830904643356622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408904697,"filename":"image_06042025_20_06_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6f05672db67daea627c6f06305bad2c.jpg","text":"TemporaryFile(/tmp/multipartBody2065804841626072601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408904697,"filename":"image_06042025_20_06_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eadc50b49a1a9893ddf4f8aca543faec.jpg","text":"TemporaryFile(/tmp/multipartBody5286004546004791181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408904697,"filename":"image_06042025_20_07_15_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351962017","file1":"1351961992","file0":"1351961955","file4":"1351962058","file5":"1351962087","file3":"1351962037"},"map_files_photo_id_array":[{"photo_id":"1351962087","filename":"file5"},{"photo_id":"1351962017","filename":"file2"},{"photo_id":"1351962058","filename":"file4"},{"photo_id":"1351961992","filename":"file1"},{"photo_id":"1351961955","filename":"file0"},{"photo_id":"1351962037","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351961955":["hashtag1","hashtag2"]},{"1351962017":["hashtag1","hashtag2"]},{"1351962058":["hashtag1","hashtag2"]},{"1351961992":["hashtag1","hashtag2"]},{"1351962037":["hashtag1","hashtag2"]},{"1351962087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351961955, 1351962017, 1351962058, 1351961992, 1351962037, 1351962087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65128946304321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:01:42.588284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/07/image_06042025_20_07_26_10360.jpg', '/home/pi/Desktop/images/06042025/20/07/image_06042025_20_07_35_9419.jpg', '/home/pi/Desktop/images/06042025/20/07/image_06042025_20_07_56_10438.jpg', '/home/pi/Desktop/images/06042025/20/08/image_06042025_20_08_16_10349.jpg', '/home/pi/Desktop/images/06042025/20/08/image_06042025_20_08_26_10462.jpg', '/home/pi/Desktop/images/06042025/20/08/image_06042025_20_08_36_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/07/image_06042025_20_07_26_10360.jpg
/home/pi/Desktop/images/06042025/20/07/image_06042025_20_07_35_9419.jpg
/home/pi/Desktop/images/06042025/20/07/image_06042025_20_07_56_10438.jpg
/home/pi/Desktop/images/06042025/20/08/image_06042025_20_08_16_10349.jpg
/home/pi/Desktop/images/06042025/20/08/image_06042025_20_08_26_10462.jpg
/home/pi/Desktop/images/06042025/20/08/image_06042025_20_08_36_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351962201","1351962350","1351962206","1351962238","1351962325","1351962294"],"photo_ids_order":["1351962201","1351962206","1351962238","1351962294","1351962325","1351962350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9e1bba172f4df9416bcb530ed756331.jpg","text":"TemporaryFile(/tmp/multipartBody1933670133943971749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408964168,"filename":"image_06042025_20_07_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20ca75bb7441ec6b763ef68a6bd5e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody5099379412229035320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408964168,"filename":"image_06042025_20_08_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee33ee1693ab9f10735545ce89dcb150.jpg","text":"TemporaryFile(/tmp/multipartBody4623149057956999479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408964168,"filename":"image_06042025_20_07_35_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f849b97fb8907a9a483240840400ae01.jpg","text":"TemporaryFile(/tmp/multipartBody8680249723992949220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408964168,"filename":"image_06042025_20_07_56_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10a590ba7ddc48d486ba60d266493938.jpg","text":"TemporaryFile(/tmp/multipartBody964132739544597236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408964168,"filename":"image_06042025_20_08_26_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5d24297a02634d2011a0c0db56f533c.jpg","text":"TemporaryFile(/tmp/multipartBody8084642723383000289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408964168,"filename":"image_06042025_20_08_16_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351962238","file1":"1351962206","file0":"1351962201","file4":"1351962325","file5":"1351962350","file3":"1351962294"},"map_files_photo_id_array":[{"photo_id":"1351962350","filename":"file5"},{"photo_id":"1351962238","filename":"file2"},{"photo_id":"1351962325","filename":"file4"},{"photo_id":"1351962206","filename":"file1"},{"photo_id":"1351962201","filename":"file0"},{"photo_id":"1351962294","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351962201":["hashtag1","hashtag2"]},{"1351962350":["hashtag1","hashtag2"]},{"1351962206":["hashtag1","hashtag2"]},{"1351962238":["hashtag1","hashtag2"]},{"1351962325":["hashtag1","hashtag2"]},{"1351962294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351962201, 1351962350, 1351962206, 1351962238, 1351962325, 1351962294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.78932237625122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:02:42.803261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/08/image_06042025_20_08_46_10351.jpg', '/home/pi/Desktop/images/06042025/20/08/image_06042025_20_09_06_10356.jpg', '/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_16_10409.jpg', '/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_25_9363.jpg', '/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_36_10419.jpg', '/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_45_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/08/image_06042025_20_08_46_10351.jpg
/home/pi/Desktop/images/06042025/20/08/image_06042025_20_09_06_10356.jpg
/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_16_10409.jpg
/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_25_9363.jpg
/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_36_10419.jpg
/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_45_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351962587","1351962569","1351962602","1351962589","1351962517","1351962495"],"photo_ids_order":["1351962495","1351962517","1351962569","1351962587","1351962589","1351962602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32124f0422eb4de5a9b4c2bded158212.jpg","text":"TemporaryFile(/tmp/multipartBody4977410438635310370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409024371,"filename":"image_06042025_20_09_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e5daf20abbb40afc456351ae02d3fbf.jpg","text":"TemporaryFile(/tmp/multipartBody4910515264503260000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409024371,"filename":"image_06042025_20_09_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12cca9189e84244951d1cdc0efd31d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4680722807383584554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409024371,"filename":"image_06042025_20_09_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56ec8b346f2cabe21980cfd26adc5d31.jpg","text":"TemporaryFile(/tmp/multipartBody2668057492666394913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409024371,"filename":"image_06042025_20_09_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/335477b01035b53f6d433d9c2b4c9bde.jpg","text":"TemporaryFile(/tmp/multipartBody5515808715144983283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409024371,"filename":"image_06042025_20_09_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d29de4a9bd0142cad36b12f69c35f17.jpg","text":"TemporaryFile(/tmp/multipartBody5388313332500575078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409024371,"filename":"image_06042025_20_08_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351962569","file1":"1351962517","file0":"1351962495","file4":"1351962589","file5":"1351962602","file3":"1351962587"},"map_files_photo_id_array":[{"photo_id":"1351962602","filename":"file5"},{"photo_id":"1351962569","filename":"file2"},{"photo_id":"1351962589","filename":"file4"},{"photo_id":"1351962517","filename":"file1"},{"photo_id":"1351962495","filename":"file0"},{"photo_id":"1351962587","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351962587":["hashtag1","hashtag2"]},{"1351962569":["hashtag1","hashtag2"]},{"1351962602":["hashtag1","hashtag2"]},{"1351962589":["hashtag1","hashtag2"]},{"1351962517":["hashtag1","hashtag2"]},{"1351962495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351962587, 1351962569, 1351962602, 1351962589, 1351962517, 1351962495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75450086593628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:03:43.054957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_56_10401.jpg', '/home/pi/Desktop/images/06042025/20/09/image_06042025_20_10_06_10362.jpg', '/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_15_9369.jpg', '/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_26_10445.jpg', '/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_36_10388.jpg', '/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_46_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/09/image_06042025_20_09_56_10401.jpg
/home/pi/Desktop/images/06042025/20/09/image_06042025_20_10_06_10362.jpg
/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_15_9369.jpg
/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_26_10445.jpg
/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_36_10388.jpg
/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_46_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351963011","1351962977","1351962947","1351963093","1351963161","1351963020"],"photo_ids_order":["1351962947","1351962977","1351963011","1351963020","1351963093","1351963161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de6eb7fadbdaa2dfd4542a80e37890a3.jpg","text":"TemporaryFile(/tmp/multipartBody868709808831063426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409084619,"filename":"image_06042025_20_10_15_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b690319d3736f8046797b822e11e51ef.jpg","text":"TemporaryFile(/tmp/multipartBody3611151335385170864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409084619,"filename":"image_06042025_20_10_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02065921e3364a9f00c1afb0af6a5ef6.jpg","text":"TemporaryFile(/tmp/multipartBody7662924604026847047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409084619,"filename":"image_06042025_20_09_56_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65d4f7d5f4983ecbc5ace6b56c80ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody8986033070137639623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409084619,"filename":"image_06042025_20_10_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d8c8964a1988ce611b61b3b33eb9418.jpg","text":"TemporaryFile(/tmp/multipartBody2089847448031736382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409084619,"filename":"image_06042025_20_10_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cf574e51751e8f0f06e33979111dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody2257400308643529338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409084619,"filename":"image_06042025_20_10_26_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351963011","file1":"1351962977","file0":"1351962947","file4":"1351963093","file5":"1351963161","file3":"1351963020"},"map_files_photo_id_array":[{"photo_id":"1351963161","filename":"file5"},{"photo_id":"1351963011","filename":"file2"},{"photo_id":"1351963093","filename":"file4"},{"photo_id":"1351962977","filename":"file1"},{"photo_id":"1351962947","filename":"file0"},{"photo_id":"1351963020","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351963011":["hashtag1","hashtag2"]},{"1351962977":["hashtag1","hashtag2"]},{"1351962947":["hashtag1","hashtag2"]},{"1351963093":["hashtag1","hashtag2"]},{"1351963161":["hashtag1","hashtag2"]},{"1351963020":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351963011, 1351962977, 1351962947, 1351963093, 1351963161, 1351963020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.86123609542847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:04:42.241223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_56_10403.jpg', '/home/pi/Desktop/images/06042025/20/10/image_06042025_20_11_05_9358.jpg', '/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_16_10406.jpg', '/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_25_9465.jpg', '/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_36_10390.jpg', '/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_46_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/10/image_06042025_20_10_56_10403.jpg
/home/pi/Desktop/images/06042025/20/10/image_06042025_20_11_05_9358.jpg
/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_16_10406.jpg
/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_25_9465.jpg
/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_36_10390.jpg
/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_46_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351963500","1351963553","1351963415","1351963447","1351963609","1351963522"],"photo_ids_order":["1351963415","1351963447","1351963500","1351963522","1351963553","1351963609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93c328d25b3a0d2dc36db7f393d72693.jpg","text":"TemporaryFile(/tmp/multipartBody8483060645109461877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409143806,"filename":"image_06042025_20_11_16_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf873a49023e91066a39ee4229dd2ab8.jpg","text":"TemporaryFile(/tmp/multipartBody7305961526122723186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409143806,"filename":"image_06042025_20_11_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2582bf72e76cdc46c8b34bff4e47fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7216647659380469492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409143806,"filename":"image_06042025_20_10_56_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e49a2886d1549cc926c2debfeb3d8b28.jpg","text":"TemporaryFile(/tmp/multipartBody4153946581328973651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409143806,"filename":"image_06042025_20_11_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87e606c27de0b8a5c04dfed8dd19c12a.jpg","text":"TemporaryFile(/tmp/multipartBody7775223814370580844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409143806,"filename":"image_06042025_20_11_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afb3934ac890692a6eaea6de2698512d.jpg","text":"TemporaryFile(/tmp/multipartBody8405042523593249349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409143806,"filename":"image_06042025_20_11_25_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351963500","file1":"1351963447","file0":"1351963415","file4":"1351963553","file5":"1351963609","file3":"1351963522"},"map_files_photo_id_array":[{"photo_id":"1351963609","filename":"file5"},{"photo_id":"1351963500","filename":"file2"},{"photo_id":"1351963553","filename":"file4"},{"photo_id":"1351963447","filename":"file1"},{"photo_id":"1351963415","filename":"file0"},{"photo_id":"1351963522","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351963500":["hashtag1","hashtag2"]},{"1351963553":["hashtag1","hashtag2"]},{"1351963415":["hashtag1","hashtag2"]},{"1351963447":["hashtag1","hashtag2"]},{"1351963609":["hashtag1","hashtag2"]},{"1351963522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351963500, 1351963553, 1351963415, 1351963447, 1351963609, 1351963522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06938099861145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:05:42.459699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_55_9365.jpg', '/home/pi/Desktop/images/06042025/20/11/image_06042025_20_12_06_10348.jpg', '/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_16_10357.jpg', '/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_25_9464.jpg', '/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_36_10356.jpg', '/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_45_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/11/image_06042025_20_11_55_9365.jpg
/home/pi/Desktop/images/06042025/20/11/image_06042025_20_12_06_10348.jpg
/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_16_10357.jpg
/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_25_9464.jpg
/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_36_10356.jpg
/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_45_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351964111","1351964236","1351964283","1351964127","1351964345","1351964174"],"photo_ids_order":["1351964111","1351964127","1351964174","1351964236","1351964283","1351964345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b91298206259fcf6a50459c41951b427.jpg","text":"TemporaryFile(/tmp/multipartBody9148712722941329015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409204029,"filename":"image_06042025_20_11_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03ca7e80cb9c89b8159ef3e5602fecf1.jpg","text":"TemporaryFile(/tmp/multipartBody9082089252713836353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409204029,"filename":"image_06042025_20_12_25_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84e146ffbfa316b4f1d7f61fc0ead826.jpg","text":"TemporaryFile(/tmp/multipartBody4941800292261965431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409204029,"filename":"image_06042025_20_12_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49a838c576616701dc2e67a6413e6d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3380416545535654324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409204029,"filename":"image_06042025_20_12_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f118baec686defb28d4b71b22434b92c.jpg","text":"TemporaryFile(/tmp/multipartBody8420827432865396810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409204029,"filename":"image_06042025_20_12_45_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2550332f1e6b5b538ceb8aa744397ab7.jpg","text":"TemporaryFile(/tmp/multipartBody9095659958966188844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409204029,"filename":"image_06042025_20_12_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351964174","file1":"1351964127","file0":"1351964111","file4":"1351964283","file5":"1351964345","file3":"1351964236"},"map_files_photo_id_array":[{"photo_id":"1351964345","filename":"file5"},{"photo_id":"1351964174","filename":"file2"},{"photo_id":"1351964283","filename":"file4"},{"photo_id":"1351964127","filename":"file1"},{"photo_id":"1351964111","filename":"file0"},{"photo_id":"1351964236","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351964111":["hashtag1","hashtag2"]},{"1351964236":["hashtag1","hashtag2"]},{"1351964283":["hashtag1","hashtag2"]},{"1351964127":["hashtag1","hashtag2"]},{"1351964345":["hashtag1","hashtag2"]},{"1351964174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351964111, 1351964236, 1351964283, 1351964127, 1351964345, 1351964174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.38830828666687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:06:42.756095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_56_10378.jpg', '/home/pi/Desktop/images/06042025/20/12/image_06042025_20_13_06_10373.jpg', '/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_15_9482.jpg', '/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_26_10372.jpg', '/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_36_10381.jpg', '/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_46_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/12/image_06042025_20_12_56_10378.jpg
/home/pi/Desktop/images/06042025/20/12/image_06042025_20_13_06_10373.jpg
/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_15_9482.jpg
/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_26_10372.jpg
/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_36_10381.jpg
/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_46_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351964764","1351964944","1351965018","1351964790","1351964859","1351965077"],"photo_ids_order":["1351964764","1351964790","1351964859","1351964944","1351965018","1351965077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/013fa571d0db0ae9890eae70248aa3c0.jpg","text":"TemporaryFile(/tmp/multipartBody6858000640351393662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409264326,"filename":"image_06042025_20_12_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c4d559efc37228794ee6acc5a2f5c5b.jpg","text":"TemporaryFile(/tmp/multipartBody1009844977858931391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409264326,"filename":"image_06042025_20_13_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b7037b1212d92b924cbe8b2fcb82da0.jpg","text":"TemporaryFile(/tmp/multipartBody3095289460926012212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409264326,"filename":"image_06042025_20_13_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d4f37b142c5fd82dfe8776574d40155.jpg","text":"TemporaryFile(/tmp/multipartBody6513878167942799982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409264326,"filename":"image_06042025_20_13_06_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af3b3c020054c1e93d25a78e1fa3661f.jpg","text":"TemporaryFile(/tmp/multipartBody5651467795338382002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409264326,"filename":"image_06042025_20_13_15_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6685f71f615c46364934cb2232b5644.jpg","text":"TemporaryFile(/tmp/multipartBody8388229272838449224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409264326,"filename":"image_06042025_20_13_46_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351964859","file1":"1351964790","file0":"1351964764","file4":"1351965018","file5":"1351965077","file3":"1351964944"},"map_files_photo_id_array":[{"photo_id":"1351965077","filename":"file5"},{"photo_id":"1351964859","filename":"file2"},{"photo_id":"1351965018","filename":"file4"},{"photo_id":"1351964790","filename":"file1"},{"photo_id":"1351964764","filename":"file0"},{"photo_id":"1351964944","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351964764":["hashtag1","hashtag2"]},{"1351964944":["hashtag1","hashtag2"]},{"1351965018":["hashtag1","hashtag2"]},{"1351964790":["hashtag1","hashtag2"]},{"1351964859":["hashtag1","hashtag2"]},{"1351965077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351964764, 1351964944, 1351965018, 1351964790, 1351964859, 1351965077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73286199569702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:07:42.940310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_56_10369.jpg', '/home/pi/Desktop/images/06042025/20/13/image_06042025_20_14_05_9349.jpg', '/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_16_10404.jpg', '/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_26_10375.jpg', '/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_35_9353.jpg', '/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_46_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/13/image_06042025_20_13_56_10369.jpg
/home/pi/Desktop/images/06042025/20/13/image_06042025_20_14_05_9349.jpg
/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_16_10404.jpg
/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_26_10375.jpg
/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_35_9353.jpg
/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_46_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351965286","1351965418","1351965400","1351965464","1351965350","1351965323"],"photo_ids_order":["1351965286","1351965323","1351965350","1351965400","1351965418","1351965464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14c1ab57bd18bfd1cd16fe1032c4fb19.jpg","text":"TemporaryFile(/tmp/multipartBody4689109513512721174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409324523,"filename":"image_06042025_20_13_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80a8f5a025762f0e54d09f19e8d975a8.jpg","text":"TemporaryFile(/tmp/multipartBody3744553969340169480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409324523,"filename":"image_06042025_20_14_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b328d59512e65b4fb5ba7349511beda.jpg","text":"TemporaryFile(/tmp/multipartBody8892000824534509951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409324523,"filename":"image_06042025_20_14_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12597db84581e3c9c0eba5cc5c2780c6.jpg","text":"TemporaryFile(/tmp/multipartBody3863471246249672282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409324523,"filename":"image_06042025_20_14_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/925c8c1780d8e3d6e82c232d374034a7.jpg","text":"TemporaryFile(/tmp/multipartBody1509746782035439632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409324523,"filename":"image_06042025_20_14_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2cd0fd15ab9a801a3445f0851e6d07db.jpg","text":"TemporaryFile(/tmp/multipartBody1383475103875086640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409324523,"filename":"image_06042025_20_14_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351965350","file1":"1351965323","file0":"1351965286","file4":"1351965418","file5":"1351965464","file3":"1351965400"},"map_files_photo_id_array":[{"photo_id":"1351965464","filename":"file5"},{"photo_id":"1351965350","filename":"file2"},{"photo_id":"1351965418","filename":"file4"},{"photo_id":"1351965323","filename":"file1"},{"photo_id":"1351965286","filename":"file0"},{"photo_id":"1351965400","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351965286":["hashtag1","hashtag2"]},{"1351965418":["hashtag1","hashtag2"]},{"1351965400":["hashtag1","hashtag2"]},{"1351965464":["hashtag1","hashtag2"]},{"1351965350":["hashtag1","hashtag2"]},{"1351965323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351965286, 1351965418, 1351965400, 1351965464, 1351965350, 1351965323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74135971069336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:08:42.159250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_55_9425.jpg', '/home/pi/Desktop/images/06042025/20/14/image_06042025_20_15_06_10399.jpg', '/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_16_10364.jpg', '/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_25_9366.jpg', '/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_36_10403.jpg', '/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_46_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/14/image_06042025_20_14_55_9425.jpg
/home/pi/Desktop/images/06042025/20/14/image_06042025_20_15_06_10399.jpg
/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_16_10364.jpg
/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_25_9366.jpg
/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_36_10403.jpg
/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_46_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351965904","1351965846","1351965789","1351965738","1351965639","1351965698"],"photo_ids_order":["1351965639","1351965698","1351965738","1351965789","1351965846","1351965904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f17a623bbffa8d8629841d34213264a7.jpg","text":"TemporaryFile(/tmp/multipartBody6725697487284381673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409383799,"filename":"image_06042025_20_15_46_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9459cbe342514844e9d6470d78518d49.jpg","text":"TemporaryFile(/tmp/multipartBody2268414741135544915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409383799,"filename":"image_06042025_20_15_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e731abe439103e7d4cdfd6a871d6ed40.jpg","text":"TemporaryFile(/tmp/multipartBody5009696576501289937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409383799,"filename":"image_06042025_20_15_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a848e84b14e66492e86b671163d79dc9.jpg","text":"TemporaryFile(/tmp/multipartBody738715262504608424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409383799,"filename":"image_06042025_20_15_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5feee6014edf82d0bc961d976801c732.jpg","text":"TemporaryFile(/tmp/multipartBody7502318143163124446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409383799,"filename":"image_06042025_20_14_55_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/764d6547c198e09bd0bc38952a4a448c.jpg","text":"TemporaryFile(/tmp/multipartBody7329308725091102371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409383799,"filename":"image_06042025_20_15_06_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351965738","file1":"1351965698","file0":"1351965639","file4":"1351965846","file5":"1351965904","file3":"1351965789"},"map_files_photo_id_array":[{"photo_id":"1351965904","filename":"file5"},{"photo_id":"1351965738","filename":"file2"},{"photo_id":"1351965846","filename":"file4"},{"photo_id":"1351965698","filename":"file1"},{"photo_id":"1351965639","filename":"file0"},{"photo_id":"1351965789","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351965904":["hashtag1","hashtag2"]},{"1351965846":["hashtag1","hashtag2"]},{"1351965789":["hashtag1","hashtag2"]},{"1351965738":["hashtag1","hashtag2"]},{"1351965639":["hashtag1","hashtag2"]},{"1351965698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351965904, 1351965846, 1351965789, 1351965738, 1351965639, 1351965698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07141947746277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:09:42.429369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_56_9362.jpg', '/home/pi/Desktop/images/06042025/20/15/image_06042025_20_16_06_10422.jpg', '/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_15_9463.jpg', '/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_26_10371.jpg', '/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_36_10371.jpg', '/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_46_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/15/image_06042025_20_15_56_9362.jpg
/home/pi/Desktop/images/06042025/20/15/image_06042025_20_16_06_10422.jpg
/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_15_9463.jpg
/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_26_10371.jpg
/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_36_10371.jpg
/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_46_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351966255","1351966435","1351966306","1351966359","1351966328","1351966498"],"photo_ids_order":["1351966255","1351966306","1351966328","1351966359","1351966435","1351966498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be66adcc9bbb90de1391856b078016bd.jpg","text":"TemporaryFile(/tmp/multipartBody4588473374682777180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409444021,"filename":"image_06042025_20_15_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/483fa0ba5fd1fd22644f3ea73c3432fb.jpg","text":"TemporaryFile(/tmp/multipartBody4869369876750336837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409444021,"filename":"image_06042025_20_16_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95821c11f0db37de163e62acea440473.jpg","text":"TemporaryFile(/tmp/multipartBody5211583012487687701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409444021,"filename":"image_06042025_20_16_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c0a8e9a21c2b0f4a969fd264ddcb938.jpg","text":"TemporaryFile(/tmp/multipartBody3043050920446100658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409444021,"filename":"image_06042025_20_16_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d925d283747d1924afbfc2b0d71b3a9c.jpg","text":"TemporaryFile(/tmp/multipartBody729433384844948780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409444021,"filename":"image_06042025_20_16_15_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d4668c52eebe125ace1ec67e30e5bee.jpg","text":"TemporaryFile(/tmp/multipartBody8059514215926083721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409444021,"filename":"image_06042025_20_16_46_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351966328","file1":"1351966306","file0":"1351966255","file4":"1351966435","file5":"1351966498","file3":"1351966359"},"map_files_photo_id_array":[{"photo_id":"1351966498","filename":"file5"},{"photo_id":"1351966328","filename":"file2"},{"photo_id":"1351966435","filename":"file4"},{"photo_id":"1351966306","filename":"file1"},{"photo_id":"1351966255","filename":"file0"},{"photo_id":"1351966359","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351966255":["hashtag1","hashtag2"]},{"1351966435":["hashtag1","hashtag2"]},{"1351966306":["hashtag1","hashtag2"]},{"1351966359":["hashtag1","hashtag2"]},{"1351966328":["hashtag1","hashtag2"]},{"1351966498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351966255, 1351966435, 1351966306, 1351966359, 1351966328, 1351966498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.0180869102478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:10:42.593101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_56_10371.jpg', '/home/pi/Desktop/images/06042025/20/16/image_06042025_20_17_05_9530.jpg', '/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_16_10345.jpg', '/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_25_9444.jpg', '/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_45_9475.jpg', '/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_56_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/16/image_06042025_20_16_56_10371.jpg
/home/pi/Desktop/images/06042025/20/16/image_06042025_20_17_05_9530.jpg
/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_16_10345.jpg
/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_25_9444.jpg
/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_45_9475.jpg
/home/pi/Desktop/images/06042025/20/17/image_06042025_20_17_56_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351966974","1351966733","1351967170","1351966690","1351967068","1351967329"],"photo_ids_order":["1351966690","1351966733","1351966974","1351967068","1351967170","1351967329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e61111c950aa27aefb41212cc85e86a0.jpg","text":"TemporaryFile(/tmp/multipartBody6509559285921401240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409504171,"filename":"image_06042025_20_17_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63dce5a2f45608aac428657e09f58a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4224845683490600577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409504171,"filename":"image_06042025_20_17_05_9530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fbb4558997456b8705cb56d5b2b06a0.jpg","text":"TemporaryFile(/tmp/multipartBody7364300082301647139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409504171,"filename":"image_06042025_20_17_45_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e07271c806504568707e80122bf11e98.jpg","text":"TemporaryFile(/tmp/multipartBody2365547964296960088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409504171,"filename":"image_06042025_20_16_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1a4d948a782a6a34ac4be59306cfe0c.jpg","text":"TemporaryFile(/tmp/multipartBody1111270413355521733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409504171,"filename":"image_06042025_20_17_25_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5435e5f1c6b9d0403182745109685893.jpg","text":"TemporaryFile(/tmp/multipartBody4919167784362018353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409504171,"filename":"image_06042025_20_17_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351966974","file1":"1351966733","file0":"1351966690","file4":"1351967170","file5":"1351967329","file3":"1351967068"},"map_files_photo_id_array":[{"photo_id":"1351967329","filename":"file5"},{"photo_id":"1351966974","filename":"file2"},{"photo_id":"1351967170","filename":"file4"},{"photo_id":"1351966733","filename":"file1"},{"photo_id":"1351966690","filename":"file0"},{"photo_id":"1351967068","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351966974":["hashtag1","hashtag2"]},{"1351966733":["hashtag1","hashtag2"]},{"1351967170":["hashtag1","hashtag2"]},{"1351966690":["hashtag1","hashtag2"]},{"1351967068":["hashtag1","hashtag2"]},{"1351967329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351966974, 1351966733, 1351967170, 1351966690, 1351967068, 1351967329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.08157992362976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:11:42.801465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/17/image_06042025_20_18_06_10406.jpg', '/home/pi/Desktop/images/06042025/20/18/image_06042025_20_18_15_9418.jpg', '/home/pi/Desktop/images/06042025/20/18/image_06042025_20_18_26_10417.jpg', '/home/pi/Desktop/images/06042025/20/18/image_06042025_20_18_35_9381.jpg', '/home/pi/Desktop/images/06042025/20/18/image_06042025_20_18_46_10410.jpg', '/home/pi/Desktop/images/06042025/20/18/image_06042025_20_19_06_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/17/image_06042025_20_18_06_10406.jpg
/home/pi/Desktop/images/06042025/20/18/image_06042025_20_18_15_9418.jpg
/home/pi/Desktop/images/06042025/20/18/image_06042025_20_18_26_10417.jpg
/home/pi/Desktop/images/06042025/20/18/image_06042025_20_18_35_9381.jpg
/home/pi/Desktop/images/06042025/20/18/image_06042025_20_18_46_10410.jpg
/home/pi/Desktop/images/06042025/20/18/image_06042025_20_19_06_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351967759","1351967831","1351967692","1351967581","1351967898","1351967644"],"photo_ids_order":["1351967581","1351967644","1351967692","1351967759","1351967831","1351967898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ebad0ce9d2d47634a839003c32db7da.jpg","text":"TemporaryFile(/tmp/multipartBody9031467302493699334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409564779,"filename":"image_06042025_20_18_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c565cdbc8a6cf9ee670d707360c1ecb.jpg","text":"TemporaryFile(/tmp/multipartBody5770318566243515526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409564779,"filename":"image_06042025_20_18_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/713c1473759075be017053884f2d27bd.jpg","text":"TemporaryFile(/tmp/multipartBody2927256784630952620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409564779,"filename":"image_06042025_20_18_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8be8d101d7a431e5b3a23ddb1bce85f.jpg","text":"TemporaryFile(/tmp/multipartBody8348246414357198158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409564779,"filename":"image_06042025_20_18_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6fb76c2cabfdc2bb86b49afbbd0466d.jpg","text":"TemporaryFile(/tmp/multipartBody3503694671065966249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409564779,"filename":"image_06042025_20_19_06_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fd0ba421b9d51501024499ccd0df42c.jpg","text":"TemporaryFile(/tmp/multipartBody708931624277973983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409564779,"filename":"image_06042025_20_18_15_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351967692","file1":"1351967644","file0":"1351967581","file4":"1351967831","file5":"1351967898","file3":"1351967759"},"map_files_photo_id_array":[{"photo_id":"1351967898","filename":"file5"},{"photo_id":"1351967692","filename":"file2"},{"photo_id":"1351967831","filename":"file4"},{"photo_id":"1351967644","filename":"file1"},{"photo_id":"1351967581","filename":"file0"},{"photo_id":"1351967759","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351967759":["hashtag1","hashtag2"]},{"1351967831":["hashtag1","hashtag2"]},{"1351967692":["hashtag1","hashtag2"]},{"1351967581":["hashtag1","hashtag2"]},{"1351967898":["hashtag1","hashtag2"]},{"1351967644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351967759, 1351967831, 1351967692, 1351967581, 1351967898, 1351967644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.27326798439026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:13:03.353194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_16_10359.jpg', '/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_25_9376.jpg', '/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_36_10403.jpg', '/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_46_10350.jpg', '/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_55_9443.jpg', '/home/pi/Desktop/images/06042025/20/19/image_06042025_20_20_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_16_10359.jpg
/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_25_9376.jpg
/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_36_10403.jpg
/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_46_10350.jpg
/home/pi/Desktop/images/06042025/20/19/image_06042025_20_19_55_9443.jpg
/home/pi/Desktop/images/06042025/20/19/image_06042025_20_20_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351968825","1351968581","1351969051","1351968931","1351968601","1351968747"],"photo_ids_order":["1351968581","1351968601","1351968747","1351968825","1351968931","1351969051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e13dbd2cde97561e46233eaae2f0893.jpg","text":"TemporaryFile(/tmp/multipartBody7309394629701921327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409644176,"filename":"image_06042025_20_19_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a58e5f3778f9b7439ecc0224b4764202.jpg","text":"TemporaryFile(/tmp/multipartBody1344215732408265197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409644176,"filename":"image_06042025_20_19_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72cc88e286007c085509df7cf886600f.jpg","text":"TemporaryFile(/tmp/multipartBody2504461876712653464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409644176,"filename":"image_06042025_20_20_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b8cfa4c1e7cb8be9d31a1e104fed87e.jpg","text":"TemporaryFile(/tmp/multipartBody4549448954694530138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409644176,"filename":"image_06042025_20_19_55_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/faae8bb711dc8bc9731a8f1aaf4cf4e6.jpg","text":"TemporaryFile(/tmp/multipartBody524811859155976026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409644176,"filename":"image_06042025_20_19_25_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3defd1e689cbfee84636f6fd20a3af72.jpg","text":"TemporaryFile(/tmp/multipartBody2890634395043461340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409644176,"filename":"image_06042025_20_19_36_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351968747","file1":"1351968601","file0":"1351968581","file4":"1351968931","file5":"1351969051","file3":"1351968825"},"map_files_photo_id_array":[{"photo_id":"1351969051","filename":"file5"},{"photo_id":"1351968747","filename":"file2"},{"photo_id":"1351968931","filename":"file4"},{"photo_id":"1351968601","filename":"file1"},{"photo_id":"1351968581","filename":"file0"},{"photo_id":"1351968825","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351968825":["hashtag1","hashtag2"]},{"1351968581":["hashtag1","hashtag2"]},{"1351969051":["hashtag1","hashtag2"]},{"1351968931":["hashtag1","hashtag2"]},{"1351968601":["hashtag1","hashtag2"]},{"1351968747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351968825, 1351968581, 1351969051, 1351968931, 1351968601, 1351968747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45106911659241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:14:02.696146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_15_9444.jpg', '/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_26_10409.jpg', '/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_36_10345.jpg', '/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_45_9443.jpg', '/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_56_10367.jpg', '/home/pi/Desktop/images/06042025/20/20/image_06042025_20_21_05_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_15_9444.jpg
/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_26_10409.jpg
/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_36_10345.jpg
/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_45_9443.jpg
/home/pi/Desktop/images/06042025/20/20/image_06042025_20_20_56_10367.jpg
/home/pi/Desktop/images/06042025/20/20/image_06042025_20_21_05_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351969523","1351969495","1351969867","1351969629","1351969809","1351969886"],"photo_ids_order":["1351969495","1351969523","1351969629","1351969809","1351969867","1351969886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14f96857228e376811b52c379072c8f8.jpg","text":"TemporaryFile(/tmp/multipartBody8531205588154330650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409703936,"filename":"image_06042025_20_20_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbe2dc4ec40b724bc8253af9ad238363.jpg","text":"TemporaryFile(/tmp/multipartBody3172839347410778198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409703936,"filename":"image_06042025_20_20_15_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b85e0649afe6e52d10680d8f39295771.jpg","text":"TemporaryFile(/tmp/multipartBody5008037548150829085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409703936,"filename":"image_06042025_20_20_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98188350dcd17c0038155b0d8aff6072.jpg","text":"TemporaryFile(/tmp/multipartBody4288892408856703103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409703936,"filename":"image_06042025_20_20_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbb8c8680eb447d77ae04a15058f5019.jpg","text":"TemporaryFile(/tmp/multipartBody3412676377162684863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409703936,"filename":"image_06042025_20_20_45_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3689394087754d6d067b6ef20880319.jpg","text":"TemporaryFile(/tmp/multipartBody199796873703312693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409703936,"filename":"image_06042025_20_21_05_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351969629","file1":"1351969523","file0":"1351969495","file4":"1351969867","file5":"1351969886","file3":"1351969809"},"map_files_photo_id_array":[{"photo_id":"1351969886","filename":"file5"},{"photo_id":"1351969629","filename":"file2"},{"photo_id":"1351969867","filename":"file4"},{"photo_id":"1351969523","filename":"file1"},{"photo_id":"1351969495","filename":"file0"},{"photo_id":"1351969809","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351969523":["hashtag1","hashtag2"]},{"1351969495":["hashtag1","hashtag2"]},{"1351969867":["hashtag1","hashtag2"]},{"1351969629":["hashtag1","hashtag2"]},{"1351969809":["hashtag1","hashtag2"]},{"1351969886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351969523, 1351969495, 1351969867, 1351969629, 1351969809, 1351969886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99611234664917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:15:03.619069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_16_10377.jpg', '/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_26_10376.jpg', '/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_35_9404.jpg', '/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_46_10389.jpg', '/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_55_9456.jpg', '/home/pi/Desktop/images/06042025/20/21/image_06042025_20_22_06_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_16_10377.jpg
/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_26_10376.jpg
/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_35_9404.jpg
/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_46_10389.jpg
/home/pi/Desktop/images/06042025/20/21/image_06042025_20_21_55_9456.jpg
/home/pi/Desktop/images/06042025/20/21/image_06042025_20_22_06_10352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351970225","1351970230","1351970200","1351970172","1351970181","1351970163"],"photo_ids_order":["1351970163","1351970172","1351970181","1351970200","1351970225","1351970230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26e6df891c16c1f0c010f53e2ee3b057.jpg","text":"TemporaryFile(/tmp/multipartBody7354836081733848350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409764502,"filename":"image_06042025_20_21_55_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca8dd0ff91ba913a5f4cf49681d8eb1c.jpg","text":"TemporaryFile(/tmp/multipartBody7946923752201742422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409764502,"filename":"image_06042025_20_22_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23ca2d363f925b8bdc9764a480fa1f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6935915641976854583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409764502,"filename":"image_06042025_20_21_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/738968395ad4c8c22ffdb43e8171aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody2900768348389576330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409764502,"filename":"image_06042025_20_21_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39d19e69777742740644d6b3f5267c0b.jpg","text":"TemporaryFile(/tmp/multipartBody20483181420506826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409764502,"filename":"image_06042025_20_21_35_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0464135dac0100dcff0a57cd9976e9b1.jpg","text":"TemporaryFile(/tmp/multipartBody4917522105287816756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409764502,"filename":"image_06042025_20_21_16_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970181","file1":"1351970172","file0":"1351970163","file4":"1351970225","file5":"1351970230","file3":"1351970200"},"map_files_photo_id_array":[{"photo_id":"1351970230","filename":"file5"},{"photo_id":"1351970181","filename":"file2"},{"photo_id":"1351970225","filename":"file4"},{"photo_id":"1351970172","filename":"file1"},{"photo_id":"1351970163","filename":"file0"},{"photo_id":"1351970200","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351970225":["hashtag1","hashtag2"]},{"1351970230":["hashtag1","hashtag2"]},{"1351970200":["hashtag1","hashtag2"]},{"1351970172":["hashtag1","hashtag2"]},{"1351970181":["hashtag1","hashtag2"]},{"1351970163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351970225, 1351970230, 1351970200, 1351970172, 1351970181, 1351970163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09416937828064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:15:42.559820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_16_10382.jpg', '/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_25_9347.jpg', '/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_36_10403.jpg', '/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_46_10442.jpg', '/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_56_9433.jpg', '/home/pi/Desktop/images/06042025/20/22/image_06042025_20_23_06_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_16_10382.jpg
/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_25_9347.jpg
/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_36_10403.jpg
/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_46_10442.jpg
/home/pi/Desktop/images/06042025/20/22/image_06042025_20_22_56_9433.jpg
/home/pi/Desktop/images/06042025/20/22/image_06042025_20_23_06_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351970474","1351970450","1351970366","1351970327","1351970410","1351970428"],"photo_ids_order":["1351970327","1351970366","1351970410","1351970428","1351970450","1351970474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90df77e50582753db87d019c6953a6bb.jpg","text":"TemporaryFile(/tmp/multipartBody4763388775607076973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409804122,"filename":"image_06042025_20_23_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/018891f2e766476bc17eda7aa63a71bf.jpg","text":"TemporaryFile(/tmp/multipartBody4674757558443754214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409804122,"filename":"image_06042025_20_22_56_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96751e813266f34e2f8bfacb77ff5a8a.jpg","text":"TemporaryFile(/tmp/multipartBody1053107633712672115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409804122,"filename":"image_06042025_20_22_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab32c82b82dc804dbab4b56518416954.jpg","text":"TemporaryFile(/tmp/multipartBody5705930746363591082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409804122,"filename":"image_06042025_20_22_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23e124ee775c5be5786db052ac8bf6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6517345732008284726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409804122,"filename":"image_06042025_20_22_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/061d30b27451b9edba889ea76a1a51c3.jpg","text":"TemporaryFile(/tmp/multipartBody9187561790333366908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409804122,"filename":"image_06042025_20_22_46_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970410","file1":"1351970366","file0":"1351970327","file4":"1351970450","file5":"1351970474","file3":"1351970428"},"map_files_photo_id_array":[{"photo_id":"1351970474","filename":"file5"},{"photo_id":"1351970410","filename":"file2"},{"photo_id":"1351970450","filename":"file4"},{"photo_id":"1351970366","filename":"file1"},{"photo_id":"1351970327","filename":"file0"},{"photo_id":"1351970428","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351970474":["hashtag1","hashtag2"]},{"1351970450":["hashtag1","hashtag2"]},{"1351970366":["hashtag1","hashtag2"]},{"1351970327":["hashtag1","hashtag2"]},{"1351970410":["hashtag1","hashtag2"]},{"1351970428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351970474, 1351970450, 1351970366, 1351970327, 1351970410, 1351970428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.543221950531006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:16:42.834757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_15_9336.jpg', '/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_26_10362.jpg', '/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_36_10478.jpg', '/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_46_9364.jpg', '/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_56_10360.jpg', '/home/pi/Desktop/images/06042025/20/23/image_06042025_20_24_05_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_15_9336.jpg
/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_26_10362.jpg
/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_36_10478.jpg
/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_46_9364.jpg
/home/pi/Desktop/images/06042025/20/23/image_06042025_20_23_56_10360.jpg
/home/pi/Desktop/images/06042025/20/23/image_06042025_20_24_05_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351970780","1351970650","1351970728","1351970743","1351970701","1351970760"],"photo_ids_order":["1351970650","1351970701","1351970728","1351970743","1351970760","1351970780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2b0b43441bd335721fa696e8273012c.jpg","text":"TemporaryFile(/tmp/multipartBody9013521101668313230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409864403,"filename":"image_06042025_20_24_05_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cfea2c66375873d8ae43d9f5262ea75.jpg","text":"TemporaryFile(/tmp/multipartBody3708894538178358132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409864403,"filename":"image_06042025_20_23_15_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fdd389b8155a2ca21d1e1269e7122fb.jpg","text":"TemporaryFile(/tmp/multipartBody3927632610304011133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409864403,"filename":"image_06042025_20_23_36_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a2d9a02ec03a6a375e7985a308fa7ae.jpg","text":"TemporaryFile(/tmp/multipartBody7800980843528011714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409864403,"filename":"image_06042025_20_23_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f528e625a91c23d2d2f563a3e37e5bff.jpg","text":"TemporaryFile(/tmp/multipartBody1325057034650964898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409864403,"filename":"image_06042025_20_23_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1f741362f8f2b705855b423d6b5b01a.jpg","text":"TemporaryFile(/tmp/multipartBody1911313679740249834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409864403,"filename":"image_06042025_20_23_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970728","file1":"1351970701","file0":"1351970650","file4":"1351970760","file5":"1351970780","file3":"1351970743"},"map_files_photo_id_array":[{"photo_id":"1351970780","filename":"file5"},{"photo_id":"1351970728","filename":"file2"},{"photo_id":"1351970760","filename":"file4"},{"photo_id":"1351970701","filename":"file1"},{"photo_id":"1351970650","filename":"file0"},{"photo_id":"1351970743","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351970780":["hashtag1","hashtag2"]},{"1351970650":["hashtag1","hashtag2"]},{"1351970728":["hashtag1","hashtag2"]},{"1351970743":["hashtag1","hashtag2"]},{"1351970701":["hashtag1","hashtag2"]},{"1351970760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351970780, 1351970650, 1351970728, 1351970743, 1351970701, 1351970760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.288567543029785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:17:43.035518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_16_10403.jpg', '/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_26_10373.jpg', '/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_35_9358.jpg', '/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_46_10358.jpg', '/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_56_10406.jpg', '/home/pi/Desktop/images/06042025/20/24/image_06042025_20_25_06_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_16_10403.jpg
/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_26_10373.jpg
/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_35_9358.jpg
/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_46_10358.jpg
/home/pi/Desktop/images/06042025/20/24/image_06042025_20_24_56_10406.jpg
/home/pi/Desktop/images/06042025/20/24/image_06042025_20_25_06_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351971015","1351970864","1351971035","1351970855","1351970921","1351970860"],"photo_ids_order":["1351970855","1351970860","1351970864","1351970921","1351971015","1351971035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45e61e4b7b5cf7e9658e72b4efeb9d0f.jpg","text":"TemporaryFile(/tmp/multipartBody3455822058335988284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409924620,"filename":"image_06042025_20_24_56_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afe31f9460fcdd496c78bb0b86b91670.jpg","text":"TemporaryFile(/tmp/multipartBody4326243487847027394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409924620,"filename":"image_06042025_20_24_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1c99c610e8d129a2e74738ef77127cd.jpg","text":"TemporaryFile(/tmp/multipartBody594996226221828490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409924620,"filename":"image_06042025_20_25_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16ff1d2b0dd3715902aa9fada8b4383e.jpg","text":"TemporaryFile(/tmp/multipartBody8255534561402074422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409924620,"filename":"image_06042025_20_24_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2d3022debfa7d497d80cd15712c9aa8.jpg","text":"TemporaryFile(/tmp/multipartBody1774934126611877667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409924620,"filename":"image_06042025_20_24_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db274ce439bd6117445a5abdf2717b41.jpg","text":"TemporaryFile(/tmp/multipartBody1490798757177483729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409924620,"filename":"image_06042025_20_24_26_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351970864","file1":"1351970860","file0":"1351970855","file4":"1351971015","file5":"1351971035","file3":"1351970921"},"map_files_photo_id_array":[{"photo_id":"1351971035","filename":"file5"},{"photo_id":"1351970864","filename":"file2"},{"photo_id":"1351971015","filename":"file4"},{"photo_id":"1351970860","filename":"file1"},{"photo_id":"1351970855","filename":"file0"},{"photo_id":"1351970921","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351971015":["hashtag1","hashtag2"]},{"1351970864":["hashtag1","hashtag2"]},{"1351971035":["hashtag1","hashtag2"]},{"1351970855":["hashtag1","hashtag2"]},{"1351970921":["hashtag1","hashtag2"]},{"1351970860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351971015, 1351970864, 1351971035, 1351970855, 1351970921, 1351970860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24940061569214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:18:42.285070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_16_10378.jpg', '/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_25_9468.jpg', '/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_36_10347.jpg', '/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_46_10354.jpg', '/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_55_9371.jpg', '/home/pi/Desktop/images/06042025/20/25/image_06042025_20_26_06_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_16_10378.jpg
/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_25_9468.jpg
/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_36_10347.jpg
/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_46_10354.jpg
/home/pi/Desktop/images/06042025/20/25/image_06042025_20_25_55_9371.jpg
/home/pi/Desktop/images/06042025/20/25/image_06042025_20_26_06_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351971449","1351971341","1351971484","1351971364","1351971346","1351971390"],"photo_ids_order":["1351971341","1351971346","1351971364","1351971390","1351971449","1351971484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90a7926ecb3f7ba7feaa214eca76de99.jpg","text":"TemporaryFile(/tmp/multipartBody4884569667842980339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409983855,"filename":"image_06042025_20_25_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/197d6617991fc3d7050005b98407fc84.jpg","text":"TemporaryFile(/tmp/multipartBody6048782563397386784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409983855,"filename":"image_06042025_20_25_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/678cca62b51c063288e6fb650d5aa21b.jpg","text":"TemporaryFile(/tmp/multipartBody3541862356760695838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409983855,"filename":"image_06042025_20_26_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7106b0eeae0287b26e5d1cd150a628f.jpg","text":"TemporaryFile(/tmp/multipartBody7578034675485506446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409983855,"filename":"image_06042025_20_25_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7bae7862bb3b8d129ca9417088ac8f39.jpg","text":"TemporaryFile(/tmp/multipartBody1042373855843717915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409983855,"filename":"image_06042025_20_25_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4086f20e34046723bb7de9e95ea905a.jpg","text":"TemporaryFile(/tmp/multipartBody1301011647666799658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744409983855,"filename":"image_06042025_20_25_46_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351971364","file1":"1351971346","file0":"1351971341","file4":"1351971449","file5":"1351971484","file3":"1351971390"},"map_files_photo_id_array":[{"photo_id":"1351971484","filename":"file5"},{"photo_id":"1351971364","filename":"file2"},{"photo_id":"1351971449","filename":"file4"},{"photo_id":"1351971346","filename":"file1"},{"photo_id":"1351971341","filename":"file0"},{"photo_id":"1351971390","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351971449":["hashtag1","hashtag2"]},{"1351971341":["hashtag1","hashtag2"]},{"1351971484":["hashtag1","hashtag2"]},{"1351971364":["hashtag1","hashtag2"]},{"1351971346":["hashtag1","hashtag2"]},{"1351971390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351971449, 1351971341, 1351971484, 1351971364, 1351971346, 1351971390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.645015239715576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:19:42.540891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_15_9400.jpg', '/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_26_10555.jpg', '/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_35_9415.jpg', '/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_46_10363.jpg', '/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_56_10367.jpg', '/home/pi/Desktop/images/06042025/20/26/image_06042025_20_27_06_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_15_9400.jpg
/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_26_10555.jpg
/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_35_9415.jpg
/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_46_10363.jpg
/home/pi/Desktop/images/06042025/20/26/image_06042025_20_26_56_10367.jpg
/home/pi/Desktop/images/06042025/20/26/image_06042025_20_27_06_9936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351971575","1351971550","1351971625","1351971649","1351971639","1351971596"],"photo_ids_order":["1351971550","1351971575","1351971596","1351971625","1351971639","1351971649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6244bebbe8ea879dc64e122effcaf26e.jpg","text":"TemporaryFile(/tmp/multipartBody616060897800600202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410044120,"filename":"image_06042025_20_26_26_10555.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2694ec4e938d35a15bdc860adac835ce.jpg","text":"TemporaryFile(/tmp/multipartBody5266196642512342029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410044120,"filename":"image_06042025_20_26_15_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3d04029146964bad4f31220eef0ab76.jpg","text":"TemporaryFile(/tmp/multipartBody3147768867122994929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410044120,"filename":"image_06042025_20_26_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2d3ec25853925b3dc686025d45456b5.jpg","text":"TemporaryFile(/tmp/multipartBody9109228902528836522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410044120,"filename":"image_06042025_20_27_06_9936.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fefa5fd6bd645a0ef69884e5a64a8ab3.jpg","text":"TemporaryFile(/tmp/multipartBody6903044640863661032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410044120,"filename":"image_06042025_20_26_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3766c7f419d8d8e749dfdb9bd324d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7539850540278321447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410044120,"filename":"image_06042025_20_26_35_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351971596","file1":"1351971575","file0":"1351971550","file4":"1351971639","file5":"1351971649","file3":"1351971625"},"map_files_photo_id_array":[{"photo_id":"1351971649","filename":"file5"},{"photo_id":"1351971596","filename":"file2"},{"photo_id":"1351971639","filename":"file4"},{"photo_id":"1351971575","filename":"file1"},{"photo_id":"1351971550","filename":"file0"},{"photo_id":"1351971625","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351971575":["hashtag1","hashtag2"]},{"1351971550":["hashtag1","hashtag2"]},{"1351971625":["hashtag1","hashtag2"]},{"1351971649":["hashtag1","hashtag2"]},{"1351971639":["hashtag1","hashtag2"]},{"1351971596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351971575, 1351971550, 1351971625, 1351971649, 1351971639, 1351971596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67581844329834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:20:42.904534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_15_9370.jpg', '/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_26_10383.jpg', '/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_36_10483.jpg', '/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_46_9428.jpg', '/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_56_10366.jpg', '/home/pi/Desktop/images/06042025/20/27/image_06042025_20_28_05_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_15_9370.jpg
/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_26_10383.jpg
/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_36_10483.jpg
/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_46_9428.jpg
/home/pi/Desktop/images/06042025/20/27/image_06042025_20_27_56_10366.jpg
/home/pi/Desktop/images/06042025/20/27/image_06042025_20_28_05_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351971889","1351971859","1351971870","1351971873","1351971810","1351971906"],"photo_ids_order":["1351971810","1351971859","1351971870","1351971873","1351971889","1351971906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe688abb09330b43f2ee66ac2f9f358c.jpg","text":"TemporaryFile(/tmp/multipartBody7148987954810551564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410104571,"filename":"image_06042025_20_27_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/562fbc80ab7c6b9c61d1a759b5e723b8.jpg","text":"TemporaryFile(/tmp/multipartBody7719024817124225747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410104571,"filename":"image_06042025_20_27_26_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2796a62c80dc69857ce440bfe8aa0b26.jpg","text":"TemporaryFile(/tmp/multipartBody1438823528509178012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410104571,"filename":"image_06042025_20_27_36_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e8639e600c3f66e2d96b8c98972bb91.jpg","text":"TemporaryFile(/tmp/multipartBody1806984500629130812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410104571,"filename":"image_06042025_20_27_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ba7826962bea0208e78d99a9c75d242.jpg","text":"TemporaryFile(/tmp/multipartBody2090089220031530683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410104571,"filename":"image_06042025_20_27_15_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32bbfb9330ab7d710230492140b1fca8.jpg","text":"TemporaryFile(/tmp/multipartBody2195943605000116252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410104571,"filename":"image_06042025_20_28_05_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351971870","file1":"1351971859","file0":"1351971810","file4":"1351971889","file5":"1351971906","file3":"1351971873"},"map_files_photo_id_array":[{"photo_id":"1351971906","filename":"file5"},{"photo_id":"1351971870","filename":"file2"},{"photo_id":"1351971889","filename":"file4"},{"photo_id":"1351971859","filename":"file1"},{"photo_id":"1351971810","filename":"file0"},{"photo_id":"1351971873","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351971889":["hashtag1","hashtag2"]},{"1351971859":["hashtag1","hashtag2"]},{"1351971870":["hashtag1","hashtag2"]},{"1351971873":["hashtag1","hashtag2"]},{"1351971810":["hashtag1","hashtag2"]},{"1351971906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351971889, 1351971859, 1351971870, 1351971873, 1351971810, 1351971906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.43623423576355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:21:43.084952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_16_10428.jpg', '/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_26_10486.jpg', '/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_36_9418.jpg', '/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_46_10403.jpg', '/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_55_9442.jpg', '/home/pi/Desktop/images/06042025/20/28/image_06042025_20_29_06_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_16_10428.jpg
/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_26_10486.jpg
/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_36_9418.jpg
/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_46_10403.jpg
/home/pi/Desktop/images/06042025/20/28/image_06042025_20_28_55_9442.jpg
/home/pi/Desktop/images/06042025/20/28/image_06042025_20_29_06_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351972151","1351972109","1351972123","1351972053","1351972101","1351972097"],"photo_ids_order":["1351972053","1351972097","1351972101","1351972109","1351972123","1351972151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f4c11494519b581a12b8e9c3c3f511e.jpg","text":"TemporaryFile(/tmp/multipartBody2094885230014286023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410164669,"filename":"image_06042025_20_29_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82f9a405522d248a68efe476a38525b3.jpg","text":"TemporaryFile(/tmp/multipartBody478863728324846924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410164669,"filename":"image_06042025_20_28_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3f600ff6c6715c9ef0e5b70a57468e4.jpg","text":"TemporaryFile(/tmp/multipartBody7170109224375666333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410164669,"filename":"image_06042025_20_28_55_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a96cce95e944e1077da98424d4391300.jpg","text":"TemporaryFile(/tmp/multipartBody6266387183982058186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410164669,"filename":"image_06042025_20_28_16_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/661b21b4d7a3e28affec8f91a3e6af20.jpg","text":"TemporaryFile(/tmp/multipartBody6479153424213350531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410164669,"filename":"image_06042025_20_28_36_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a5479f474a3754478ba9cc3d5d172e7.jpg","text":"TemporaryFile(/tmp/multipartBody5767619235299367911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410164669,"filename":"image_06042025_20_28_26_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351972101","file1":"1351972097","file0":"1351972053","file4":"1351972123","file5":"1351972151","file3":"1351972109"},"map_files_photo_id_array":[{"photo_id":"1351972151","filename":"file5"},{"photo_id":"1351972101","filename":"file2"},{"photo_id":"1351972123","filename":"file4"},{"photo_id":"1351972097","filename":"file1"},{"photo_id":"1351972053","filename":"file0"},{"photo_id":"1351972109","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351972151":["hashtag1","hashtag2"]},{"1351972109":["hashtag1","hashtag2"]},{"1351972123":["hashtag1","hashtag2"]},{"1351972053":["hashtag1","hashtag2"]},{"1351972101":["hashtag1","hashtag2"]},{"1351972097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351972151, 1351972109, 1351972123, 1351972053, 1351972101, 1351972097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81586956977844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:22:42.237989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_15_9464.jpg', '/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_26_10368.jpg', '/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_36_10368.jpg', '/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_45_9423.jpg', '/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_56_10367.jpg', '/home/pi/Desktop/images/06042025/20/29/image_06042025_20_30_05_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_15_9464.jpg
/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_26_10368.jpg
/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_36_10368.jpg
/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_45_9423.jpg
/home/pi/Desktop/images/06042025/20/29/image_06042025_20_29_56_10367.jpg
/home/pi/Desktop/images/06042025/20/29/image_06042025_20_30_05_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351972282","1351972552","1351972303","1351972533","1351972388","1351972427"],"photo_ids_order":["1351972282","1351972303","1351972388","1351972427","1351972533","1351972552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d228262b378e50fb6b2b86baa17c324.jpg","text":"TemporaryFile(/tmp/multipartBody8783468662072375039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410224040,"filename":"image_06042025_20_29_15_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c753b7038f512ae1fa5a5c8028cce9b5.jpg","text":"TemporaryFile(/tmp/multipartBody430557880680979254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410224040,"filename":"image_06042025_20_30_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58f851656ae11123e1126e4fc78505eb.jpg","text":"TemporaryFile(/tmp/multipartBody4413316383412068489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410224040,"filename":"image_06042025_20_29_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ecd0671f806e8c80f106e037276068b.jpg","text":"TemporaryFile(/tmp/multipartBody4112712917188166357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410224040,"filename":"image_06042025_20_29_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d391ef608e38fc9f561338d86f4d3d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3030694742987186688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410224040,"filename":"image_06042025_20_29_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11779bd738170af8befb8aed0ed2510b.jpg","text":"TemporaryFile(/tmp/multipartBody7847888489433778421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410224040,"filename":"image_06042025_20_29_45_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351972388","file1":"1351972303","file0":"1351972282","file4":"1351972533","file5":"1351972552","file3":"1351972427"},"map_files_photo_id_array":[{"photo_id":"1351972552","filename":"file5"},{"photo_id":"1351972388","filename":"file2"},{"photo_id":"1351972533","filename":"file4"},{"photo_id":"1351972303","filename":"file1"},{"photo_id":"1351972282","filename":"file0"},{"photo_id":"1351972427","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351972282":["hashtag1","hashtag2"]},{"1351972552":["hashtag1","hashtag2"]},{"1351972303":["hashtag1","hashtag2"]},{"1351972533":["hashtag1","hashtag2"]},{"1351972388":["hashtag1","hashtag2"]},{"1351972427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351972282, 1351972552, 1351972303, 1351972533, 1351972388, 1351972427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.94927930831909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:24:03.109774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/30/image_06042025_20_30_26_10403.jpg', '/home/pi/Desktop/images/06042025/20/30/image_06042025_20_30_35_9340.jpg', '/home/pi/Desktop/images/06042025/20/30/image_06042025_20_30_55_9546.jpg', '/home/pi/Desktop/images/06042025/20/30/image_06042025_20_31_06_10341.jpg', '/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_16_10341.jpg', '/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_25_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/30/image_06042025_20_30_26_10403.jpg
/home/pi/Desktop/images/06042025/20/30/image_06042025_20_30_35_9340.jpg
/home/pi/Desktop/images/06042025/20/30/image_06042025_20_30_55_9546.jpg
/home/pi/Desktop/images/06042025/20/30/image_06042025_20_31_06_10341.jpg
/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_16_10341.jpg
/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_25_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351973000","1351973079","1351973022","1351973054","1351973123","1351972964"],"photo_ids_order":["1351972964","1351973000","1351973022","1351973054","1351973079","1351973123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca367801bf04ce61ba45ede8f14b88fb.jpg","text":"TemporaryFile(/tmp/multipartBody473075833076455108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410304252,"filename":"image_06042025_20_30_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34dde3d408ad0d21a0b1b8446a80e331.jpg","text":"TemporaryFile(/tmp/multipartBody5064078919767657940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410304252,"filename":"image_06042025_20_31_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a4c99cd1dbe250cf6132bd57beed35f.jpg","text":"TemporaryFile(/tmp/multipartBody174881084271070668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410304252,"filename":"image_06042025_20_30_55_9546.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f2ab06fe6087681c86216ab7ab01fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8396676816582949657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410304252,"filename":"image_06042025_20_31_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ce67baf7e6c38bcb5af959912f9f3fc.jpg","text":"TemporaryFile(/tmp/multipartBody8746282253949185595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410304252,"filename":"image_06042025_20_31_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d22baa2b5d623ad350444ce0f84ca89e.jpg","text":"TemporaryFile(/tmp/multipartBody3321508385164986087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410304252,"filename":"image_06042025_20_30_26_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351973022","file1":"1351973000","file0":"1351972964","file4":"1351973079","file5":"1351973123","file3":"1351973054"},"map_files_photo_id_array":[{"photo_id":"1351973123","filename":"file5"},{"photo_id":"1351973022","filename":"file2"},{"photo_id":"1351973079","filename":"file4"},{"photo_id":"1351973000","filename":"file1"},{"photo_id":"1351972964","filename":"file0"},{"photo_id":"1351973054","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351973000":["hashtag1","hashtag2"]},{"1351973079":["hashtag1","hashtag2"]},{"1351973022":["hashtag1","hashtag2"]},{"1351973054":["hashtag1","hashtag2"]},{"1351973123":["hashtag1","hashtag2"]},{"1351972964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351973000, 1351973079, 1351973022, 1351973054, 1351973123, 1351972964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91634392738342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:25:04.126213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_36_10351.jpg', '/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_45_9445.jpg', '/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_56_10373.jpg', '/home/pi/Desktop/images/06042025/20/31/image_06042025_20_32_06_10434.jpg', '/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_15_9398.jpg', '/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_36_10351.jpg
/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_45_9445.jpg
/home/pi/Desktop/images/06042025/20/31/image_06042025_20_31_56_10373.jpg
/home/pi/Desktop/images/06042025/20/31/image_06042025_20_32_06_10434.jpg
/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_15_9398.jpg
/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_26_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351973242","1351973259","1351973226","1351973231","1351973213","1351973219"],"photo_ids_order":["1351973213","1351973219","1351973226","1351973231","1351973242","1351973259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3bb57c721ca6d0cfe20faa4d839b6948.jpg","text":"TemporaryFile(/tmp/multipartBody8536032136669566753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410365538,"filename":"image_06042025_20_32_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6ea2d74d5a7df4f65989e956e8f648e.jpg","text":"TemporaryFile(/tmp/multipartBody6211477273686532447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410365538,"filename":"image_06042025_20_32_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3edcb6cec7e577f05c36f8314f2bee6.jpg","text":"TemporaryFile(/tmp/multipartBody1512236050926979057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410365538,"filename":"image_06042025_20_31_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94ec539ad012bdab364756cb7ca04a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3578976844959230330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410365538,"filename":"image_06042025_20_32_06_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d602db0d4fa95f0aee801daba8460d67.jpg","text":"TemporaryFile(/tmp/multipartBody8349713063357092842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410365538,"filename":"image_06042025_20_31_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/768077483ffa2e701d3236b61b1e3a03.jpg","text":"TemporaryFile(/tmp/multipartBody5095232787231395889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410365538,"filename":"image_06042025_20_31_45_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351973226","file1":"1351973219","file0":"1351973213","file4":"1351973242","file5":"1351973259","file3":"1351973231"},"map_files_photo_id_array":[{"photo_id":"1351973259","filename":"file5"},{"photo_id":"1351973226","filename":"file2"},{"photo_id":"1351973242","filename":"file4"},{"photo_id":"1351973219","filename":"file1"},{"photo_id":"1351973213","filename":"file0"},{"photo_id":"1351973231","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351973242":["hashtag1","hashtag2"]},{"1351973259":["hashtag1","hashtag2"]},{"1351973226":["hashtag1","hashtag2"]},{"1351973231":["hashtag1","hashtag2"]},{"1351973213":["hashtag1","hashtag2"]},{"1351973219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351973242, 1351973259, 1351973226, 1351973231, 1351973213, 1351973219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19694471359253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:26:03.409989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_35_9463.jpg', '/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_46_10345.jpg', '/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_56_10356.jpg', '/home/pi/Desktop/images/06042025/20/32/image_06042025_20_33_05_9429.jpg', '/home/pi/Desktop/images/06042025/20/33/image_06042025_20_33_16_10459.jpg', '/home/pi/Desktop/images/06042025/20/33/image_06042025_20_33_36_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_35_9463.jpg
/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_46_10345.jpg
/home/pi/Desktop/images/06042025/20/32/image_06042025_20_32_56_10356.jpg
/home/pi/Desktop/images/06042025/20/32/image_06042025_20_33_05_9429.jpg
/home/pi/Desktop/images/06042025/20/33/image_06042025_20_33_16_10459.jpg
/home/pi/Desktop/images/06042025/20/33/image_06042025_20_33_36_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351973482","1351973512","1351973439","1351973526","1351973520","1351973418"],"photo_ids_order":["1351973418","1351973439","1351973482","1351973512","1351973520","1351973526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d800c33c566d6c95651c96c70d075bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4229834143108529557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410424183,"filename":"image_06042025_20_32_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3667fd6baf36dd9d064ae1815adab4e6.jpg","text":"TemporaryFile(/tmp/multipartBody1495580881748890168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410424183,"filename":"image_06042025_20_33_05_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d320cd857964eb5423825ca4cdae791.jpg","text":"TemporaryFile(/tmp/multipartBody1936605947754400038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410424183,"filename":"image_06042025_20_32_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/369a9d71794c281fda5c40ef2e505c5d.jpg","text":"TemporaryFile(/tmp/multipartBody3983501757706021458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410424183,"filename":"image_06042025_20_33_36_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d01b6602402d6318e9d5431680b0bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8907992697588118429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410424183,"filename":"image_06042025_20_33_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a370fc3ebd2ad2d094e063c23e0d4f4b.jpg","text":"TemporaryFile(/tmp/multipartBody2778414575640108527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410424183,"filename":"image_06042025_20_32_35_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351973482","file1":"1351973439","file0":"1351973418","file4":"1351973520","file5":"1351973526","file3":"1351973512"},"map_files_photo_id_array":[{"photo_id":"1351973526","filename":"file5"},{"photo_id":"1351973482","filename":"file2"},{"photo_id":"1351973520","filename":"file4"},{"photo_id":"1351973439","filename":"file1"},{"photo_id":"1351973418","filename":"file0"},{"photo_id":"1351973512","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351973482":["hashtag1","hashtag2"]},{"1351973512":["hashtag1","hashtag2"]},{"1351973439":["hashtag1","hashtag2"]},{"1351973526":["hashtag1","hashtag2"]},{"1351973520":["hashtag1","hashtag2"]},{"1351973418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351973482, 1351973512, 1351973439, 1351973526, 1351973520, 1351973418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72535586357117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:27:03.399624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/33/image_06042025_20_33_46_10475.jpg', '/home/pi/Desktop/images/06042025/20/33/image_06042025_20_33_56_9416.jpg', '/home/pi/Desktop/images/06042025/20/33/image_06042025_20_34_06_10358.jpg', '/home/pi/Desktop/images/06042025/20/34/image_06042025_20_34_15_9377.jpg', '/home/pi/Desktop/images/06042025/20/34/image_06042025_20_34_26_10397.jpg', '/home/pi/Desktop/images/06042025/20/34/image_06042025_20_34_46_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/33/image_06042025_20_33_46_10475.jpg
/home/pi/Desktop/images/06042025/20/33/image_06042025_20_33_56_9416.jpg
/home/pi/Desktop/images/06042025/20/33/image_06042025_20_34_06_10358.jpg
/home/pi/Desktop/images/06042025/20/34/image_06042025_20_34_15_9377.jpg
/home/pi/Desktop/images/06042025/20/34/image_06042025_20_34_26_10397.jpg
/home/pi/Desktop/images/06042025/20/34/image_06042025_20_34_46_9428.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351973758","1351973725","1351973707","1351973688","1351973682","1351973732"],"photo_ids_order":["1351973682","1351973688","1351973707","1351973725","1351973732","1351973758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2a8286a602428ac9a0c66e38da8cccf.jpg","text":"TemporaryFile(/tmp/multipartBody6942082951920165336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410484265,"filename":"image_06042025_20_34_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46f8a2c388f336c94d9c710b48077cd5.jpg","text":"TemporaryFile(/tmp/multipartBody9214269424774748147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410484265,"filename":"image_06042025_20_34_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/621fd0ac9cb9a002c8aa0cd87b4b69cb.jpg","text":"TemporaryFile(/tmp/multipartBody241530970755522456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410484265,"filename":"image_06042025_20_34_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/997a8b2bebe593971a63910b9dbe5eca.jpg","text":"TemporaryFile(/tmp/multipartBody640610198789743105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410484265,"filename":"image_06042025_20_33_56_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b08ae1d000dfe6778708b61bdfc1c704.jpg","text":"TemporaryFile(/tmp/multipartBody7343270577526988358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410484265,"filename":"image_06042025_20_33_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e44ba7356cba9e9565cee26fb7b9b0f2.jpg","text":"TemporaryFile(/tmp/multipartBody3687213852722266379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410484265,"filename":"image_06042025_20_34_26_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351973707","file1":"1351973688","file0":"1351973682","file4":"1351973732","file5":"1351973758","file3":"1351973725"},"map_files_photo_id_array":[{"photo_id":"1351973758","filename":"file5"},{"photo_id":"1351973707","filename":"file2"},{"photo_id":"1351973732","filename":"file4"},{"photo_id":"1351973688","filename":"file1"},{"photo_id":"1351973682","filename":"file0"},{"photo_id":"1351973725","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351973758":["hashtag1","hashtag2"]},{"1351973725":["hashtag1","hashtag2"]},{"1351973707":["hashtag1","hashtag2"]},{"1351973688":["hashtag1","hashtag2"]},{"1351973682":["hashtag1","hashtag2"]},{"1351973732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351973758, 1351973725, 1351973707, 1351973688, 1351973682, 1351973732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.351303577423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:27:42.160316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/34/image_06042025_20_34_56_10367.jpg', '/home/pi/Desktop/images/06042025/20/34/image_06042025_20_35_05_9439.jpg', '/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_16_10447.jpg', '/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_25_9480.jpg', '/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_36_10430.jpg', '/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_46_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/34/image_06042025_20_34_56_10367.jpg
/home/pi/Desktop/images/06042025/20/34/image_06042025_20_35_05_9439.jpg
/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_16_10447.jpg
/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_25_9480.jpg
/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_36_10430.jpg
/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_46_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351973947","1351973908","1351973940","1351973883","1351973867","1351973927"],"photo_ids_order":["1351973867","1351973883","1351973908","1351973927","1351973940","1351973947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/776718c1d6b08ee7240f92a1fc83cd44.jpg","text":"TemporaryFile(/tmp/multipartBody2270030096503103163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410523728,"filename":"image_06042025_20_35_46_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76ba91421cb78e649cde2db1b5c4e958.jpg","text":"TemporaryFile(/tmp/multipartBody7580541084095666875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410523728,"filename":"image_06042025_20_35_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a1fc927e5d4ac0cb744c2e28a9c4b65.jpg","text":"TemporaryFile(/tmp/multipartBody6376732495643930761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410523728,"filename":"image_06042025_20_35_36_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24bab20d0a971023e14737dd3f839ede.jpg","text":"TemporaryFile(/tmp/multipartBody8199880011005790918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410523728,"filename":"image_06042025_20_35_05_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0a7305605b18edaf73257843845afe2.jpg","text":"TemporaryFile(/tmp/multipartBody7859008729788991228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410523728,"filename":"image_06042025_20_34_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d02e9842d70c8998ecc157ed55096713.jpg","text":"TemporaryFile(/tmp/multipartBody4175946513123044506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410523728,"filename":"image_06042025_20_35_25_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351973908","file1":"1351973883","file0":"1351973867","file4":"1351973940","file5":"1351973947","file3":"1351973927"},"map_files_photo_id_array":[{"photo_id":"1351973947","filename":"file5"},{"photo_id":"1351973908","filename":"file2"},{"photo_id":"1351973940","filename":"file4"},{"photo_id":"1351973883","filename":"file1"},{"photo_id":"1351973867","filename":"file0"},{"photo_id":"1351973927","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351973947":["hashtag1","hashtag2"]},{"1351973908":["hashtag1","hashtag2"]},{"1351973940":["hashtag1","hashtag2"]},{"1351973883":["hashtag1","hashtag2"]},{"1351973867":["hashtag1","hashtag2"]},{"1351973927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351973947, 1351973908, 1351973940, 1351973883, 1351973867, 1351973927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.280441999435425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:28:42.400424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_56_9393.jpg', '/home/pi/Desktop/images/06042025/20/35/image_06042025_20_36_06_10377.jpg', '/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_15_9367.jpg', '/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_26_10375.jpg', '/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_36_10366.jpg', '/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_45_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/35/image_06042025_20_35_56_9393.jpg
/home/pi/Desktop/images/06042025/20/35/image_06042025_20_36_06_10377.jpg
/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_15_9367.jpg
/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_26_10375.jpg
/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_36_10366.jpg
/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_45_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351974106","1351974100","1351974090","1351974098","1351974086","1351974065"],"photo_ids_order":["1351974065","1351974086","1351974090","1351974098","1351974100","1351974106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4da5cb498ab164a28390c7ca7b928af.jpg","text":"TemporaryFile(/tmp/multipartBody1947069843170674844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410583973,"filename":"image_06042025_20_36_45_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/116dce5569a8601494196aab362b32c4.jpg","text":"TemporaryFile(/tmp/multipartBody3126726990825320048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410583973,"filename":"image_06042025_20_36_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0dcc322c9e964d56abb63f39683c4f89.jpg","text":"TemporaryFile(/tmp/multipartBody7609574816875475095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410583973,"filename":"image_06042025_20_36_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82ad62c2c16248cd9f3af3b4704944d1.jpg","text":"TemporaryFile(/tmp/multipartBody6197239158170923737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410583973,"filename":"image_06042025_20_36_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e12f29f7ece2e88f6202dd0723fae18.jpg","text":"TemporaryFile(/tmp/multipartBody8059690976021011930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410583973,"filename":"image_06042025_20_36_06_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2d3a072357ea1910b0d63483cda6ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5635766267819230210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410583973,"filename":"image_06042025_20_35_56_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351974090","file1":"1351974086","file0":"1351974065","file4":"1351974100","file5":"1351974106","file3":"1351974098"},"map_files_photo_id_array":[{"photo_id":"1351974106","filename":"file5"},{"photo_id":"1351974090","filename":"file2"},{"photo_id":"1351974100","filename":"file4"},{"photo_id":"1351974086","filename":"file1"},{"photo_id":"1351974065","filename":"file0"},{"photo_id":"1351974098","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351974106":["hashtag1","hashtag2"]},{"1351974100":["hashtag1","hashtag2"]},{"1351974090":["hashtag1","hashtag2"]},{"1351974098":["hashtag1","hashtag2"]},{"1351974086":["hashtag1","hashtag2"]},{"1351974065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351974106, 1351974100, 1351974090, 1351974098, 1351974086, 1351974065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71621322631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:29:42.580602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_56_10423.jpg', '/home/pi/Desktop/images/06042025/20/36/image_06042025_20_37_05_9439.jpg', '/home/pi/Desktop/images/06042025/20/37/image_06042025_20_37_16_10389.jpg', '/home/pi/Desktop/images/06042025/20/37/image_06042025_20_37_26_10397.jpg', '/home/pi/Desktop/images/06042025/20/37/image_06042025_20_37_35_9362.jpg', '/home/pi/Desktop/images/06042025/20/37/image_06042025_20_37_46_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/36/image_06042025_20_36_56_10423.jpg
/home/pi/Desktop/images/06042025/20/36/image_06042025_20_37_05_9439.jpg
/home/pi/Desktop/images/06042025/20/37/image_06042025_20_37_16_10389.jpg
/home/pi/Desktop/images/06042025/20/37/image_06042025_20_37_26_10397.jpg
/home/pi/Desktop/images/06042025/20/37/image_06042025_20_37_35_9362.jpg
/home/pi/Desktop/images/06042025/20/37/image_06042025_20_37_46_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351974372","1351974327","1351974283","1351974274","1351974349","1351974241"],"photo_ids_order":["1351974241","1351974274","1351974283","1351974327","1351974349","1351974372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5e40690b7d1860d884a7a44dddfbcda.jpg","text":"TemporaryFile(/tmp/multipartBody2735314636062836719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410644154,"filename":"image_06042025_20_37_46_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7aeda4b55b4f0f311b2ad807fcb2c86d.jpg","text":"TemporaryFile(/tmp/multipartBody89989114620601986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410644154,"filename":"image_06042025_20_37_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/048ba70f73c7a63984eca843576c6282.jpg","text":"TemporaryFile(/tmp/multipartBody5428164047417509012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410644154,"filename":"image_06042025_20_37_16_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/162853853900580162d49dae7a087c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2074385591513095120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410644154,"filename":"image_06042025_20_37_05_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/640fe1963edd14e89c089036774e035c.jpg","text":"TemporaryFile(/tmp/multipartBody3948243848714402246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410644154,"filename":"image_06042025_20_37_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4d72d2937d0cba696bab0deeba92625.jpg","text":"TemporaryFile(/tmp/multipartBody1796693828776345567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410644154,"filename":"image_06042025_20_36_56_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351974283","file1":"1351974274","file0":"1351974241","file4":"1351974349","file5":"1351974372","file3":"1351974327"},"map_files_photo_id_array":[{"photo_id":"1351974372","filename":"file5"},{"photo_id":"1351974283","filename":"file2"},{"photo_id":"1351974349","filename":"file4"},{"photo_id":"1351974274","filename":"file1"},{"photo_id":"1351974241","filename":"file0"},{"photo_id":"1351974327","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351974372":["hashtag1","hashtag2"]},{"1351974327":["hashtag1","hashtag2"]},{"1351974283":["hashtag1","hashtag2"]},{"1351974274":["hashtag1","hashtag2"]},{"1351974349":["hashtag1","hashtag2"]},{"1351974241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351974372, 1351974327, 1351974283, 1351974274, 1351974349, 1351974241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.86896562576294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:30:42.783959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/37/image_06042025_20_38_06_10360.jpg', '/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_16_10403.jpg', '/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_25_9423.jpg', '/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_36_10423.jpg', '/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_45_9366.jpg', '/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_56_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/37/image_06042025_20_38_06_10360.jpg
/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_16_10403.jpg
/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_25_9423.jpg
/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_36_10423.jpg
/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_45_9366.jpg
/home/pi/Desktop/images/06042025/20/38/image_06042025_20_38_56_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351974498","1351974462","1351974441","1351974482","1351974577","1351974526"],"photo_ids_order":["1351974441","1351974462","1351974482","1351974498","1351974526","1351974577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/651af78f972d41674261190cb70b5e14.jpg","text":"TemporaryFile(/tmp/multipartBody7284451052796755165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410704344,"filename":"image_06042025_20_38_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43950b8eca7814e4475b4e59b72d54b2.jpg","text":"TemporaryFile(/tmp/multipartBody4572370066580337246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410704344,"filename":"image_06042025_20_38_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5942002d65544ab118de9a4d09f08846.jpg","text":"TemporaryFile(/tmp/multipartBody3550261947080447043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410704344,"filename":"image_06042025_20_38_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2eb1745f6e0e5dfd349d88589e652e6.jpg","text":"TemporaryFile(/tmp/multipartBody817574595874801549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410704344,"filename":"image_06042025_20_38_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f4c3707997bd0f21545d13378c63e9e.jpg","text":"TemporaryFile(/tmp/multipartBody5406795614580385759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410704344,"filename":"image_06042025_20_38_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8df5c951dd8e58c4d598d5451fc1531.jpg","text":"TemporaryFile(/tmp/multipartBody7894369303455906610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410704344,"filename":"image_06042025_20_38_45_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351974482","file1":"1351974462","file0":"1351974441","file4":"1351974526","file5":"1351974577","file3":"1351974498"},"map_files_photo_id_array":[{"photo_id":"1351974577","filename":"file5"},{"photo_id":"1351974482","filename":"file2"},{"photo_id":"1351974526","filename":"file4"},{"photo_id":"1351974462","filename":"file1"},{"photo_id":"1351974441","filename":"file0"},{"photo_id":"1351974498","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351974498":["hashtag1","hashtag2"]},{"1351974462":["hashtag1","hashtag2"]},{"1351974441":["hashtag1","hashtag2"]},{"1351974482":["hashtag1","hashtag2"]},{"1351974577":["hashtag1","hashtag2"]},{"1351974526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351974498, 1351974462, 1351974441, 1351974482, 1351974577, 1351974526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.17588138580322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:31:43.021297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/38/image_06042025_20_39_06_10371.jpg', '/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_15_9446.jpg', '/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_26_10409.jpg', '/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_35_9415.jpg', '/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_46_10367.jpg', '/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/38/image_06042025_20_39_06_10371.jpg
/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_15_9446.jpg
/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_26_10409.jpg
/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_35_9415.jpg
/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_46_10367.jpg
/home/pi/Desktop/images/06042025/20/39/image_06042025_20_39_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351974630","1351974615","1351974626","1351974638","1351974623","1351974643"],"photo_ids_order":["1351974615","1351974623","1351974626","1351974630","1351974638","1351974643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ce29e50dc201d7a99be4b4a88d0bb9e.jpg","text":"TemporaryFile(/tmp/multipartBody2689876705208882667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410764603,"filename":"image_06042025_20_39_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3540c8fabf0478f551d7a60fdfd924fa.jpg","text":"TemporaryFile(/tmp/multipartBody3529507134002810504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410764603,"filename":"image_06042025_20_39_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4365efdaf63f5179d425d2b62d8b4a4.jpg","text":"TemporaryFile(/tmp/multipartBody6718241027112411284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410764603,"filename":"image_06042025_20_39_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b78a5bcfd67f8030df594ce389867d66.jpg","text":"TemporaryFile(/tmp/multipartBody532119346723641069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410764603,"filename":"image_06042025_20_39_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/494b2776de16d32c512bbdbb47ab025e.jpg","text":"TemporaryFile(/tmp/multipartBody2685930014080579337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410764603,"filename":"image_06042025_20_39_15_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/559ca164cb046b7d26eaec3563ae4778.jpg","text":"TemporaryFile(/tmp/multipartBody7732006343350839179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410764603,"filename":"image_06042025_20_39_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351974626","file1":"1351974623","file0":"1351974615","file4":"1351974638","file5":"1351974643","file3":"1351974630"},"map_files_photo_id_array":[{"photo_id":"1351974643","filename":"file5"},{"photo_id":"1351974626","filename":"file2"},{"photo_id":"1351974638","filename":"file4"},{"photo_id":"1351974623","filename":"file1"},{"photo_id":"1351974615","filename":"file0"},{"photo_id":"1351974630","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351974630":["hashtag1","hashtag2"]},{"1351974615":["hashtag1","hashtag2"]},{"1351974626":["hashtag1","hashtag2"]},{"1351974638":["hashtag1","hashtag2"]},{"1351974623":["hashtag1","hashtag2"]},{"1351974643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351974630, 1351974615, 1351974626, 1351974638, 1351974623, 1351974643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90599775314331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-04-12 00:32:42.167310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/39/image_06042025_20_40_05_9444.jpg', '/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_16_10383.jpg', '/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_25_9449.jpg', '/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_36_10378.jpg', '/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_46_10363.jpg', '/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_55_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/39/image_06042025_20_40_05_9444.jpg
/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_16_10383.jpg
/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_25_9449.jpg
/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_36_10378.jpg
/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_46_10363.jpg
/home/pi/Desktop/images/06042025/20/40/image_06042025_20_40_55_9362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351975050","1351975047","1351975017","1351975070","1351975058","1351975092"],"photo_ids_order":["1351975017","1351975047","1351975050","1351975058","1351975070","1351975092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/01138aa337eeec961013f11f9f6bdcfa.jpg","text":"TemporaryFile(/tmp/multipartBody2460556450683791197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410823801,"filename":"image_06042025_20_40_25_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cee13e6732836f16e617e5cde38f5823.jpg","text":"TemporaryFile(/tmp/multipartBody2634877805054525867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410823801,"filename":"image_06042025_20_40_16_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb7b21ae79d622e29c42b362885303b1.jpg","text":"TemporaryFile(/tmp/multipartBody1042258832228618571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410823801,"filename":"image_06042025_20_40_05_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af767d347742773bf83632e4d6e9b696.jpg","text":"TemporaryFile(/tmp/multipartBody1360114204586774411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410823801,"filename":"image_06042025_20_40_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c19f4b46313ece3ca8fa141a74a6d55.jpg","text":"TemporaryFile(/tmp/multipartBody4833499845075604725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410823801,"filename":"image_06042025_20_40_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b14772d516bfb12138fadf839bee48d0.jpg","text":"TemporaryFile(/tmp/multipartBody1189749636718263208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410823801,"filename":"image_06042025_20_40_55_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351975050","file1":"1351975047","file0":"1351975017","file4":"1351975070","file5":"1351975092","file3":"1351975058"},"map_files_photo_id_array":[{"photo_id":"1351975092","filename":"file5"},{"photo_id":"1351975050","filename":"file2"},{"photo_id":"1351975070","filename":"file4"},{"photo_id":"1351975047","filename":"file1"},{"photo_id":"1351975017","filename":"file0"},{"photo_id":"1351975058","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351975050":["hashtag1","hashtag2"]},{"1351975047":["hashtag1","hashtag2"]},{"1351975017":["hashtag1","hashtag2"]},{"1351975070":["hashtag1","hashtag2"]},{"1351975058":["hashtag1","hashtag2"]},{"1351975092":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351975050, 1351975047, 1351975017, 1351975070, 1351975058, 1351975092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33140444755554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:34:02.991821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/40/image_06042025_20_41_06_10357.jpg', '/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_16_10495.jpg', '/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_26_9430.jpg', '/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_36_10357.jpg', '/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_45_9365.jpg', '/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_56_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/40/image_06042025_20_41_06_10357.jpg
/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_16_10495.jpg
/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_26_9430.jpg
/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_36_10357.jpg
/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_45_9365.jpg
/home/pi/Desktop/images/06042025/20/41/image_06042025_20_41_56_10460.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351975356","1351975463","1351975457","1351975351","1351975348","1351975470"],"photo_ids_order":["1351975348","1351975351","1351975356","1351975457","1351975463","1351975470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b35bccd31ee28b5610ddda123b134db7.jpg","text":"TemporaryFile(/tmp/multipartBody3493589217114928825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410903743,"filename":"image_06042025_20_41_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11f64f224ce81d30b6740c297de0f414.jpg","text":"TemporaryFile(/tmp/multipartBody8417972593342259300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410903743,"filename":"image_06042025_20_41_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a248c09b4f45ff641299f0baa0e9ad35.jpg","text":"TemporaryFile(/tmp/multipartBody5746016752281101535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410903743,"filename":"image_06042025_20_41_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53a5ffa740c25c882f37b50b51e8418d.jpg","text":"TemporaryFile(/tmp/multipartBody5024395567084036509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410903743,"filename":"image_06042025_20_41_16_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2dbaed77bcb37dfd9973eb35cbc296ba.jpg","text":"TemporaryFile(/tmp/multipartBody1952456615614176589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410903743,"filename":"image_06042025_20_41_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56d5ece84005efc7bec3f5476903d02a.jpg","text":"TemporaryFile(/tmp/multipartBody5306134845735930874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410903743,"filename":"image_06042025_20_41_56_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351975356","file1":"1351975351","file0":"1351975348","file4":"1351975463","file5":"1351975470","file3":"1351975457"},"map_files_photo_id_array":[{"photo_id":"1351975470","filename":"file5"},{"photo_id":"1351975356","filename":"file2"},{"photo_id":"1351975463","filename":"file4"},{"photo_id":"1351975351","filename":"file1"},{"photo_id":"1351975348","filename":"file0"},{"photo_id":"1351975457","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351975356":["hashtag1","hashtag2"]},{"1351975463":["hashtag1","hashtag2"]},{"1351975457":["hashtag1","hashtag2"]},{"1351975351":["hashtag1","hashtag2"]},{"1351975348":["hashtag1","hashtag2"]},{"1351975470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351975356, 1351975463, 1351975457, 1351975351, 1351975348, 1351975470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36637735366821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:35:04.231979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/41/image_06042025_20_42_05_9452.jpg', '/home/pi/Desktop/images/06042025/20/42/image_06042025_20_42_16_10371.jpg', '/home/pi/Desktop/images/06042025/20/42/image_06042025_20_42_36_9443.jpg', '/home/pi/Desktop/images/06042025/20/42/image_06042025_20_42_46_10456.jpg', '/home/pi/Desktop/images/06042025/20/42/image_06042025_20_42_55_9394.jpg', '/home/pi/Desktop/images/06042025/20/43/image_06042025_20_43_16_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/41/image_06042025_20_42_05_9452.jpg
/home/pi/Desktop/images/06042025/20/42/image_06042025_20_42_16_10371.jpg
/home/pi/Desktop/images/06042025/20/42/image_06042025_20_42_36_9443.jpg
/home/pi/Desktop/images/06042025/20/42/image_06042025_20_42_46_10456.jpg
/home/pi/Desktop/images/06042025/20/42/image_06042025_20_42_55_9394.jpg
/home/pi/Desktop/images/06042025/20/43/image_06042025_20_43_16_10462.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351975587","1351975620","1351975608","1351975602","1351975583","1351975597"],"photo_ids_order":["1351975583","1351975587","1351975597","1351975602","1351975608","1351975620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ca1ecefaf7dd721fb3e56c182625a67.jpg","text":"TemporaryFile(/tmp/multipartBody4233775825695250443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410965087,"filename":"image_06042025_20_42_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbd2b354cb083e110176ee8b88b2b983.jpg","text":"TemporaryFile(/tmp/multipartBody6876023049187553164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410965087,"filename":"image_06042025_20_43_16_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb0031ac5c26a77259675e13d2c423db.jpg","text":"TemporaryFile(/tmp/multipartBody3759777295255251048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410965087,"filename":"image_06042025_20_42_55_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da3fe0fbd8d33b239bcffdd2908077df.jpg","text":"TemporaryFile(/tmp/multipartBody2180689277779619683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410965087,"filename":"image_06042025_20_42_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fca7ae2159ea320bc902e228998422f5.jpg","text":"TemporaryFile(/tmp/multipartBody1741979878853118409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410965087,"filename":"image_06042025_20_42_05_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3dc8c3483bd9b3295dfe7bc1c3aa2d71.jpg","text":"TemporaryFile(/tmp/multipartBody1795199989669282790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744410965087,"filename":"image_06042025_20_42_36_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351975597","file1":"1351975587","file0":"1351975583","file4":"1351975608","file5":"1351975620","file3":"1351975602"},"map_files_photo_id_array":[{"photo_id":"1351975620","filename":"file5"},{"photo_id":"1351975597","filename":"file2"},{"photo_id":"1351975608","filename":"file4"},{"photo_id":"1351975587","filename":"file1"},{"photo_id":"1351975583","filename":"file0"},{"photo_id":"1351975602","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351975587":["hashtag1","hashtag2"]},{"1351975620":["hashtag1","hashtag2"]},{"1351975608":["hashtag1","hashtag2"]},{"1351975602":["hashtag1","hashtag2"]},{"1351975583":["hashtag1","hashtag2"]},{"1351975597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351975587, 1351975620, 1351975608, 1351975602, 1351975583, 1351975597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.309457540512085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:36:02.985151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/43/image_06042025_20_43_36_10381.jpg', '/home/pi/Desktop/images/06042025/20/43/image_06042025_20_43_45_9358.jpg', '/home/pi/Desktop/images/06042025/20/43/image_06042025_20_43_56_10421.jpg', '/home/pi/Desktop/images/06042025/20/43/image_06042025_20_44_05_9484.jpg', '/home/pi/Desktop/images/06042025/20/44/image_06042025_20_44_16_10358.jpg', '/home/pi/Desktop/images/06042025/20/44/image_06042025_20_44_26_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/43/image_06042025_20_43_36_10381.jpg
/home/pi/Desktop/images/06042025/20/43/image_06042025_20_43_45_9358.jpg
/home/pi/Desktop/images/06042025/20/43/image_06042025_20_43_56_10421.jpg
/home/pi/Desktop/images/06042025/20/43/image_06042025_20_44_05_9484.jpg
/home/pi/Desktop/images/06042025/20/44/image_06042025_20_44_16_10358.jpg
/home/pi/Desktop/images/06042025/20/44/image_06042025_20_44_26_10378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351975878","1351975659","1351975826","1351975733","1351975696","1351975776"],"photo_ids_order":["1351975659","1351975696","1351975733","1351975776","1351975826","1351975878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/071dc13c6d99bd4c5ebe959b6f759f45.jpg","text":"TemporaryFile(/tmp/multipartBody4401465145534433988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411023769,"filename":"image_06042025_20_44_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4617632f6645ad3d2da7ae3eabc7438.jpg","text":"TemporaryFile(/tmp/multipartBody2258871442394092601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411023769,"filename":"image_06042025_20_43_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f71add723856e1b6ad04e9db4278edd7.jpg","text":"TemporaryFile(/tmp/multipartBody8704037881913614904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411023769,"filename":"image_06042025_20_44_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a0cc2843ac99ab307002223e5c06e38.jpg","text":"TemporaryFile(/tmp/multipartBody2055267407738513154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411023769,"filename":"image_06042025_20_43_56_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6686a2f3b1b9ab0da10770b55e38c9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7423024027606648303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411023769,"filename":"image_06042025_20_43_45_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/861a3257f2b559b9ce68c2f1c49726f4.jpg","text":"TemporaryFile(/tmp/multipartBody3858449544112676406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411023769,"filename":"image_06042025_20_44_05_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351975733","file1":"1351975696","file0":"1351975659","file4":"1351975826","file5":"1351975878","file3":"1351975776"},"map_files_photo_id_array":[{"photo_id":"1351975878","filename":"file5"},{"photo_id":"1351975733","filename":"file2"},{"photo_id":"1351975826","filename":"file4"},{"photo_id":"1351975696","filename":"file1"},{"photo_id":"1351975659","filename":"file0"},{"photo_id":"1351975776","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351975878":["hashtag1","hashtag2"]},{"1351975659":["hashtag1","hashtag2"]},{"1351975826":["hashtag1","hashtag2"]},{"1351975733":["hashtag1","hashtag2"]},{"1351975696":["hashtag1","hashtag2"]},{"1351975776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351975878, 1351975659, 1351975826, 1351975733, 1351975696, 1351975776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.168013334274292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:37:03.923566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/44/image_06042025_20_44_35_9362.jpg', '/home/pi/Desktop/images/06042025/20/44/image_06042025_20_44_56_9862.jpg', '/home/pi/Desktop/images/06042025/20/45/image_06042025_20_45_15_9401.jpg', '/home/pi/Desktop/images/06042025/20/45/image_06042025_20_45_26_10379.jpg', '/home/pi/Desktop/images/06042025/20/45/image_06042025_20_45_45_9398.jpg', '/home/pi/Desktop/images/06042025/20/45/image_06042025_20_45_56_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/44/image_06042025_20_44_35_9362.jpg
/home/pi/Desktop/images/06042025/20/44/image_06042025_20_44_56_9862.jpg
/home/pi/Desktop/images/06042025/20/45/image_06042025_20_45_15_9401.jpg
/home/pi/Desktop/images/06042025/20/45/image_06042025_20_45_26_10379.jpg
/home/pi/Desktop/images/06042025/20/45/image_06042025_20_45_45_9398.jpg
/home/pi/Desktop/images/06042025/20/45/image_06042025_20_45_56_10368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351976561","1351976680","1351976764","1351976833","1351976499","1351976610"],"photo_ids_order":["1351976499","1351976561","1351976610","1351976680","1351976764","1351976833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1cfca286e7fcd8c1653a03ee943985c7.jpg","text":"TemporaryFile(/tmp/multipartBody8056525204485368772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411084826,"filename":"image_06042025_20_44_56_9862.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc3d927de5b347fe05f02c0bd113ff62.jpg","text":"TemporaryFile(/tmp/multipartBody4352268279495645470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411084826,"filename":"image_06042025_20_45_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e7f3fd85535a51e3b726ac4c2c7302f.jpg","text":"TemporaryFile(/tmp/multipartBody2874175069850288152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411084826,"filename":"image_06042025_20_45_45_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56b62e14acbf79f0c76729865fbf5ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5949275206227593105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411084826,"filename":"image_06042025_20_45_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4978311d842c6af9c3addd6646a2982c.jpg","text":"TemporaryFile(/tmp/multipartBody4025650290991358544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411084826,"filename":"image_06042025_20_44_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/052965b29ce50c12509bac7e9764bf3e.jpg","text":"TemporaryFile(/tmp/multipartBody276541702718073583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411084826,"filename":"image_06042025_20_45_15_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351976610","file1":"1351976561","file0":"1351976499","file4":"1351976764","file5":"1351976833","file3":"1351976680"},"map_files_photo_id_array":[{"photo_id":"1351976833","filename":"file5"},{"photo_id":"1351976610","filename":"file2"},{"photo_id":"1351976764","filename":"file4"},{"photo_id":"1351976561","filename":"file1"},{"photo_id":"1351976499","filename":"file0"},{"photo_id":"1351976680","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351976561":["hashtag1","hashtag2"]},{"1351976680":["hashtag1","hashtag2"]},{"1351976764":["hashtag1","hashtag2"]},{"1351976833":["hashtag1","hashtag2"]},{"1351976499":["hashtag1","hashtag2"]},{"1351976610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351976561, 1351976680, 1351976764, 1351976833, 1351976499, 1351976610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85970401763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:38:02.731933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/46/image_06042025_20_46_16_10360.jpg', '/home/pi/Desktop/images/06042025/20/46/image_06042025_20_46_26_10398.jpg', '/home/pi/Desktop/images/06042025/20/46/image_06042025_20_46_35_9413.jpg', '/home/pi/Desktop/images/06042025/20/46/image_06042025_20_46_46_10400.jpg', '/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_16_10385.jpg', '/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_25_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/46/image_06042025_20_46_16_10360.jpg
/home/pi/Desktop/images/06042025/20/46/image_06042025_20_46_26_10398.jpg
/home/pi/Desktop/images/06042025/20/46/image_06042025_20_46_35_9413.jpg
/home/pi/Desktop/images/06042025/20/46/image_06042025_20_46_46_10400.jpg
/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_16_10385.jpg
/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_25_9441.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351977329","1351977451","1351977225","1351977249","1351977408","1351977315"],"photo_ids_order":["1351977225","1351977249","1351977315","1351977329","1351977408","1351977451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5876384e97d14e37d224005fb62b27d8.jpg","text":"TemporaryFile(/tmp/multipartBody253139436055969886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411143507,"filename":"image_06042025_20_46_46_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c909ce99d1ffb19157adf4cd670ae6a8.jpg","text":"TemporaryFile(/tmp/multipartBody607222299251253308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411143507,"filename":"image_06042025_20_47_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e254a6637ab8efc78e419c22d8ea47ec.jpg","text":"TemporaryFile(/tmp/multipartBody2477152523442283092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411143507,"filename":"image_06042025_20_46_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61c7c359e54454b5f2b38042c78dd483.jpg","text":"TemporaryFile(/tmp/multipartBody1312977548938181130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411143507,"filename":"image_06042025_20_46_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79735fa6428a4cd91d3c9c773c7cddd8.jpg","text":"TemporaryFile(/tmp/multipartBody6693078834020499614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411143507,"filename":"image_06042025_20_47_16_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dcc2a82892c76a0f9b0abcd86a9695f3.jpg","text":"TemporaryFile(/tmp/multipartBody7962799343037888644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411143507,"filename":"image_06042025_20_46_35_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351977315","file1":"1351977249","file0":"1351977225","file4":"1351977408","file5":"1351977451","file3":"1351977329"},"map_files_photo_id_array":[{"photo_id":"1351977451","filename":"file5"},{"photo_id":"1351977315","filename":"file2"},{"photo_id":"1351977408","filename":"file4"},{"photo_id":"1351977249","filename":"file1"},{"photo_id":"1351977225","filename":"file0"},{"photo_id":"1351977329","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351977329":["hashtag1","hashtag2"]},{"1351977451":["hashtag1","hashtag2"]},{"1351977225":["hashtag1","hashtag2"]},{"1351977249":["hashtag1","hashtag2"]},{"1351977408":["hashtag1","hashtag2"]},{"1351977315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351977329, 1351977451, 1351977225, 1351977249, 1351977408, 1351977315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4730007648468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:39:03.740519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_36_10364.jpg', '/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_45_9503.jpg', '/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_56_10387.jpg', '/home/pi/Desktop/images/06042025/20/47/image_06042025_20_48_06_10372.jpg', '/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_16_9461.jpg', '/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_26_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_36_10364.jpg
/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_45_9503.jpg
/home/pi/Desktop/images/06042025/20/47/image_06042025_20_47_56_10387.jpg
/home/pi/Desktop/images/06042025/20/47/image_06042025_20_48_06_10372.jpg
/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_16_9461.jpg
/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_26_10372.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351978306","1351978188","1351978044","1351978203","1351978190","1351978121"],"photo_ids_order":["1351978044","1351978121","1351978188","1351978190","1351978203","1351978306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b06eda0d8c3aec3cc589c24e94b97ef.jpg","text":"TemporaryFile(/tmp/multipartBody3567607426742375557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411204591,"filename":"image_06042025_20_48_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/708b42d067846f0448d145b9377b50f6.jpg","text":"TemporaryFile(/tmp/multipartBody5694333999394340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411204591,"filename":"image_06042025_20_47_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4e01ff9a1e84533c9ad66ea2e9eb5b8.jpg","text":"TemporaryFile(/tmp/multipartBody6042601356663772615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411204591,"filename":"image_06042025_20_47_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a9e81f9cb14ee322d42a6689f115b01.jpg","text":"TemporaryFile(/tmp/multipartBody5020739674981692414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411204591,"filename":"image_06042025_20_48_16_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f888ca0dc5cbb98ea6316bc86428513a.jpg","text":"TemporaryFile(/tmp/multipartBody825726666897813461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411204591,"filename":"image_06042025_20_48_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/def70f4fa5ecf45f47a40000d752dee9.jpg","text":"TemporaryFile(/tmp/multipartBody4315580032595211029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411204591,"filename":"image_06042025_20_47_45_9503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978188","file1":"1351978121","file0":"1351978044","file4":"1351978203","file5":"1351978306","file3":"1351978190"},"map_files_photo_id_array":[{"photo_id":"1351978306","filename":"file5"},{"photo_id":"1351978188","filename":"file2"},{"photo_id":"1351978203","filename":"file4"},{"photo_id":"1351978121","filename":"file1"},{"photo_id":"1351978044","filename":"file0"},{"photo_id":"1351978190","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351978306":["hashtag1","hashtag2"]},{"1351978188":["hashtag1","hashtag2"]},{"1351978044":["hashtag1","hashtag2"]},{"1351978203":["hashtag1","hashtag2"]},{"1351978190":["hashtag1","hashtag2"]},{"1351978121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351978306, 1351978188, 1351978044, 1351978203, 1351978190, 1351978121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.085992336273193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:40:02.945178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_35_9339.jpg', '/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_46_10342.jpg', '/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_56_10412.jpg', '/home/pi/Desktop/images/06042025/20/48/image_06042025_20_49_05_9359.jpg', '/home/pi/Desktop/images/06042025/20/49/image_06042025_20_49_16_10388.jpg', '/home/pi/Desktop/images/06042025/20/49/image_06042025_20_49_25_9482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_35_9339.jpg
/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_46_10342.jpg
/home/pi/Desktop/images/06042025/20/48/image_06042025_20_48_56_10412.jpg
/home/pi/Desktop/images/06042025/20/48/image_06042025_20_49_05_9359.jpg
/home/pi/Desktop/images/06042025/20/49/image_06042025_20_49_16_10388.jpg
/home/pi/Desktop/images/06042025/20/49/image_06042025_20_49_25_9482.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351978879","1351978951","1351978807","1351978917","1351978830","1351978703"],"photo_ids_order":["1351978703","1351978807","1351978830","1351978879","1351978917","1351978951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e6837b01b72adf99a73d9ff7878f72f.jpg","text":"TemporaryFile(/tmp/multipartBody6208735622301050060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411263728,"filename":"image_06042025_20_49_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ccea9ab9ea665da1b554934610c3e01d.jpg","text":"TemporaryFile(/tmp/multipartBody5226450157736792678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411263728,"filename":"image_06042025_20_49_25_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b3d90ea804fc94198249cd4cbc55b57.jpg","text":"TemporaryFile(/tmp/multipartBody1577064177583387482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411263728,"filename":"image_06042025_20_48_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d931817ebf4585e8622f2fa9f7e68c4.jpg","text":"TemporaryFile(/tmp/multipartBody8143584485379227029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411263728,"filename":"image_06042025_20_49_16_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abff4a11a96b0d122bbe2494d8a776c0.jpg","text":"TemporaryFile(/tmp/multipartBody6684512261851893097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411263728,"filename":"image_06042025_20_48_56_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08a8befb064c3e0bcf047c60567010cc.jpg","text":"TemporaryFile(/tmp/multipartBody6429413734086483059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411263728,"filename":"image_06042025_20_48_35_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351978830","file1":"1351978807","file0":"1351978703","file4":"1351978917","file5":"1351978951","file3":"1351978879"},"map_files_photo_id_array":[{"photo_id":"1351978951","filename":"file5"},{"photo_id":"1351978830","filename":"file2"},{"photo_id":"1351978917","filename":"file4"},{"photo_id":"1351978807","filename":"file1"},{"photo_id":"1351978703","filename":"file0"},{"photo_id":"1351978879","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351978879":["hashtag1","hashtag2"]},{"1351978951":["hashtag1","hashtag2"]},{"1351978807":["hashtag1","hashtag2"]},{"1351978917":["hashtag1","hashtag2"]},{"1351978830":["hashtag1","hashtag2"]},{"1351978703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351978879, 1351978951, 1351978807, 1351978917, 1351978830, 1351978703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.268266677856445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:41:04.019743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/49/image_06042025_20_49_46_10347.jpg', '/home/pi/Desktop/images/06042025/20/49/image_06042025_20_49_55_9425.jpg', '/home/pi/Desktop/images/06042025/20/49/image_06042025_20_50_06_10354.jpg', '/home/pi/Desktop/images/06042025/20/51/image_06042025_20_51_35_9444.jpg', '/home/pi/Desktop/images/06042025/20/51/image_06042025_20_51_46_10356.jpg', '/home/pi/Desktop/images/06042025/20/52/image_06042025_20_52_36_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/49/image_06042025_20_49_46_10347.jpg
/home/pi/Desktop/images/06042025/20/49/image_06042025_20_49_55_9425.jpg
/home/pi/Desktop/images/06042025/20/49/image_06042025_20_50_06_10354.jpg
/home/pi/Desktop/images/06042025/20/51/image_06042025_20_51_35_9444.jpg
/home/pi/Desktop/images/06042025/20/51/image_06042025_20_51_46_10356.jpg
/home/pi/Desktop/images/06042025/20/52/image_06042025_20_52_36_9458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351979473","1351979548","1351979521","1351979448","1351979423","1351979494"],"photo_ids_order":["1351979423","1351979448","1351979473","1351979494","1351979521","1351979548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78ddb15a3aadbe7a1b50e1dc77de96c2.jpg","text":"TemporaryFile(/tmp/multipartBody1134344449149149122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411324859,"filename":"image_06042025_20_50_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28a48111dc6a70f504ed29877e83843f.jpg","text":"TemporaryFile(/tmp/multipartBody8387349043167360451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411324859,"filename":"image_06042025_20_52_36_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc9c9f141dbb1204324949156099f9f3.jpg","text":"TemporaryFile(/tmp/multipartBody3446580244990208849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411324859,"filename":"image_06042025_20_51_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cba48395a950e97345f2fc26826d5788.jpg","text":"TemporaryFile(/tmp/multipartBody4477233861300524866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411324859,"filename":"image_06042025_20_49_55_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f923db1d81b56aec5c2ab04695e3904c.jpg","text":"TemporaryFile(/tmp/multipartBody1947609917911773404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411324859,"filename":"image_06042025_20_49_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbf4497e4e00f84e4b24f170e832aacf.jpg","text":"TemporaryFile(/tmp/multipartBody3613649187506123981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411324859,"filename":"image_06042025_20_51_35_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979473","file1":"1351979448","file0":"1351979423","file4":"1351979521","file5":"1351979548","file3":"1351979494"},"map_files_photo_id_array":[{"photo_id":"1351979548","filename":"file5"},{"photo_id":"1351979473","filename":"file2"},{"photo_id":"1351979521","filename":"file4"},{"photo_id":"1351979448","filename":"file1"},{"photo_id":"1351979423","filename":"file0"},{"photo_id":"1351979494","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351979473":["hashtag1","hashtag2"]},{"1351979548":["hashtag1","hashtag2"]},{"1351979521":["hashtag1","hashtag2"]},{"1351979448":["hashtag1","hashtag2"]},{"1351979423":["hashtag1","hashtag2"]},{"1351979494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351979473, 1351979548, 1351979521, 1351979448, 1351979423, 1351979494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65412974357605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:42:02.867790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/52/image_06042025_20_52_46_10355.jpg', '/home/pi/Desktop/images/06042025/20/52/image_06042025_20_52_55_9432.jpg', '/home/pi/Desktop/images/06042025/20/52/image_06042025_20_53_06_10379.jpg', '/home/pi/Desktop/images/06042025/20/53/image_06042025_20_53_56_10440.jpg', '/home/pi/Desktop/images/06042025/20/53/image_06042025_20_54_05_9441.jpg', '/home/pi/Desktop/images/06042025/20/54/image_06042025_20_54_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/52/image_06042025_20_52_46_10355.jpg
/home/pi/Desktop/images/06042025/20/52/image_06042025_20_52_55_9432.jpg
/home/pi/Desktop/images/06042025/20/52/image_06042025_20_53_06_10379.jpg
/home/pi/Desktop/images/06042025/20/53/image_06042025_20_53_56_10440.jpg
/home/pi/Desktop/images/06042025/20/53/image_06042025_20_54_05_9441.jpg
/home/pi/Desktop/images/06042025/20/54/image_06042025_20_54_26_10375.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351979764","1351979923","1351979716","1351979880","1351979808","1351979852"],"photo_ids_order":["1351979716","1351979764","1351979808","1351979852","1351979880","1351979923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31ec548f5399b2427249010f5c92e451.jpg","text":"TemporaryFile(/tmp/multipartBody9209175668374353266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411383621,"filename":"image_06042025_20_52_55_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/388368d82366277a432f52fc83e5c220.jpg","text":"TemporaryFile(/tmp/multipartBody7644339583489597849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411383621,"filename":"image_06042025_20_54_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68a8ba87d03723cb3379449e7157d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody8715618852673301495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411383621,"filename":"image_06042025_20_52_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa5c9fe1ed390cab37b97eaa7605ba96.jpg","text":"TemporaryFile(/tmp/multipartBody700207163112066586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411383621,"filename":"image_06042025_20_54_05_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31b346955e3043d48a4bf51818265de0.jpg","text":"TemporaryFile(/tmp/multipartBody7855388630834904297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411383621,"filename":"image_06042025_20_53_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/104e2d1a2bfd5285b527bbe90a8be248.jpg","text":"TemporaryFile(/tmp/multipartBody2546423166831208847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411383621,"filename":"image_06042025_20_53_56_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351979808","file1":"1351979764","file0":"1351979716","file4":"1351979880","file5":"1351979923","file3":"1351979852"},"map_files_photo_id_array":[{"photo_id":"1351979923","filename":"file5"},{"photo_id":"1351979808","filename":"file2"},{"photo_id":"1351979880","filename":"file4"},{"photo_id":"1351979764","filename":"file1"},{"photo_id":"1351979716","filename":"file0"},{"photo_id":"1351979852","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351979764":["hashtag1","hashtag2"]},{"1351979923":["hashtag1","hashtag2"]},{"1351979716":["hashtag1","hashtag2"]},{"1351979880":["hashtag1","hashtag2"]},{"1351979808":["hashtag1","hashtag2"]},{"1351979852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351979764, 1351979923, 1351979716, 1351979880, 1351979808, 1351979852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.029762983322144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:43:04.038794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/54/image_06042025_20_54_35_9417.jpg', '/home/pi/Desktop/images/06042025/20/54/image_06042025_20_54_46_10414.jpg', '/home/pi/Desktop/images/06042025/20/54/image_06042025_20_54_55_9392.jpg', '/home/pi/Desktop/images/06042025/20/54/image_06042025_20_55_06_10362.jpg', '/home/pi/Desktop/images/06042025/20/55/image_06042025_20_55_16_10424.jpg', '/home/pi/Desktop/images/06042025/20/55/image_06042025_20_55_25_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/54/image_06042025_20_54_35_9417.jpg
/home/pi/Desktop/images/06042025/20/54/image_06042025_20_54_46_10414.jpg
/home/pi/Desktop/images/06042025/20/54/image_06042025_20_54_55_9392.jpg
/home/pi/Desktop/images/06042025/20/54/image_06042025_20_55_06_10362.jpg
/home/pi/Desktop/images/06042025/20/55/image_06042025_20_55_16_10424.jpg
/home/pi/Desktop/images/06042025/20/55/image_06042025_20_55_25_9350.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351980410","1351980502","1351980588","1351980552","1351980642","1351980465"],"photo_ids_order":["1351980410","1351980465","1351980502","1351980552","1351980588","1351980642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcb5a4057872d4a2df32fb48f9de0cb5.jpg","text":"TemporaryFile(/tmp/multipartBody7846979232023323494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411444923,"filename":"image_06042025_20_54_35_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b99492fffee56db957a4b01fa7ade8a.jpg","text":"TemporaryFile(/tmp/multipartBody1054060756603633640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411444923,"filename":"image_06042025_20_54_55_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/388db71c2836816574ce476c9ea3f6e3.jpg","text":"TemporaryFile(/tmp/multipartBody840394942662566001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411444923,"filename":"image_06042025_20_55_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50b788c505782f3bbde818896479448e.jpg","text":"TemporaryFile(/tmp/multipartBody1982782009568488372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411444923,"filename":"image_06042025_20_55_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98d43da9bdfd006201fba03b9ba61df2.jpg","text":"TemporaryFile(/tmp/multipartBody4789972213312879981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411444923,"filename":"image_06042025_20_55_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b77c5214a6b4aa4f9ed58acfe6423433.jpg","text":"TemporaryFile(/tmp/multipartBody5429261066912516245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411444923,"filename":"image_06042025_20_54_46_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351980502","file1":"1351980465","file0":"1351980410","file4":"1351980588","file5":"1351980642","file3":"1351980552"},"map_files_photo_id_array":[{"photo_id":"1351980642","filename":"file5"},{"photo_id":"1351980502","filename":"file2"},{"photo_id":"1351980588","filename":"file4"},{"photo_id":"1351980465","filename":"file1"},{"photo_id":"1351980410","filename":"file0"},{"photo_id":"1351980552","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351980410":["hashtag1","hashtag2"]},{"1351980502":["hashtag1","hashtag2"]},{"1351980588":["hashtag1","hashtag2"]},{"1351980552":["hashtag1","hashtag2"]},{"1351980642":["hashtag1","hashtag2"]},{"1351980465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351980410, 1351980502, 1351980588, 1351980552, 1351980642, 1351980465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32917237281799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:44:03.085489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/55/image_06042025_20_55_36_10419.jpg', '/home/pi/Desktop/images/06042025/20/55/image_06042025_20_55_56_10365.jpg', '/home/pi/Desktop/images/06042025/20/55/image_06042025_20_56_06_10408.jpg', '/home/pi/Desktop/images/06042025/20/56/image_06042025_20_56_15_9351.jpg', '/home/pi/Desktop/images/06042025/20/56/image_06042025_20_56_26_10374.jpg', '/home/pi/Desktop/images/06042025/20/56/image_06042025_20_56_46_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/55/image_06042025_20_55_36_10419.jpg
/home/pi/Desktop/images/06042025/20/55/image_06042025_20_55_56_10365.jpg
/home/pi/Desktop/images/06042025/20/55/image_06042025_20_56_06_10408.jpg
/home/pi/Desktop/images/06042025/20/56/image_06042025_20_56_15_9351.jpg
/home/pi/Desktop/images/06042025/20/56/image_06042025_20_56_26_10374.jpg
/home/pi/Desktop/images/06042025/20/56/image_06042025_20_56_46_9414.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351980985","1351980994","1351980930","1351980948","1351980909","1351980887"],"photo_ids_order":["1351980887","1351980909","1351980930","1351980948","1351980985","1351980994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32165142d9e81695c40e58bc28d2bac9.jpg","text":"TemporaryFile(/tmp/multipartBody9078810604651970717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411503929,"filename":"image_06042025_20_56_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f388c6d2eb67ca66037d5ac6a4ea441.jpg","text":"TemporaryFile(/tmp/multipartBody7767137435818663721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411503929,"filename":"image_06042025_20_56_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8905696b60aba242348598f1708a879f.jpg","text":"TemporaryFile(/tmp/multipartBody4807888223937344233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411503929,"filename":"image_06042025_20_56_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fee79f034a41823a77641f202b3c3cf.jpg","text":"TemporaryFile(/tmp/multipartBody4874318093309892071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411503929,"filename":"image_06042025_20_56_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebd71d7a83e52d37b6f612751115a0ef.jpg","text":"TemporaryFile(/tmp/multipartBody3009765701280208554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411503929,"filename":"image_06042025_20_55_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3f1cf64d88b0f5ed79d53337e365b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1299234127960079058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411503929,"filename":"image_06042025_20_55_36_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351980930","file1":"1351980909","file0":"1351980887","file4":"1351980985","file5":"1351980994","file3":"1351980948"},"map_files_photo_id_array":[{"photo_id":"1351980994","filename":"file5"},{"photo_id":"1351980930","filename":"file2"},{"photo_id":"1351980985","filename":"file4"},{"photo_id":"1351980909","filename":"file1"},{"photo_id":"1351980887","filename":"file0"},{"photo_id":"1351980948","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351980985":["hashtag1","hashtag2"]},{"1351980994":["hashtag1","hashtag2"]},{"1351980930":["hashtag1","hashtag2"]},{"1351980948":["hashtag1","hashtag2"]},{"1351980909":["hashtag1","hashtag2"]},{"1351980887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351980985, 1351980994, 1351980930, 1351980948, 1351980909, 1351980887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.271477699279785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:45:03.882922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/56/image_06042025_20_56_56_10360.jpg', '/home/pi/Desktop/images/06042025/20/56/image_06042025_20_57_05_9407.jpg', '/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_16_10459.jpg', '/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_26_10490.jpg', '/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_36_9379.jpg', '/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/56/image_06042025_20_56_56_10360.jpg
/home/pi/Desktop/images/06042025/20/56/image_06042025_20_57_05_9407.jpg
/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_16_10459.jpg
/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_26_10490.jpg
/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_36_9379.jpg
/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_46_10367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351981272","1351981389","1351981184","1351981355","1351981235","1351981375"],"photo_ids_order":["1351981184","1351981235","1351981272","1351981355","1351981375","1351981389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e35733468d886a6583417ce8eb1a8f87.jpg","text":"TemporaryFile(/tmp/multipartBody7091231165656630495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411564727,"filename":"image_06042025_20_57_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f4cacac80b7d9113bd75414fee10cd8.jpg","text":"TemporaryFile(/tmp/multipartBody1184509790211136031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411564727,"filename":"image_06042025_20_57_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09ee0b03467efade85040a98a3b6cb22.jpg","text":"TemporaryFile(/tmp/multipartBody5537531549807510355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411564727,"filename":"image_06042025_20_56_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07d4161fced2d1bd7a75149d2610bb1b.jpg","text":"TemporaryFile(/tmp/multipartBody1424407672410348720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411564727,"filename":"image_06042025_20_57_26_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c29d860f64f09e6d3ffb75c75cf3614e.jpg","text":"TemporaryFile(/tmp/multipartBody2751503748180074384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411564727,"filename":"image_06042025_20_57_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d9b025186bb70b5d63efe919f5fbc65.jpg","text":"TemporaryFile(/tmp/multipartBody2675149336615350094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411564727,"filename":"image_06042025_20_57_36_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351981272","file1":"1351981235","file0":"1351981184","file4":"1351981375","file5":"1351981389","file3":"1351981355"},"map_files_photo_id_array":[{"photo_id":"1351981389","filename":"file5"},{"photo_id":"1351981272","filename":"file2"},{"photo_id":"1351981375","filename":"file4"},{"photo_id":"1351981235","filename":"file1"},{"photo_id":"1351981184","filename":"file0"},{"photo_id":"1351981355","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351981272":["hashtag1","hashtag2"]},{"1351981389":["hashtag1","hashtag2"]},{"1351981184":["hashtag1","hashtag2"]},{"1351981355":["hashtag1","hashtag2"]},{"1351981235":["hashtag1","hashtag2"]},{"1351981375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351981272, 1351981389, 1351981184, 1351981355, 1351981235, 1351981375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.42938232421875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:46:02.790236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_55_9370.jpg', '/home/pi/Desktop/images/06042025/20/57/image_06042025_20_58_06_10356.jpg', '/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_16_10358.jpg', '/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_25_9434.jpg', '/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_36_10405.jpg', '/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_45_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/57/image_06042025_20_57_55_9370.jpg
/home/pi/Desktop/images/06042025/20/57/image_06042025_20_58_06_10356.jpg
/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_16_10358.jpg
/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_25_9434.jpg
/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_36_10405.jpg
/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_45_9363.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351981695","1351981662","1351981644","1351981617","1351981718","1351981594"],"photo_ids_order":["1351981594","1351981617","1351981644","1351981662","1351981695","1351981718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45b5e71b06d195c24da65197faafac4b.jpg","text":"TemporaryFile(/tmp/multipartBody9012896284267003042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411623539,"filename":"image_06042025_20_58_36_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad302c0f29a17f683d42093c6d7c80a5.jpg","text":"TemporaryFile(/tmp/multipartBody6828017272740332317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411623539,"filename":"image_06042025_20_58_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae4a2b30f664bad086b17857c3559be1.jpg","text":"TemporaryFile(/tmp/multipartBody2650821455089643755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411623539,"filename":"image_06042025_20_58_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94c138b2721920b339f71b2e628ec559.jpg","text":"TemporaryFile(/tmp/multipartBody7221155018668181854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411623539,"filename":"image_06042025_20_58_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/349d3b1690114a84bc1c83df774ac9bc.jpg","text":"TemporaryFile(/tmp/multipartBody4334844650001716998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411623539,"filename":"image_06042025_20_58_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0546ac2638f3164ba8b5791a4d10c0eb.jpg","text":"TemporaryFile(/tmp/multipartBody4107979806280029464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411623539,"filename":"image_06042025_20_57_55_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351981644","file1":"1351981617","file0":"1351981594","file4":"1351981695","file5":"1351981718","file3":"1351981662"},"map_files_photo_id_array":[{"photo_id":"1351981718","filename":"file5"},{"photo_id":"1351981644","filename":"file2"},{"photo_id":"1351981695","filename":"file4"},{"photo_id":"1351981617","filename":"file1"},{"photo_id":"1351981594","filename":"file0"},{"photo_id":"1351981662","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351981695":["hashtag1","hashtag2"]},{"1351981662":["hashtag1","hashtag2"]},{"1351981644":["hashtag1","hashtag2"]},{"1351981617":["hashtag1","hashtag2"]},{"1351981718":["hashtag1","hashtag2"]},{"1351981594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351981695, 1351981662, 1351981644, 1351981617, 1351981718, 1351981594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06775259971619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:47:03.912303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_56_10402.jpg', '/home/pi/Desktop/images/06042025/20/58/image_06042025_20_59_06_10386.jpg', '/home/pi/Desktop/images/06042025/20/59/image_06042025_20_59_26_10447.jpg', '/home/pi/Desktop/images/06042025/20/59/image_06042025_20_59_35_9459.jpg', '/home/pi/Desktop/images/06042025/20/59/image_06042025_20_59_46_10425.jpg', '/home/pi/Desktop/images/06042025/20/59/image_06042025_20_59_56_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/58/image_06042025_20_58_56_10402.jpg
/home/pi/Desktop/images/06042025/20/58/image_06042025_20_59_06_10386.jpg
/home/pi/Desktop/images/06042025/20/59/image_06042025_20_59_26_10447.jpg
/home/pi/Desktop/images/06042025/20/59/image_06042025_20_59_35_9459.jpg
/home/pi/Desktop/images/06042025/20/59/image_06042025_20_59_46_10425.jpg
/home/pi/Desktop/images/06042025/20/59/image_06042025_20_59_56_10361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351982097","1351982174","1351982279","1351982042","1351982143","1351982224"],"photo_ids_order":["1351982042","1351982097","1351982143","1351982174","1351982224","1351982279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5d964ed81c69c3b5e8b0653cd4b8138.jpg","text":"TemporaryFile(/tmp/multipartBody904459007426012169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411684765,"filename":"image_06042025_20_59_06_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1eb09d0080e70e0826b1238ebfca1cd2.jpg","text":"TemporaryFile(/tmp/multipartBody7763509489265797333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411684765,"filename":"image_06042025_20_59_35_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d5d5381ab24d7bf0208748638a54b12.jpg","text":"TemporaryFile(/tmp/multipartBody2311126906609104033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411684765,"filename":"image_06042025_20_59_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c543099dd493dd22ed69ac8995782ac.jpg","text":"TemporaryFile(/tmp/multipartBody1858004693135953283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411684765,"filename":"image_06042025_20_58_56_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fdf0478c50592b98f569831dfa80c26d.jpg","text":"TemporaryFile(/tmp/multipartBody5446411646988640329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411684765,"filename":"image_06042025_20_59_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92a3722b0b83996f6e6b8dee29fe8443.jpg","text":"TemporaryFile(/tmp/multipartBody1180978723672176501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411684765,"filename":"image_06042025_20_59_46_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351982143","file1":"1351982097","file0":"1351982042","file4":"1351982224","file5":"1351982279","file3":"1351982174"},"map_files_photo_id_array":[{"photo_id":"1351982279","filename":"file5"},{"photo_id":"1351982143","filename":"file2"},{"photo_id":"1351982224","filename":"file4"},{"photo_id":"1351982097","filename":"file1"},{"photo_id":"1351982042","filename":"file0"},{"photo_id":"1351982174","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351982097":["hashtag1","hashtag2"]},{"1351982174":["hashtag1","hashtag2"]},{"1351982279":["hashtag1","hashtag2"]},{"1351982042":["hashtag1","hashtag2"]},{"1351982143":["hashtag1","hashtag2"]},{"1351982224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351982097, 1351982174, 1351982279, 1351982042, 1351982143, 1351982224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00721073150635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:48:02.544348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_16_10084.jpg', '/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_26_10385.jpg', '/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_36_10481.jpg', '/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_46_9350.jpg', '/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_56_10474.jpg', '/home/pi/Desktop/images/06042025/21/00/image_06042025_21_01_06_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_16_10084.jpg
/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_26_10385.jpg
/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_36_10481.jpg
/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_46_9350.jpg
/home/pi/Desktop/images/06042025/21/00/image_06042025_21_00_56_10474.jpg
/home/pi/Desktop/images/06042025/21/00/image_06042025_21_01_06_9410.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351982817","1351982690","1351982720","1351982776","1351982848","1351982641"],"photo_ids_order":["1351982641","1351982690","1351982720","1351982776","1351982817","1351982848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54a7398cd71a53e388653cd01a67af77.jpg","text":"TemporaryFile(/tmp/multipartBody7953462514315448870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411743289,"filename":"image_06042025_21_00_56_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e308b04e2cf74bb7d4c4effe32ac4e8f.jpg","text":"TemporaryFile(/tmp/multipartBody7782195518752931111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411743289,"filename":"image_06042025_21_00_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89a13ade663c0185c34920539a4ac96e.jpg","text":"TemporaryFile(/tmp/multipartBody2347779967093596206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411743289,"filename":"image_06042025_21_00_36_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fafb072f9319ad23b1ca877ad0c5323.jpg","text":"TemporaryFile(/tmp/multipartBody4645042902389533360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411743289,"filename":"image_06042025_21_00_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcd2939d2023858f3ea0111ff0b1dd49.jpg","text":"TemporaryFile(/tmp/multipartBody2648948437200127604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411743289,"filename":"image_06042025_21_01_06_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c8d477611e93f70507885f4608d8ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2100049658976311242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411743289,"filename":"image_06042025_21_00_16_10084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351982720","file1":"1351982690","file0":"1351982641","file4":"1351982817","file5":"1351982848","file3":"1351982776"},"map_files_photo_id_array":[{"photo_id":"1351982848","filename":"file5"},{"photo_id":"1351982720","filename":"file2"},{"photo_id":"1351982817","filename":"file4"},{"photo_id":"1351982690","filename":"file1"},{"photo_id":"1351982641","filename":"file0"},{"photo_id":"1351982776","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351982817":["hashtag1","hashtag2"]},{"1351982690":["hashtag1","hashtag2"]},{"1351982720":["hashtag1","hashtag2"]},{"1351982776":["hashtag1","hashtag2"]},{"1351982848":["hashtag1","hashtag2"]},{"1351982641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351982817, 1351982690, 1351982720, 1351982776, 1351982848, 1351982641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68290638923645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:49:03.844996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/01/image_06042025_21_01_16_10416.jpg', '/home/pi/Desktop/images/06042025/21/01/image_06042025_21_01_25_9414.jpg', '/home/pi/Desktop/images/06042025/21/01/image_06042025_21_01_36_10366.jpg', '/home/pi/Desktop/images/06042025/21/01/image_06042025_21_01_56_9367.jpg', '/home/pi/Desktop/images/06042025/21/01/image_06042025_21_02_06_10381.jpg', '/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_15_9499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/01/image_06042025_21_01_16_10416.jpg
/home/pi/Desktop/images/06042025/21/01/image_06042025_21_01_25_9414.jpg
/home/pi/Desktop/images/06042025/21/01/image_06042025_21_01_36_10366.jpg
/home/pi/Desktop/images/06042025/21/01/image_06042025_21_01_56_9367.jpg
/home/pi/Desktop/images/06042025/21/01/image_06042025_21_02_06_10381.jpg
/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_15_9499.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351983102","1351983095","1351983098","1351983050","1351983076","1351983106"],"photo_ids_order":["1351983050","1351983076","1351983095","1351983098","1351983102","1351983106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04cf7afcf665bd747800759fda14b359.jpg","text":"TemporaryFile(/tmp/multipartBody4263348553626328068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411804716,"filename":"image_06042025_21_02_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e28edf29314249b5c5340ea0d94ddfa2.jpg","text":"TemporaryFile(/tmp/multipartBody7741869275064182001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411804716,"filename":"image_06042025_21_01_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86c2f5d1fd6c98fde5fdc608b1f728e6.jpg","text":"TemporaryFile(/tmp/multipartBody5080688591521056705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411804716,"filename":"image_06042025_21_01_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b52b8b7b7b99c696eb2b8b6c46720e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3197107408653528136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411804716,"filename":"image_06042025_21_01_16_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a0ad144f5c984e596984dbe2c7d068a.jpg","text":"TemporaryFile(/tmp/multipartBody3554332798628312472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411804716,"filename":"image_06042025_21_01_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14a3a5a0771ed1e70f5a95061538bb96.jpg","text":"TemporaryFile(/tmp/multipartBody6795270475528014985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411804716,"filename":"image_06042025_21_02_15_9499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351983095","file1":"1351983076","file0":"1351983050","file4":"1351983102","file5":"1351983106","file3":"1351983098"},"map_files_photo_id_array":[{"photo_id":"1351983106","filename":"file5"},{"photo_id":"1351983095","filename":"file2"},{"photo_id":"1351983102","filename":"file4"},{"photo_id":"1351983076","filename":"file1"},{"photo_id":"1351983050","filename":"file0"},{"photo_id":"1351983098","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351983102":["hashtag1","hashtag2"]},{"1351983095":["hashtag1","hashtag2"]},{"1351983098":["hashtag1","hashtag2"]},{"1351983050":["hashtag1","hashtag2"]},{"1351983076":["hashtag1","hashtag2"]},{"1351983106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351983102, 1351983095, 1351983098, 1351983050, 1351983076, 1351983106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37419033050537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:50:02.525105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_26_10378.jpg', '/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_36_10455.jpg', '/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_46_9528.jpg', '/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_55_9636.jpg', '/home/pi/Desktop/images/06042025/21/02/image_06042025_21_03_06_10471.jpg', '/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_16_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_26_10378.jpg
/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_36_10455.jpg
/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_46_9528.jpg
/home/pi/Desktop/images/06042025/21/02/image_06042025_21_02_55_9636.jpg
/home/pi/Desktop/images/06042025/21/02/image_06042025_21_03_06_10471.jpg
/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_16_10348.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351983167","1351983269","1351983146","1351983196","1351983253","1351983220"],"photo_ids_order":["1351983146","1351983167","1351983196","1351983220","1351983253","1351983269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b659aed10b08a213f77e6d683391a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody2017111083819631005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411863280,"filename":"image_06042025_21_02_36_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15f23a4295115df33d1d6365766a77e9.jpg","text":"TemporaryFile(/tmp/multipartBody2970937412756937721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411863280,"filename":"image_06042025_21_03_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5626283c1aa0e8d1a03b04afce3d4914.jpg","text":"TemporaryFile(/tmp/multipartBody5157347942751939672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411863280,"filename":"image_06042025_21_02_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1eab93e164479f0d653a33e86f7fcf5f.jpg","text":"TemporaryFile(/tmp/multipartBody4704612242241313160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411863280,"filename":"image_06042025_21_02_46_9528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2c41038810a67df972bc3624988ce9c.jpg","text":"TemporaryFile(/tmp/multipartBody3017706677798879330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411863280,"filename":"image_06042025_21_03_06_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5594cb2d32592299b92989de29d0ba09.jpg","text":"TemporaryFile(/tmp/multipartBody2652624426469405178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411863280,"filename":"image_06042025_21_02_55_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351983196","file1":"1351983167","file0":"1351983146","file4":"1351983253","file5":"1351983269","file3":"1351983220"},"map_files_photo_id_array":[{"photo_id":"1351983269","filename":"file5"},{"photo_id":"1351983196","filename":"file2"},{"photo_id":"1351983253","filename":"file4"},{"photo_id":"1351983167","filename":"file1"},{"photo_id":"1351983146","filename":"file0"},{"photo_id":"1351983220","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351983167":["hashtag1","hashtag2"]},{"1351983269":["hashtag1","hashtag2"]},{"1351983146":["hashtag1","hashtag2"]},{"1351983196":["hashtag1","hashtag2"]},{"1351983253":["hashtag1","hashtag2"]},{"1351983220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351983167, 1351983269, 1351983146, 1351983196, 1351983253, 1351983220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.634732723236084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:51:03.908589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_26_9363.jpg', '/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_36_10414.jpg', '/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_45_9390.jpg', '/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_56_10455.jpg', '/home/pi/Desktop/images/06042025/21/03/image_06042025_21_04_06_10361.jpg', '/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_16_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_26_9363.jpg
/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_36_10414.jpg
/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_45_9390.jpg
/home/pi/Desktop/images/06042025/21/03/image_06042025_21_03_56_10455.jpg
/home/pi/Desktop/images/06042025/21/03/image_06042025_21_04_06_10361.jpg
/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_16_9397.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351983555","1351983476","1351983631","1351983505","1351983616","1351983579"],"photo_ids_order":["1351983476","1351983505","1351983555","1351983579","1351983616","1351983631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29cdd696b4227e12a07b5759cb6208d7.jpg","text":"TemporaryFile(/tmp/multipartBody9180084019560468276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411924752,"filename":"image_06042025_21_03_45_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6de7ec9463bcfee53f7a4c13e44e95e3.jpg","text":"TemporaryFile(/tmp/multipartBody505701608960153550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411924752,"filename":"image_06042025_21_03_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c38d724af12a59452032a4672314b37.jpg","text":"TemporaryFile(/tmp/multipartBody4297183515600952505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411924752,"filename":"image_06042025_21_04_16_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/002d49a7878fbcba5d6654b9d4b39b72.jpg","text":"TemporaryFile(/tmp/multipartBody7277286637092948689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411924752,"filename":"image_06042025_21_03_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a199c3a025defe77f28169a6c11db1a.jpg","text":"TemporaryFile(/tmp/multipartBody3109388802616155622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411924752,"filename":"image_06042025_21_04_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f5055b5fffbca730591bfe7cff3be7f.jpg","text":"TemporaryFile(/tmp/multipartBody4611231807644916056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411924752,"filename":"image_06042025_21_03_56_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351983555","file1":"1351983505","file0":"1351983476","file4":"1351983616","file5":"1351983631","file3":"1351983579"},"map_files_photo_id_array":[{"photo_id":"1351983631","filename":"file5"},{"photo_id":"1351983555","filename":"file2"},{"photo_id":"1351983616","filename":"file4"},{"photo_id":"1351983505","filename":"file1"},{"photo_id":"1351983476","filename":"file0"},{"photo_id":"1351983579","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351983555":["hashtag1","hashtag2"]},{"1351983476":["hashtag1","hashtag2"]},{"1351983631":["hashtag1","hashtag2"]},{"1351983505":["hashtag1","hashtag2"]},{"1351983616":["hashtag1","hashtag2"]},{"1351983579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351983555, 1351983476, 1351983631, 1351983505, 1351983616, 1351983579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.593106746673584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:52:02.738464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_26_10375.jpg', '/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_36_10374.jpg', '/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_46_9350.jpg', '/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_56_10458.jpg', '/home/pi/Desktop/images/06042025/21/04/image_06042025_21_05_06_9417.jpg', '/home/pi/Desktop/images/06042025/21/05/image_06042025_21_05_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_26_10375.jpg
/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_36_10374.jpg
/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_46_9350.jpg
/home/pi/Desktop/images/06042025/21/04/image_06042025_21_04_56_10458.jpg
/home/pi/Desktop/images/06042025/21/04/image_06042025_21_05_06_9417.jpg
/home/pi/Desktop/images/06042025/21/05/image_06042025_21_05_16_10354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351983846","1351983813","1351983756","1351983785","1351983778","1351983718"],"photo_ids_order":["1351983718","1351983756","1351983778","1351983785","1351983813","1351983846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e55a1ab10987f24c2c8d9f15cebf8184.jpg","text":"TemporaryFile(/tmp/multipartBody7165695074577576902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411983497,"filename":"image_06042025_21_05_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46aee7fb51c90e4b7c9ac91fad515664.jpg","text":"TemporaryFile(/tmp/multipartBody5040834844958081007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411983497,"filename":"image_06042025_21_05_06_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee7133c463f651a0978620aa97d21d48.jpg","text":"TemporaryFile(/tmp/multipartBody5964519564576984553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411983497,"filename":"image_06042025_21_04_36_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f9e9fabcff91e92542a3c285341ed4d.jpg","text":"TemporaryFile(/tmp/multipartBody1104171656544197675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411983497,"filename":"image_06042025_21_04_56_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4102b0c5e36fd603f29062dec80c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody8711219345435694165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411983497,"filename":"image_06042025_21_04_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7643a769a29b2100939227cfe0e9a389.jpg","text":"TemporaryFile(/tmp/multipartBody2526222065626540827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744411983497,"filename":"image_06042025_21_04_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351983778","file1":"1351983756","file0":"1351983718","file4":"1351983813","file5":"1351983846","file3":"1351983785"},"map_files_photo_id_array":[{"photo_id":"1351983846","filename":"file5"},{"photo_id":"1351983778","filename":"file2"},{"photo_id":"1351983813","filename":"file4"},{"photo_id":"1351983756","filename":"file1"},{"photo_id":"1351983718","filename":"file0"},{"photo_id":"1351983785","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351983846":["hashtag1","hashtag2"]},{"1351983813":["hashtag1","hashtag2"]},{"1351983756":["hashtag1","hashtag2"]},{"1351983785":["hashtag1","hashtag2"]},{"1351983778":["hashtag1","hashtag2"]},{"1351983718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351983846, 1351983813, 1351983756, 1351983785, 1351983778, 1351983718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54667258262634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:53:03.675826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/05/image_06042025_21_05_25_9465.jpg', '/home/pi/Desktop/images/06042025/21/05/image_06042025_21_05_36_10419.jpg', '/home/pi/Desktop/images/06042025/21/05/image_06042025_21_05_56_9439.jpg', '/home/pi/Desktop/images/06042025/21/05/image_06042025_21_06_06_10418.jpg', '/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_16_9408.jpg', '/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/05/image_06042025_21_05_25_9465.jpg
/home/pi/Desktop/images/06042025/21/05/image_06042025_21_05_36_10419.jpg
/home/pi/Desktop/images/06042025/21/05/image_06042025_21_05_56_9439.jpg
/home/pi/Desktop/images/06042025/21/05/image_06042025_21_06_06_10418.jpg
/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_16_9408.jpg
/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_26_10366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351984166","1351984043","1351983956","1351984086","1351984125","1351984005"],"photo_ids_order":["1351983956","1351984005","1351984043","1351984086","1351984125","1351984166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7811b303cda2f26aec40a21c99751736.jpg","text":"TemporaryFile(/tmp/multipartBody7478417605184382364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412044687,"filename":"image_06042025_21_06_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/066acdd35277d725d854c2bbe0ec8105.jpg","text":"TemporaryFile(/tmp/multipartBody5369909991159285846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412044687,"filename":"image_06042025_21_05_56_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0aff6349043d37a00b364b4744bbacf9.jpg","text":"TemporaryFile(/tmp/multipartBody5306703870202334382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412044687,"filename":"image_06042025_21_05_25_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf280f31a3c8aa52d8860d782fdc553f.jpg","text":"TemporaryFile(/tmp/multipartBody1208292013511744792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412044687,"filename":"image_06042025_21_06_06_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47bd07adbd2f049acc8fbaa79b11dff2.jpg","text":"TemporaryFile(/tmp/multipartBody1742430877448366428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412044687,"filename":"image_06042025_21_06_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bf560e0f1363d2972f76c3cdd334c8a.jpg","text":"TemporaryFile(/tmp/multipartBody4604046468999509312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412044687,"filename":"image_06042025_21_05_36_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351984043","file1":"1351984005","file0":"1351983956","file4":"1351984125","file5":"1351984166","file3":"1351984086"},"map_files_photo_id_array":[{"photo_id":"1351984166","filename":"file5"},{"photo_id":"1351984043","filename":"file2"},{"photo_id":"1351984125","filename":"file4"},{"photo_id":"1351984005","filename":"file1"},{"photo_id":"1351983956","filename":"file0"},{"photo_id":"1351984086","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351984166":["hashtag1","hashtag2"]},{"1351984043":["hashtag1","hashtag2"]},{"1351983956":["hashtag1","hashtag2"]},{"1351984086":["hashtag1","hashtag2"]},{"1351984125":["hashtag1","hashtag2"]},{"1351984005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351984166, 1351984043, 1351983956, 1351984086, 1351984125, 1351984005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44385480880737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:54:02.953569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_35_9442.jpg', '/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_46_10355.jpg', '/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_56_10409.jpg', '/home/pi/Desktop/images/06042025/21/06/image_06042025_21_07_06_9354.jpg', '/home/pi/Desktop/images/06042025/21/07/image_06042025_21_07_16_10353.jpg', '/home/pi/Desktop/images/06042025/21/07/image_06042025_21_07_36_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_35_9442.jpg
/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_46_10355.jpg
/home/pi/Desktop/images/06042025/21/06/image_06042025_21_06_56_10409.jpg
/home/pi/Desktop/images/06042025/21/06/image_06042025_21_07_06_9354.jpg
/home/pi/Desktop/images/06042025/21/07/image_06042025_21_07_16_10353.jpg
/home/pi/Desktop/images/06042025/21/07/image_06042025_21_07_36_9377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351984582","1351984415","1351984567","1351984485","1351984530","1351984437"],"photo_ids_order":["1351984415","1351984437","1351984485","1351984530","1351984567","1351984582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef91d9c98fec6d79379b0bb4331859bd.jpg","text":"TemporaryFile(/tmp/multipartBody7583773938983231274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412103767,"filename":"image_06042025_21_07_36_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c1225ced85eb6afade4db8d2d7435b9.jpg","text":"TemporaryFile(/tmp/multipartBody4440517066333140673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412103767,"filename":"image_06042025_21_06_35_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df6d98c8f3ec14a7ceeb3a40fa6684d7.jpg","text":"TemporaryFile(/tmp/multipartBody270555042129114510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412103767,"filename":"image_06042025_21_07_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb278a2d99cc6b7421719454e609fab2.jpg","text":"TemporaryFile(/tmp/multipartBody3961716088710179716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412103767,"filename":"image_06042025_21_06_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09edd3551c9046d20ee4006052a65f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7366466116287180100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412103767,"filename":"image_06042025_21_07_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b029b56a058b6b38eb2ac47d2e8f879a.jpg","text":"TemporaryFile(/tmp/multipartBody3784371536320104733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412103767,"filename":"image_06042025_21_06_46_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351984485","file1":"1351984437","file0":"1351984415","file4":"1351984567","file5":"1351984582","file3":"1351984530"},"map_files_photo_id_array":[{"photo_id":"1351984582","filename":"file5"},{"photo_id":"1351984485","filename":"file2"},{"photo_id":"1351984567","filename":"file4"},{"photo_id":"1351984437","filename":"file1"},{"photo_id":"1351984415","filename":"file0"},{"photo_id":"1351984530","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351984582":["hashtag1","hashtag2"]},{"1351984415":["hashtag1","hashtag2"]},{"1351984567":["hashtag1","hashtag2"]},{"1351984485":["hashtag1","hashtag2"]},{"1351984530":["hashtag1","hashtag2"]},{"1351984437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351984582, 1351984415, 1351984567, 1351984485, 1351984530, 1351984437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.395753383636475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:55:04.145006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/07/image_06042025_21_08_06_10426.jpg', '/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_16_10509.jpg', '/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_26_9357.jpg', '/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_36_10443.jpg', '/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_46_9355.jpg', '/home/pi/Desktop/images/06042025/21/09/image_06042025_21_09_26_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/07/image_06042025_21_08_06_10426.jpg
/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_16_10509.jpg
/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_26_9357.jpg
/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_36_10443.jpg
/home/pi/Desktop/images/06042025/21/08/image_06042025_21_08_46_9355.jpg
/home/pi/Desktop/images/06042025/21/09/image_06042025_21_09_26_10356.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351984958","1351985086","1351985035","1351985055","1351984893","1351985004"],"photo_ids_order":["1351984893","1351984958","1351985004","1351985035","1351985055","1351985086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b2426609b7d08804c91aff354c0747e.jpg","text":"TemporaryFile(/tmp/multipartBody6094865854548207696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412164981,"filename":"image_06042025_21_08_16_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb29a79ad33740b44d87b7983f1bd57f.jpg","text":"TemporaryFile(/tmp/multipartBody5513400599104391608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412164981,"filename":"image_06042025_21_09_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/217cbd08503ade3085e02ee74a6c2969.jpg","text":"TemporaryFile(/tmp/multipartBody567971027087520373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412164981,"filename":"image_06042025_21_08_36_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f57ef77910b5ea9f6e3ad176d01c5a26.jpg","text":"TemporaryFile(/tmp/multipartBody2086623709398496930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412164981,"filename":"image_06042025_21_08_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77eba046c565b3c7e10530509f1a5347.jpg","text":"TemporaryFile(/tmp/multipartBody7893084921008974478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412164981,"filename":"image_06042025_21_08_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9f720a441dfdf43be5e93c85ed5dfe6.jpg","text":"TemporaryFile(/tmp/multipartBody8227659017261355444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412164981,"filename":"image_06042025_21_08_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985004","file1":"1351984958","file0":"1351984893","file4":"1351985055","file5":"1351985086","file3":"1351985035"},"map_files_photo_id_array":[{"photo_id":"1351985086","filename":"file5"},{"photo_id":"1351985004","filename":"file2"},{"photo_id":"1351985055","filename":"file4"},{"photo_id":"1351984958","filename":"file1"},{"photo_id":"1351984893","filename":"file0"},{"photo_id":"1351985035","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351984958":["hashtag1","hashtag2"]},{"1351985086":["hashtag1","hashtag2"]},{"1351985035":["hashtag1","hashtag2"]},{"1351985055":["hashtag1","hashtag2"]},{"1351984893":["hashtag1","hashtag2"]},{"1351985004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351984958, 1351985086, 1351985035, 1351985055, 1351984893, 1351985004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17281460762024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:56:03.091013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 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 628, 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 dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:57:04.175075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/09/image_06042025_21_09_35_9383.jpg', '/home/pi/Desktop/images/06042025/21/09/image_06042025_21_09_56_10415.jpg', '/home/pi/Desktop/images/06042025/21/09/image_06042025_21_10_06_9348.jpg', '/home/pi/Desktop/images/06042025/21/10/image_06042025_21_10_16_10447.jpg', '/home/pi/Desktop/images/06042025/21/10/image_06042025_21_10_25_9381.jpg', '/home/pi/Desktop/images/06042025/21/10/image_06042025_21_10_36_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/09/image_06042025_21_09_35_9383.jpg
/home/pi/Desktop/images/06042025/21/09/image_06042025_21_09_56_10415.jpg
/home/pi/Desktop/images/06042025/21/09/image_06042025_21_10_06_9348.jpg
/home/pi/Desktop/images/06042025/21/10/image_06042025_21_10_16_10447.jpg
/home/pi/Desktop/images/06042025/21/10/image_06042025_21_10_25_9381.jpg
/home/pi/Desktop/images/06042025/21/10/image_06042025_21_10_36_10376.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351985561","1351985555","1351985510","1351985506","1351985502","1351985567"],"photo_ids_order":["1351985502","1351985506","1351985510","1351985555","1351985561","1351985567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6945ea46973f3bfc707d738c245d45a.jpg","text":"TemporaryFile(/tmp/multipartBody1078920666994266434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412285007,"filename":"image_06042025_21_10_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3b28ba99d382252a6db04d6240c10d2.jpg","text":"TemporaryFile(/tmp/multipartBody6110086680175885858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412285007,"filename":"image_06042025_21_10_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/643937cbecbf1085b1bb5f6db8a4ba4d.jpg","text":"TemporaryFile(/tmp/multipartBody5394033709707580293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412285007,"filename":"image_06042025_21_10_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5327331e022f165c278737a6ea15b12.jpg","text":"TemporaryFile(/tmp/multipartBody1733636556676831002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412285007,"filename":"image_06042025_21_09_56_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed2c588ee497587743f7534329785551.jpg","text":"TemporaryFile(/tmp/multipartBody9199944028191631132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412285007,"filename":"image_06042025_21_09_35_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f15c7453dfbdcdda70aeb7f70098335.jpg","text":"TemporaryFile(/tmp/multipartBody5787000773819212803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412285007,"filename":"image_06042025_21_10_36_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351985510","file1":"1351985506","file0":"1351985502","file4":"1351985561","file5":"1351985567","file3":"1351985555"},"map_files_photo_id_array":[{"photo_id":"1351985567","filename":"file5"},{"photo_id":"1351985510","filename":"file2"},{"photo_id":"1351985561","filename":"file4"},{"photo_id":"1351985506","filename":"file1"},{"photo_id":"1351985502","filename":"file0"},{"photo_id":"1351985555","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351985561":["hashtag1","hashtag2"]},{"1351985555":["hashtag1","hashtag2"]},{"1351985510":["hashtag1","hashtag2"]},{"1351985506":["hashtag1","hashtag2"]},{"1351985502":["hashtag1","hashtag2"]},{"1351985567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351985561, 1351985555, 1351985510, 1351985506, 1351985502, 1351985567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.131940841674805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 00:59:03.290101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/10/image_06042025_21_10_56_9378.jpg', '/home/pi/Desktop/images/06042025/21/10/image_06042025_21_11_06_10475.jpg', '/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_16_9344.jpg', '/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_26_10367.jpg', '/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_36_10444.jpg', '/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_46_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/10/image_06042025_21_10_56_9378.jpg
/home/pi/Desktop/images/06042025/21/10/image_06042025_21_11_06_10475.jpg
/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_16_9344.jpg
/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_26_10367.jpg
/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_36_10444.jpg
/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_46_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986091","1351986124","1351986168","1351986278","1351986242","1351986215"],"photo_ids_order":["1351986091","1351986124","1351986168","1351986215","1351986242","1351986278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d68d02f1d052cc0cd19dea60fa15a954.jpg","text":"TemporaryFile(/tmp/multipartBody7296703720544691844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412404186,"filename":"image_06042025_21_10_56_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d8a4c11e64b36af0454f2850ec5d6bb.jpg","text":"TemporaryFile(/tmp/multipartBody7851019481567830745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412404186,"filename":"image_06042025_21_11_06_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64e4cd54c13283639b1095e1ea519c72.jpg","text":"TemporaryFile(/tmp/multipartBody7913234410743646151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412404186,"filename":"image_06042025_21_11_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbaa5010f3d5f8ac4fbf7ca3db19a383.jpg","text":"TemporaryFile(/tmp/multipartBody4059639099084318275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412404186,"filename":"image_06042025_21_11_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/83a0a81ab2ed4aaa1e2d3b23cc2b1582.jpg","text":"TemporaryFile(/tmp/multipartBody1613391069237018987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412404186,"filename":"image_06042025_21_11_36_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c2ac4d0092b10a055161d007e53fecc.jpg","text":"TemporaryFile(/tmp/multipartBody5185475436708186650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412404186,"filename":"image_06042025_21_11_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986168","file1":"1351986124","file0":"1351986091","file4":"1351986242","file5":"1351986278","file3":"1351986215"},"map_files_photo_id_array":[{"photo_id":"1351986278","filename":"file5"},{"photo_id":"1351986168","filename":"file2"},{"photo_id":"1351986242","filename":"file4"},{"photo_id":"1351986124","filename":"file1"},{"photo_id":"1351986091","filename":"file0"},{"photo_id":"1351986215","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351986091":["hashtag1","hashtag2"]},{"1351986124":["hashtag1","hashtag2"]},{"1351986168":["hashtag1","hashtag2"]},{"1351986278":["hashtag1","hashtag2"]},{"1351986242":["hashtag1","hashtag2"]},{"1351986215":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351986091, 1351986124, 1351986168, 1351986278, 1351986242, 1351986215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88648819923401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 00:59:52.322366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_56_10497.jpg', '/home/pi/Desktop/images/06042025/21/11/image_06042025_21_12_06_9350.jpg', '/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_16_10403.jpg', '/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_26_10410.jpg', '/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_36_9348.jpg', '/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/11/image_06042025_21_11_56_10497.jpg
/home/pi/Desktop/images/06042025/21/11/image_06042025_21_12_06_9350.jpg
/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_16_10403.jpg
/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_26_10410.jpg
/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_36_9348.jpg
/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_46_10363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351986814","1351986730","1351986631","1351986528","1351986878","1351986845"],"photo_ids_order":["1351986528","1351986631","1351986730","1351986814","1351986845","1351986878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92444c749ffc1493d4532fe042d76f7f.jpg","text":"TemporaryFile(/tmp/multipartBody1555004454881668449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412453881,"filename":"image_06042025_21_12_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/986ffeb7789eff360858c41372a8fb45.jpg","text":"TemporaryFile(/tmp/multipartBody5569163628898578532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412453881,"filename":"image_06042025_21_12_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10170194b72e29863896b5a8b69fa7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8481273626423260863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412453881,"filename":"image_06042025_21_12_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20f32747ff004dcb781101538480558e.jpg","text":"TemporaryFile(/tmp/multipartBody2652073587009782591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412453881,"filename":"image_06042025_21_11_56_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b01d46debc7ae0c01331cc7e6024a46.jpg","text":"TemporaryFile(/tmp/multipartBody3341009949310680356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412453881,"filename":"image_06042025_21_12_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a097344a0561d52c7ac4311034a57f6.jpg","text":"TemporaryFile(/tmp/multipartBody6251534171066165018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412453881,"filename":"image_06042025_21_12_36_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351986730","file1":"1351986631","file0":"1351986528","file4":"1351986845","file5":"1351986878","file3":"1351986814"},"map_files_photo_id_array":[{"photo_id":"1351986878","filename":"file5"},{"photo_id":"1351986730","filename":"file2"},{"photo_id":"1351986845","filename":"file4"},{"photo_id":"1351986631","filename":"file1"},{"photo_id":"1351986528","filename":"file0"},{"photo_id":"1351986814","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351986814":["hashtag1","hashtag2"]},{"1351986730":["hashtag1","hashtag2"]},{"1351986631":["hashtag1","hashtag2"]},{"1351986528":["hashtag1","hashtag2"]},{"1351986878":["hashtag1","hashtag2"]},{"1351986845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351986814, 1351986730, 1351986631, 1351986528, 1351986878, 1351986845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.085362672805786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:00:32.639120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_56_9453.jpg', '/home/pi/Desktop/images/06042025/21/12/image_06042025_21_13_06_10347.jpg', '/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_16_10418.jpg', '/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_26_9360.jpg', '/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_36_10464.jpg', '/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_46_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/12/image_06042025_21_12_56_9453.jpg
/home/pi/Desktop/images/06042025/21/12/image_06042025_21_13_06_10347.jpg
/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_16_10418.jpg
/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_26_9360.jpg
/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_36_10464.jpg
/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_46_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351987420","1351987068","1351987200","1351987343","1351987142","1351987273"],"photo_ids_order":["1351987068","1351987142","1351987200","1351987273","1351987343","1351987420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3d37135604e1ce2c60eeef7711b299c.jpg","text":"TemporaryFile(/tmp/multipartBody3632276578944077734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412494194,"filename":"image_06042025_21_13_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e0b22419890466586c3416067bf9ba0.jpg","text":"TemporaryFile(/tmp/multipartBody804941945950823294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412494194,"filename":"image_06042025_21_12_56_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/083b99ef393bb9e79bfd02cb40c24a6d.jpg","text":"TemporaryFile(/tmp/multipartBody6503882559966899152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412494194,"filename":"image_06042025_21_13_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e19bd154e2bcbc0200cdd83d174acc84.jpg","text":"TemporaryFile(/tmp/multipartBody6796847348708577963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412494194,"filename":"image_06042025_21_13_36_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a665cff34a64c303f44506f85868722a.jpg","text":"TemporaryFile(/tmp/multipartBody8369521529124324911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412494194,"filename":"image_06042025_21_13_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47ab4bf379c8efe472cbbc7e0c775e36.jpg","text":"TemporaryFile(/tmp/multipartBody1121178981361242124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412494194,"filename":"image_06042025_21_13_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351987200","file1":"1351987142","file0":"1351987068","file4":"1351987343","file5":"1351987420","file3":"1351987273"},"map_files_photo_id_array":[{"photo_id":"1351987420","filename":"file5"},{"photo_id":"1351987200","filename":"file2"},{"photo_id":"1351987343","filename":"file4"},{"photo_id":"1351987142","filename":"file1"},{"photo_id":"1351987068","filename":"file0"},{"photo_id":"1351987273","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351987420":["hashtag1","hashtag2"]},{"1351987068":["hashtag1","hashtag2"]},{"1351987200":["hashtag1","hashtag2"]},{"1351987343":["hashtag1","hashtag2"]},{"1351987142":["hashtag1","hashtag2"]},{"1351987273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351987420, 1351987068, 1351987200, 1351987343, 1351987142, 1351987273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5898494720459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:01:32.802546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_56_10366.jpg', '/home/pi/Desktop/images/06042025/21/13/image_06042025_21_14_06_10422.jpg', '/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_16_9404.jpg', '/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_26_10376.jpg', '/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_35_9403.jpg', '/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_46_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/13/image_06042025_21_13_56_10366.jpg
/home/pi/Desktop/images/06042025/21/13/image_06042025_21_14_06_10422.jpg
/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_16_9404.jpg
/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_26_10376.jpg
/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_35_9403.jpg
/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_46_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351988101","1351988177","1351987833","1351988012","1351987922","1351988248"],"photo_ids_order":["1351987833","1351987922","1351988012","1351988101","1351988177","1351988248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a18431f57b0b5279f2cab0d7ec1b2129.jpg","text":"TemporaryFile(/tmp/multipartBody5127194935285113425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412554356,"filename":"image_06042025_21_14_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/689190b0477c8649b0b71a3259a12f39.jpg","text":"TemporaryFile(/tmp/multipartBody1035411335789014074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412554356,"filename":"image_06042025_21_14_35_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d976f3e71ff6a0e00b03258fe214d129.jpg","text":"TemporaryFile(/tmp/multipartBody4295265312082140823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412554356,"filename":"image_06042025_21_13_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/423815a8680312f3ed40958430037ca8.jpg","text":"TemporaryFile(/tmp/multipartBody2399292314005411551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412554356,"filename":"image_06042025_21_14_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd6be3f7468826de2a9bb8bf8c9cbd2e.jpg","text":"TemporaryFile(/tmp/multipartBody794453679980340490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412554356,"filename":"image_06042025_21_14_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ff430a3afadf1417e989f972b60704f.jpg","text":"TemporaryFile(/tmp/multipartBody3203789262384412496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412554356,"filename":"image_06042025_21_14_46_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351988012","file1":"1351987922","file0":"1351987833","file4":"1351988177","file5":"1351988248","file3":"1351988101"},"map_files_photo_id_array":[{"photo_id":"1351988248","filename":"file5"},{"photo_id":"1351988012","filename":"file2"},{"photo_id":"1351988177","filename":"file4"},{"photo_id":"1351987922","filename":"file1"},{"photo_id":"1351987833","filename":"file0"},{"photo_id":"1351988101","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351988101":["hashtag1","hashtag2"]},{"1351988177":["hashtag1","hashtag2"]},{"1351987833":["hashtag1","hashtag2"]},{"1351988012":["hashtag1","hashtag2"]},{"1351987922":["hashtag1","hashtag2"]},{"1351988248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351988101, 1351988177, 1351987833, 1351988012, 1351987922, 1351988248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23365521430969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:02:32.943165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_56_10393.jpg', '/home/pi/Desktop/images/06042025/21/14/image_06042025_21_15_06_9367.jpg', '/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_16_10410.jpg', '/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_26_9430.jpg', '/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_36_10363.jpg', '/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_46_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/14/image_06042025_21_14_56_10393.jpg
/home/pi/Desktop/images/06042025/21/14/image_06042025_21_15_06_9367.jpg
/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_16_10410.jpg
/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_26_9430.jpg
/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_36_10363.jpg
/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_46_10552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351988809","1351988871","1351989076","1351989008","1351988918","1351989168"],"photo_ids_order":["1351988809","1351988871","1351988918","1351989008","1351989076","1351989168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a7f71798d6bc098a35fac519949de8e.jpg","text":"TemporaryFile(/tmp/multipartBody4983716852775646313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412614505,"filename":"image_06042025_21_14_56_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1091b15d376ba4056ca752daf1d4c1d6.jpg","text":"TemporaryFile(/tmp/multipartBody5711959302500871223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412614505,"filename":"image_06042025_21_15_06_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5128212e4f8ccbe5c4f4997d203672d8.jpg","text":"TemporaryFile(/tmp/multipartBody5233640983124196231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412614505,"filename":"image_06042025_21_15_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5dd0d1a0316fc02ab8220b9f9fe87d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3196677878506980252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412614505,"filename":"image_06042025_21_15_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee9a1247242050fd5b8dfa3153c7cb7d.jpg","text":"TemporaryFile(/tmp/multipartBody8933708437519914524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412614505,"filename":"image_06042025_21_15_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4396161db5fcda90874a0ecf1a21ef2b.jpg","text":"TemporaryFile(/tmp/multipartBody8117241800375915805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412614505,"filename":"image_06042025_21_15_46_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351988918","file1":"1351988871","file0":"1351988809","file4":"1351989076","file5":"1351989168","file3":"1351989008"},"map_files_photo_id_array":[{"photo_id":"1351989168","filename":"file5"},{"photo_id":"1351988918","filename":"file2"},{"photo_id":"1351989076","filename":"file4"},{"photo_id":"1351988871","filename":"file1"},{"photo_id":"1351988809","filename":"file0"},{"photo_id":"1351989008","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351988809":["hashtag1","hashtag2"]},{"1351988871":["hashtag1","hashtag2"]},{"1351989076":["hashtag1","hashtag2"]},{"1351989008":["hashtag1","hashtag2"]},{"1351988918":["hashtag1","hashtag2"]},{"1351989168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351988809, 1351988871, 1351989076, 1351989008, 1351988918, 1351989168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15198016166687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:03:33.059124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_56_9354.jpg', '/home/pi/Desktop/images/06042025/21/15/image_06042025_21_16_06_10465.jpg', '/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_16_9416.jpg', '/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_36_10349.jpg', '/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_46_9434.jpg', '/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_56_10488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/15/image_06042025_21_15_56_9354.jpg
/home/pi/Desktop/images/06042025/21/15/image_06042025_21_16_06_10465.jpg
/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_16_9416.jpg
/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_36_10349.jpg
/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_46_9434.jpg
/home/pi/Desktop/images/06042025/21/16/image_06042025_21_16_56_10488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351989516","1351989717","1351989661","1351989463","1351989601","1351989550"],"photo_ids_order":["1351989463","1351989516","1351989550","1351989601","1351989661","1351989717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e318fbb4972dbe8a4ab71cb30b47e30.jpg","text":"TemporaryFile(/tmp/multipartBody6441136892132972961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412674639,"filename":"image_06042025_21_16_06_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fda13a761e252b2c95c4a370113c497.jpg","text":"TemporaryFile(/tmp/multipartBody6438396490102265229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412674639,"filename":"image_06042025_21_16_56_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c7dc4de8531851b49317666b8813651.jpg","text":"TemporaryFile(/tmp/multipartBody5503777218291363177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412674639,"filename":"image_06042025_21_16_46_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49c72b58bc17106c8299bb54156a27eb.jpg","text":"TemporaryFile(/tmp/multipartBody3437141774900669329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412674639,"filename":"image_06042025_21_15_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc54fc3ee17c434146ce93bfccec9a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6839648230224144276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412674639,"filename":"image_06042025_21_16_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43000fdb594afe123e745a36910643a0.jpg","text":"TemporaryFile(/tmp/multipartBody4214994648734069217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412674639,"filename":"image_06042025_21_16_16_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351989550","file1":"1351989516","file0":"1351989463","file4":"1351989661","file5":"1351989717","file3":"1351989601"},"map_files_photo_id_array":[{"photo_id":"1351989717","filename":"file5"},{"photo_id":"1351989550","filename":"file2"},{"photo_id":"1351989661","filename":"file4"},{"photo_id":"1351989516","filename":"file1"},{"photo_id":"1351989463","filename":"file0"},{"photo_id":"1351989601","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351989516":["hashtag1","hashtag2"]},{"1351989717":["hashtag1","hashtag2"]},{"1351989661":["hashtag1","hashtag2"]},{"1351989463":["hashtag1","hashtag2"]},{"1351989601":["hashtag1","hashtag2"]},{"1351989550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351989516, 1351989717, 1351989661, 1351989463, 1351989601, 1351989550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.777414083480835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:04:32.347707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/16/image_06042025_21_17_06_9344.jpg', '/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_16_10362.jpg', '/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_26_10375.jpg', '/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_36_9368.jpg', '/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_46_10461.jpg', '/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_56_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/16/image_06042025_21_17_06_9344.jpg
/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_16_10362.jpg
/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_26_10375.jpg
/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_36_9368.jpg
/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_46_10461.jpg
/home/pi/Desktop/images/06042025/21/17/image_06042025_21_17_56_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351989986","1351990209","1351990244","1351990055","1351990139","1351989921"],"photo_ids_order":["1351989921","1351989986","1351990055","1351990139","1351990209","1351990244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8aeae3086fc3535c87b1b9ee88ecf0c.jpg","text":"TemporaryFile(/tmp/multipartBody4644471906037072846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412733923,"filename":"image_06042025_21_17_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de2b6a85b26c56ed12e3ca041108f58f.jpg","text":"TemporaryFile(/tmp/multipartBody4000971906185795615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412733923,"filename":"image_06042025_21_17_46_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c43cc1241f7dfc76d4e8dd338fb378ba.jpg","text":"TemporaryFile(/tmp/multipartBody9083435413383534496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412733923,"filename":"image_06042025_21_17_56_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b576bb44d4896861b1b8f7295f68fff.jpg","text":"TemporaryFile(/tmp/multipartBody9085569736534761813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412733923,"filename":"image_06042025_21_17_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/797859ed8aab0366be9b01bb0bb61675.jpg","text":"TemporaryFile(/tmp/multipartBody5501396004810211966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412733923,"filename":"image_06042025_21_17_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1654c12cc1e7074c51605d0ca1620ef.jpg","text":"TemporaryFile(/tmp/multipartBody1434829458981053734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412733923,"filename":"image_06042025_21_17_06_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351990055","file1":"1351989986","file0":"1351989921","file4":"1351990209","file5":"1351990244","file3":"1351990139"},"map_files_photo_id_array":[{"photo_id":"1351990244","filename":"file5"},{"photo_id":"1351990055","filename":"file2"},{"photo_id":"1351990209","filename":"file4"},{"photo_id":"1351989986","filename":"file1"},{"photo_id":"1351989921","filename":"file0"},{"photo_id":"1351990139","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351989986":["hashtag1","hashtag2"]},{"1351990209":["hashtag1","hashtag2"]},{"1351990244":["hashtag1","hashtag2"]},{"1351990055":["hashtag1","hashtag2"]},{"1351990139":["hashtag1","hashtag2"]},{"1351989921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351989986, 1351990209, 1351990244, 1351990055, 1351990139, 1351989921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91945290565491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:05:32.544810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/17/image_06042025_21_18_06_10392.jpg', '/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_16_10399.jpg', '/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_26_9411.jpg', '/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_46_9434.jpg', '/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_56_10375.jpg', '/home/pi/Desktop/images/06042025/21/18/image_06042025_21_19_05_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/17/image_06042025_21_18_06_10392.jpg
/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_16_10399.jpg
/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_26_9411.jpg
/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_46_9434.jpg
/home/pi/Desktop/images/06042025/21/18/image_06042025_21_18_56_10375.jpg
/home/pi/Desktop/images/06042025/21/18/image_06042025_21_19_05_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351990950","1351990898","1351991006","1351991036","1351990802","1351990765"],"photo_ids_order":["1351990765","1351990802","1351990898","1351990950","1351991006","1351991036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34e7450d33d8ef058d7d1c209a72696b.jpg","text":"TemporaryFile(/tmp/multipartBody7559158110978882007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412794105,"filename":"image_06042025_21_18_46_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd46a6be64ba6a8a718a7307e184f622.jpg","text":"TemporaryFile(/tmp/multipartBody2799528018333566663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412794105,"filename":"image_06042025_21_18_26_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fc6459883941cae76b95c85293883ec.jpg","text":"TemporaryFile(/tmp/multipartBody6583840344867661897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412794105,"filename":"image_06042025_21_18_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/703488c6cb83f1841c97fac56969d13b.jpg","text":"TemporaryFile(/tmp/multipartBody4338325676595384683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412794105,"filename":"image_06042025_21_19_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afa8e748625de0e906e20192883fb916.jpg","text":"TemporaryFile(/tmp/multipartBody8841953018161929783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412794105,"filename":"image_06042025_21_18_16_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75a38bca43c6e9c8f9664b0700d8716b.jpg","text":"TemporaryFile(/tmp/multipartBody4377344745119063916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412794105,"filename":"image_06042025_21_18_06_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351990898","file1":"1351990802","file0":"1351990765","file4":"1351991006","file5":"1351991036","file3":"1351990950"},"map_files_photo_id_array":[{"photo_id":"1351991036","filename":"file5"},{"photo_id":"1351990898","filename":"file2"},{"photo_id":"1351991006","filename":"file4"},{"photo_id":"1351990802","filename":"file1"},{"photo_id":"1351990765","filename":"file0"},{"photo_id":"1351990950","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351990950":["hashtag1","hashtag2"]},{"1351990898":["hashtag1","hashtag2"]},{"1351991006":["hashtag1","hashtag2"]},{"1351991036":["hashtag1","hashtag2"]},{"1351990802":["hashtag1","hashtag2"]},{"1351990765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351990950, 1351990898, 1351991006, 1351991036, 1351990802, 1351990765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92480182647705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:06:32.732546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_16_10411.jpg', '/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_26_10463.jpg', '/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_36_9355.jpg', '/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_46_10348.jpg', '/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_55_9433.jpg', '/home/pi/Desktop/images/06042025/21/19/image_06042025_21_20_06_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_16_10411.jpg
/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_26_10463.jpg
/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_36_9355.jpg
/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_46_10348.jpg
/home/pi/Desktop/images/06042025/21/19/image_06042025_21_19_55_9433.jpg
/home/pi/Desktop/images/06042025/21/19/image_06042025_21_20_06_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351991346","1351991415","1351991384","1351991366","1351991312","1351991398"],"photo_ids_order":["1351991312","1351991346","1351991366","1351991384","1351991398","1351991415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23fe9854f1c1b7df06dce0fb461ca199.jpg","text":"TemporaryFile(/tmp/multipartBody4367124500028176356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412854293,"filename":"image_06042025_21_19_26_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6488b293dabf6bbace039d87237f78a6.jpg","text":"TemporaryFile(/tmp/multipartBody8545073595076847417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412854293,"filename":"image_06042025_21_20_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e32a7bc3309c42f1cf223e25c36d3ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2926951670454055584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412854293,"filename":"image_06042025_21_19_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/595e6c6da1bae3aeb37daabc281f78af.jpg","text":"TemporaryFile(/tmp/multipartBody1771953060229347712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412854293,"filename":"image_06042025_21_19_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/611f3662e9ef1befe7b0e309b2988210.jpg","text":"TemporaryFile(/tmp/multipartBody8190421289140022528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412854293,"filename":"image_06042025_21_19_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f754a0208d54602c6773771e11b8dca.jpg","text":"TemporaryFile(/tmp/multipartBody3278217813301303362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412854293,"filename":"image_06042025_21_19_55_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351991366","file1":"1351991346","file0":"1351991312","file4":"1351991398","file5":"1351991415","file3":"1351991384"},"map_files_photo_id_array":[{"photo_id":"1351991415","filename":"file5"},{"photo_id":"1351991366","filename":"file2"},{"photo_id":"1351991398","filename":"file4"},{"photo_id":"1351991346","filename":"file1"},{"photo_id":"1351991312","filename":"file0"},{"photo_id":"1351991384","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351991346":["hashtag1","hashtag2"]},{"1351991415":["hashtag1","hashtag2"]},{"1351991384":["hashtag1","hashtag2"]},{"1351991366":["hashtag1","hashtag2"]},{"1351991312":["hashtag1","hashtag2"]},{"1351991398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351991346, 1351991415, 1351991384, 1351991366, 1351991312, 1351991398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69232368469238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:07:32.969458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/20/image_06042025_21_20_16_10454.jpg', '/home/pi/Desktop/images/06042025/21/20/image_06042025_21_20_26_9353.jpg', '/home/pi/Desktop/images/06042025/21/20/image_06042025_21_20_46_10360.jpg', '/home/pi/Desktop/images/06042025/21/20/image_06042025_21_20_56_9390.jpg', '/home/pi/Desktop/images/06042025/21/20/image_06042025_21_21_06_10476.jpg', '/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_16_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/20/image_06042025_21_20_16_10454.jpg
/home/pi/Desktop/images/06042025/21/20/image_06042025_21_20_26_9353.jpg
/home/pi/Desktop/images/06042025/21/20/image_06042025_21_20_46_10360.jpg
/home/pi/Desktop/images/06042025/21/20/image_06042025_21_20_56_9390.jpg
/home/pi/Desktop/images/06042025/21/20/image_06042025_21_21_06_10476.jpg
/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_16_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351992155","1351991852","1351992002","1351991900","1351991962","1351991799"],"photo_ids_order":["1351991799","1351991852","1351991900","1351991962","1351992002","1351992155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5db820e126154b1addc165a3a1142c74.jpg","text":"TemporaryFile(/tmp/multipartBody7559435749442451596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412914529,"filename":"image_06042025_21_21_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40c6d4a3a09b195b71af87d99f33af03.jpg","text":"TemporaryFile(/tmp/multipartBody2352896021798011682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412914529,"filename":"image_06042025_21_20_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35e452f8a31537c866d54c70695fb502.jpg","text":"TemporaryFile(/tmp/multipartBody5568333891636083351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412914529,"filename":"image_06042025_21_21_06_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfffe18bdafaf325a88c5dfac9723df4.jpg","text":"TemporaryFile(/tmp/multipartBody1590944846067326674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412914529,"filename":"image_06042025_21_20_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2e0731d8cf76069a17f000c32e838e7.jpg","text":"TemporaryFile(/tmp/multipartBody8608816592365355740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412914529,"filename":"image_06042025_21_20_56_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d603f4da446e7dcc1a5e8e09426b19a.jpg","text":"TemporaryFile(/tmp/multipartBody8174232823203856066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412914529,"filename":"image_06042025_21_20_16_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351991900","file1":"1351991852","file0":"1351991799","file4":"1351992002","file5":"1351992155","file3":"1351991962"},"map_files_photo_id_array":[{"photo_id":"1351992155","filename":"file5"},{"photo_id":"1351991900","filename":"file2"},{"photo_id":"1351992002","filename":"file4"},{"photo_id":"1351991852","filename":"file1"},{"photo_id":"1351991799","filename":"file0"},{"photo_id":"1351991962","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351992155":["hashtag1","hashtag2"]},{"1351991852":["hashtag1","hashtag2"]},{"1351992002":["hashtag1","hashtag2"]},{"1351991900":["hashtag1","hashtag2"]},{"1351991962":["hashtag1","hashtag2"]},{"1351991799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351992155, 1351991852, 1351992002, 1351991900, 1351991962, 1351991799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.282719373703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:08:33.216027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_26_10420.jpg', '/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_35_9378.jpg', '/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_46_10364.jpg', '/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_56_10461.jpg', '/home/pi/Desktop/images/06042025/21/21/image_06042025_21_22_06_9321.jpg', '/home/pi/Desktop/images/06042025/21/22/image_06042025_21_22_16_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_26_10420.jpg
/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_35_9378.jpg
/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_46_10364.jpg
/home/pi/Desktop/images/06042025/21/21/image_06042025_21_21_56_10461.jpg
/home/pi/Desktop/images/06042025/21/21/image_06042025_21_22_06_9321.jpg
/home/pi/Desktop/images/06042025/21/22/image_06042025_21_22_16_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351992584","1351992673","1351992517","1351992468","1351992543","1351992624"],"photo_ids_order":["1351992468","1351992517","1351992543","1351992584","1351992624","1351992673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31118d40fe66408914f205d511e9af26.jpg","text":"TemporaryFile(/tmp/multipartBody258780395787963175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412974781,"filename":"image_06042025_21_21_56_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c43181945fd677fab169630d7c475180.jpg","text":"TemporaryFile(/tmp/multipartBody2976134673125560017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412974781,"filename":"image_06042025_21_22_16_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b23b5e0b2b4452103b2c93c7d7a657d6.jpg","text":"TemporaryFile(/tmp/multipartBody7914211664258213266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412974781,"filename":"image_06042025_21_21_35_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d31d0a9f27491588f24727eb9941d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1791797260145657251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412974781,"filename":"image_06042025_21_21_26_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac5f34163e36155c8c5eb5593f024fdb.jpg","text":"TemporaryFile(/tmp/multipartBody166761829951992258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412974781,"filename":"image_06042025_21_21_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b26999b59141d8190f0a15942c094e14.jpg","text":"TemporaryFile(/tmp/multipartBody2907004658367322835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744412974781,"filename":"image_06042025_21_22_06_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351992543","file1":"1351992517","file0":"1351992468","file4":"1351992624","file5":"1351992673","file3":"1351992584"},"map_files_photo_id_array":[{"photo_id":"1351992673","filename":"file5"},{"photo_id":"1351992543","filename":"file2"},{"photo_id":"1351992624","filename":"file4"},{"photo_id":"1351992517","filename":"file1"},{"photo_id":"1351992468","filename":"file0"},{"photo_id":"1351992584","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351992584":["hashtag1","hashtag2"]},{"1351992673":["hashtag1","hashtag2"]},{"1351992517":["hashtag1","hashtag2"]},{"1351992468":["hashtag1","hashtag2"]},{"1351992543":["hashtag1","hashtag2"]},{"1351992624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351992584, 1351992673, 1351992517, 1351992468, 1351992543, 1351992624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.696791648864746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:09:32.272267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/22/image_06042025_21_22_36_10466.jpg', '/home/pi/Desktop/images/06042025/21/22/image_06042025_21_22_46_10358.jpg', '/home/pi/Desktop/images/06042025/21/22/image_06042025_21_22_56_9350.jpg', '/home/pi/Desktop/images/06042025/21/22/image_06042025_21_23_06_10356.jpg', '/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_16_10362.jpg', '/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_26_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/22/image_06042025_21_22_36_10466.jpg
/home/pi/Desktop/images/06042025/21/22/image_06042025_21_22_46_10358.jpg
/home/pi/Desktop/images/06042025/21/22/image_06042025_21_22_56_9350.jpg
/home/pi/Desktop/images/06042025/21/22/image_06042025_21_23_06_10356.jpg
/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_16_10362.jpg
/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_26_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993034","1351993019","1351992964","1351993071","1351992993","1351993101"],"photo_ids_order":["1351992964","1351992993","1351993019","1351993034","1351993071","1351993101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/955aae5e7dc7cea86d327bf3e8049443.jpg","text":"TemporaryFile(/tmp/multipartBody2579468503057047557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413033822,"filename":"image_06042025_21_23_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a322d165eb49e442d4155586cdb8d45.jpg","text":"TemporaryFile(/tmp/multipartBody8445777175274578492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413033822,"filename":"image_06042025_21_22_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61629d3a68ddf22d2a86c02be982e562.jpg","text":"TemporaryFile(/tmp/multipartBody4123804880511041829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413033822,"filename":"image_06042025_21_22_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0b50aa36e32874ee63e0197a8e1c982.jpg","text":"TemporaryFile(/tmp/multipartBody3601293742755908340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413033822,"filename":"image_06042025_21_23_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b03adafe28585299d221febe5670fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3863994618418407275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413033822,"filename":"image_06042025_21_22_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61b85bc85f471a0b3a33b5f6adb0b00f.jpg","text":"TemporaryFile(/tmp/multipartBody2301615501903711424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413033822,"filename":"image_06042025_21_23_26_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993019","file1":"1351992993","file0":"1351992964","file4":"1351993071","file5":"1351993101","file3":"1351993034"},"map_files_photo_id_array":[{"photo_id":"1351993101","filename":"file5"},{"photo_id":"1351993019","filename":"file2"},{"photo_id":"1351993071","filename":"file4"},{"photo_id":"1351992993","filename":"file1"},{"photo_id":"1351992964","filename":"file0"},{"photo_id":"1351993034","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351993034":["hashtag1","hashtag2"]},{"1351993019":["hashtag1","hashtag2"]},{"1351992964":["hashtag1","hashtag2"]},{"1351993071":["hashtag1","hashtag2"]},{"1351992993":["hashtag1","hashtag2"]},{"1351993101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351993034, 1351993019, 1351992964, 1351993071, 1351992993, 1351993101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64621162414551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:10:32.475217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_36_10502.jpg', '/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_46_9363.jpg', '/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_56_10379.jpg', '/home/pi/Desktop/images/06042025/21/23/image_06042025_21_24_05_9435.jpg', '/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_16_10415.jpg', '/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_26_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_36_10502.jpg
/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_46_9363.jpg
/home/pi/Desktop/images/06042025/21/23/image_06042025_21_23_56_10379.jpg
/home/pi/Desktop/images/06042025/21/23/image_06042025_21_24_05_9435.jpg
/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_16_10415.jpg
/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_26_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993483","1351993465","1351993458","1351993530","1351993401","1351993503"],"photo_ids_order":["1351993401","1351993458","1351993465","1351993483","1351993503","1351993530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a3d320ea1e40cd230e96db2012bfda8.jpg","text":"TemporaryFile(/tmp/multipartBody4563144633370229547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413094049,"filename":"image_06042025_21_24_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e852e617b96dd375a6b4d406cc9c0a06.jpg","text":"TemporaryFile(/tmp/multipartBody3829177384714709634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413094049,"filename":"image_06042025_21_23_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a02648e4af4047aeb2cc33be5df48433.jpg","text":"TemporaryFile(/tmp/multipartBody5635931106699931592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413094049,"filename":"image_06042025_21_23_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f32dd014ba4d1ad857b917dac0d522be.jpg","text":"TemporaryFile(/tmp/multipartBody8621597001813546917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413094049,"filename":"image_06042025_21_24_26_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97ced01027f77f154646a495c0ab0b81.jpg","text":"TemporaryFile(/tmp/multipartBody5809135788861741438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413094049,"filename":"image_06042025_21_23_36_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f31b06b0359cf65463cce4f21e4c6785.jpg","text":"TemporaryFile(/tmp/multipartBody9140421080982075447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413094049,"filename":"image_06042025_21_24_16_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993465","file1":"1351993458","file0":"1351993401","file4":"1351993503","file5":"1351993530","file3":"1351993483"},"map_files_photo_id_array":[{"photo_id":"1351993530","filename":"file5"},{"photo_id":"1351993465","filename":"file2"},{"photo_id":"1351993503","filename":"file4"},{"photo_id":"1351993458","filename":"file1"},{"photo_id":"1351993401","filename":"file0"},{"photo_id":"1351993483","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351993483":["hashtag1","hashtag2"]},{"1351993465":["hashtag1","hashtag2"]},{"1351993458":["hashtag1","hashtag2"]},{"1351993530":["hashtag1","hashtag2"]},{"1351993401":["hashtag1","hashtag2"]},{"1351993503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351993483, 1351993465, 1351993458, 1351993530, 1351993401, 1351993503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28593683242798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:11:32.719791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_36_9348.jpg', '/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_46_10366.jpg', '/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_55_9434.jpg', '/home/pi/Desktop/images/06042025/21/24/image_06042025_21_25_06_10432.jpg', '/home/pi/Desktop/images/06042025/21/25/image_06042025_21_25_26_9350.jpg', '/home/pi/Desktop/images/06042025/21/25/image_06042025_21_25_36_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_36_9348.jpg
/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_46_10366.jpg
/home/pi/Desktop/images/06042025/21/24/image_06042025_21_24_55_9434.jpg
/home/pi/Desktop/images/06042025/21/24/image_06042025_21_25_06_10432.jpg
/home/pi/Desktop/images/06042025/21/25/image_06042025_21_25_26_9350.jpg
/home/pi/Desktop/images/06042025/21/25/image_06042025_21_25_36_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351993808","1351993834","1351993761","1351993740","1351993784","1351993844"],"photo_ids_order":["1351993740","1351993761","1351993784","1351993808","1351993834","1351993844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8503f28928c03c1110af42281a09ddb.jpg","text":"TemporaryFile(/tmp/multipartBody7657178685986500917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413154280,"filename":"image_06042025_21_25_06_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b09b13bd0640148eb70811fba3cfc19d.jpg","text":"TemporaryFile(/tmp/multipartBody4090400914642260555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413154280,"filename":"image_06042025_21_25_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91bf63ab8a79f2bc50f00a1be4e18120.jpg","text":"TemporaryFile(/tmp/multipartBody4283103000205465426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413154280,"filename":"image_06042025_21_24_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3679baf618c3985c9b0399d59fedb746.jpg","text":"TemporaryFile(/tmp/multipartBody3328969536887921570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413154280,"filename":"image_06042025_21_24_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4773141b229d0384b9dda9492b05f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody2838292108333455182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413154280,"filename":"image_06042025_21_24_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/250f6a7eff573f7508750d14081adbd1.jpg","text":"TemporaryFile(/tmp/multipartBody663530681276953698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413154280,"filename":"image_06042025_21_25_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351993784","file1":"1351993761","file0":"1351993740","file4":"1351993834","file5":"1351993844","file3":"1351993808"},"map_files_photo_id_array":[{"photo_id":"1351993844","filename":"file5"},{"photo_id":"1351993784","filename":"file2"},{"photo_id":"1351993834","filename":"file4"},{"photo_id":"1351993761","filename":"file1"},{"photo_id":"1351993740","filename":"file0"},{"photo_id":"1351993808","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351993808":["hashtag1","hashtag2"]},{"1351993834":["hashtag1","hashtag2"]},{"1351993761":["hashtag1","hashtag2"]},{"1351993740":["hashtag1","hashtag2"]},{"1351993784":["hashtag1","hashtag2"]},{"1351993844":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351993808, 1351993834, 1351993761, 1351993740, 1351993784, 1351993844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71517205238342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:12:32.888896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/25/image_06042025_21_25_46_10363.jpg', '/home/pi/Desktop/images/06042025/21/25/image_06042025_21_25_56_9365.jpg', '/home/pi/Desktop/images/06042025/21/26/image_06042025_21_26_26_10447.jpg', '/home/pi/Desktop/images/06042025/21/26/image_06042025_21_26_36_10387.jpg', '/home/pi/Desktop/images/06042025/21/26/image_06042025_21_26_46_9368.jpg', '/home/pi/Desktop/images/06042025/21/26/image_06042025_21_26_56_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/25/image_06042025_21_25_46_10363.jpg
/home/pi/Desktop/images/06042025/21/25/image_06042025_21_25_56_9365.jpg
/home/pi/Desktop/images/06042025/21/26/image_06042025_21_26_26_10447.jpg
/home/pi/Desktop/images/06042025/21/26/image_06042025_21_26_36_10387.jpg
/home/pi/Desktop/images/06042025/21/26/image_06042025_21_26_46_9368.jpg
/home/pi/Desktop/images/06042025/21/26/image_06042025_21_26_56_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994080","1351994193","1351994131","1351994113","1351994061","1351994243"],"photo_ids_order":["1351994061","1351994080","1351994113","1351994131","1351994193","1351994243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e20824fdb7844ef41e33f7d72665de6.jpg","text":"TemporaryFile(/tmp/multipartBody6767722765290021299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413214448,"filename":"image_06042025_21_25_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b41830e016105df806eedd8764b4df7.jpg","text":"TemporaryFile(/tmp/multipartBody4372250009325461922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413214448,"filename":"image_06042025_21_26_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1418483bebfb5d1f7ccadf4fd7267ed.jpg","text":"TemporaryFile(/tmp/multipartBody1170953233434652097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413214448,"filename":"image_06042025_21_26_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b08d0733a63a5c7c32a83519bc92e1b1.jpg","text":"TemporaryFile(/tmp/multipartBody2462839722289735501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413214448,"filename":"image_06042025_21_26_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ec34741024c418183b67de2be3048ab.jpg","text":"TemporaryFile(/tmp/multipartBody5378398788165690373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413214448,"filename":"image_06042025_21_25_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06ff9226914cbc7bbbb4ce51b62cf62a.jpg","text":"TemporaryFile(/tmp/multipartBody1625115924311142140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413214448,"filename":"image_06042025_21_26_56_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994113","file1":"1351994080","file0":"1351994061","file4":"1351994193","file5":"1351994243","file3":"1351994131"},"map_files_photo_id_array":[{"photo_id":"1351994243","filename":"file5"},{"photo_id":"1351994113","filename":"file2"},{"photo_id":"1351994193","filename":"file4"},{"photo_id":"1351994080","filename":"file1"},{"photo_id":"1351994061","filename":"file0"},{"photo_id":"1351994131","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351994080":["hashtag1","hashtag2"]},{"1351994193":["hashtag1","hashtag2"]},{"1351994131":["hashtag1","hashtag2"]},{"1351994113":["hashtag1","hashtag2"]},{"1351994061":["hashtag1","hashtag2"]},{"1351994243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351994080, 1351994193, 1351994131, 1351994113, 1351994061, 1351994243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.43681526184082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:13:32.175589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/26/image_06042025_21_27_06_9330.jpg', '/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_16_10434.jpg', '/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_26_10365.jpg', '/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_36_9354.jpg', '/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_46_10445.jpg', '/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_56_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/26/image_06042025_21_27_06_9330.jpg
/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_16_10434.jpg
/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_26_10365.jpg
/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_36_9354.jpg
/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_46_10445.jpg
/home/pi/Desktop/images/06042025/21/27/image_06042025_21_27_56_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351994767","1351994464","1351994436","1351994631","1351994564","1351994417"],"photo_ids_order":["1351994417","1351994436","1351994464","1351994564","1351994631","1351994767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4d1f4fc0326788f2576124b6738a0ab.jpg","text":"TemporaryFile(/tmp/multipartBody2025880102372190278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413273768,"filename":"image_06042025_21_27_56_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9883636aa4550eba033fc6ad74103b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5653472299659917095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413273768,"filename":"image_06042025_21_27_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2799d81914c164ac291e464140c76edc.jpg","text":"TemporaryFile(/tmp/multipartBody5040871168682817813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413273768,"filename":"image_06042025_21_27_16_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41b8afcfd5eb1f19c4262d3ebe1d64d1.jpg","text":"TemporaryFile(/tmp/multipartBody8184237551359206156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413273768,"filename":"image_06042025_21_27_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a995c8bc2057ada10bf9fa07fabf0c28.jpg","text":"TemporaryFile(/tmp/multipartBody1073224174107849947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413273768,"filename":"image_06042025_21_27_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17164880f21aa710add734a1bfd696ff.jpg","text":"TemporaryFile(/tmp/multipartBody6869665707195857003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413273768,"filename":"image_06042025_21_27_06_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351994464","file1":"1351994436","file0":"1351994417","file4":"1351994631","file5":"1351994767","file3":"1351994564"},"map_files_photo_id_array":[{"photo_id":"1351994767","filename":"file5"},{"photo_id":"1351994464","filename":"file2"},{"photo_id":"1351994631","filename":"file4"},{"photo_id":"1351994436","filename":"file1"},{"photo_id":"1351994417","filename":"file0"},{"photo_id":"1351994564","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351994767":["hashtag1","hashtag2"]},{"1351994464":["hashtag1","hashtag2"]},{"1351994436":["hashtag1","hashtag2"]},{"1351994631":["hashtag1","hashtag2"]},{"1351994564":["hashtag1","hashtag2"]},{"1351994417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351994767, 1351994464, 1351994436, 1351994631, 1351994564, 1351994417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55813479423523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:14:32.299617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/27/image_06042025_21_28_06_10443.jpg', '/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_15_9351.jpg', '/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_26_10419.jpg', '/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_36_10458.jpg', '/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_46_9366.jpg', '/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_56_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/27/image_06042025_21_28_06_10443.jpg
/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_15_9351.jpg
/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_26_10419.jpg
/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_36_10458.jpg
/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_46_9366.jpg
/home/pi/Desktop/images/06042025/21/28/image_06042025_21_28_56_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351995123","1351995236","1351995017","1351995163","1351994989","1351995052"],"photo_ids_order":["1351994989","1351995017","1351995052","1351995123","1351995163","1351995236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/925862488c7547725c0c2388c62f307c.jpg","text":"TemporaryFile(/tmp/multipartBody6982008126265536019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413333894,"filename":"image_06042025_21_28_36_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/622754299c96d282e5505b3abef9c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody7477576340727911993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413333894,"filename":"image_06042025_21_28_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54d988ecb7a8be6bd8375e654197c288.jpg","text":"TemporaryFile(/tmp/multipartBody4537740806548787782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413333894,"filename":"image_06042025_21_28_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21c5d89c2bfcede17013175978398a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2421088752552865967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413333894,"filename":"image_06042025_21_28_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab17a75f3dea718c2bd1a32d8bdcdb9a.jpg","text":"TemporaryFile(/tmp/multipartBody6832119143960675156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413333894,"filename":"image_06042025_21_28_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0aa0034964df184312da0f563c311e0b.jpg","text":"TemporaryFile(/tmp/multipartBody4300247514074990855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413333894,"filename":"image_06042025_21_28_26_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351995052","file1":"1351995017","file0":"1351994989","file4":"1351995163","file5":"1351995236","file3":"1351995123"},"map_files_photo_id_array":[{"photo_id":"1351995236","filename":"file5"},{"photo_id":"1351995052","filename":"file2"},{"photo_id":"1351995163","filename":"file4"},{"photo_id":"1351995017","filename":"file1"},{"photo_id":"1351994989","filename":"file0"},{"photo_id":"1351995123","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351995123":["hashtag1","hashtag2"]},{"1351995236":["hashtag1","hashtag2"]},{"1351995017":["hashtag1","hashtag2"]},{"1351995163":["hashtag1","hashtag2"]},{"1351994989":["hashtag1","hashtag2"]},{"1351995052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351995123, 1351995236, 1351995017, 1351995163, 1351994989, 1351995052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.8274884223938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:15:32.512829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/28/image_06042025_21_29_06_10344.jpg', '/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_16_9343.jpg', '/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_26_10484.jpg', '/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_36_9418.jpg', '/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_46_10396.jpg', '/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_55_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/28/image_06042025_21_29_06_10344.jpg
/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_16_9343.jpg
/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_26_10484.jpg
/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_36_9418.jpg
/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_46_10396.jpg
/home/pi/Desktop/images/06042025/21/29/image_06042025_21_29_55_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351995765","1351995695","1351995581","1351995479","1351995632","1351995541"],"photo_ids_order":["1351995479","1351995541","1351995581","1351995632","1351995695","1351995765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c8390108f161c13cc5ccfacaff89f46.jpg","text":"TemporaryFile(/tmp/multipartBody2742137024532453918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413394067,"filename":"image_06042025_21_29_55_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8392221580b065621609cfc7a80489f2.jpg","text":"TemporaryFile(/tmp/multipartBody562758549519037409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413394067,"filename":"image_06042025_21_29_46_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c4c0ff40b5aa104becac4771d1e3352.jpg","text":"TemporaryFile(/tmp/multipartBody8580081914396692708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413394067,"filename":"image_06042025_21_29_26_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/583ca4ab55589a86d8b1471221a35647.jpg","text":"TemporaryFile(/tmp/multipartBody5279989038807813104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413394067,"filename":"image_06042025_21_29_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd5e61b3145eac48739993353c715578.jpg","text":"TemporaryFile(/tmp/multipartBody7196867024857527287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413394067,"filename":"image_06042025_21_29_36_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d562a2be045208a33f4dd21afeb011b.jpg","text":"TemporaryFile(/tmp/multipartBody6081449610817541589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413394067,"filename":"image_06042025_21_29_16_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351995581","file1":"1351995541","file0":"1351995479","file4":"1351995695","file5":"1351995765","file3":"1351995632"},"map_files_photo_id_array":[{"photo_id":"1351995765","filename":"file5"},{"photo_id":"1351995581","filename":"file2"},{"photo_id":"1351995695","filename":"file4"},{"photo_id":"1351995541","filename":"file1"},{"photo_id":"1351995479","filename":"file0"},{"photo_id":"1351995632","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351995765":["hashtag1","hashtag2"]},{"1351995695":["hashtag1","hashtag2"]},{"1351995581":["hashtag1","hashtag2"]},{"1351995479":["hashtag1","hashtag2"]},{"1351995632":["hashtag1","hashtag2"]},{"1351995541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351995765, 1351995695, 1351995581, 1351995479, 1351995632, 1351995541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13508415222168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:16:32.738266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/30/image_06042025_21_30_16_10478.jpg', '/home/pi/Desktop/images/06042025/21/30/image_06042025_21_30_36_9929.jpg', '/home/pi/Desktop/images/06042025/21/30/image_06042025_21_30_56_10403.jpg', '/home/pi/Desktop/images/06042025/21/30/image_06042025_21_31_06_9357.jpg', '/home/pi/Desktop/images/06042025/21/31/image_06042025_21_31_26_9408.jpg', '/home/pi/Desktop/images/06042025/21/31/image_06042025_21_31_36_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/30/image_06042025_21_30_16_10478.jpg
/home/pi/Desktop/images/06042025/21/30/image_06042025_21_30_36_9929.jpg
/home/pi/Desktop/images/06042025/21/30/image_06042025_21_30_56_10403.jpg
/home/pi/Desktop/images/06042025/21/30/image_06042025_21_31_06_9357.jpg
/home/pi/Desktop/images/06042025/21/31/image_06042025_21_31_26_9408.jpg
/home/pi/Desktop/images/06042025/21/31/image_06042025_21_31_36_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351996551","1351996608","1351996712","1351996480","1351996744","1351996414"],"photo_ids_order":["1351996414","1351996480","1351996551","1351996608","1351996712","1351996744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc9e44a5878c194add0ea48575f836c2.jpg","text":"TemporaryFile(/tmp/multipartBody1024901615225308657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413454433,"filename":"image_06042025_21_30_56_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40921762381376bf71888a3d2ec8d08b.jpg","text":"TemporaryFile(/tmp/multipartBody436363342875787008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413454433,"filename":"image_06042025_21_31_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb0689dc71ca3f238817c30267f62cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8301452657309240139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413454433,"filename":"image_06042025_21_31_26_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30a05d74025bab25a6e7ae4146f857ec.jpg","text":"TemporaryFile(/tmp/multipartBody8669753615518582090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413454433,"filename":"image_06042025_21_30_36_9929.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7121cf178534ab320d3076b1831511e7.jpg","text":"TemporaryFile(/tmp/multipartBody2777877084983599504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413454433,"filename":"image_06042025_21_31_36_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e43ae43da0de3e42f4ea30855bfd0cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1815666558299292030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413454433,"filename":"image_06042025_21_30_16_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351996551","file1":"1351996480","file0":"1351996414","file4":"1351996712","file5":"1351996744","file3":"1351996608"},"map_files_photo_id_array":[{"photo_id":"1351996744","filename":"file5"},{"photo_id":"1351996551","filename":"file2"},{"photo_id":"1351996712","filename":"file4"},{"photo_id":"1351996480","filename":"file1"},{"photo_id":"1351996414","filename":"file0"},{"photo_id":"1351996608","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351996551":["hashtag1","hashtag2"]},{"1351996608":["hashtag1","hashtag2"]},{"1351996712":["hashtag1","hashtag2"]},{"1351996480":["hashtag1","hashtag2"]},{"1351996744":["hashtag1","hashtag2"]},{"1351996414":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351996551, 1351996608, 1351996712, 1351996480, 1351996744, 1351996414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20454263687134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:17:32.891690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/31/image_06042025_21_32_06_10391.jpg', '/home/pi/Desktop/images/06042025/21/32/image_06042025_21_32_16_9507.jpg', '/home/pi/Desktop/images/06042025/21/32/image_06042025_21_32_46_9345.jpg', '/home/pi/Desktop/images/06042025/21/32/image_06042025_21_32_56_10369.jpg', '/home/pi/Desktop/images/06042025/21/32/image_06042025_21_33_06_9444.jpg', '/home/pi/Desktop/images/06042025/21/33/image_06042025_21_33_16_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/31/image_06042025_21_32_06_10391.jpg
/home/pi/Desktop/images/06042025/21/32/image_06042025_21_32_16_9507.jpg
/home/pi/Desktop/images/06042025/21/32/image_06042025_21_32_46_9345.jpg
/home/pi/Desktop/images/06042025/21/32/image_06042025_21_32_56_10369.jpg
/home/pi/Desktop/images/06042025/21/32/image_06042025_21_33_06_9444.jpg
/home/pi/Desktop/images/06042025/21/33/image_06042025_21_33_16_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997100","1351997093","1351997105","1351997059","1351997008","1351997073"],"photo_ids_order":["1351997008","1351997059","1351997073","1351997093","1351997100","1351997105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08740a6e3a61b1de947a0d2fdb3d6355.jpg","text":"TemporaryFile(/tmp/multipartBody2694045958411501829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413514451,"filename":"image_06042025_21_33_06_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d0392d2634d72501b4dfc161fab3d14.jpg","text":"TemporaryFile(/tmp/multipartBody1153128789933541184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413514451,"filename":"image_06042025_21_32_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/620bdf6e22195dbda1c384a64d8b926c.jpg","text":"TemporaryFile(/tmp/multipartBody6232226162974314036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413514451,"filename":"image_06042025_21_33_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9966e09efe29166990d190288b636b25.jpg","text":"TemporaryFile(/tmp/multipartBody5562042827480744369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413514451,"filename":"image_06042025_21_32_16_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6196537231f9fc20bc56a09d0c27f8c6.jpg","text":"TemporaryFile(/tmp/multipartBody5957269916375764330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413514451,"filename":"image_06042025_21_32_06_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae2d56c71d99e8e155c3d8734f89712a.jpg","text":"TemporaryFile(/tmp/multipartBody1986215926158438009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413514451,"filename":"image_06042025_21_32_46_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997073","file1":"1351997059","file0":"1351997008","file4":"1351997100","file5":"1351997105","file3":"1351997093"},"map_files_photo_id_array":[{"photo_id":"1351997105","filename":"file5"},{"photo_id":"1351997073","filename":"file2"},{"photo_id":"1351997100","filename":"file4"},{"photo_id":"1351997059","filename":"file1"},{"photo_id":"1351997008","filename":"file0"},{"photo_id":"1351997093","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351997100":["hashtag1","hashtag2"]},{"1351997093":["hashtag1","hashtag2"]},{"1351997105":["hashtag1","hashtag2"]},{"1351997059":["hashtag1","hashtag2"]},{"1351997008":["hashtag1","hashtag2"]},{"1351997073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351997100, 1351997093, 1351997105, 1351997059, 1351997008, 1351997073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93156123161316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:18:33.142474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/33/image_06042025_21_33_26_10435.jpg', '/home/pi/Desktop/images/06042025/21/33/image_06042025_21_33_55_9455.jpg', '/home/pi/Desktop/images/06042025/21/33/image_06042025_21_34_06_10369.jpg', '/home/pi/Desktop/images/06042025/21/34/image_06042025_21_34_16_10505.jpg', '/home/pi/Desktop/images/06042025/21/34/image_06042025_21_34_26_9355.jpg', '/home/pi/Desktop/images/06042025/21/34/image_06042025_21_34_36_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/33/image_06042025_21_33_26_10435.jpg
/home/pi/Desktop/images/06042025/21/33/image_06042025_21_33_55_9455.jpg
/home/pi/Desktop/images/06042025/21/33/image_06042025_21_34_06_10369.jpg
/home/pi/Desktop/images/06042025/21/34/image_06042025_21_34_16_10505.jpg
/home/pi/Desktop/images/06042025/21/34/image_06042025_21_34_26_9355.jpg
/home/pi/Desktop/images/06042025/21/34/image_06042025_21_34_36_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997389","1351997359","1351997350","1351997440","1351997413","1351997466"],"photo_ids_order":["1351997350","1351997359","1351997389","1351997413","1351997440","1351997466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fcca9ba8d2a7de4ae346939f00550ab.jpg","text":"TemporaryFile(/tmp/multipartBody3960075447863673159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413574829,"filename":"image_06042025_21_34_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a388d15bf17c66e1efde568eb073b541.jpg","text":"TemporaryFile(/tmp/multipartBody2848675403103367833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413574829,"filename":"image_06042025_21_33_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8ca95a8f2e04b8ae39aa1a395565cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4992650061620623747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413574829,"filename":"image_06042025_21_33_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb1588f0fd9ca2b6ed5314845beefa56.jpg","text":"TemporaryFile(/tmp/multipartBody6970743240369014616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413574829,"filename":"image_06042025_21_34_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf45dc1e7ee87497554bce82395b8215.jpg","text":"TemporaryFile(/tmp/multipartBody6140806133146494190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413574829,"filename":"image_06042025_21_34_16_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/500bb1d8c89ca22e30b8cbbc2ad0b204.jpg","text":"TemporaryFile(/tmp/multipartBody1905826176551750732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413574829,"filename":"image_06042025_21_34_36_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997389","file1":"1351997359","file0":"1351997350","file4":"1351997440","file5":"1351997466","file3":"1351997413"},"map_files_photo_id_array":[{"photo_id":"1351997466","filename":"file5"},{"photo_id":"1351997389","filename":"file2"},{"photo_id":"1351997440","filename":"file4"},{"photo_id":"1351997359","filename":"file1"},{"photo_id":"1351997350","filename":"file0"},{"photo_id":"1351997413","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351997389":["hashtag1","hashtag2"]},{"1351997359":["hashtag1","hashtag2"]},{"1351997350":["hashtag1","hashtag2"]},{"1351997440":["hashtag1","hashtag2"]},{"1351997413":["hashtag1","hashtag2"]},{"1351997466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351997389, 1351997359, 1351997350, 1351997440, 1351997413, 1351997466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.84948444366455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:19:32.299837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/34/image_06042025_21_34_56_10407.jpg', '/home/pi/Desktop/images/06042025/21/34/image_06042025_21_35_06_10413.jpg', '/home/pi/Desktop/images/06042025/21/35/image_06042025_21_35_26_10393.jpg', '/home/pi/Desktop/images/06042025/21/35/image_06042025_21_35_35_9340.jpg', '/home/pi/Desktop/images/06042025/21/35/image_06042025_21_35_46_10355.jpg', '/home/pi/Desktop/images/06042025/21/35/image_06042025_21_35_56_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/34/image_06042025_21_34_56_10407.jpg
/home/pi/Desktop/images/06042025/21/34/image_06042025_21_35_06_10413.jpg
/home/pi/Desktop/images/06042025/21/35/image_06042025_21_35_26_10393.jpg
/home/pi/Desktop/images/06042025/21/35/image_06042025_21_35_35_9340.jpg
/home/pi/Desktop/images/06042025/21/35/image_06042025_21_35_46_10355.jpg
/home/pi/Desktop/images/06042025/21/35/image_06042025_21_35_56_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997615","1351997584","1351997596","1351997595","1351997562","1351997556"],"photo_ids_order":["1351997556","1351997562","1351997584","1351997595","1351997596","1351997615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b93643eeef37cc6b40dd6019bb53b360.jpg","text":"TemporaryFile(/tmp/multipartBody4679101519422620530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413633859,"filename":"image_06042025_21_35_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7d69a612e3f892dbad2dfdbf603811b.jpg","text":"TemporaryFile(/tmp/multipartBody8268231866818980073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413633859,"filename":"image_06042025_21_35_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f65c0f61ed2069c7df1938cfe2ad0f4.jpg","text":"TemporaryFile(/tmp/multipartBody7354754958432309682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413633859,"filename":"image_06042025_21_35_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d09f7c60cf6b38415a68312ec6a63da9.jpg","text":"TemporaryFile(/tmp/multipartBody6257219611666899498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413633859,"filename":"image_06042025_21_35_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99a358dc8ac7dbebd2191a129719c773.jpg","text":"TemporaryFile(/tmp/multipartBody575816352335708538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413633859,"filename":"image_06042025_21_35_06_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6aa223ec844ec56880f70d02a0b089a9.jpg","text":"TemporaryFile(/tmp/multipartBody8458715316722315032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413633859,"filename":"image_06042025_21_34_56_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997584","file1":"1351997562","file0":"1351997556","file4":"1351997596","file5":"1351997615","file3":"1351997595"},"map_files_photo_id_array":[{"photo_id":"1351997615","filename":"file5"},{"photo_id":"1351997584","filename":"file2"},{"photo_id":"1351997596","filename":"file4"},{"photo_id":"1351997562","filename":"file1"},{"photo_id":"1351997556","filename":"file0"},{"photo_id":"1351997595","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351997615":["hashtag1","hashtag2"]},{"1351997584":["hashtag1","hashtag2"]},{"1351997596":["hashtag1","hashtag2"]},{"1351997595":["hashtag1","hashtag2"]},{"1351997562":["hashtag1","hashtag2"]},{"1351997556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351997615, 1351997584, 1351997596, 1351997595, 1351997562, 1351997556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53381609916687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:20:32.528215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/35/image_06042025_21_36_06_9341.jpg', '/home/pi/Desktop/images/06042025/21/36/image_06042025_21_36_16_10466.jpg', '/home/pi/Desktop/images/06042025/21/36/image_06042025_21_36_26_10369.jpg', '/home/pi/Desktop/images/06042025/21/36/image_06042025_21_36_55_9370.jpg', '/home/pi/Desktop/images/06042025/21/36/image_06042025_21_37_06_10365.jpg', '/home/pi/Desktop/images/06042025/21/37/image_06042025_21_37_26_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/35/image_06042025_21_36_06_9341.jpg
/home/pi/Desktop/images/06042025/21/36/image_06042025_21_36_16_10466.jpg
/home/pi/Desktop/images/06042025/21/36/image_06042025_21_36_26_10369.jpg
/home/pi/Desktop/images/06042025/21/36/image_06042025_21_36_55_9370.jpg
/home/pi/Desktop/images/06042025/21/36/image_06042025_21_37_06_10365.jpg
/home/pi/Desktop/images/06042025/21/37/image_06042025_21_37_26_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351997995","1351998121","1351998084","1351997932","1351997964","1351998021"],"photo_ids_order":["1351997932","1351997964","1351997995","1351998021","1351998084","1351998121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07e5d1a4e5500878dfc4374e30aae065.jpg","text":"TemporaryFile(/tmp/multipartBody363347073431483807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413694107,"filename":"image_06042025_21_36_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/589dfd1717af3cf632569c46e2a800ad.jpg","text":"TemporaryFile(/tmp/multipartBody3644008617010483606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413694107,"filename":"image_06042025_21_37_26_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/580df87a758938af210bf3abf6306e92.jpg","text":"TemporaryFile(/tmp/multipartBody5169221959357904378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413694107,"filename":"image_06042025_21_37_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7064985af9a9ed85168959c61443006.jpg","text":"TemporaryFile(/tmp/multipartBody5368055878788785247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413694107,"filename":"image_06042025_21_36_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a4f71897249f94e62e3b6500f6a200f.jpg","text":"TemporaryFile(/tmp/multipartBody5770724534263874017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413694107,"filename":"image_06042025_21_36_16_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8f7cb2a8252f448a6e978d9638a6111.jpg","text":"TemporaryFile(/tmp/multipartBody4921121961725053337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413694107,"filename":"image_06042025_21_36_55_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351997995","file1":"1351997964","file0":"1351997932","file4":"1351998084","file5":"1351998121","file3":"1351998021"},"map_files_photo_id_array":[{"photo_id":"1351998121","filename":"file5"},{"photo_id":"1351997995","filename":"file2"},{"photo_id":"1351998084","filename":"file4"},{"photo_id":"1351997964","filename":"file1"},{"photo_id":"1351997932","filename":"file0"},{"photo_id":"1351998021","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351997995":["hashtag1","hashtag2"]},{"1351998121":["hashtag1","hashtag2"]},{"1351998084":["hashtag1","hashtag2"]},{"1351997932":["hashtag1","hashtag2"]},{"1351997964":["hashtag1","hashtag2"]},{"1351998021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351997995, 1351998121, 1351998084, 1351997932, 1351997964, 1351998021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16573762893677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:21:32.794171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/37/image_06042025_21_37_36_10358.jpg', '/home/pi/Desktop/images/06042025/21/37/image_06042025_21_37_45_9366.jpg', '/home/pi/Desktop/images/06042025/21/37/image_06042025_21_37_56_10378.jpg', '/home/pi/Desktop/images/06042025/21/37/image_06042025_21_38_06_10464.jpg', '/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_16_9368.jpg', '/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/37/image_06042025_21_37_36_10358.jpg
/home/pi/Desktop/images/06042025/21/37/image_06042025_21_37_45_9366.jpg
/home/pi/Desktop/images/06042025/21/37/image_06042025_21_37_56_10378.jpg
/home/pi/Desktop/images/06042025/21/37/image_06042025_21_38_06_10464.jpg
/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_16_9368.jpg
/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_26_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351998560","1351998383","1351998626","1351998511","1351998678","1351998534"],"photo_ids_order":["1351998383","1351998511","1351998534","1351998560","1351998626","1351998678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c61f233389a4b06684342a66d930349.jpg","text":"TemporaryFile(/tmp/multipartBody3989607620530665728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413754365,"filename":"image_06042025_21_38_06_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/597407730e886d9b62eeaee3660f2971.jpg","text":"TemporaryFile(/tmp/multipartBody6021759888068363416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413754365,"filename":"image_06042025_21_37_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6089b40a44aafd67070d5a501d418e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2903264359200505849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413754365,"filename":"image_06042025_21_38_16_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbe2061efe5bfb52dcd5d15e13cddaf0.jpg","text":"TemporaryFile(/tmp/multipartBody4606525704273900489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413754365,"filename":"image_06042025_21_37_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/447d878d3236521b865874965f050a65.jpg","text":"TemporaryFile(/tmp/multipartBody2270330437422029597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413754365,"filename":"image_06042025_21_38_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/275cc251dfa78980ee57e345185c67cd.jpg","text":"TemporaryFile(/tmp/multipartBody3065103072090113026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413754365,"filename":"image_06042025_21_37_56_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351998534","file1":"1351998511","file0":"1351998383","file4":"1351998626","file5":"1351998678","file3":"1351998560"},"map_files_photo_id_array":[{"photo_id":"1351998678","filename":"file5"},{"photo_id":"1351998534","filename":"file2"},{"photo_id":"1351998626","filename":"file4"},{"photo_id":"1351998511","filename":"file1"},{"photo_id":"1351998383","filename":"file0"},{"photo_id":"1351998560","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351998560":["hashtag1","hashtag2"]},{"1351998383":["hashtag1","hashtag2"]},{"1351998626":["hashtag1","hashtag2"]},{"1351998511":["hashtag1","hashtag2"]},{"1351998678":["hashtag1","hashtag2"]},{"1351998534":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351998560, 1351998383, 1351998626, 1351998511, 1351998678, 1351998534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86629557609558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:22:32.934438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_36_10341.jpg', '/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_46_9348.jpg', '/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_56_10462.jpg', '/home/pi/Desktop/images/06042025/21/38/image_06042025_21_39_06_9407.jpg', '/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_16_10366.jpg', '/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_26_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_36_10341.jpg
/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_46_9348.jpg
/home/pi/Desktop/images/06042025/21/38/image_06042025_21_38_56_10462.jpg
/home/pi/Desktop/images/06042025/21/38/image_06042025_21_39_06_9407.jpg
/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_16_10366.jpg
/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_26_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351998872","1351998935","1351998815","1351998923","1351998897","1351998930"],"photo_ids_order":["1351998815","1351998872","1351998897","1351998923","1351998930","1351998935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89b40ac608dd093839ad9ca3f26dbdf9.jpg","text":"TemporaryFile(/tmp/multipartBody1396010648141930095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413814497,"filename":"image_06042025_21_38_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93294921bbfbda7ef40923c7a49d816a.jpg","text":"TemporaryFile(/tmp/multipartBody3322396548210525845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413814497,"filename":"image_06042025_21_39_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6649132c16adc30fba0dc0e260eaf39.jpg","text":"TemporaryFile(/tmp/multipartBody880377757758792940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413814497,"filename":"image_06042025_21_38_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e90a0d0a96dc9f3f44fdfa2685ec59cf.jpg","text":"TemporaryFile(/tmp/multipartBody1657394934575224512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413814497,"filename":"image_06042025_21_39_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48a777c9f9b7579f1518bb841375cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody1505033741153545053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413814497,"filename":"image_06042025_21_38_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/312957d346dd049fc02d419837920ec3.jpg","text":"TemporaryFile(/tmp/multipartBody6816044923548757072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413814497,"filename":"image_06042025_21_39_16_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351998897","file1":"1351998872","file0":"1351998815","file4":"1351998930","file5":"1351998935","file3":"1351998923"},"map_files_photo_id_array":[{"photo_id":"1351998935","filename":"file5"},{"photo_id":"1351998897","filename":"file2"},{"photo_id":"1351998930","filename":"file4"},{"photo_id":"1351998872","filename":"file1"},{"photo_id":"1351998815","filename":"file0"},{"photo_id":"1351998923","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351998872":["hashtag1","hashtag2"]},{"1351998935":["hashtag1","hashtag2"]},{"1351998815":["hashtag1","hashtag2"]},{"1351998923":["hashtag1","hashtag2"]},{"1351998897":["hashtag1","hashtag2"]},{"1351998930":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351998872, 1351998935, 1351998815, 1351998923, 1351998897, 1351998930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.680861949920654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:23:33.204706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_36_9345.jpg', '/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_46_10387.jpg', '/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_56_9381.jpg', '/home/pi/Desktop/images/06042025/21/39/image_06042025_21_40_06_10347.jpg', '/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_16_10458.jpg', '/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_26_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_36_9345.jpg
/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_46_10387.jpg
/home/pi/Desktop/images/06042025/21/39/image_06042025_21_39_56_9381.jpg
/home/pi/Desktop/images/06042025/21/39/image_06042025_21_40_06_10347.jpg
/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_16_10458.jpg
/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_26_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351999426","1351999333","1351999482","1351999398","1351999367","1351999547"],"photo_ids_order":["1351999333","1351999367","1351999398","1351999426","1351999482","1351999547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16ce8d83fbc4379ec182db411df87f9c.jpg","text":"TemporaryFile(/tmp/multipartBody5352417409803518775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413874782,"filename":"image_06042025_21_40_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c75189959ee04fbd588b53237a36990a.jpg","text":"TemporaryFile(/tmp/multipartBody4643900991861856834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413874782,"filename":"image_06042025_21_39_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10ac36406f6cc2f91672ce26e4097738.jpg","text":"TemporaryFile(/tmp/multipartBody2755361676069732379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413874782,"filename":"image_06042025_21_40_16_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3afcee08395248f50dcfb19dc7234d41.jpg","text":"TemporaryFile(/tmp/multipartBody5217479595831281862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413874782,"filename":"image_06042025_21_39_56_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cae688e6b956c8031d26dd15523bc182.jpg","text":"TemporaryFile(/tmp/multipartBody2044370259422897216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413874782,"filename":"image_06042025_21_39_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/734e1a364d957f81683d8dcc641a0717.jpg","text":"TemporaryFile(/tmp/multipartBody7203391730907786904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413874782,"filename":"image_06042025_21_40_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351999398","file1":"1351999367","file0":"1351999333","file4":"1351999482","file5":"1351999547","file3":"1351999426"},"map_files_photo_id_array":[{"photo_id":"1351999547","filename":"file5"},{"photo_id":"1351999398","filename":"file2"},{"photo_id":"1351999482","filename":"file4"},{"photo_id":"1351999367","filename":"file1"},{"photo_id":"1351999333","filename":"file0"},{"photo_id":"1351999426","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351999426":["hashtag1","hashtag2"]},{"1351999333":["hashtag1","hashtag2"]},{"1351999482":["hashtag1","hashtag2"]},{"1351999398":["hashtag1","hashtag2"]},{"1351999367":["hashtag1","hashtag2"]},{"1351999547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351999426, 1351999333, 1351999482, 1351999398, 1351999367, 1351999547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12916874885559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:24:32.362567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_36_10426.jpg', '/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_46_9442.jpg', '/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_56_10365.jpg', '/home/pi/Desktop/images/06042025/21/40/image_06042025_21_41_06_10464.jpg', '/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_16_9374.jpg', '/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_26_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_36_10426.jpg
/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_46_9442.jpg
/home/pi/Desktop/images/06042025/21/40/image_06042025_21_40_56_10365.jpg
/home/pi/Desktop/images/06042025/21/40/image_06042025_21_41_06_10464.jpg
/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_16_9374.jpg
/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_26_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351999879","1351999903","1351999980","1352000054","1352000033","1351999943"],"photo_ids_order":["1351999879","1351999903","1351999943","1351999980","1352000033","1352000054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74708781e813366808e8285868e11d8f.jpg","text":"TemporaryFile(/tmp/multipartBody7520802520539929019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413933921,"filename":"image_06042025_21_40_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c9caf240d6d349bfc2d2350e5140a65.jpg","text":"TemporaryFile(/tmp/multipartBody566297371119351639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413933921,"filename":"image_06042025_21_40_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e26f3718518a1606f7fe7a26fc2d678d.jpg","text":"TemporaryFile(/tmp/multipartBody6853321772794855350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413933921,"filename":"image_06042025_21_41_06_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b0e2d4ee03594444636aeecea2d532c.jpg","text":"TemporaryFile(/tmp/multipartBody8083166367505109531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413933921,"filename":"image_06042025_21_41_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d166f8c651773916cdc1d17004cbfa3.jpg","text":"TemporaryFile(/tmp/multipartBody2423934971310034981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413933921,"filename":"image_06042025_21_41_16_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1394c73fb87a88b78092087af84fce1c.jpg","text":"TemporaryFile(/tmp/multipartBody4780847363497143902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413933921,"filename":"image_06042025_21_40_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351999943","file1":"1351999903","file0":"1351999879","file4":"1352000033","file5":"1352000054","file3":"1351999980"},"map_files_photo_id_array":[{"photo_id":"1352000054","filename":"file5"},{"photo_id":"1351999943","filename":"file2"},{"photo_id":"1352000033","filename":"file4"},{"photo_id":"1351999903","filename":"file1"},{"photo_id":"1351999879","filename":"file0"},{"photo_id":"1351999980","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351999879":["hashtag1","hashtag2"]},{"1351999903":["hashtag1","hashtag2"]},{"1351999980":["hashtag1","hashtag2"]},{"1352000054":["hashtag1","hashtag2"]},{"1352000033":["hashtag1","hashtag2"]},{"1351999943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351999879, 1351999903, 1351999980, 1352000054, 1352000033, 1351999943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.964035987854004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:25:32.571147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_36_9353.jpg', '/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_46_10350.jpg', '/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_56_10365.jpg', '/home/pi/Desktop/images/06042025/21/41/image_06042025_21_42_06_9337.jpg', '/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_16_10500.jpg', '/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_25_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_36_9353.jpg
/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_46_10350.jpg
/home/pi/Desktop/images/06042025/21/41/image_06042025_21_41_56_10365.jpg
/home/pi/Desktop/images/06042025/21/41/image_06042025_21_42_06_9337.jpg
/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_16_10500.jpg
/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_25_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352000433","1352000471","1352000450","1352000381","1352000417","1352000499"],"photo_ids_order":["1352000381","1352000417","1352000433","1352000450","1352000471","1352000499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa2ae16895c7e14cfa60ee7dedeee33f.jpg","text":"TemporaryFile(/tmp/multipartBody1021019472084274860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413994119,"filename":"image_06042025_21_41_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebab98966d7aa1d0388507f8cd5eb26d.jpg","text":"TemporaryFile(/tmp/multipartBody6242747949991244393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413994119,"filename":"image_06042025_21_42_16_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15c50f8848bb8d1180c7408eb8f56083.jpg","text":"TemporaryFile(/tmp/multipartBody5156082556180971542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413994119,"filename":"image_06042025_21_42_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06bfdb58f62912ec248e95b0a5ae257d.jpg","text":"TemporaryFile(/tmp/multipartBody1982031423039914059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413994119,"filename":"image_06042025_21_41_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6dbc1010b8537e1c342026ae528cc9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2144010983439320673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413994119,"filename":"image_06042025_21_41_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80d0589515f50b875fc0462570582c00.jpg","text":"TemporaryFile(/tmp/multipartBody5629862401146076372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744413994119,"filename":"image_06042025_21_42_25_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352000433","file1":"1352000417","file0":"1352000381","file4":"1352000471","file5":"1352000499","file3":"1352000450"},"map_files_photo_id_array":[{"photo_id":"1352000499","filename":"file5"},{"photo_id":"1352000433","filename":"file2"},{"photo_id":"1352000471","filename":"file4"},{"photo_id":"1352000417","filename":"file1"},{"photo_id":"1352000381","filename":"file0"},{"photo_id":"1352000450","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352000433":["hashtag1","hashtag2"]},{"1352000471":["hashtag1","hashtag2"]},{"1352000450":["hashtag1","hashtag2"]},{"1352000381":["hashtag1","hashtag2"]},{"1352000417":["hashtag1","hashtag2"]},{"1352000499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352000433, 1352000471, 1352000450, 1352000381, 1352000417, 1352000499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.855921030044556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:26:32.858188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_36_10471.jpg', '/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_46_10395.jpg', '/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_56_9367.jpg', '/home/pi/Desktop/images/06042025/21/42/image_06042025_21_43_06_10373.jpg', '/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_16_9427.jpg', '/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_36_10471.jpg
/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_46_10395.jpg
/home/pi/Desktop/images/06042025/21/42/image_06042025_21_42_56_9367.jpg
/home/pi/Desktop/images/06042025/21/42/image_06042025_21_43_06_10373.jpg
/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_16_9427.jpg
/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_26_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352000745","1352000775","1352000721","1352000678","1352000717","1352000702"],"photo_ids_order":["1352000678","1352000702","1352000717","1352000721","1352000745","1352000775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c9a724af782e89a02493fb583408a01.jpg","text":"TemporaryFile(/tmp/multipartBody8275419251953211175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414054419,"filename":"image_06042025_21_43_16_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61f4235dd94454e6e2d30540bd68bc27.jpg","text":"TemporaryFile(/tmp/multipartBody4290179062027453821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414054419,"filename":"image_06042025_21_43_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/017af23220b3fa47fd994f87b4d94ac7.jpg","text":"TemporaryFile(/tmp/multipartBody6525050407519800687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414054419,"filename":"image_06042025_21_43_06_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e24966191fd6574efbc6cf908a46406.jpg","text":"TemporaryFile(/tmp/multipartBody6520356025308995251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414054419,"filename":"image_06042025_21_42_36_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3df3592068e08fbcad88cb71ad897db8.jpg","text":"TemporaryFile(/tmp/multipartBody2848258239010509034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414054419,"filename":"image_06042025_21_42_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f9b1dc781e30abd71d0fd4b82ee699a.jpg","text":"TemporaryFile(/tmp/multipartBody6928017066656451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414054419,"filename":"image_06042025_21_42_46_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352000717","file1":"1352000702","file0":"1352000678","file4":"1352000745","file5":"1352000775","file3":"1352000721"},"map_files_photo_id_array":[{"photo_id":"1352000775","filename":"file5"},{"photo_id":"1352000717","filename":"file2"},{"photo_id":"1352000745","filename":"file4"},{"photo_id":"1352000702","filename":"file1"},{"photo_id":"1352000678","filename":"file0"},{"photo_id":"1352000721","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352000745":["hashtag1","hashtag2"]},{"1352000775":["hashtag1","hashtag2"]},{"1352000721":["hashtag1","hashtag2"]},{"1352000678":["hashtag1","hashtag2"]},{"1352000717":["hashtag1","hashtag2"]},{"1352000702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352000745, 1352000775, 1352000721, 1352000678, 1352000717, 1352000702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31127715110779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:27:33.098433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_36_10398.jpg', '/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_46_9357.jpg', '/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_56_10361.jpg', '/home/pi/Desktop/images/06042025/21/43/image_06042025_21_44_06_10353.jpg', '/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_16_9394.jpg', '/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_26_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_36_10398.jpg
/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_46_9357.jpg
/home/pi/Desktop/images/06042025/21/43/image_06042025_21_43_56_10361.jpg
/home/pi/Desktop/images/06042025/21/43/image_06042025_21_44_06_10353.jpg
/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_16_9394.jpg
/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_26_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352000993","1352001023","1352000942","1352000933","1352000927","1352000977"],"photo_ids_order":["1352000927","1352000933","1352000942","1352000977","1352000993","1352001023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/376164df62b95a2c9cb8f2b1adcebdc8.jpg","text":"TemporaryFile(/tmp/multipartBody3899842442520770860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414114689,"filename":"image_06042025_21_44_16_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08d3cd9ed5aac2b908b7020a84227a48.jpg","text":"TemporaryFile(/tmp/multipartBody6358059644356846805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414114689,"filename":"image_06042025_21_44_26_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce4721de3462e51c384c6d94ab764ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3395067466825484984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414114689,"filename":"image_06042025_21_43_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65293623b81860d654c9a996dbc56c81.jpg","text":"TemporaryFile(/tmp/multipartBody4432349946543449723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414114689,"filename":"image_06042025_21_43_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1addffeb640314d9bbfa342f6e6e869e.jpg","text":"TemporaryFile(/tmp/multipartBody7541317532260102563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414114689,"filename":"image_06042025_21_43_36_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2eeab697ec9dfff396e15e87e5c84fa4.jpg","text":"TemporaryFile(/tmp/multipartBody8589523875641268344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414114689,"filename":"image_06042025_21_44_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352000942","file1":"1352000933","file0":"1352000927","file4":"1352000993","file5":"1352001023","file3":"1352000977"},"map_files_photo_id_array":[{"photo_id":"1352001023","filename":"file5"},{"photo_id":"1352000942","filename":"file2"},{"photo_id":"1352000993","filename":"file4"},{"photo_id":"1352000933","filename":"file1"},{"photo_id":"1352000927","filename":"file0"},{"photo_id":"1352000977","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352000993":["hashtag1","hashtag2"]},{"1352001023":["hashtag1","hashtag2"]},{"1352000942":["hashtag1","hashtag2"]},{"1352000933":["hashtag1","hashtag2"]},{"1352000927":["hashtag1","hashtag2"]},{"1352000977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352000993, 1352001023, 1352000942, 1352000933, 1352000927, 1352000977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04688262939453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:28:32.251020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_36_9440.jpg', '/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_46_10350.jpg', '/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_55_9429.jpg', '/home/pi/Desktop/images/06042025/21/44/image_06042025_21_45_06_10815.jpg', '/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_16_9337.jpg', '/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_26_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_36_9440.jpg
/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_46_10350.jpg
/home/pi/Desktop/images/06042025/21/44/image_06042025_21_44_55_9429.jpg
/home/pi/Desktop/images/06042025/21/44/image_06042025_21_45_06_10815.jpg
/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_16_9337.jpg
/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_26_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352001549","1352001513","1352001421","1352001585","1352001351","1352001468"],"photo_ids_order":["1352001351","1352001421","1352001468","1352001513","1352001549","1352001585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08620e3306a71ca48b8b060e9d0c3dab.jpg","text":"TemporaryFile(/tmp/multipartBody861065990684541422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414173817,"filename":"image_06042025_21_45_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02ff74d4ee94ed29748454a22eb98d19.jpg","text":"TemporaryFile(/tmp/multipartBody3261728830967450920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414173817,"filename":"image_06042025_21_45_06_10815.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50201c61c96634d71471ab7c424049d7.jpg","text":"TemporaryFile(/tmp/multipartBody268077046145063124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414173817,"filename":"image_06042025_21_44_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e56ea828c39d4d30ae59f8092b04331a.jpg","text":"TemporaryFile(/tmp/multipartBody2751944966850262640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414173817,"filename":"image_06042025_21_45_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16dc1ae7ccc74a7f700e0f9ae36407df.jpg","text":"TemporaryFile(/tmp/multipartBody4695469530792578766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414173817,"filename":"image_06042025_21_44_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf4d2d5152e9db4fe5809c1ed148a97e.jpg","text":"TemporaryFile(/tmp/multipartBody4866360273019989577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414173817,"filename":"image_06042025_21_44_55_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352001468","file1":"1352001421","file0":"1352001351","file4":"1352001549","file5":"1352001585","file3":"1352001513"},"map_files_photo_id_array":[{"photo_id":"1352001585","filename":"file5"},{"photo_id":"1352001468","filename":"file2"},{"photo_id":"1352001549","filename":"file4"},{"photo_id":"1352001421","filename":"file1"},{"photo_id":"1352001351","filename":"file0"},{"photo_id":"1352001513","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352001549":["hashtag1","hashtag2"]},{"1352001513":["hashtag1","hashtag2"]},{"1352001421":["hashtag1","hashtag2"]},{"1352001585":["hashtag1","hashtag2"]},{"1352001351":["hashtag1","hashtag2"]},{"1352001468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352001549, 1352001513, 1352001421, 1352001585, 1352001351, 1352001468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.246888399124146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:29:32.457725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_36_10423.jpg', '/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_46_9358.jpg', '/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_56_10364.jpg', '/home/pi/Desktop/images/06042025/21/45/image_06042025_21_46_05_9340.jpg', '/home/pi/Desktop/images/06042025/21/46/image_06042025_21_46_26_10483.jpg', '/home/pi/Desktop/images/06042025/21/46/image_06042025_21_46_36_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_36_10423.jpg
/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_46_9358.jpg
/home/pi/Desktop/images/06042025/21/45/image_06042025_21_45_56_10364.jpg
/home/pi/Desktop/images/06042025/21/45/image_06042025_21_46_05_9340.jpg
/home/pi/Desktop/images/06042025/21/46/image_06042025_21_46_26_10483.jpg
/home/pi/Desktop/images/06042025/21/46/image_06042025_21_46_36_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352001866","1352001749","1352001713","1352001691","1352001814","1352001843"],"photo_ids_order":["1352001691","1352001713","1352001749","1352001814","1352001843","1352001866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c609ef8c56256c94566a199dd3a8af4f.jpg","text":"TemporaryFile(/tmp/multipartBody4810756955498766726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414234023,"filename":"image_06042025_21_46_36_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca7358ecaef7e6726d45b431460f29d9.jpg","text":"TemporaryFile(/tmp/multipartBody8266258837927321654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414234023,"filename":"image_06042025_21_45_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76cc105e5b5d5c22e09aed2f3681e614.jpg","text":"TemporaryFile(/tmp/multipartBody3752046139637399080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414234023,"filename":"image_06042025_21_45_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cfbb680282249d81e795849a8775df3.jpg","text":"TemporaryFile(/tmp/multipartBody5399883867514804548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414234023,"filename":"image_06042025_21_45_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ee9733d77cf9ab0aee1d1baab540394.jpg","text":"TemporaryFile(/tmp/multipartBody5542483930187454053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414234023,"filename":"image_06042025_21_46_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d6eb9e724ac25091433f2afb7dcf527.jpg","text":"TemporaryFile(/tmp/multipartBody6972369871566497623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414234023,"filename":"image_06042025_21_46_26_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352001749","file1":"1352001713","file0":"1352001691","file4":"1352001843","file5":"1352001866","file3":"1352001814"},"map_files_photo_id_array":[{"photo_id":"1352001866","filename":"file5"},{"photo_id":"1352001749","filename":"file2"},{"photo_id":"1352001843","filename":"file4"},{"photo_id":"1352001713","filename":"file1"},{"photo_id":"1352001691","filename":"file0"},{"photo_id":"1352001814","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352001866":["hashtag1","hashtag2"]},{"1352001749":["hashtag1","hashtag2"]},{"1352001713":["hashtag1","hashtag2"]},{"1352001691":["hashtag1","hashtag2"]},{"1352001814":["hashtag1","hashtag2"]},{"1352001843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352001866, 1352001749, 1352001713, 1352001691, 1352001814, 1352001843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.62710428237915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:30:32.835991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/46/image_06042025_21_46_46_10370.jpg', '/home/pi/Desktop/images/06042025/21/46/image_06042025_21_46_56_9438.jpg', '/home/pi/Desktop/images/06042025/21/46/image_06042025_21_47_06_10360.jpg', '/home/pi/Desktop/images/06042025/21/47/image_06042025_21_47_16_10404.jpg', '/home/pi/Desktop/images/06042025/21/47/image_06042025_21_47_26_9425.jpg', '/home/pi/Desktop/images/06042025/21/47/image_06042025_21_47_56_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/46/image_06042025_21_46_46_10370.jpg
/home/pi/Desktop/images/06042025/21/46/image_06042025_21_46_56_9438.jpg
/home/pi/Desktop/images/06042025/21/46/image_06042025_21_47_06_10360.jpg
/home/pi/Desktop/images/06042025/21/47/image_06042025_21_47_16_10404.jpg
/home/pi/Desktop/images/06042025/21/47/image_06042025_21_47_26_9425.jpg
/home/pi/Desktop/images/06042025/21/47/image_06042025_21_47_56_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352002182","1352001928","1352002272","1352002080","1352002131","1352002005"],"photo_ids_order":["1352001928","1352002005","1352002080","1352002131","1352002182","1352002272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7feee39fefb7b5ba413bf6267a2775b6.jpg","text":"TemporaryFile(/tmp/multipartBody821399306800050044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414294413,"filename":"image_06042025_21_47_26_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e0eedbf46446a8abe18a1a4f9388dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1618466154825784130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414294413,"filename":"image_06042025_21_46_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b43b145a7a113a0a8d7d0a43c2a22f0.jpg","text":"TemporaryFile(/tmp/multipartBody5343201510867382073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414294413,"filename":"image_06042025_21_47_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4a9993042fe164082f7dc03d8664e6d.jpg","text":"TemporaryFile(/tmp/multipartBody3174235715761912363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414294413,"filename":"image_06042025_21_47_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07ff92bebe5b6553396f2dd66a15d8d3.jpg","text":"TemporaryFile(/tmp/multipartBody3034017217505599282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414294413,"filename":"image_06042025_21_47_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e47144a57cbc2c650a085a1d51406f31.jpg","text":"TemporaryFile(/tmp/multipartBody7270399561354409040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414294413,"filename":"image_06042025_21_46_56_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352002080","file1":"1352002005","file0":"1352001928","file4":"1352002182","file5":"1352002272","file3":"1352002131"},"map_files_photo_id_array":[{"photo_id":"1352002272","filename":"file5"},{"photo_id":"1352002080","filename":"file2"},{"photo_id":"1352002182","filename":"file4"},{"photo_id":"1352002005","filename":"file1"},{"photo_id":"1352001928","filename":"file0"},{"photo_id":"1352002131","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352002182":["hashtag1","hashtag2"]},{"1352001928":["hashtag1","hashtag2"]},{"1352002272":["hashtag1","hashtag2"]},{"1352002080":["hashtag1","hashtag2"]},{"1352002131":["hashtag1","hashtag2"]},{"1352002005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352002182, 1352001928, 1352002272, 1352002080, 1352002131, 1352002005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55291676521301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:31:33.002175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/48/image_06042025_21_48_26_10381.jpg', '/home/pi/Desktop/images/06042025/21/48/image_06042025_21_48_36_10365.jpg', '/home/pi/Desktop/images/06042025/21/48/image_06042025_21_48_46_9358.jpg', '/home/pi/Desktop/images/06042025/21/48/image_06042025_21_48_56_10360.jpg', '/home/pi/Desktop/images/06042025/21/48/image_06042025_21_49_06_10345.jpg', '/home/pi/Desktop/images/06042025/21/49/image_06042025_21_49_16_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/48/image_06042025_21_48_26_10381.jpg
/home/pi/Desktop/images/06042025/21/48/image_06042025_21_48_36_10365.jpg
/home/pi/Desktop/images/06042025/21/48/image_06042025_21_48_46_9358.jpg
/home/pi/Desktop/images/06042025/21/48/image_06042025_21_48_56_10360.jpg
/home/pi/Desktop/images/06042025/21/48/image_06042025_21_49_06_10345.jpg
/home/pi/Desktop/images/06042025/21/49/image_06042025_21_49_16_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352002709","1352002588","1352002675","1352002641","1352002758","1352002781"],"photo_ids_order":["1352002588","1352002641","1352002675","1352002709","1352002758","1352002781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a593b00fdf024dd5992f6904b7a03dbe.jpg","text":"TemporaryFile(/tmp/multipartBody2798809485405033568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414354629,"filename":"image_06042025_21_48_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8bec943b599e2559c8ace4a0a4607502.jpg","text":"TemporaryFile(/tmp/multipartBody8151146803151856842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414354629,"filename":"image_06042025_21_48_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4a3c0b1151fec2126c4cae611b0b4a0.jpg","text":"TemporaryFile(/tmp/multipartBody4127775170450836466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414354629,"filename":"image_06042025_21_48_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56a46c5af89d3ed1f0f78f4e1911cb14.jpg","text":"TemporaryFile(/tmp/multipartBody4303930938012358824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414354629,"filename":"image_06042025_21_48_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f18c5096ec0e99cbfe6e355a4b26ae0.jpg","text":"TemporaryFile(/tmp/multipartBody6084105304573302928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414354629,"filename":"image_06042025_21_49_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20a1c41f603c651f4fd432b636df8a99.jpg","text":"TemporaryFile(/tmp/multipartBody2419835944958591312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414354629,"filename":"image_06042025_21_49_16_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352002675","file1":"1352002641","file0":"1352002588","file4":"1352002758","file5":"1352002781","file3":"1352002709"},"map_files_photo_id_array":[{"photo_id":"1352002781","filename":"file5"},{"photo_id":"1352002675","filename":"file2"},{"photo_id":"1352002758","filename":"file4"},{"photo_id":"1352002641","filename":"file1"},{"photo_id":"1352002588","filename":"file0"},{"photo_id":"1352002709","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352002709":["hashtag1","hashtag2"]},{"1352002588":["hashtag1","hashtag2"]},{"1352002675":["hashtag1","hashtag2"]},{"1352002641":["hashtag1","hashtag2"]},{"1352002758":["hashtag1","hashtag2"]},{"1352002781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352002709, 1352002588, 1352002675, 1352002641, 1352002758, 1352002781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36758852005005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:32:32.206757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/49/image_06042025_21_49_26_10520.jpg', '/home/pi/Desktop/images/06042025/21/49/image_06042025_21_49_36_9348.jpg', '/home/pi/Desktop/images/06042025/21/49/image_06042025_21_50_06_10459.jpg', '/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_26_9423.jpg', '/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_36_10507.jpg', '/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_46_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/49/image_06042025_21_49_26_10520.jpg
/home/pi/Desktop/images/06042025/21/49/image_06042025_21_49_36_9348.jpg
/home/pi/Desktop/images/06042025/21/49/image_06042025_21_50_06_10459.jpg
/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_26_9423.jpg
/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_36_10507.jpg
/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_46_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352003051","1352002987","1352002963","1352002995","1352003054","1352002944"],"photo_ids_order":["1352002944","1352002963","1352002987","1352002995","1352003051","1352003054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc07125cc5ff2e5fcadf026b07a3fa8d.jpg","text":"TemporaryFile(/tmp/multipartBody7629702565135652422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414413786,"filename":"image_06042025_21_50_36_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0653f73fc3c6340c7fd5c9d76a395d6.jpg","text":"TemporaryFile(/tmp/multipartBody422978471959447299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414413786,"filename":"image_06042025_21_50_06_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/433b74815773cc9fc9c698565b1e4fb5.jpg","text":"TemporaryFile(/tmp/multipartBody616039587882121373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414413786,"filename":"image_06042025_21_49_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f73a061f4f46eab68f2797bd36f30d5d.jpg","text":"TemporaryFile(/tmp/multipartBody2315720730686889413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414413786,"filename":"image_06042025_21_50_26_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad227abc096e6bec5a7eb626012e0317.jpg","text":"TemporaryFile(/tmp/multipartBody8587853786248896446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414413786,"filename":"image_06042025_21_50_46_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ac34d86c56e0cc71c99f8248bd98297.jpg","text":"TemporaryFile(/tmp/multipartBody770888796482622152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414413786,"filename":"image_06042025_21_49_26_10520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352002987","file1":"1352002963","file0":"1352002944","file4":"1352003051","file5":"1352003054","file3":"1352002995"},"map_files_photo_id_array":[{"photo_id":"1352003054","filename":"file5"},{"photo_id":"1352002987","filename":"file2"},{"photo_id":"1352003051","filename":"file4"},{"photo_id":"1352002963","filename":"file1"},{"photo_id":"1352002944","filename":"file0"},{"photo_id":"1352002995","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352003051":["hashtag1","hashtag2"]},{"1352002987":["hashtag1","hashtag2"]},{"1352002963":["hashtag1","hashtag2"]},{"1352002995":["hashtag1","hashtag2"]},{"1352003054":["hashtag1","hashtag2"]},{"1352002944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352003051, 1352002987, 1352002963, 1352002995, 1352003054, 1352002944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00261688232422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:33:32.419706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_56_10423.jpg', '/home/pi/Desktop/images/06042025/21/51/image_06042025_21_51_16_10448.jpg', '/home/pi/Desktop/images/06042025/21/51/image_06042025_21_51_25_9428.jpg', '/home/pi/Desktop/images/06042025/21/51/image_06042025_21_51_36_10360.jpg', '/home/pi/Desktop/images/06042025/21/51/image_06042025_21_51_46_10423.jpg', '/home/pi/Desktop/images/06042025/21/52/image_06042025_21_52_46_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/50/image_06042025_21_50_56_10423.jpg
/home/pi/Desktop/images/06042025/21/51/image_06042025_21_51_16_10448.jpg
/home/pi/Desktop/images/06042025/21/51/image_06042025_21_51_25_9428.jpg
/home/pi/Desktop/images/06042025/21/51/image_06042025_21_51_36_10360.jpg
/home/pi/Desktop/images/06042025/21/51/image_06042025_21_51_46_10423.jpg
/home/pi/Desktop/images/06042025/21/52/image_06042025_21_52_46_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352003318","1352003587","1352003680","1352003485","1352003269","1352003375"],"photo_ids_order":["1352003269","1352003318","1352003375","1352003485","1352003587","1352003680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0d3a123cafdc3da6af4473a00206243.jpg","text":"TemporaryFile(/tmp/multipartBody4048306834183545420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414473991,"filename":"image_06042025_21_51_16_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02c0b50803cdb9b9fa1b4b52d33b354e.jpg","text":"TemporaryFile(/tmp/multipartBody4146124449471205118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414473991,"filename":"image_06042025_21_51_46_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78d3fb5037bedca237658e5f00acbfc4.jpg","text":"TemporaryFile(/tmp/multipartBody1569329829438739931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414473991,"filename":"image_06042025_21_52_46_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46ed37383d301e124c6e1f93f3975f19.jpg","text":"TemporaryFile(/tmp/multipartBody6224066457764943801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414473991,"filename":"image_06042025_21_51_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da3c9c36807ab79bfeaba5bed204f1a2.jpg","text":"TemporaryFile(/tmp/multipartBody4874424233335859545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414473991,"filename":"image_06042025_21_50_56_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8b789a110f40e940f424635e566a807.jpg","text":"TemporaryFile(/tmp/multipartBody6491584043729825387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414473991,"filename":"image_06042025_21_51_25_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352003375","file1":"1352003318","file0":"1352003269","file4":"1352003587","file5":"1352003680","file3":"1352003485"},"map_files_photo_id_array":[{"photo_id":"1352003680","filename":"file5"},{"photo_id":"1352003375","filename":"file2"},{"photo_id":"1352003587","filename":"file4"},{"photo_id":"1352003318","filename":"file1"},{"photo_id":"1352003269","filename":"file0"},{"photo_id":"1352003485","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352003318":["hashtag1","hashtag2"]},{"1352003587":["hashtag1","hashtag2"]},{"1352003680":["hashtag1","hashtag2"]},{"1352003485":["hashtag1","hashtag2"]},{"1352003269":["hashtag1","hashtag2"]},{"1352003375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352003318, 1352003587, 1352003680, 1352003485, 1352003269, 1352003375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40546751022339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:34:32.684679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/52/image_06042025_21_52_56_10369.jpg', '/home/pi/Desktop/images/06042025/21/52/image_06042025_21_53_06_10350.jpg', '/home/pi/Desktop/images/06042025/21/53/image_06042025_21_53_16_9353.jpg', '/home/pi/Desktop/images/06042025/21/53/image_06042025_21_53_36_9364.jpg', '/home/pi/Desktop/images/06042025/21/53/image_06042025_21_53_46_10511.jpg', '/home/pi/Desktop/images/06042025/21/53/image_06042025_21_53_56_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/52/image_06042025_21_52_56_10369.jpg
/home/pi/Desktop/images/06042025/21/52/image_06042025_21_53_06_10350.jpg
/home/pi/Desktop/images/06042025/21/53/image_06042025_21_53_16_9353.jpg
/home/pi/Desktop/images/06042025/21/53/image_06042025_21_53_36_9364.jpg
/home/pi/Desktop/images/06042025/21/53/image_06042025_21_53_46_10511.jpg
/home/pi/Desktop/images/06042025/21/53/image_06042025_21_53_56_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352004250","1352004148","1352004057","1352004105","1352004000","1352004200"],"photo_ids_order":["1352004000","1352004057","1352004105","1352004148","1352004200","1352004250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c70848367452df6cc86f29cf32b145db.jpg","text":"TemporaryFile(/tmp/multipartBody4097907352518733073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414534249,"filename":"image_06042025_21_53_56_9615.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5ee5b11835b7781b0ecb4461cb0262f.jpg","text":"TemporaryFile(/tmp/multipartBody1029331252897155396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414534249,"filename":"image_06042025_21_53_36_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a86e9cb529cefa544d72689e9f0e23c.jpg","text":"TemporaryFile(/tmp/multipartBody1118485988845889299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414534249,"filename":"image_06042025_21_53_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/701b6110c5dc46f3f80b3923c5ba6f8d.jpg","text":"TemporaryFile(/tmp/multipartBody7314807284893497536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414534249,"filename":"image_06042025_21_53_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/438aed74e38c5404f8de296e5c45d7a7.jpg","text":"TemporaryFile(/tmp/multipartBody2343797292110056028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414534249,"filename":"image_06042025_21_52_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/325690305aba4dc4b133a7fe124732ba.jpg","text":"TemporaryFile(/tmp/multipartBody3560460966244451731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414534249,"filename":"image_06042025_21_53_46_10511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352004105","file1":"1352004057","file0":"1352004000","file4":"1352004200","file5":"1352004250","file3":"1352004148"},"map_files_photo_id_array":[{"photo_id":"1352004250","filename":"file5"},{"photo_id":"1352004105","filename":"file2"},{"photo_id":"1352004200","filename":"file4"},{"photo_id":"1352004057","filename":"file1"},{"photo_id":"1352004000","filename":"file0"},{"photo_id":"1352004148","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352004250":["hashtag1","hashtag2"]},{"1352004148":["hashtag1","hashtag2"]},{"1352004057":["hashtag1","hashtag2"]},{"1352004105":["hashtag1","hashtag2"]},{"1352004000":["hashtag1","hashtag2"]},{"1352004200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352004250, 1352004148, 1352004057, 1352004105, 1352004000, 1352004200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.860013008117676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:35:32.910035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/53/image_06042025_21_54_06_10431.jpg', '/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_16_9393.jpg', '/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_26_10397.jpg', '/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_36_10361.jpg', '/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_46_9378.jpg', '/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_56_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/53/image_06042025_21_54_06_10431.jpg
/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_16_9393.jpg
/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_26_10397.jpg
/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_36_10361.jpg
/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_46_9378.jpg
/home/pi/Desktop/images/06042025/21/54/image_06042025_21_54_56_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352004696","1352004666","1352004621","1352004776","1352004749","1352004793"],"photo_ids_order":["1352004621","1352004666","1352004696","1352004749","1352004776","1352004793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/148d683f9a9fa5706efe551e0f66d159.jpg","text":"TemporaryFile(/tmp/multipartBody6905933418761225889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414594477,"filename":"image_06042025_21_54_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e81ccac816bc07ab50ef9a4d90a46299.jpg","text":"TemporaryFile(/tmp/multipartBody3179479676809057837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414594477,"filename":"image_06042025_21_54_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/735f52da5f58bb2a111892ecc6eb1287.jpg","text":"TemporaryFile(/tmp/multipartBody6160472996429304402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414594477,"filename":"image_06042025_21_54_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ee2f01eb220457158cbccb495b8a41e.jpg","text":"TemporaryFile(/tmp/multipartBody7509650963336216840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414594477,"filename":"image_06042025_21_54_46_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/865ce6a97e8eca7b931b64dec132d004.jpg","text":"TemporaryFile(/tmp/multipartBody3533231314587366785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414594477,"filename":"image_06042025_21_54_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e81bfcc565658dfe691df8b13b39429.jpg","text":"TemporaryFile(/tmp/multipartBody3520403846971990295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414594477,"filename":"image_06042025_21_54_56_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352004696","file1":"1352004666","file0":"1352004621","file4":"1352004776","file5":"1352004793","file3":"1352004749"},"map_files_photo_id_array":[{"photo_id":"1352004793","filename":"file5"},{"photo_id":"1352004696","filename":"file2"},{"photo_id":"1352004776","filename":"file4"},{"photo_id":"1352004666","filename":"file1"},{"photo_id":"1352004621","filename":"file0"},{"photo_id":"1352004749","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352004696":["hashtag1","hashtag2"]},{"1352004666":["hashtag1","hashtag2"]},{"1352004621":["hashtag1","hashtag2"]},{"1352004776":["hashtag1","hashtag2"]},{"1352004749":["hashtag1","hashtag2"]},{"1352004793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352004696, 1352004666, 1352004621, 1352004776, 1352004749, 1352004793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42730641365051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:36:33.064680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/54/image_06042025_21_55_05_9358.jpg', '/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_16_10365.jpg', '/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_26_10483.jpg', '/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_36_9336.jpg', '/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_46_10439.jpg', '/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_55_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/54/image_06042025_21_55_05_9358.jpg
/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_16_10365.jpg
/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_26_10483.jpg
/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_36_9336.jpg
/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_46_10439.jpg
/home/pi/Desktop/images/06042025/21/55/image_06042025_21_55_55_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352005408","1352005365","1352005434","1352005314","1352005241","1352005198"],"photo_ids_order":["1352005198","1352005241","1352005314","1352005365","1352005408","1352005434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/413be5a07faa7ba1d29bad80d85834eb.jpg","text":"TemporaryFile(/tmp/multipartBody313358565452163689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414654644,"filename":"image_06042025_21_55_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/767401bbb073094ef92cc09ee137d367.jpg","text":"TemporaryFile(/tmp/multipartBody9093124770213479143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414654644,"filename":"image_06042025_21_55_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdc0e993d02b859b828000e23115932e.jpg","text":"TemporaryFile(/tmp/multipartBody7329525598293215985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414654644,"filename":"image_06042025_21_55_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1972cec0e0a0377036a3340646dda123.jpg","text":"TemporaryFile(/tmp/multipartBody773127447599210884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414654644,"filename":"image_06042025_21_55_26_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a281a46d646c5ac89c7e8b88d47b305f.jpg","text":"TemporaryFile(/tmp/multipartBody9212115297457019795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414654644,"filename":"image_06042025_21_55_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f03ee91cfd966139386cbcb05b46b3e.jpg","text":"TemporaryFile(/tmp/multipartBody2788730773010937990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414654644,"filename":"image_06042025_21_55_05_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352005314","file1":"1352005241","file0":"1352005198","file4":"1352005408","file5":"1352005434","file3":"1352005365"},"map_files_photo_id_array":[{"photo_id":"1352005434","filename":"file5"},{"photo_id":"1352005314","filename":"file2"},{"photo_id":"1352005408","filename":"file4"},{"photo_id":"1352005241","filename":"file1"},{"photo_id":"1352005198","filename":"file0"},{"photo_id":"1352005365","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352005408":["hashtag1","hashtag2"]},{"1352005365":["hashtag1","hashtag2"]},{"1352005434":["hashtag1","hashtag2"]},{"1352005314":["hashtag1","hashtag2"]},{"1352005241":["hashtag1","hashtag2"]},{"1352005198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352005408, 1352005365, 1352005434, 1352005314, 1352005241, 1352005198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24302959442139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:37:32.197210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/55/image_06042025_21_56_06_10347.jpg', '/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_16_10454.jpg', '/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_26_9368.jpg', '/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_36_10403.jpg', '/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_45_9445.jpg', '/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/55/image_06042025_21_56_06_10347.jpg
/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_16_10454.jpg
/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_26_9368.jpg
/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_36_10403.jpg
/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_45_9445.jpg
/home/pi/Desktop/images/06042025/21/56/image_06042025_21_56_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352006154","1352005743","1352005943","1352005766","1352005736","1352005840"],"photo_ids_order":["1352005736","1352005743","1352005766","1352005840","1352005943","1352006154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff84f205e8a96f60e5413161a8f56211.jpg","text":"TemporaryFile(/tmp/multipartBody4930195976603271979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414713793,"filename":"image_06042025_21_56_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8507830e4e07cbb0a85d93623ef4c1e3.jpg","text":"TemporaryFile(/tmp/multipartBody6464709058450898954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414713793,"filename":"image_06042025_21_56_16_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4b8803b6c140b6b5b2c57220e4359f6.jpg","text":"TemporaryFile(/tmp/multipartBody7798065110602929137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414713793,"filename":"image_06042025_21_56_45_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62a4f3ba451f59d0a3901e675d46f9e7.jpg","text":"TemporaryFile(/tmp/multipartBody3838221467782771579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414713793,"filename":"image_06042025_21_56_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/262f861f788ece79c2c83004f24c8b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6861602293863540956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414713793,"filename":"image_06042025_21_56_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b477c0c33aa26c9f79433c563256df3.jpg","text":"TemporaryFile(/tmp/multipartBody3743219067213648340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414713793,"filename":"image_06042025_21_56_36_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352005766","file1":"1352005743","file0":"1352005736","file4":"1352005943","file5":"1352006154","file3":"1352005840"},"map_files_photo_id_array":[{"photo_id":"1352006154","filename":"file5"},{"photo_id":"1352005766","filename":"file2"},{"photo_id":"1352005943","filename":"file4"},{"photo_id":"1352005743","filename":"file1"},{"photo_id":"1352005736","filename":"file0"},{"photo_id":"1352005840","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352006154":["hashtag1","hashtag2"]},{"1352005743":["hashtag1","hashtag2"]},{"1352005943":["hashtag1","hashtag2"]},{"1352005766":["hashtag1","hashtag2"]},{"1352005736":["hashtag1","hashtag2"]},{"1352005840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352006154, 1352005743, 1352005943, 1352005766, 1352005736, 1352005840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.349127531051636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:38:32.655727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/56/image_06042025_21_57_06_10449.jpg', '/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_16_9355.jpg', '/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_26_10130.jpg', '/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_36_10470.jpg', '/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_46_9427.jpg', '/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/56/image_06042025_21_57_06_10449.jpg
/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_16_9355.jpg
/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_26_10130.jpg
/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_36_10470.jpg
/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_46_9427.jpg
/home/pi/Desktop/images/06042025/21/57/image_06042025_21_57_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352006871","1352006993","1352007122","1352007172","1352006936","1352007072"],"photo_ids_order":["1352006871","1352006936","1352006993","1352007072","1352007122","1352007172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7118b95eea82bdd604b912cba0843f25.jpg","text":"TemporaryFile(/tmp/multipartBody2741133935668351529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414774433,"filename":"image_06042025_21_57_06_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3783f38114685127ad7f83bfd8b0362c.jpg","text":"TemporaryFile(/tmp/multipartBody1066004314776176892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414774433,"filename":"image_06042025_21_57_26_10130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a16977af10becb65ca32464ea29071b.jpg","text":"TemporaryFile(/tmp/multipartBody7272493415566755718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414774433,"filename":"image_06042025_21_57_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df6b54bd5e56d1e76a2a42e891fd990c.jpg","text":"TemporaryFile(/tmp/multipartBody2867206362434141819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414774433,"filename":"image_06042025_21_57_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/608e8f87fdb924fd722aaf43dc702262.jpg","text":"TemporaryFile(/tmp/multipartBody8087932134302468996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414774433,"filename":"image_06042025_21_57_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99540454a20c226d3dc74343fa39a69f.jpg","text":"TemporaryFile(/tmp/multipartBody8550170618699152061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414774433,"filename":"image_06042025_21_57_36_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352006993","file1":"1352006936","file0":"1352006871","file4":"1352007122","file5":"1352007172","file3":"1352007072"},"map_files_photo_id_array":[{"photo_id":"1352007172","filename":"file5"},{"photo_id":"1352006993","filename":"file2"},{"photo_id":"1352007122","filename":"file4"},{"photo_id":"1352006936","filename":"file1"},{"photo_id":"1352006871","filename":"file0"},{"photo_id":"1352007072","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352006871":["hashtag1","hashtag2"]},{"1352006993":["hashtag1","hashtag2"]},{"1352007122":["hashtag1","hashtag2"]},{"1352007172":["hashtag1","hashtag2"]},{"1352006936":["hashtag1","hashtag2"]},{"1352007072":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352006871, 1352006993, 1352007122, 1352007172, 1352006936, 1352007072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08597683906555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:39:32.753285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/57/image_06042025_21_58_06_10364.jpg', '/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_16_9385.jpg', '/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_26_10469.jpg', '/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_36_9356.jpg', '/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_46_10342.jpg', '/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_56_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/57/image_06042025_21_58_06_10364.jpg
/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_16_9385.jpg
/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_26_10469.jpg
/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_36_9356.jpg
/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_46_10342.jpg
/home/pi/Desktop/images/06042025/21/58/image_06042025_21_58_56_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352007827","1352007781","1352007574","1352007687","1352007672","1352007834"],"photo_ids_order":["1352007574","1352007672","1352007687","1352007781","1352007827","1352007834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44b9638e40a35bb9d46f4b8712cf3cb1.jpg","text":"TemporaryFile(/tmp/multipartBody1885947290833041551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414834335,"filename":"image_06042025_21_58_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44a31080f9e7c76f2e56b7d8f12bcf0a.jpg","text":"TemporaryFile(/tmp/multipartBody5663420548496214439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414834335,"filename":"image_06042025_21_58_36_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7f9380f9197d5dac9f74814e03fefad.jpg","text":"TemporaryFile(/tmp/multipartBody5510235547121303762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414834335,"filename":"image_06042025_21_58_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/185f67f1bd8f4ede6f7fa62f1df6e7cf.jpg","text":"TemporaryFile(/tmp/multipartBody632282650280376636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414834335,"filename":"image_06042025_21_58_26_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca23e481c86e89e66bfe3af05a2f3a68.jpg","text":"TemporaryFile(/tmp/multipartBody417166026358908322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414834335,"filename":"image_06042025_21_58_16_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d275a02de947b407f89e2e0359469ac.jpg","text":"TemporaryFile(/tmp/multipartBody7617407932458995754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414834335,"filename":"image_06042025_21_58_56_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352007687","file1":"1352007672","file0":"1352007574","file4":"1352007827","file5":"1352007834","file3":"1352007781"},"map_files_photo_id_array":[{"photo_id":"1352007834","filename":"file5"},{"photo_id":"1352007687","filename":"file2"},{"photo_id":"1352007827","filename":"file4"},{"photo_id":"1352007672","filename":"file1"},{"photo_id":"1352007574","filename":"file0"},{"photo_id":"1352007781","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352007827":["hashtag1","hashtag2"]},{"1352007781":["hashtag1","hashtag2"]},{"1352007574":["hashtag1","hashtag2"]},{"1352007687":["hashtag1","hashtag2"]},{"1352007672":["hashtag1","hashtag2"]},{"1352007834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352007827, 1352007781, 1352007574, 1352007687, 1352007672, 1352007834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.688814878463745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:40:33.047981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/21/58/image_06042025_21_59_06_9333.jpg', '/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_16_10413.jpg', '/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_26_9415.jpg', '/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_36_10366.jpg', '/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_46_10397.jpg', '/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_56_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/21/58/image_06042025_21_59_06_9333.jpg
/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_16_10413.jpg
/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_26_9415.jpg
/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_36_10366.jpg
/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_46_10397.jpg
/home/pi/Desktop/images/06042025/21/59/image_06042025_21_59_56_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352008480","1352008576","1352008257","1352008620","1352008422","1352008350"],"photo_ids_order":["1352008257","1352008350","1352008422","1352008480","1352008576","1352008620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e034b5edd71f3d1ae7491a2bcb53aef.jpg","text":"TemporaryFile(/tmp/multipartBody8744617435073887573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414894628,"filename":"image_06042025_21_59_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38dcbd1e5b67e9af29f7f7a8484ee323.jpg","text":"TemporaryFile(/tmp/multipartBody1132168747423212212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414894628,"filename":"image_06042025_21_59_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1ba9b2820d0e8f1e2a23788f5aab6ed.jpg","text":"TemporaryFile(/tmp/multipartBody2143109866137250276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414894628,"filename":"image_06042025_21_59_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/696ed5783eeaeb99d035318a7a5fef25.jpg","text":"TemporaryFile(/tmp/multipartBody7608670831153631019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414894628,"filename":"image_06042025_21_59_56_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5455e488c454507bf289fd87f1c619d9.jpg","text":"TemporaryFile(/tmp/multipartBody4459879729032298286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414894628,"filename":"image_06042025_21_59_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cf4a4c841df9171d4ab69fd87b8cfc2.jpg","text":"TemporaryFile(/tmp/multipartBody3674428052501257899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414894628,"filename":"image_06042025_21_59_16_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352008422","file1":"1352008350","file0":"1352008257","file4":"1352008576","file5":"1352008620","file3":"1352008480"},"map_files_photo_id_array":[{"photo_id":"1352008620","filename":"file5"},{"photo_id":"1352008422","filename":"file2"},{"photo_id":"1352008576","filename":"file4"},{"photo_id":"1352008350","filename":"file1"},{"photo_id":"1352008257","filename":"file0"},{"photo_id":"1352008480","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352008480":["hashtag1","hashtag2"]},{"1352008576":["hashtag1","hashtag2"]},{"1352008257":["hashtag1","hashtag2"]},{"1352008620":["hashtag1","hashtag2"]},{"1352008422":["hashtag1","hashtag2"]},{"1352008350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352008480, 1352008576, 1352008257, 1352008620, 1352008422, 1352008350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06208896636963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:41:32.242649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/00/image_06042025_22_00_16_10073.jpg', '/home/pi/Desktop/images/06042025/22/00/image_06042025_22_00_27_10385.jpg', '/home/pi/Desktop/images/06042025/22/00/image_06042025_22_00_37_10358.jpg', '/home/pi/Desktop/images/06042025/22/00/image_06042025_22_00_46_9403.jpg', '/home/pi/Desktop/images/06042025/22/00/image_06042025_22_01_06_9352.jpg', '/home/pi/Desktop/images/06042025/22/01/image_06042025_22_01_17_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/00/image_06042025_22_00_16_10073.jpg
/home/pi/Desktop/images/06042025/22/00/image_06042025_22_00_27_10385.jpg
/home/pi/Desktop/images/06042025/22/00/image_06042025_22_00_37_10358.jpg
/home/pi/Desktop/images/06042025/22/00/image_06042025_22_00_46_9403.jpg
/home/pi/Desktop/images/06042025/22/00/image_06042025_22_01_06_9352.jpg
/home/pi/Desktop/images/06042025/22/01/image_06042025_22_01_17_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352009033","1352008859","1352008993","1352008927","1352009072","1352008895"],"photo_ids_order":["1352008859","1352008895","1352008927","1352008993","1352009033","1352009072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16d6b7da66df520840be870fe1088e8c.jpg","text":"TemporaryFile(/tmp/multipartBody753139933646984006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414953826,"filename":"image_06042025_22_01_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ca25546617f5466c91102c3097a802f.jpg","text":"TemporaryFile(/tmp/multipartBody2949109583663991970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414953826,"filename":"image_06042025_22_00_16_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f1610639b7eb63191851578f9f6abc6.jpg","text":"TemporaryFile(/tmp/multipartBody1720526889274032637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414953826,"filename":"image_06042025_22_00_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a86cac8597f6ab00f8bf33526a54e6ee.jpg","text":"TemporaryFile(/tmp/multipartBody7944764672061252572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414953826,"filename":"image_06042025_22_00_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f19b6e2b80200d771004b2786b6dbe4.jpg","text":"TemporaryFile(/tmp/multipartBody7739209743930464624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414953826,"filename":"image_06042025_22_01_17_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e9ecd3072bc07e545c5797843e1617a.jpg","text":"TemporaryFile(/tmp/multipartBody8695700584670172638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744414953826,"filename":"image_06042025_22_00_27_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352008927","file1":"1352008895","file0":"1352008859","file4":"1352009033","file5":"1352009072","file3":"1352008993"},"map_files_photo_id_array":[{"photo_id":"1352009072","filename":"file5"},{"photo_id":"1352008927","filename":"file2"},{"photo_id":"1352009033","filename":"file4"},{"photo_id":"1352008895","filename":"file1"},{"photo_id":"1352008859","filename":"file0"},{"photo_id":"1352008993","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352009033":["hashtag1","hashtag2"]},{"1352008859":["hashtag1","hashtag2"]},{"1352008993":["hashtag1","hashtag2"]},{"1352008927":["hashtag1","hashtag2"]},{"1352009072":["hashtag1","hashtag2"]},{"1352008895":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352009033, 1352008859, 1352008993, 1352008927, 1352009072, 1352008895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31712055206299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:42:32.402207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/01/image_06042025_22_01_27_10381.jpg', '/home/pi/Desktop/images/06042025/22/01/image_06042025_22_01_47_10410.jpg', '/home/pi/Desktop/images/06042025/22/01/image_06042025_22_01_56_9374.jpg', '/home/pi/Desktop/images/06042025/22/01/image_06042025_22_02_06_10355.jpg', '/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_17_10365.jpg', '/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_26_9513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/01/image_06042025_22_01_27_10381.jpg
/home/pi/Desktop/images/06042025/22/01/image_06042025_22_01_47_10410.jpg
/home/pi/Desktop/images/06042025/22/01/image_06042025_22_01_56_9374.jpg
/home/pi/Desktop/images/06042025/22/01/image_06042025_22_02_06_10355.jpg
/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_17_10365.jpg
/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_26_9513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352009596","1352009683","1352009417","1352009764","1352009466","1352009537"],"photo_ids_order":["1352009417","1352009466","1352009537","1352009596","1352009683","1352009764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8cb3afe13dee28e08fb7ee515e8f7224.jpg","text":"TemporaryFile(/tmp/multipartBody8297282775929184997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415013971,"filename":"image_06042025_22_02_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90733933c857a41fc5ce9d625aac1ff5.jpg","text":"TemporaryFile(/tmp/multipartBody872352053058033747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415013971,"filename":"image_06042025_22_02_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5afe67636aa939aa3fbf2076e95857c3.jpg","text":"TemporaryFile(/tmp/multipartBody2590072264646550435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415013971,"filename":"image_06042025_22_01_27_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/421b41c4fff78a0828626985eea66acb.jpg","text":"TemporaryFile(/tmp/multipartBody69745961092293217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415013971,"filename":"image_06042025_22_02_26_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07ec55d57f9842f60c6f0e9035c2e3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4311256145764702064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415013971,"filename":"image_06042025_22_01_47_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42620f554a08fd000b3420c22063e6da.jpg","text":"TemporaryFile(/tmp/multipartBody8958674230402685145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415013971,"filename":"image_06042025_22_01_56_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352009537","file1":"1352009466","file0":"1352009417","file4":"1352009683","file5":"1352009764","file3":"1352009596"},"map_files_photo_id_array":[{"photo_id":"1352009764","filename":"file5"},{"photo_id":"1352009537","filename":"file2"},{"photo_id":"1352009683","filename":"file4"},{"photo_id":"1352009466","filename":"file1"},{"photo_id":"1352009417","filename":"file0"},{"photo_id":"1352009596","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352009596":["hashtag1","hashtag2"]},{"1352009683":["hashtag1","hashtag2"]},{"1352009417":["hashtag1","hashtag2"]},{"1352009764":["hashtag1","hashtag2"]},{"1352009466":["hashtag1","hashtag2"]},{"1352009537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352009596, 1352009683, 1352009417, 1352009764, 1352009466, 1352009537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65337109565735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:43:32.670941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_37_10365.jpg', '/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_46_9421.jpg', '/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_56_10404.jpg', '/home/pi/Desktop/images/06042025/22/02/image_06042025_22_03_07_10352.jpg', '/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_16_9446.jpg', '/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_27_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_37_10365.jpg
/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_46_9421.jpg
/home/pi/Desktop/images/06042025/22/02/image_06042025_22_02_56_10404.jpg
/home/pi/Desktop/images/06042025/22/02/image_06042025_22_03_07_10352.jpg
/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_16_9446.jpg
/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_27_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352010122","1352010292","1352010193","1352010345","1352010240","1352010318"],"photo_ids_order":["1352010122","1352010193","1352010240","1352010292","1352010318","1352010345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/402cf0798b913c2d7e4ea9209d8bb1ac.jpg","text":"TemporaryFile(/tmp/multipartBody7230919488356721827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415074242,"filename":"image_06042025_22_02_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa49fca3cd94ec0ae7853e151cf1dc4a.jpg","text":"TemporaryFile(/tmp/multipartBody562825915238521013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415074242,"filename":"image_06042025_22_03_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/219078147ca56e88d4a78d82c434dd7c.jpg","text":"TemporaryFile(/tmp/multipartBody3574658014304897362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415074242,"filename":"image_06042025_22_02_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2690915413737e738afb18a6d46424c.jpg","text":"TemporaryFile(/tmp/multipartBody4635380153175597093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415074242,"filename":"image_06042025_22_03_27_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7eea5811cf90f2993763b3c4240e1ccf.jpg","text":"TemporaryFile(/tmp/multipartBody1568738007187685748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415074242,"filename":"image_06042025_22_02_56_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cdf9a5d162aa551ee8c392bcc2f0d79c.jpg","text":"TemporaryFile(/tmp/multipartBody1689067328581206142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415074242,"filename":"image_06042025_22_03_16_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352010240","file1":"1352010193","file0":"1352010122","file4":"1352010318","file5":"1352010345","file3":"1352010292"},"map_files_photo_id_array":[{"photo_id":"1352010345","filename":"file5"},{"photo_id":"1352010240","filename":"file2"},{"photo_id":"1352010318","filename":"file4"},{"photo_id":"1352010193","filename":"file1"},{"photo_id":"1352010122","filename":"file0"},{"photo_id":"1352010292","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352010122":["hashtag1","hashtag2"]},{"1352010292":["hashtag1","hashtag2"]},{"1352010193":["hashtag1","hashtag2"]},{"1352010345":["hashtag1","hashtag2"]},{"1352010240":["hashtag1","hashtag2"]},{"1352010318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352010122, 1352010292, 1352010193, 1352010345, 1352010240, 1352010318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03500151634216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:44:32.802350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_37_10373.jpg', '/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_46_9364.jpg', '/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_57_10457.jpg', '/home/pi/Desktop/images/06042025/22/03/image_06042025_22_04_06_9450.jpg', '/home/pi/Desktop/images/06042025/22/04/image_06042025_22_04_17_10357.jpg', '/home/pi/Desktop/images/06042025/22/04/image_06042025_22_04_47_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_37_10373.jpg
/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_46_9364.jpg
/home/pi/Desktop/images/06042025/22/03/image_06042025_22_03_57_10457.jpg
/home/pi/Desktop/images/06042025/22/03/image_06042025_22_04_06_9450.jpg
/home/pi/Desktop/images/06042025/22/04/image_06042025_22_04_17_10357.jpg
/home/pi/Desktop/images/06042025/22/04/image_06042025_22_04_47_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352011269","1352011056","1352010966","1352011215","1352011154","1352011553"],"photo_ids_order":["1352010966","1352011056","1352011154","1352011215","1352011269","1352011553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4e1f8363d926db798e36d011a0e35a2.jpg","text":"TemporaryFile(/tmp/multipartBody9094643151624698499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415134369,"filename":"image_06042025_22_04_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09ef6035eb9bd70f1f704030b9c9eafc.jpg","text":"TemporaryFile(/tmp/multipartBody7061025525926823857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415134369,"filename":"image_06042025_22_03_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a68ceede7293ea92361c0eb6bf2066c.jpg","text":"TemporaryFile(/tmp/multipartBody4865631805638304688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415134369,"filename":"image_06042025_22_03_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a38e863248634d27cd3d76c9a8606cae.jpg","text":"TemporaryFile(/tmp/multipartBody1730698210773664087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415134369,"filename":"image_06042025_22_04_06_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c274eeb76ae844aa5a4022802bdeef9.jpg","text":"TemporaryFile(/tmp/multipartBody8089808383465515747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415134369,"filename":"image_06042025_22_03_57_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3fa310e183a8031a3e5bde27850870a.jpg","text":"TemporaryFile(/tmp/multipartBody8989690216370410815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415134369,"filename":"image_06042025_22_04_47_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352011154","file1":"1352011056","file0":"1352010966","file4":"1352011269","file5":"1352011553","file3":"1352011215"},"map_files_photo_id_array":[{"photo_id":"1352011553","filename":"file5"},{"photo_id":"1352011154","filename":"file2"},{"photo_id":"1352011269","filename":"file4"},{"photo_id":"1352011056","filename":"file1"},{"photo_id":"1352010966","filename":"file0"},{"photo_id":"1352011215","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352011269":["hashtag1","hashtag2"]},{"1352011056":["hashtag1","hashtag2"]},{"1352010966":["hashtag1","hashtag2"]},{"1352011215":["hashtag1","hashtag2"]},{"1352011154":["hashtag1","hashtag2"]},{"1352011553":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352011269, 1352011056, 1352010966, 1352011215, 1352011154, 1352011553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.057862281799316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:45:32.977275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/04/image_06042025_22_04_56_9503.jpg', '/home/pi/Desktop/images/06042025/22/04/image_06042025_22_05_07_10351.jpg', '/home/pi/Desktop/images/06042025/22/05/image_06042025_22_05_17_10381.jpg', '/home/pi/Desktop/images/06042025/22/05/image_06042025_22_05_37_10358.jpg', '/home/pi/Desktop/images/06042025/22/05/image_06042025_22_05_46_9510.jpg', '/home/pi/Desktop/images/06042025/22/05/image_06042025_22_05_57_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/04/image_06042025_22_04_56_9503.jpg
/home/pi/Desktop/images/06042025/22/04/image_06042025_22_05_07_10351.jpg
/home/pi/Desktop/images/06042025/22/05/image_06042025_22_05_17_10381.jpg
/home/pi/Desktop/images/06042025/22/05/image_06042025_22_05_37_10358.jpg
/home/pi/Desktop/images/06042025/22/05/image_06042025_22_05_46_9510.jpg
/home/pi/Desktop/images/06042025/22/05/image_06042025_22_05_57_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352012068","1352012151","1352011900","1352012252","1352011841","1352011970"],"photo_ids_order":["1352011841","1352011900","1352011970","1352012068","1352012151","1352012252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fe58cf567432993beedf8d1709f787c.jpg","text":"TemporaryFile(/tmp/multipartBody4919737232927266378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415194568,"filename":"image_06042025_22_05_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5fc16fdfeff0212748a0b6e2cd63249.jpg","text":"TemporaryFile(/tmp/multipartBody5031056491537651872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415194568,"filename":"image_06042025_22_05_46_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8580d4849abdbc6a1005e74e8818e462.jpg","text":"TemporaryFile(/tmp/multipartBody8763925858452007720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415194568,"filename":"image_06042025_22_05_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32cfc669006926da4fcbdc47597553f8.jpg","text":"TemporaryFile(/tmp/multipartBody1503536819448910029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415194568,"filename":"image_06042025_22_05_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66cf99b6f2e9df163dd7064adf1cc51c.jpg","text":"TemporaryFile(/tmp/multipartBody5158105586230183372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415194568,"filename":"image_06042025_22_04_56_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d8199e4424cf08e7e4acf224904f9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3078230319832192502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415194568,"filename":"image_06042025_22_05_17_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352011970","file1":"1352011900","file0":"1352011841","file4":"1352012151","file5":"1352012252","file3":"1352012068"},"map_files_photo_id_array":[{"photo_id":"1352012252","filename":"file5"},{"photo_id":"1352011970","filename":"file2"},{"photo_id":"1352012151","filename":"file4"},{"photo_id":"1352011900","filename":"file1"},{"photo_id":"1352011841","filename":"file0"},{"photo_id":"1352012068","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352012068":["hashtag1","hashtag2"]},{"1352012151":["hashtag1","hashtag2"]},{"1352011900":["hashtag1","hashtag2"]},{"1352012252":["hashtag1","hashtag2"]},{"1352011841":["hashtag1","hashtag2"]},{"1352011970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352012068, 1352012151, 1352011900, 1352012252, 1352011841, 1352011970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77271032333374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:46:32.193626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/06/image_06042025_22_06_27_10407.jpg', '/home/pi/Desktop/images/06042025/22/06/image_06042025_22_06_47_10379.jpg', '/home/pi/Desktop/images/06042025/22/06/image_06042025_22_06_56_9509.jpg', '/home/pi/Desktop/images/06042025/22/06/image_06042025_22_07_07_10347.jpg', '/home/pi/Desktop/images/06042025/22/07/image_06042025_22_07_17_10356.jpg', '/home/pi/Desktop/images/06042025/22/07/image_06042025_22_07_26_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/06/image_06042025_22_06_27_10407.jpg
/home/pi/Desktop/images/06042025/22/06/image_06042025_22_06_47_10379.jpg
/home/pi/Desktop/images/06042025/22/06/image_06042025_22_06_56_9509.jpg
/home/pi/Desktop/images/06042025/22/06/image_06042025_22_07_07_10347.jpg
/home/pi/Desktop/images/06042025/22/07/image_06042025_22_07_17_10356.jpg
/home/pi/Desktop/images/06042025/22/07/image_06042025_22_07_26_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352012935","1352012743","1352012778","1352012823","1352012754","1352012709"],"photo_ids_order":["1352012709","1352012743","1352012754","1352012778","1352012823","1352012935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e1005448da02eb7099bb243099c33d0.jpg","text":"TemporaryFile(/tmp/multipartBody5664131350223561084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415253816,"filename":"image_06042025_22_07_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c30de98875e53a254651b10d46909a7f.jpg","text":"TemporaryFile(/tmp/multipartBody657223239569312208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415253816,"filename":"image_06042025_22_06_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/899521e49137a4c8e6ee21d3598a87db.jpg","text":"TemporaryFile(/tmp/multipartBody8519064361996544882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415253816,"filename":"image_06042025_22_07_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4aa799c7fe9610efee0112dc36909db8.jpg","text":"TemporaryFile(/tmp/multipartBody3720391509189302829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415253816,"filename":"image_06042025_22_07_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7be49245a363070d83cfc705682b969.jpg","text":"TemporaryFile(/tmp/multipartBody7706837053961691315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415253816,"filename":"image_06042025_22_06_56_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dcefadb56097ec2e3d500dbc60bcf669.jpg","text":"TemporaryFile(/tmp/multipartBody8433062964845772634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415253816,"filename":"image_06042025_22_06_27_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352012754","file1":"1352012743","file0":"1352012709","file4":"1352012823","file5":"1352012935","file3":"1352012778"},"map_files_photo_id_array":[{"photo_id":"1352012935","filename":"file5"},{"photo_id":"1352012754","filename":"file2"},{"photo_id":"1352012823","filename":"file4"},{"photo_id":"1352012743","filename":"file1"},{"photo_id":"1352012709","filename":"file0"},{"photo_id":"1352012778","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352012935":["hashtag1","hashtag2"]},{"1352012743":["hashtag1","hashtag2"]},{"1352012778":["hashtag1","hashtag2"]},{"1352012823":["hashtag1","hashtag2"]},{"1352012754":["hashtag1","hashtag2"]},{"1352012709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352012935, 1352012743, 1352012778, 1352012823, 1352012754, 1352012709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.778188943862915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 01:47:42.332249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/07/image_06042025_22_07_37_10369.jpg', '/home/pi/Desktop/images/06042025/22/07/image_06042025_22_07_46_9500.jpg', '/home/pi/Desktop/images/06042025/22/07/image_06042025_22_08_07_10390.jpg', '/home/pi/Desktop/images/06042025/22/08/image_06042025_22_08_16_9351.jpg', '/home/pi/Desktop/images/06042025/22/08/image_06042025_22_08_36_9457.jpg', '/home/pi/Desktop/images/06042025/22/08/image_06042025_22_08_47_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/07/image_06042025_22_07_37_10369.jpg
/home/pi/Desktop/images/06042025/22/07/image_06042025_22_07_46_9500.jpg
/home/pi/Desktop/images/06042025/22/07/image_06042025_22_08_07_10390.jpg
/home/pi/Desktop/images/06042025/22/08/image_06042025_22_08_16_9351.jpg
/home/pi/Desktop/images/06042025/22/08/image_06042025_22_08_36_9457.jpg
/home/pi/Desktop/images/06042025/22/08/image_06042025_22_08_47_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352013202","1352013147","1352013144","1352013119","1352013175","1352013259"],"photo_ids_order":["1352013119","1352013144","1352013147","1352013175","1352013202","1352013259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c78e4fb1053046716a539ab38b742df3.jpg","text":"TemporaryFile(/tmp/multipartBody4696379841594430763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415323058,"filename":"image_06042025_22_08_36_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/465e119c0b3ec8c23ee485af6711821b.jpg","text":"TemporaryFile(/tmp/multipartBody4668643157895189880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415323058,"filename":"image_06042025_22_08_07_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b5d20c19bee0ab47d86e53bb6e6b8b3.jpg","text":"TemporaryFile(/tmp/multipartBody5916822739351068096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415323058,"filename":"image_06042025_22_07_46_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24daadc526c845d88e37af13755a3597.jpg","text":"TemporaryFile(/tmp/multipartBody8360962296944059135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415323058,"filename":"image_06042025_22_07_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5733dad4e4197e1ba597eea766d8b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2141367858153268801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415323058,"filename":"image_06042025_22_08_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e40699e63b75020dec154e7a82a85871.jpg","text":"TemporaryFile(/tmp/multipartBody8356931698386972689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415323058,"filename":"image_06042025_22_08_47_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352013147","file1":"1352013144","file0":"1352013119","file4":"1352013202","file5":"1352013259","file3":"1352013175"},"map_files_photo_id_array":[{"photo_id":"1352013259","filename":"file5"},{"photo_id":"1352013147","filename":"file2"},{"photo_id":"1352013202","filename":"file4"},{"photo_id":"1352013144","filename":"file1"},{"photo_id":"1352013119","filename":"file0"},{"photo_id":"1352013175","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352013202":["hashtag1","hashtag2"]},{"1352013147":["hashtag1","hashtag2"]},{"1352013144":["hashtag1","hashtag2"]},{"1352013119":["hashtag1","hashtag2"]},{"1352013175":["hashtag1","hashtag2"]},{"1352013259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352013202, 1352013147, 1352013144, 1352013119, 1352013175, 1352013259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.422802448272705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:48:32.504240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/08/image_06042025_22_08_57_10351.jpg', '/home/pi/Desktop/images/06042025/22/08/image_06042025_22_09_06_9329.jpg', '/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_17_10343.jpg', '/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_27_10365.jpg', '/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_36_9361.jpg', '/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_47_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/08/image_06042025_22_08_57_10351.jpg
/home/pi/Desktop/images/06042025/22/08/image_06042025_22_09_06_9329.jpg
/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_17_10343.jpg
/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_27_10365.jpg
/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_36_9361.jpg
/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_47_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352013505","1352013548","1352013422","1352013452","1352013478","1352013574"],"photo_ids_order":["1352013422","1352013452","1352013478","1352013505","1352013548","1352013574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4d2bfc9f1a35383400a5621621c734e.jpg","text":"TemporaryFile(/tmp/multipartBody1653942887039509679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415374089,"filename":"image_06042025_22_09_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b61fe211ab81824c508734c8d226703.jpg","text":"TemporaryFile(/tmp/multipartBody8168950463637074930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415374089,"filename":"image_06042025_22_09_36_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8f9bb821fe3c83c0a1629318a480c34.jpg","text":"TemporaryFile(/tmp/multipartBody4549393848698851484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415374089,"filename":"image_06042025_22_08_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47785daf4ed8982a2e329189a578a5e1.jpg","text":"TemporaryFile(/tmp/multipartBody2705724689252102735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415374089,"filename":"image_06042025_22_09_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bcd9c3630d1d1bf7d3d72934452875d.jpg","text":"TemporaryFile(/tmp/multipartBody8976649022767572190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415374089,"filename":"image_06042025_22_09_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af410d8625ff6d30463607288f2d90ea.jpg","text":"TemporaryFile(/tmp/multipartBody599665704909534077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415374089,"filename":"image_06042025_22_09_47_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352013478","file1":"1352013452","file0":"1352013422","file4":"1352013548","file5":"1352013574","file3":"1352013505"},"map_files_photo_id_array":[{"photo_id":"1352013574","filename":"file5"},{"photo_id":"1352013478","filename":"file2"},{"photo_id":"1352013548","filename":"file4"},{"photo_id":"1352013452","filename":"file1"},{"photo_id":"1352013422","filename":"file0"},{"photo_id":"1352013505","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352013505":["hashtag1","hashtag2"]},{"1352013548":["hashtag1","hashtag2"]},{"1352013422":["hashtag1","hashtag2"]},{"1352013452":["hashtag1","hashtag2"]},{"1352013478":["hashtag1","hashtag2"]},{"1352013574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352013505, 1352013548, 1352013422, 1352013452, 1352013478, 1352013574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.43736147880554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:49:32.720331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_56_9351.jpg', '/home/pi/Desktop/images/06042025/22/09/image_06042025_22_10_07_10466.jpg', '/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_17_10438.jpg', '/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_27_9469.jpg', '/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_37_10453.jpg', '/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_46_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/09/image_06042025_22_09_56_9351.jpg
/home/pi/Desktop/images/06042025/22/09/image_06042025_22_10_07_10466.jpg
/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_17_10438.jpg
/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_27_9469.jpg
/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_37_10453.jpg
/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_46_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352013981","1352014029","1352013876","1352013962","1352013956","1352013796"],"photo_ids_order":["1352013796","1352013876","1352013956","1352013962","1352013981","1352014029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/689d842a4ab9c28d05706a2202d995c0.jpg","text":"TemporaryFile(/tmp/multipartBody3445514811657568014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415434289,"filename":"image_06042025_22_10_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4af73310f070eea8453af1292620073.jpg","text":"TemporaryFile(/tmp/multipartBody4963764759147824935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415434289,"filename":"image_06042025_22_10_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73a5b1f0a0b5cf0c6d6a0bac9a776a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4858528367824870708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415434289,"filename":"image_06042025_22_10_07_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27bab6cb2d48495250b2ec53017783a9.jpg","text":"TemporaryFile(/tmp/multipartBody82958444354093059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415434289,"filename":"image_06042025_22_10_27_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd7c1f08c1c0945ba65e67e00b3b9169.jpg","text":"TemporaryFile(/tmp/multipartBody2066290379715193201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415434289,"filename":"image_06042025_22_10_17_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/681f3c69286db48b8ba01a36c70d688f.jpg","text":"TemporaryFile(/tmp/multipartBody3831768178473755384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415434289,"filename":"image_06042025_22_09_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352013956","file1":"1352013876","file0":"1352013796","file4":"1352013981","file5":"1352014029","file3":"1352013962"},"map_files_photo_id_array":[{"photo_id":"1352014029","filename":"file5"},{"photo_id":"1352013956","filename":"file2"},{"photo_id":"1352013981","filename":"file4"},{"photo_id":"1352013876","filename":"file1"},{"photo_id":"1352013796","filename":"file0"},{"photo_id":"1352013962","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352013981":["hashtag1","hashtag2"]},{"1352014029":["hashtag1","hashtag2"]},{"1352013876":["hashtag1","hashtag2"]},{"1352013962":["hashtag1","hashtag2"]},{"1352013956":["hashtag1","hashtag2"]},{"1352013796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352013981, 1352014029, 1352013876, 1352013962, 1352013956, 1352013796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.29745888710022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:50:33.075059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_57_10430.jpg', '/home/pi/Desktop/images/06042025/22/10/image_06042025_22_11_06_9339.jpg', '/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_17_10443.jpg', '/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_27_10402.jpg', '/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_36_9345.jpg', '/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_47_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/10/image_06042025_22_10_57_10430.jpg
/home/pi/Desktop/images/06042025/22/10/image_06042025_22_11_06_9339.jpg
/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_17_10443.jpg
/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_27_10402.jpg
/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_36_9345.jpg
/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_47_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352014092","1352014139","1352014304","1352014133","1352014177","1352014225"],"photo_ids_order":["1352014092","1352014133","1352014139","1352014177","1352014225","1352014304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13b46fa66f81afddf70643be707fab12.jpg","text":"TemporaryFile(/tmp/multipartBody6708140574161599408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415494644,"filename":"image_06042025_22_10_57_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1fc0d472abf531608a05c4632dd2f82.jpg","text":"TemporaryFile(/tmp/multipartBody4453298893836442725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415494644,"filename":"image_06042025_22_11_17_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/803ac66d72a7bbcd96ede24aa935a13a.jpg","text":"TemporaryFile(/tmp/multipartBody8030924429060152492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415494644,"filename":"image_06042025_22_11_47_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77d141136bc45485e6cd30c863e725b3.jpg","text":"TemporaryFile(/tmp/multipartBody9173379587174174420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415494644,"filename":"image_06042025_22_11_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e019478beed5819b5d2e32b30ba3ebb.jpg","text":"TemporaryFile(/tmp/multipartBody2608523105066196658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415494644,"filename":"image_06042025_22_11_27_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/989f62a60ce3b367b99d04b9ffe855a6.jpg","text":"TemporaryFile(/tmp/multipartBody2093613939605942822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415494644,"filename":"image_06042025_22_11_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352014139","file1":"1352014133","file0":"1352014092","file4":"1352014225","file5":"1352014304","file3":"1352014177"},"map_files_photo_id_array":[{"photo_id":"1352014304","filename":"file5"},{"photo_id":"1352014139","filename":"file2"},{"photo_id":"1352014225","filename":"file4"},{"photo_id":"1352014133","filename":"file1"},{"photo_id":"1352014092","filename":"file0"},{"photo_id":"1352014177","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352014092":["hashtag1","hashtag2"]},{"1352014139":["hashtag1","hashtag2"]},{"1352014304":["hashtag1","hashtag2"]},{"1352014133":["hashtag1","hashtag2"]},{"1352014177":["hashtag1","hashtag2"]},{"1352014225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352014092, 1352014139, 1352014304, 1352014133, 1352014177, 1352014225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7441930770874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:51:32.330331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_56_9339.jpg', '/home/pi/Desktop/images/06042025/22/11/image_06042025_22_12_06_10371.jpg', '/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_17_10467.jpg', '/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_26_9428.jpg', '/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_37_10348.jpg', '/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_46_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/11/image_06042025_22_11_56_9339.jpg
/home/pi/Desktop/images/06042025/22/11/image_06042025_22_12_06_10371.jpg
/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_17_10467.jpg
/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_26_9428.jpg
/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_37_10348.jpg
/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_46_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352015100","1352015066","1352015054","1352015057","1352015061","1352015052"],"photo_ids_order":["1352015052","1352015054","1352015057","1352015061","1352015066","1352015100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0ba952bc1d75b8b7f9c0124e6e1302d.jpg","text":"TemporaryFile(/tmp/multipartBody2798725705885955242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415553913,"filename":"image_06042025_22_12_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/adf7251a8ebbbe3ed5d52bb2ca16f7bc.jpg","text":"TemporaryFile(/tmp/multipartBody7384840834672435026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415553913,"filename":"image_06042025_22_12_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c96ed4ff2a58533ffd7d3fbc0a97e9f.jpg","text":"TemporaryFile(/tmp/multipartBody4981560404601320242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415553913,"filename":"image_06042025_22_12_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2370137e5f1864cdb72c8a2f79b26bf.jpg","text":"TemporaryFile(/tmp/multipartBody1027095170802228437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415553913,"filename":"image_06042025_22_12_17_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d58159eb6a76e069c9ee32bdfa32ff22.jpg","text":"TemporaryFile(/tmp/multipartBody8676214770899705730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415553913,"filename":"image_06042025_22_12_26_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cdbb4c9249970b09c93b310dc5ccd4c8.jpg","text":"TemporaryFile(/tmp/multipartBody6131969902653012605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415553913,"filename":"image_06042025_22_11_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015057","file1":"1352015054","file0":"1352015052","file4":"1352015066","file5":"1352015100","file3":"1352015061"},"map_files_photo_id_array":[{"photo_id":"1352015100","filename":"file5"},{"photo_id":"1352015057","filename":"file2"},{"photo_id":"1352015066","filename":"file4"},{"photo_id":"1352015054","filename":"file1"},{"photo_id":"1352015052","filename":"file0"},{"photo_id":"1352015061","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352015100":["hashtag1","hashtag2"]},{"1352015066":["hashtag1","hashtag2"]},{"1352015054":["hashtag1","hashtag2"]},{"1352015057":["hashtag1","hashtag2"]},{"1352015061":["hashtag1","hashtag2"]},{"1352015052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352015100, 1352015066, 1352015054, 1352015057, 1352015061, 1352015052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.437825202941895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:52:32.394893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_57_10445.jpg', '/home/pi/Desktop/images/06042025/22/12/image_06042025_22_13_07_10381.jpg', '/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_16_9493.jpg', '/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_27_10453.jpg', '/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_36_9468.jpg', '/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_47_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/12/image_06042025_22_12_57_10445.jpg
/home/pi/Desktop/images/06042025/22/12/image_06042025_22_13_07_10381.jpg
/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_16_9493.jpg
/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_27_10453.jpg
/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_36_9468.jpg
/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_47_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352015523","1352015363","1352015531","1352015408","1352015506","1352015391"],"photo_ids_order":["1352015363","1352015391","1352015408","1352015506","1352015523","1352015531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d21218d37c5215d4cb6e26f7b932e06.jpg","text":"TemporaryFile(/tmp/multipartBody3364289552419534952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415613964,"filename":"image_06042025_22_13_36_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e3e9439c072a4264ae428c066b3a81d.jpg","text":"TemporaryFile(/tmp/multipartBody4579762917888129679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415613964,"filename":"image_06042025_22_12_57_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d8b729074710abc0898469920958a1a.jpg","text":"TemporaryFile(/tmp/multipartBody579250163276375080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415613964,"filename":"image_06042025_22_13_47_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f356d2cb037eefe1fa399815ebae5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1607245178488855977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415613964,"filename":"image_06042025_22_13_16_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c70c766b340f74e28f5c68e32f694165.jpg","text":"TemporaryFile(/tmp/multipartBody9201647473875923187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415613964,"filename":"image_06042025_22_13_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4571b0d3744e83190e7f79a495617212.jpg","text":"TemporaryFile(/tmp/multipartBody2216428756669206830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415613964,"filename":"image_06042025_22_13_07_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015408","file1":"1352015391","file0":"1352015363","file4":"1352015523","file5":"1352015531","file3":"1352015506"},"map_files_photo_id_array":[{"photo_id":"1352015531","filename":"file5"},{"photo_id":"1352015408","filename":"file2"},{"photo_id":"1352015523","filename":"file4"},{"photo_id":"1352015391","filename":"file1"},{"photo_id":"1352015363","filename":"file0"},{"photo_id":"1352015506","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352015523":["hashtag1","hashtag2"]},{"1352015363":["hashtag1","hashtag2"]},{"1352015531":["hashtag1","hashtag2"]},{"1352015408":["hashtag1","hashtag2"]},{"1352015506":["hashtag1","hashtag2"]},{"1352015391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352015523, 1352015363, 1352015531, 1352015408, 1352015506, 1352015391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85349941253662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:53:32.641628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_56_9353.jpg', '/home/pi/Desktop/images/06042025/22/13/image_06042025_22_14_06_10361.jpg', '/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_17_10409.jpg', '/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_26_9486.jpg', '/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_37_10420.jpg', '/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_46_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/13/image_06042025_22_13_56_9353.jpg
/home/pi/Desktop/images/06042025/22/13/image_06042025_22_14_06_10361.jpg
/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_17_10409.jpg
/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_26_9486.jpg
/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_37_10420.jpg
/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_46_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352015657","1352015636","1352015627","1352015662","1352015643","1352015652"],"photo_ids_order":["1352015627","1352015636","1352015643","1352015652","1352015657","1352015662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1431d22e3883c6761a05e21a4ad34da6.jpg","text":"TemporaryFile(/tmp/multipartBody5904257511749596366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415674225,"filename":"image_06042025_22_14_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d77954c3742275e29a3aa5d490c414e6.jpg","text":"TemporaryFile(/tmp/multipartBody122905372615555477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415674225,"filename":"image_06042025_22_14_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd975336c932085c99ebbfa4893ef409.jpg","text":"TemporaryFile(/tmp/multipartBody392694819556738311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415674225,"filename":"image_06042025_22_13_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a50a0284050b397530e6d9336b161ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4482045589216345862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415674225,"filename":"image_06042025_22_14_46_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/948a43414a13b0a0ef78c7f5819fb772.jpg","text":"TemporaryFile(/tmp/multipartBody7605817743314818989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415674225,"filename":"image_06042025_22_14_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/beab0113ab150c0f19b2c8bb4064fb2b.jpg","text":"TemporaryFile(/tmp/multipartBody7618481988713182523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415674225,"filename":"image_06042025_22_14_26_9486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015643","file1":"1352015636","file0":"1352015627","file4":"1352015657","file5":"1352015662","file3":"1352015652"},"map_files_photo_id_array":[{"photo_id":"1352015662","filename":"file5"},{"photo_id":"1352015643","filename":"file2"},{"photo_id":"1352015657","filename":"file4"},{"photo_id":"1352015636","filename":"file1"},{"photo_id":"1352015627","filename":"file0"},{"photo_id":"1352015652","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352015657":["hashtag1","hashtag2"]},{"1352015636":["hashtag1","hashtag2"]},{"1352015627":["hashtag1","hashtag2"]},{"1352015662":["hashtag1","hashtag2"]},{"1352015643":["hashtag1","hashtag2"]},{"1352015652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352015657, 1352015636, 1352015627, 1352015662, 1352015643, 1352015652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5737419128418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:54:32.701241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_57_10429.jpg', '/home/pi/Desktop/images/06042025/22/14/image_06042025_22_15_07_10334.jpg', '/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_16_9443.jpg', '/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_27_10368.jpg', '/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_36_9523.jpg', '/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_47_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/14/image_06042025_22_14_57_10429.jpg
/home/pi/Desktop/images/06042025/22/14/image_06042025_22_15_07_10334.jpg
/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_16_9443.jpg
/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_27_10368.jpg
/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_36_9523.jpg
/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_47_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352015792","1352015789","1352015794","1352015782","1352015755","1352015728"],"photo_ids_order":["1352015728","1352015755","1352015782","1352015789","1352015792","1352015794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f90ddaa25f8046a65f291ef107e83ff1.jpg","text":"TemporaryFile(/tmp/multipartBody4629961151428174779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415734276,"filename":"image_06042025_22_15_36_9523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2959593a47076c29b7b4c4ceb45c1c1.jpg","text":"TemporaryFile(/tmp/multipartBody6954529792012399041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415734276,"filename":"image_06042025_22_15_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/524be973777603412f4a2e819be30d14.jpg","text":"TemporaryFile(/tmp/multipartBody4368977418991165650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415734276,"filename":"image_06042025_22_15_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05ec254e602667d0ff79510cb474bca2.jpg","text":"TemporaryFile(/tmp/multipartBody708919487776293694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415734276,"filename":"image_06042025_22_15_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/963f5cb0ad41fa73c35a1032c8b87723.jpg","text":"TemporaryFile(/tmp/multipartBody968031411132790162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415734276,"filename":"image_06042025_22_15_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0068b9e68097c47299da8a581de4141.jpg","text":"TemporaryFile(/tmp/multipartBody3222982058582226082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415734276,"filename":"image_06042025_22_14_57_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015782","file1":"1352015755","file0":"1352015728","file4":"1352015792","file5":"1352015794","file3":"1352015789"},"map_files_photo_id_array":[{"photo_id":"1352015794","filename":"file5"},{"photo_id":"1352015782","filename":"file2"},{"photo_id":"1352015792","filename":"file4"},{"photo_id":"1352015755","filename":"file1"},{"photo_id":"1352015728","filename":"file0"},{"photo_id":"1352015789","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352015792":["hashtag1","hashtag2"]},{"1352015789":["hashtag1","hashtag2"]},{"1352015794":["hashtag1","hashtag2"]},{"1352015782":["hashtag1","hashtag2"]},{"1352015755":["hashtag1","hashtag2"]},{"1352015728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352015792, 1352015789, 1352015794, 1352015782, 1352015755, 1352015728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40256452560425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:55:33.136594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_56_9421.jpg', '/home/pi/Desktop/images/06042025/22/15/image_06042025_22_16_06_10363.jpg', '/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_17_10415.jpg', '/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_26_9430.jpg', '/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_37_10349.jpg', '/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_46_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/15/image_06042025_22_15_56_9421.jpg
/home/pi/Desktop/images/06042025/22/15/image_06042025_22_16_06_10363.jpg
/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_17_10415.jpg
/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_26_9430.jpg
/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_37_10349.jpg
/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_46_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352015829","1352015833","1352015835","1352015838","1352015847","1352015832"],"photo_ids_order":["1352015829","1352015832","1352015833","1352015835","1352015838","1352015847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0b25dba90f1c51ae456323038006f0d.jpg","text":"TemporaryFile(/tmp/multipartBody3959673511011618093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415794711,"filename":"image_06042025_22_15_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b4ed890775a225bf7ba97a95ca2b44b.jpg","text":"TemporaryFile(/tmp/multipartBody4666689233915475506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415794711,"filename":"image_06042025_22_16_17_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b4b22125088b3ea56bbaf90379f7b41.jpg","text":"TemporaryFile(/tmp/multipartBody6040225997621644010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415794711,"filename":"image_06042025_22_16_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c70b93af2630550790415b75d6ac5c13.jpg","text":"TemporaryFile(/tmp/multipartBody2597880647767858319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415794711,"filename":"image_06042025_22_16_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45288a27f9d24cc5ac3d0a2969bacaf1.jpg","text":"TemporaryFile(/tmp/multipartBody6868685153344416070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415794711,"filename":"image_06042025_22_16_46_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e590a1aa961f9c3b011d68861ba6cbae.jpg","text":"TemporaryFile(/tmp/multipartBody2040781638139961766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415794711,"filename":"image_06042025_22_16_06_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015833","file1":"1352015832","file0":"1352015829","file4":"1352015838","file5":"1352015847","file3":"1352015835"},"map_files_photo_id_array":[{"photo_id":"1352015847","filename":"file5"},{"photo_id":"1352015833","filename":"file2"},{"photo_id":"1352015838","filename":"file4"},{"photo_id":"1352015832","filename":"file1"},{"photo_id":"1352015829","filename":"file0"},{"photo_id":"1352015835","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352015829":["hashtag1","hashtag2"]},{"1352015833":["hashtag1","hashtag2"]},{"1352015835":["hashtag1","hashtag2"]},{"1352015838":["hashtag1","hashtag2"]},{"1352015847":["hashtag1","hashtag2"]},{"1352015832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352015829, 1352015833, 1352015835, 1352015838, 1352015847, 1352015832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.42773747444153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:56:32.253735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_57_10454.jpg', '/home/pi/Desktop/images/06042025/22/16/image_06042025_22_17_07_10412.jpg', '/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_16_9411.jpg', '/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_27_10410.jpg', '/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_36_9348.jpg', '/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_47_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/16/image_06042025_22_16_57_10454.jpg
/home/pi/Desktop/images/06042025/22/16/image_06042025_22_17_07_10412.jpg
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_16_9411.jpg
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_27_10410.jpg
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_36_9348.jpg
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_47_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352015888","1352015887","1352015881","1352015878","1352015886","1352015874"],"photo_ids_order":["1352015874","1352015878","1352015881","1352015886","1352015887","1352015888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/225152de2dabfc30fd0582835bce584d.jpg","text":"TemporaryFile(/tmp/multipartBody1195934267287054049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415853857,"filename":"image_06042025_22_17_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/149eb589ef452ff370c32dd6a925602e.jpg","text":"TemporaryFile(/tmp/multipartBody8312556213084303194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415853857,"filename":"image_06042025_22_17_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb744cc8cc7a9a020e28987821d854ce.jpg","text":"TemporaryFile(/tmp/multipartBody82469464763001975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415853857,"filename":"image_06042025_22_17_16_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da91003889cfa08b5103c08943a97565.jpg","text":"TemporaryFile(/tmp/multipartBody1465916588579363452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415853857,"filename":"image_06042025_22_17_07_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b84a23a80a4211d43882fb14cb5d8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2705848474480929421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415853857,"filename":"image_06042025_22_17_27_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/000144be7d00d197bb0fb235ad7ff1d4.jpg","text":"TemporaryFile(/tmp/multipartBody7651998519925497382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744415853857,"filename":"image_06042025_22_16_57_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352015881","file1":"1352015878","file0":"1352015874","file4":"1352015887","file5":"1352015888","file3":"1352015886"},"map_files_photo_id_array":[{"photo_id":"1352015888","filename":"file5"},{"photo_id":"1352015881","filename":"file2"},{"photo_id":"1352015887","filename":"file4"},{"photo_id":"1352015878","filename":"file1"},{"photo_id":"1352015874","filename":"file0"},{"photo_id":"1352015886","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352015888":["hashtag1","hashtag2"]},{"1352015887":["hashtag1","hashtag2"]},{"1352015881":["hashtag1","hashtag2"]},{"1352015878":["hashtag1","hashtag2"]},{"1352015886":["hashtag1","hashtag2"]},{"1352015874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352015888, 1352015887, 1352015881, 1352015878, 1352015886, 1352015874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.891761302948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:57:32.487852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_57_10360.jpg', '/home/pi/Desktop/images/06042025/22/17/image_06042025_22_18_06_9458.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_17_10413.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_26_9477.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_37_10431.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_19_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_57_10360.jpg
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_18_06_9458.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_17_10413.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_26_9477.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_37_10431.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_19_07_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 01:59:04.005554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_57_10360.jpg', '/home/pi/Desktop/images/06042025/22/17/image_06042025_22_18_06_9458.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_17_10413.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_26_9477.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_37_10431.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_19_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_57_10360.jpg
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_18_06_9458.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_17_10413.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_26_9477.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_37_10431.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_19_07_10355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6515192985534668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 01:59:33.237058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_57_10360.jpg', '/home/pi/Desktop/images/06042025/22/17/image_06042025_22_18_06_9458.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_17_10413.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_26_9477.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_37_10431.jpg', '/home/pi/Desktop/images/06042025/22/18/image_06042025_22_19_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_17_57_10360.jpg
/home/pi/Desktop/images/06042025/22/17/image_06042025_22_18_06_9458.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_17_10413.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_26_9477.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_18_37_10431.jpg
/home/pi/Desktop/images/06042025/22/18/image_06042025_22_19_07_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352016856","1352016907","1352016831","1352016732","1352016705","1352016785"],"photo_ids_order":["1352016705","1352016732","1352016785","1352016831","1352016856","1352016907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2211c4634671cc96edcda92ff44764e.jpg","text":"TemporaryFile(/tmp/multipartBody7321583418029027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416034722,"filename":"image_06042025_22_18_37_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2804b6e2a9dd13010f3d89754b995e77.jpg","text":"TemporaryFile(/tmp/multipartBody43125557560413261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416034722,"filename":"image_06042025_22_19_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4aad4ac5d8db0e562dc0214a9fef8f9a.jpg","text":"TemporaryFile(/tmp/multipartBody8065047875001509625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416034722,"filename":"image_06042025_22_18_26_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dea787e978caf899d86df842d7cfc2c0.jpg","text":"TemporaryFile(/tmp/multipartBody2289544474571375329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416034722,"filename":"image_06042025_22_18_06_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19ff785b3b5b3f3e76a5509244de1bca.jpg","text":"TemporaryFile(/tmp/multipartBody8316453770537286071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416034722,"filename":"image_06042025_22_17_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd073fca85d5c55a142a34def34548cc.jpg","text":"TemporaryFile(/tmp/multipartBody6019057237989113338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416034722,"filename":"image_06042025_22_18_17_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352016785","file1":"1352016732","file0":"1352016705","file4":"1352016856","file5":"1352016907","file3":"1352016831"},"map_files_photo_id_array":[{"photo_id":"1352016907","filename":"file5"},{"photo_id":"1352016785","filename":"file2"},{"photo_id":"1352016856","filename":"file4"},{"photo_id":"1352016732","filename":"file1"},{"photo_id":"1352016705","filename":"file0"},{"photo_id":"1352016831","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352016856":["hashtag1","hashtag2"]},{"1352016907":["hashtag1","hashtag2"]},{"1352016831":["hashtag1","hashtag2"]},{"1352016732":["hashtag1","hashtag2"]},{"1352016705":["hashtag1","hashtag2"]},{"1352016785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352016856, 1352016907, 1352016831, 1352016732, 1352016705, 1352016785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83825898170471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:00:32.541101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_16_9356.jpg', '/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_26_10381.jpg', '/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_37_10346.jpg', '/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_46_9348.jpg', '/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_57_10448.jpg', '/home/pi/Desktop/images/06042025/22/19/image_06042025_22_20_07_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_16_9356.jpg
/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_26_10381.jpg
/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_37_10346.jpg
/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_46_9348.jpg
/home/pi/Desktop/images/06042025/22/19/image_06042025_22_19_57_10448.jpg
/home/pi/Desktop/images/06042025/22/19/image_06042025_22_20_07_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017214","1352017179","1352017116","1352017187","1352017241","1352017145"],"photo_ids_order":["1352017116","1352017145","1352017179","1352017187","1352017214","1352017241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0740e49b10350ec617a264bc0621120d.jpg","text":"TemporaryFile(/tmp/multipartBody1900237438158877469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416094140,"filename":"image_06042025_22_19_57_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/857b5df1d3543bb9adafbb5ecdb22626.jpg","text":"TemporaryFile(/tmp/multipartBody6321619037450255591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416094140,"filename":"image_06042025_22_19_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7ac1c766b98f320dfb369db8f1098a3.jpg","text":"TemporaryFile(/tmp/multipartBody6977064942036332014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416094140,"filename":"image_06042025_22_19_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5bdd97d54fcf5869aeccd668dc538c05.jpg","text":"TemporaryFile(/tmp/multipartBody6868359513824522762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416094140,"filename":"image_06042025_22_19_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7334f540d26892a836cbc89dde5d7cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8306561117078477929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416094140,"filename":"image_06042025_22_20_07_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6fd09399a674d5c6c89be9f98b136ea.jpg","text":"TemporaryFile(/tmp/multipartBody8315234657047795471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416094140,"filename":"image_06042025_22_19_26_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017179","file1":"1352017145","file0":"1352017116","file4":"1352017214","file5":"1352017241","file3":"1352017187"},"map_files_photo_id_array":[{"photo_id":"1352017241","filename":"file5"},{"photo_id":"1352017179","filename":"file2"},{"photo_id":"1352017214","filename":"file4"},{"photo_id":"1352017145","filename":"file1"},{"photo_id":"1352017116","filename":"file0"},{"photo_id":"1352017187","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352017214":["hashtag1","hashtag2"]},{"1352017179":["hashtag1","hashtag2"]},{"1352017116":["hashtag1","hashtag2"]},{"1352017187":["hashtag1","hashtag2"]},{"1352017241":["hashtag1","hashtag2"]},{"1352017145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352017214, 1352017179, 1352017116, 1352017187, 1352017241, 1352017145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27090048789978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:01:32.748524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/20/image_06042025_22_20_16_9515.jpg', '/home/pi/Desktop/images/06042025/22/20/image_06042025_22_20_27_10375.jpg', '/home/pi/Desktop/images/06042025/22/20/image_06042025_22_20_36_9453.jpg', '/home/pi/Desktop/images/06042025/22/20/image_06042025_22_20_47_10371.jpg', '/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_17_10386.jpg', '/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_26_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/20/image_06042025_22_20_16_9515.jpg
/home/pi/Desktop/images/06042025/22/20/image_06042025_22_20_27_10375.jpg
/home/pi/Desktop/images/06042025/22/20/image_06042025_22_20_36_9453.jpg
/home/pi/Desktop/images/06042025/22/20/image_06042025_22_20_47_10371.jpg
/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_17_10386.jpg
/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_26_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017519","1352017732","1352017695","1352017668","1352017728","1352017716"],"photo_ids_order":["1352017519","1352017668","1352017695","1352017716","1352017728","1352017732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea986610ba224a7d506183a2d639bcda.jpg","text":"TemporaryFile(/tmp/multipartBody7956077570873342326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416154334,"filename":"image_06042025_22_20_16_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2aaf7edf2aea5eabcf5587f11609d60.jpg","text":"TemporaryFile(/tmp/multipartBody4275728688850341700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416154334,"filename":"image_06042025_22_21_26_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37a7f85b26cc70dbd204d324df0c66bc.jpg","text":"TemporaryFile(/tmp/multipartBody7231028197883337065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416154334,"filename":"image_06042025_22_20_36_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8403af4e134b5ac6017385b277acf13a.jpg","text":"TemporaryFile(/tmp/multipartBody2573368751874436949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416154334,"filename":"image_06042025_22_20_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/278534d027aadad184ee0007282826b3.jpg","text":"TemporaryFile(/tmp/multipartBody2301011960026820230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416154334,"filename":"image_06042025_22_21_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a66be3d683c0803cfe9f2022560e4024.jpg","text":"TemporaryFile(/tmp/multipartBody6164948641008708957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416154334,"filename":"image_06042025_22_20_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017695","file1":"1352017668","file0":"1352017519","file4":"1352017728","file5":"1352017732","file3":"1352017716"},"map_files_photo_id_array":[{"photo_id":"1352017732","filename":"file5"},{"photo_id":"1352017695","filename":"file2"},{"photo_id":"1352017728","filename":"file4"},{"photo_id":"1352017668","filename":"file1"},{"photo_id":"1352017519","filename":"file0"},{"photo_id":"1352017716","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352017519":["hashtag1","hashtag2"]},{"1352017732":["hashtag1","hashtag2"]},{"1352017695":["hashtag1","hashtag2"]},{"1352017668":["hashtag1","hashtag2"]},{"1352017728":["hashtag1","hashtag2"]},{"1352017716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352017519, 1352017732, 1352017695, 1352017668, 1352017728, 1352017716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00950217247009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:02:32.779262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_37_10358.jpg', '/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_47_10370.jpg', '/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_56_9430.jpg', '/home/pi/Desktop/images/06042025/22/21/image_06042025_22_22_07_10417.jpg', '/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_16_9418.jpg', '/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_27_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_37_10358.jpg
/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_47_10370.jpg
/home/pi/Desktop/images/06042025/22/21/image_06042025_22_21_56_9430.jpg
/home/pi/Desktop/images/06042025/22/21/image_06042025_22_22_07_10417.jpg
/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_16_9418.jpg
/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_27_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352017939","1352017867","1352017839","1352017947","1352017914","1352017931"],"photo_ids_order":["1352017839","1352017867","1352017914","1352017931","1352017939","1352017947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47419d53b5f0fe9b22774a8f04f04c1f.jpg","text":"TemporaryFile(/tmp/multipartBody636776305951014629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416214364,"filename":"image_06042025_22_22_16_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a662e005d2da7a7ed60be993e3342c1e.jpg","text":"TemporaryFile(/tmp/multipartBody3231438872784060681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416214364,"filename":"image_06042025_22_21_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f098f397adca300b202f23b464fa90cf.jpg","text":"TemporaryFile(/tmp/multipartBody7784189823094071698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416214364,"filename":"image_06042025_22_21_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78e78eb276f4e4b57ce1c4f1105dc922.jpg","text":"TemporaryFile(/tmp/multipartBody79255662775392121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416214364,"filename":"image_06042025_22_22_27_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/127662a644288be1aaaa3d695cbfdadd.jpg","text":"TemporaryFile(/tmp/multipartBody7099363351477249505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416214364,"filename":"image_06042025_22_21_56_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/403c10a9c206b15cc070aa562b09f799.jpg","text":"TemporaryFile(/tmp/multipartBody724492587398339680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416214364,"filename":"image_06042025_22_22_07_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352017914","file1":"1352017867","file0":"1352017839","file4":"1352017939","file5":"1352017947","file3":"1352017931"},"map_files_photo_id_array":[{"photo_id":"1352017947","filename":"file5"},{"photo_id":"1352017914","filename":"file2"},{"photo_id":"1352017939","filename":"file4"},{"photo_id":"1352017867","filename":"file1"},{"photo_id":"1352017839","filename":"file0"},{"photo_id":"1352017931","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352017939":["hashtag1","hashtag2"]},{"1352017867":["hashtag1","hashtag2"]},{"1352017839":["hashtag1","hashtag2"]},{"1352017947":["hashtag1","hashtag2"]},{"1352017914":["hashtag1","hashtag2"]},{"1352017931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352017939, 1352017867, 1352017839, 1352017947, 1352017914, 1352017931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.357576847076416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:03:33.005361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_37_10347.jpg', '/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_46_9360.jpg', '/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_57_10421.jpg', '/home/pi/Desktop/images/06042025/22/22/image_06042025_22_23_06_9448.jpg', '/home/pi/Desktop/images/06042025/22/23/image_06042025_22_23_17_10367.jpg', '/home/pi/Desktop/images/06042025/22/23/image_06042025_22_23_36_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_37_10347.jpg
/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_46_9360.jpg
/home/pi/Desktop/images/06042025/22/22/image_06042025_22_22_57_10421.jpg
/home/pi/Desktop/images/06042025/22/22/image_06042025_22_23_06_9448.jpg
/home/pi/Desktop/images/06042025/22/23/image_06042025_22_23_17_10367.jpg
/home/pi/Desktop/images/06042025/22/23/image_06042025_22_23_36_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352018071","1352018065","1352018059","1352018076","1352018079","1352018063"],"photo_ids_order":["1352018059","1352018063","1352018065","1352018071","1352018076","1352018079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94ca34e3be475dc814c21f8116b75aa5.jpg","text":"TemporaryFile(/tmp/multipartBody1774031093672165870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416274569,"filename":"image_06042025_22_23_06_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c0ea2d00d5987f04eb649e2ec9c5176.jpg","text":"TemporaryFile(/tmp/multipartBody7365501788849284068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416274569,"filename":"image_06042025_22_22_57_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea240307be95387af071eea404939d27.jpg","text":"TemporaryFile(/tmp/multipartBody2160715191989777413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416274569,"filename":"image_06042025_22_22_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/587d2f4c041c6715ec136d44d955745d.jpg","text":"TemporaryFile(/tmp/multipartBody8674967932572216455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416274569,"filename":"image_06042025_22_23_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/228bdff97fc612df7e94d45f7f2d9e11.jpg","text":"TemporaryFile(/tmp/multipartBody5461761465711996177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416274569,"filename":"image_06042025_22_23_36_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2cff43271e00fb886b550717e9584141.jpg","text":"TemporaryFile(/tmp/multipartBody2989633488936139216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416274569,"filename":"image_06042025_22_22_46_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018065","file1":"1352018063","file0":"1352018059","file4":"1352018076","file5":"1352018079","file3":"1352018071"},"map_files_photo_id_array":[{"photo_id":"1352018079","filename":"file5"},{"photo_id":"1352018065","filename":"file2"},{"photo_id":"1352018076","filename":"file4"},{"photo_id":"1352018063","filename":"file1"},{"photo_id":"1352018059","filename":"file0"},{"photo_id":"1352018071","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352018071":["hashtag1","hashtag2"]},{"1352018065":["hashtag1","hashtag2"]},{"1352018059":["hashtag1","hashtag2"]},{"1352018076":["hashtag1","hashtag2"]},{"1352018079":["hashtag1","hashtag2"]},{"1352018063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352018071, 1352018065, 1352018059, 1352018076, 1352018079, 1352018063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84751009941101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:04:32.224085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/23/image_06042025_22_23_47_10375.jpg', '/home/pi/Desktop/images/06042025/22/23/image_06042025_22_23_56_9370.jpg', '/home/pi/Desktop/images/06042025/22/23/image_06042025_22_24_07_10419.jpg', '/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_17_10414.jpg', '/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_26_9448.jpg', '/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_37_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/23/image_06042025_22_23_47_10375.jpg
/home/pi/Desktop/images/06042025/22/23/image_06042025_22_23_56_9370.jpg
/home/pi/Desktop/images/06042025/22/23/image_06042025_22_24_07_10419.jpg
/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_17_10414.jpg
/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_26_9448.jpg
/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_37_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352018185","1352018218","1352018196","1352018175","1352018234","1352018213"],"photo_ids_order":["1352018175","1352018185","1352018196","1352018213","1352018218","1352018234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a00bdc4688c23c3ee40a99af8114d96c.jpg","text":"TemporaryFile(/tmp/multipartBody1779983089590304673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416333816,"filename":"image_06042025_22_23_56_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd39e4dda4f7e9f6aad2327dc7af1723.jpg","text":"TemporaryFile(/tmp/multipartBody5482631880927170630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416333816,"filename":"image_06042025_22_24_26_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a31a28cf6f6cdb3a09fc8457cf50811.jpg","text":"TemporaryFile(/tmp/multipartBody5360460190758476620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416333816,"filename":"image_06042025_22_24_07_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3312dd1f88ed40a100393702a1edf256.jpg","text":"TemporaryFile(/tmp/multipartBody577388520742622557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416333816,"filename":"image_06042025_22_23_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/970225be5ae8699b4004c83e9975ccf7.jpg","text":"TemporaryFile(/tmp/multipartBody2647915876764450493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416333816,"filename":"image_06042025_22_24_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95e58f4b3a110889c3f70ad3b2feec5b.jpg","text":"TemporaryFile(/tmp/multipartBody957476085124832937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416333816,"filename":"image_06042025_22_24_17_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018196","file1":"1352018185","file0":"1352018175","file4":"1352018218","file5":"1352018234","file3":"1352018213"},"map_files_photo_id_array":[{"photo_id":"1352018234","filename":"file5"},{"photo_id":"1352018196","filename":"file2"},{"photo_id":"1352018218","filename":"file4"},{"photo_id":"1352018185","filename":"file1"},{"photo_id":"1352018175","filename":"file0"},{"photo_id":"1352018213","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352018185":["hashtag1","hashtag2"]},{"1352018218":["hashtag1","hashtag2"]},{"1352018196":["hashtag1","hashtag2"]},{"1352018175":["hashtag1","hashtag2"]},{"1352018234":["hashtag1","hashtag2"]},{"1352018213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352018185, 1352018218, 1352018196, 1352018175, 1352018234, 1352018213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80543231964111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:05:32.578978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_46_9479.jpg', '/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_57_10425.jpg', '/home/pi/Desktop/images/06042025/22/24/image_06042025_22_25_06_9433.jpg', '/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_16_10383.jpg', '/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_27_10357.jpg', '/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_36_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_46_9479.jpg
/home/pi/Desktop/images/06042025/22/24/image_06042025_22_24_57_10425.jpg
/home/pi/Desktop/images/06042025/22/24/image_06042025_22_25_06_9433.jpg
/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_16_10383.jpg
/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_27_10357.jpg
/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_36_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352018356","1352018370","1352018364","1352018310","1352018345","1352018330"],"photo_ids_order":["1352018310","1352018330","1352018345","1352018356","1352018364","1352018370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b73afab98e24bc44587723acf226a1d2.jpg","text":"TemporaryFile(/tmp/multipartBody6594857183411617599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416394146,"filename":"image_06042025_22_25_16_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/092f33d7eaa59cc8698dd230f57ade45.jpg","text":"TemporaryFile(/tmp/multipartBody5726095020083564182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416394146,"filename":"image_06042025_22_25_36_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4eaa677c2ad72dbcd814b2921c97d9c8.jpg","text":"TemporaryFile(/tmp/multipartBody2361290079384510891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416394146,"filename":"image_06042025_22_25_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65d2a46ad2f0f1532274213dbed9e6d7.jpg","text":"TemporaryFile(/tmp/multipartBody1446507421382532033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416394146,"filename":"image_06042025_22_24_46_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4bc23cd8449e2b08407dfeaffcc845c.jpg","text":"TemporaryFile(/tmp/multipartBody5731426805772129009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416394146,"filename":"image_06042025_22_25_06_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/307ef7bedbb02a8f1152be20f39e4daf.jpg","text":"TemporaryFile(/tmp/multipartBody5816826316937153395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416394146,"filename":"image_06042025_22_24_57_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018345","file1":"1352018330","file0":"1352018310","file4":"1352018364","file5":"1352018370","file3":"1352018356"},"map_files_photo_id_array":[{"photo_id":"1352018370","filename":"file5"},{"photo_id":"1352018345","filename":"file2"},{"photo_id":"1352018364","filename":"file4"},{"photo_id":"1352018330","filename":"file1"},{"photo_id":"1352018310","filename":"file0"},{"photo_id":"1352018356","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352018356":["hashtag1","hashtag2"]},{"1352018370":["hashtag1","hashtag2"]},{"1352018364":["hashtag1","hashtag2"]},{"1352018310":["hashtag1","hashtag2"]},{"1352018345":["hashtag1","hashtag2"]},{"1352018330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352018356, 1352018370, 1352018364, 1352018310, 1352018345, 1352018330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00931358337402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:06:32.721000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_47_10450.jpg', '/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_56_9429.jpg', '/home/pi/Desktop/images/06042025/22/25/image_06042025_22_26_06_10361.jpg', '/home/pi/Desktop/images/06042025/22/26/image_06042025_22_26_17_10352.jpg', '/home/pi/Desktop/images/06042025/22/26/image_06042025_22_26_26_9520.jpg', '/home/pi/Desktop/images/06042025/22/26/image_06042025_22_26_37_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_47_10450.jpg
/home/pi/Desktop/images/06042025/22/25/image_06042025_22_25_56_9429.jpg
/home/pi/Desktop/images/06042025/22/25/image_06042025_22_26_06_10361.jpg
/home/pi/Desktop/images/06042025/22/26/image_06042025_22_26_17_10352.jpg
/home/pi/Desktop/images/06042025/22/26/image_06042025_22_26_26_9520.jpg
/home/pi/Desktop/images/06042025/22/26/image_06042025_22_26_37_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352018413","1352018391","1352018418","1352018403","1352018399","1352018395"],"photo_ids_order":["1352018391","1352018395","1352018399","1352018403","1352018413","1352018418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/697334688b0b3850bf2b7fec9c443db4.jpg","text":"TemporaryFile(/tmp/multipartBody8095736153948825799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416454298,"filename":"image_06042025_22_26_26_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bb60ac5bfc90a17ed4ef691e448209d.jpg","text":"TemporaryFile(/tmp/multipartBody5404943765017164492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416454298,"filename":"image_06042025_22_25_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df790e947c7bc177a5fc82b0d818d20e.jpg","text":"TemporaryFile(/tmp/multipartBody7782164679068511209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416454298,"filename":"image_06042025_22_26_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c098b01b4cf2e0bd10c33c5e29cc6f60.jpg","text":"TemporaryFile(/tmp/multipartBody1737688784088180484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416454298,"filename":"image_06042025_22_26_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d87629573c55478e6465d3d328bf78f.jpg","text":"TemporaryFile(/tmp/multipartBody8076664612208949024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416454298,"filename":"image_06042025_22_26_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66e07939e370821f441e8878b3eedb62.jpg","text":"TemporaryFile(/tmp/multipartBody5202280686434265250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416454298,"filename":"image_06042025_22_25_56_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018399","file1":"1352018395","file0":"1352018391","file4":"1352018413","file5":"1352018418","file3":"1352018403"},"map_files_photo_id_array":[{"photo_id":"1352018418","filename":"file5"},{"photo_id":"1352018399","filename":"file2"},{"photo_id":"1352018413","filename":"file4"},{"photo_id":"1352018395","filename":"file1"},{"photo_id":"1352018391","filename":"file0"},{"photo_id":"1352018403","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352018413":["hashtag1","hashtag2"]},{"1352018391":["hashtag1","hashtag2"]},{"1352018418":["hashtag1","hashtag2"]},{"1352018403":["hashtag1","hashtag2"]},{"1352018399":["hashtag1","hashtag2"]},{"1352018395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352018413, 1352018391, 1352018418, 1352018403, 1352018399, 1352018395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50385117530823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:07:32.891116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/26/image_06042025_22_26_46_9356.jpg', '/home/pi/Desktop/images/06042025/22/26/image_06042025_22_27_07_10428.jpg', '/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_16_9338.jpg', '/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_27_10452.jpg', '/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_36_9360.jpg', '/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_47_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/26/image_06042025_22_26_46_9356.jpg
/home/pi/Desktop/images/06042025/22/26/image_06042025_22_27_07_10428.jpg
/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_16_9338.jpg
/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_27_10452.jpg
/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_36_9360.jpg
/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_47_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352018506","1352018511","1352018514","1352018517","1352018502","1352018504"],"photo_ids_order":["1352018502","1352018504","1352018506","1352018511","1352018514","1352018517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f8186eed03f3ff25d956dd562d28ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6718424389732768651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416514465,"filename":"image_06042025_22_27_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eea9ca5d1139b40fa7a6b296c6a2bf15.jpg","text":"TemporaryFile(/tmp/multipartBody9206060571595734884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416514465,"filename":"image_06042025_22_27_27_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f00b675e79682e3710d89abca046a10.jpg","text":"TemporaryFile(/tmp/multipartBody9165544082466394657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416514465,"filename":"image_06042025_22_27_36_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4adf55124496483cedbac5f69ddf5803.jpg","text":"TemporaryFile(/tmp/multipartBody4759289349696166705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416514465,"filename":"image_06042025_22_27_47_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a45a037ede7f10124ab6d85921d09c09.jpg","text":"TemporaryFile(/tmp/multipartBody1464045801413508514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416514465,"filename":"image_06042025_22_26_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b793de050659b2079eec6b44244f163a.jpg","text":"TemporaryFile(/tmp/multipartBody4736939114517571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416514465,"filename":"image_06042025_22_27_07_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018506","file1":"1352018504","file0":"1352018502","file4":"1352018514","file5":"1352018517","file3":"1352018511"},"map_files_photo_id_array":[{"photo_id":"1352018517","filename":"file5"},{"photo_id":"1352018506","filename":"file2"},{"photo_id":"1352018514","filename":"file4"},{"photo_id":"1352018504","filename":"file1"},{"photo_id":"1352018502","filename":"file0"},{"photo_id":"1352018511","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352018506":["hashtag1","hashtag2"]},{"1352018511":["hashtag1","hashtag2"]},{"1352018514":["hashtag1","hashtag2"]},{"1352018517":["hashtag1","hashtag2"]},{"1352018502":["hashtag1","hashtag2"]},{"1352018504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352018506, 1352018511, 1352018514, 1352018517, 1352018502, 1352018504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.971404790878296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:08:33.141134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_57_10359.jpg', '/home/pi/Desktop/images/06042025/22/27/image_06042025_22_28_06_9495.jpg', '/home/pi/Desktop/images/06042025/22/28/image_06042025_22_28_17_10426.jpg', '/home/pi/Desktop/images/06042025/22/28/image_06042025_22_28_26_9454.jpg', '/home/pi/Desktop/images/06042025/22/28/image_06042025_22_28_37_10365.jpg', '/home/pi/Desktop/images/06042025/22/28/image_06042025_22_28_56_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/27/image_06042025_22_27_57_10359.jpg
/home/pi/Desktop/images/06042025/22/27/image_06042025_22_28_06_9495.jpg
/home/pi/Desktop/images/06042025/22/28/image_06042025_22_28_17_10426.jpg
/home/pi/Desktop/images/06042025/22/28/image_06042025_22_28_26_9454.jpg
/home/pi/Desktop/images/06042025/22/28/image_06042025_22_28_37_10365.jpg
/home/pi/Desktop/images/06042025/22/28/image_06042025_22_28_56_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352018830","1352018699","1352018768","1352018741","1352018801","1352018857"],"photo_ids_order":["1352018699","1352018741","1352018768","1352018801","1352018830","1352018857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21f15b82c1e769489e0604eed049e2af.jpg","text":"TemporaryFile(/tmp/multipartBody2225894299017432496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416574749,"filename":"image_06042025_22_28_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/441ad76bb0cf2e978f4b5c4203b0881e.jpg","text":"TemporaryFile(/tmp/multipartBody7532809693577805173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416574749,"filename":"image_06042025_22_27_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebc233d378e8c9d5a84ef27b97c77d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2402038009639094570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416574749,"filename":"image_06042025_22_28_17_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a044599980ad835aeb158601af6b9d3.jpg","text":"TemporaryFile(/tmp/multipartBody404614378871419650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416574749,"filename":"image_06042025_22_28_06_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a6d4be34eaf676a0e261db1ac125eec.jpg","text":"TemporaryFile(/tmp/multipartBody4412490209924739068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416574749,"filename":"image_06042025_22_28_26_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e4c8bbd68e0ced4a61d5de036122b54.jpg","text":"TemporaryFile(/tmp/multipartBody5817895689666348052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416574749,"filename":"image_06042025_22_28_56_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352018768","file1":"1352018741","file0":"1352018699","file4":"1352018830","file5":"1352018857","file3":"1352018801"},"map_files_photo_id_array":[{"photo_id":"1352018857","filename":"file5"},{"photo_id":"1352018768","filename":"file2"},{"photo_id":"1352018830","filename":"file4"},{"photo_id":"1352018741","filename":"file1"},{"photo_id":"1352018699","filename":"file0"},{"photo_id":"1352018801","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352018830":["hashtag1","hashtag2"]},{"1352018699":["hashtag1","hashtag2"]},{"1352018768":["hashtag1","hashtag2"]},{"1352018741":["hashtag1","hashtag2"]},{"1352018801":["hashtag1","hashtag2"]},{"1352018857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352018830, 1352018699, 1352018768, 1352018741, 1352018801, 1352018857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63849663734436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:09:32.376733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/28/image_06042025_22_29_07_10380.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_16_9403.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_27_10356.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_37_10364.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_46_9426.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_57_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/28/image_06042025_22_29_07_10380.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_16_9403.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_27_10356.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_37_10364.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_46_9426.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_57_10396.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4899625778198242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 02:09:42.379316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/28/image_06042025_22_29_07_10380.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_16_9403.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_27_10356.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_37_10364.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_46_9426.jpg', '/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_57_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/28/image_06042025_22_29_07_10380.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_16_9403.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_27_10356.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_37_10364.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_46_9426.jpg
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_29_57_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352019177","1352019251","1352019146","1352019203","1352019274","1352019229"],"photo_ids_order":["1352019146","1352019177","1352019203","1352019229","1352019251","1352019274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2f74e9d1887eac477130002e65d27c9.jpg","text":"TemporaryFile(/tmp/multipartBody2139126408365516182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416643137,"filename":"image_06042025_22_29_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a6a6d993acaa92b36257705609cad73.jpg","text":"TemporaryFile(/tmp/multipartBody5003397711841482730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416643137,"filename":"image_06042025_22_29_46_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0eab1f731e6cde98e9711d64b46f61ea.jpg","text":"TemporaryFile(/tmp/multipartBody4604991203426076304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416643137,"filename":"image_06042025_22_29_07_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7db2bc630e1f66e1a8d5a7830fd6c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7360696337571462778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416643137,"filename":"image_06042025_22_29_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73f03aa59a79815bf4b1728f6db545b9.jpg","text":"TemporaryFile(/tmp/multipartBody8373567642626886434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416643137,"filename":"image_06042025_22_29_57_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df489eb460287ca8b4806a81d62e8a74.jpg","text":"TemporaryFile(/tmp/multipartBody8051120464383113429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416643137,"filename":"image_06042025_22_29_37_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019203","file1":"1352019177","file0":"1352019146","file4":"1352019251","file5":"1352019274","file3":"1352019229"},"map_files_photo_id_array":[{"photo_id":"1352019274","filename":"file5"},{"photo_id":"1352019203","filename":"file2"},{"photo_id":"1352019251","filename":"file4"},{"photo_id":"1352019177","filename":"file1"},{"photo_id":"1352019146","filename":"file0"},{"photo_id":"1352019229","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352019177":["hashtag1","hashtag2"]},{"1352019251":["hashtag1","hashtag2"]},{"1352019146":["hashtag1","hashtag2"]},{"1352019203":["hashtag1","hashtag2"]},{"1352019274":["hashtag1","hashtag2"]},{"1352019229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352019177, 1352019251, 1352019146, 1352019203, 1352019274, 1352019229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40534067153931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:10:32.697295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/29/image_06042025_22_30_06_9460.jpg', '/home/pi/Desktop/images/06042025/22/30/image_06042025_22_30_17_10473.jpg', '/home/pi/Desktop/images/06042025/22/30/image_06042025_22_30_26_9429.jpg', '/home/pi/Desktop/images/06042025/22/30/image_06042025_22_30_47_10380.jpg', '/home/pi/Desktop/images/06042025/22/30/image_06042025_22_30_56_9394.jpg', '/home/pi/Desktop/images/06042025/22/30/image_06042025_22_31_07_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/29/image_06042025_22_30_06_9460.jpg
/home/pi/Desktop/images/06042025/22/30/image_06042025_22_30_17_10473.jpg
/home/pi/Desktop/images/06042025/22/30/image_06042025_22_30_26_9429.jpg
/home/pi/Desktop/images/06042025/22/30/image_06042025_22_30_47_10380.jpg
/home/pi/Desktop/images/06042025/22/30/image_06042025_22_30_56_9394.jpg
/home/pi/Desktop/images/06042025/22/30/image_06042025_22_31_07_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352019464","1352020061","1352019602","1352019742","1352019859","1352019628"],"photo_ids_order":["1352019464","1352019602","1352019628","1352019742","1352019859","1352020061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebb8e1c8f783695bd6e8fdabefabe134.jpg","text":"TemporaryFile(/tmp/multipartBody6288280991216982450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416694298,"filename":"image_06042025_22_30_06_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33e28e0eab903ab0e669120e2cd8c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody1217289192887297317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416694298,"filename":"image_06042025_22_31_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5053ebc00abc42f6ff2ec5023990a58.jpg","text":"TemporaryFile(/tmp/multipartBody1017922432965561961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416694298,"filename":"image_06042025_22_30_17_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19564ef6c62778e034089051406b2158.jpg","text":"TemporaryFile(/tmp/multipartBody8748197595441818675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416694298,"filename":"image_06042025_22_30_47_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/502497c51541748ef11e22882d471d7a.jpg","text":"TemporaryFile(/tmp/multipartBody8408673840291258747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416694298,"filename":"image_06042025_22_30_56_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/959f933fa3de001730b7ee9114115ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8247419318653060578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416694298,"filename":"image_06042025_22_30_26_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352019628","file1":"1352019602","file0":"1352019464","file4":"1352019859","file5":"1352020061","file3":"1352019742"},"map_files_photo_id_array":[{"photo_id":"1352020061","filename":"file5"},{"photo_id":"1352019628","filename":"file2"},{"photo_id":"1352019859","filename":"file4"},{"photo_id":"1352019602","filename":"file1"},{"photo_id":"1352019464","filename":"file0"},{"photo_id":"1352019742","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352019464":["hashtag1","hashtag2"]},{"1352020061":["hashtag1","hashtag2"]},{"1352019602":["hashtag1","hashtag2"]},{"1352019742":["hashtag1","hashtag2"]},{"1352019859":["hashtag1","hashtag2"]},{"1352019628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352019464, 1352020061, 1352019602, 1352019742, 1352019859, 1352019628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12013244628906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:11:32.964391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_17_10348.jpg', '/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_26_9374.jpg', '/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_37_10401.jpg', '/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_46_9367.jpg', '/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_57_10380.jpg', '/home/pi/Desktop/images/06042025/22/31/image_06042025_22_32_07_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_17_10348.jpg
/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_26_9374.jpg
/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_37_10401.jpg
/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_46_9367.jpg
/home/pi/Desktop/images/06042025/22/31/image_06042025_22_31_57_10380.jpg
/home/pi/Desktop/images/06042025/22/31/image_06042025_22_32_07_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352020615","1352020743","1352020686","1352020647","1352020710","1352020619"],"photo_ids_order":["1352020615","1352020619","1352020647","1352020686","1352020710","1352020743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b78a5c5a09f26962ad37c82167782fc.jpg","text":"TemporaryFile(/tmp/multipartBody5693682825417245533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416754547,"filename":"image_06042025_22_31_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76e8a84804c007c66b763fca011206b0.jpg","text":"TemporaryFile(/tmp/multipartBody4543617391861408322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416754547,"filename":"image_06042025_22_32_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb025fbae68644f2bff3d16279423864.jpg","text":"TemporaryFile(/tmp/multipartBody6129563668303115721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416754547,"filename":"image_06042025_22_31_46_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cde99a645822369720282ae6728a1ab6.jpg","text":"TemporaryFile(/tmp/multipartBody1238552084095850102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416754547,"filename":"image_06042025_22_31_37_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee9f48cc5fbcc5ad2c3585a4b21f48aa.jpg","text":"TemporaryFile(/tmp/multipartBody4955749708709300376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416754547,"filename":"image_06042025_22_31_57_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59f8de5d6a33e1dcc47cddf54c4670d6.jpg","text":"TemporaryFile(/tmp/multipartBody8095370332982606952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416754547,"filename":"image_06042025_22_31_26_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352020647","file1":"1352020619","file0":"1352020615","file4":"1352020710","file5":"1352020743","file3":"1352020686"},"map_files_photo_id_array":[{"photo_id":"1352020743","filename":"file5"},{"photo_id":"1352020647","filename":"file2"},{"photo_id":"1352020710","filename":"file4"},{"photo_id":"1352020619","filename":"file1"},{"photo_id":"1352020615","filename":"file0"},{"photo_id":"1352020686","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352020615":["hashtag1","hashtag2"]},{"1352020743":["hashtag1","hashtag2"]},{"1352020686":["hashtag1","hashtag2"]},{"1352020647":["hashtag1","hashtag2"]},{"1352020710":["hashtag1","hashtag2"]},{"1352020619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352020615, 1352020743, 1352020686, 1352020647, 1352020710, 1352020619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.310102701187134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:12:32.224583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_16_9494.jpg', '/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_27_10378.jpg', '/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_36_9466.jpg', '/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_47_10433.jpg', '/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_56_9452.jpg', '/home/pi/Desktop/images/06042025/22/32/image_06042025_22_33_07_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_16_9494.jpg
/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_27_10378.jpg
/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_36_9466.jpg
/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_47_10433.jpg
/home/pi/Desktop/images/06042025/22/32/image_06042025_22_32_56_9452.jpg
/home/pi/Desktop/images/06042025/22/32/image_06042025_22_33_07_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352021289","1352021349","1352021142","1352021442","1352021393","1352021219"],"photo_ids_order":["1352021142","1352021219","1352021289","1352021349","1352021393","1352021442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad3704e05e46b3c01b1234094f82c127.jpg","text":"TemporaryFile(/tmp/multipartBody637648654793881984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416813816,"filename":"image_06042025_22_32_36_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/151f57ea5720b91b159b74416b87a0ef.jpg","text":"TemporaryFile(/tmp/multipartBody8394374623301934173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416813816,"filename":"image_06042025_22_32_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20cbb3d9019c820898b9235dc5458d42.jpg","text":"TemporaryFile(/tmp/multipartBody476057899476918920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416813816,"filename":"image_06042025_22_32_16_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d5afc8524977e8208d98654821f764b.jpg","text":"TemporaryFile(/tmp/multipartBody7471059742000955819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416813816,"filename":"image_06042025_22_33_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6292c4ba8845a48d1834c17c6675b2dd.jpg","text":"TemporaryFile(/tmp/multipartBody541373049542609502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416813816,"filename":"image_06042025_22_32_56_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d6a2e06e8858228017eb0921c7f80da.jpg","text":"TemporaryFile(/tmp/multipartBody1193014266969479489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416813816,"filename":"image_06042025_22_32_27_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352021289","file1":"1352021219","file0":"1352021142","file4":"1352021393","file5":"1352021442","file3":"1352021349"},"map_files_photo_id_array":[{"photo_id":"1352021442","filename":"file5"},{"photo_id":"1352021289","filename":"file2"},{"photo_id":"1352021393","filename":"file4"},{"photo_id":"1352021219","filename":"file1"},{"photo_id":"1352021142","filename":"file0"},{"photo_id":"1352021349","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352021289":["hashtag1","hashtag2"]},{"1352021349":["hashtag1","hashtag2"]},{"1352021142":["hashtag1","hashtag2"]},{"1352021442":["hashtag1","hashtag2"]},{"1352021393":["hashtag1","hashtag2"]},{"1352021219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352021289, 1352021349, 1352021142, 1352021442, 1352021393, 1352021219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06768465042114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:13:32.333541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_17_10357.jpg', '/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_26_9477.jpg', '/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_37_10354.jpg', '/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_46_9353.jpg', '/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_56_10364.jpg', '/home/pi/Desktop/images/06042025/22/33/image_06042025_22_34_07_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_17_10357.jpg
/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_26_9477.jpg
/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_37_10354.jpg
/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_46_9353.jpg
/home/pi/Desktop/images/06042025/22/33/image_06042025_22_33_56_10364.jpg
/home/pi/Desktop/images/06042025/22/33/image_06042025_22_34_07_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022132","1352021958","1352022239","1352021822","1352022031","1352021878"],"photo_ids_order":["1352021822","1352021878","1352021958","1352022031","1352022132","1352022239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e3f6dff5766db1728c200060d1ccc1b.jpg","text":"TemporaryFile(/tmp/multipartBody5027170771491306852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416873929,"filename":"image_06042025_22_33_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09d66a831deac68a19a94b445ad3fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody3841193117485887155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416873929,"filename":"image_06042025_22_33_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a93aadc2d6e9d7ebffff85b9d5e5c2b7.jpg","text":"TemporaryFile(/tmp/multipartBody7369612150384437281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416873929,"filename":"image_06042025_22_34_07_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc325f96d37753bb57227a250719927f.jpg","text":"TemporaryFile(/tmp/multipartBody8453711191477474095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416873929,"filename":"image_06042025_22_33_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d97e0bcd6de57ac970a6b4e9ad447c4.jpg","text":"TemporaryFile(/tmp/multipartBody3927973837406283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416873929,"filename":"image_06042025_22_33_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63f2c9b156ba3a8a2b47e92902b26f4d.jpg","text":"TemporaryFile(/tmp/multipartBody3733406525592086611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416873929,"filename":"image_06042025_22_33_26_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352021958","file1":"1352021878","file0":"1352021822","file4":"1352022132","file5":"1352022239","file3":"1352022031"},"map_files_photo_id_array":[{"photo_id":"1352022239","filename":"file5"},{"photo_id":"1352021958","filename":"file2"},{"photo_id":"1352022132","filename":"file4"},{"photo_id":"1352021878","filename":"file1"},{"photo_id":"1352021822","filename":"file0"},{"photo_id":"1352022031","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352022132":["hashtag1","hashtag2"]},{"1352021958":["hashtag1","hashtag2"]},{"1352022239":["hashtag1","hashtag2"]},{"1352021822":["hashtag1","hashtag2"]},{"1352022031":["hashtag1","hashtag2"]},{"1352021878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352022132, 1352021958, 1352022239, 1352021822, 1352022031, 1352021878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42225503921509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:14:32.666438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_16_9501.jpg', '/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_27_10368.jpg', '/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_36_9466.jpg', '/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_47_10381.jpg', '/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_57_10378.jpg', '/home/pi/Desktop/images/06042025/22/34/image_06042025_22_35_06_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_16_9501.jpg
/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_27_10368.jpg
/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_36_9466.jpg
/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_47_10381.jpg
/home/pi/Desktop/images/06042025/22/34/image_06042025_22_34_57_10378.jpg
/home/pi/Desktop/images/06042025/22/34/image_06042025_22_35_06_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352022900","1352023208","1352023129","1352023476","1352023032","1352023332"],"photo_ids_order":["1352022900","1352023032","1352023129","1352023208","1352023332","1352023476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fdd58e3962b55d37a3b017eeefa6d13.jpg","text":"TemporaryFile(/tmp/multipartBody41492199366869440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416934242,"filename":"image_06042025_22_34_16_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23abac1bd9b104368c7badc4d3b8f708.jpg","text":"TemporaryFile(/tmp/multipartBody5272732436129240523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416934242,"filename":"image_06042025_22_34_47_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd18dddd914678adf0181a97c5ca6bee.jpg","text":"TemporaryFile(/tmp/multipartBody1250584850076806036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416934242,"filename":"image_06042025_22_34_36_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a10c65fa4ee6d61caa142b4f83429636.jpg","text":"TemporaryFile(/tmp/multipartBody3288411942212339847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416934242,"filename":"image_06042025_22_35_06_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/648873363c8045bc10fafcc55e1b9c72.jpg","text":"TemporaryFile(/tmp/multipartBody8983698343854266514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416934242,"filename":"image_06042025_22_34_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d47bbfe44f54ecac6a78ffc499d160d9.jpg","text":"TemporaryFile(/tmp/multipartBody5872381497211074853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416934242,"filename":"image_06042025_22_34_57_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352023129","file1":"1352023032","file0":"1352022900","file4":"1352023332","file5":"1352023476","file3":"1352023208"},"map_files_photo_id_array":[{"photo_id":"1352023476","filename":"file5"},{"photo_id":"1352023129","filename":"file2"},{"photo_id":"1352023332","filename":"file4"},{"photo_id":"1352023032","filename":"file1"},{"photo_id":"1352022900","filename":"file0"},{"photo_id":"1352023208","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352022900":["hashtag1","hashtag2"]},{"1352023208":["hashtag1","hashtag2"]},{"1352023129":["hashtag1","hashtag2"]},{"1352023476":["hashtag1","hashtag2"]},{"1352023032":["hashtag1","hashtag2"]},{"1352023332":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352022900, 1352023208, 1352023129, 1352023476, 1352023032, 1352023332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53369736671448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:15:32.887697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_17_10403.jpg', '/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_26_9362.jpg', '/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_37_10443.jpg', '/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_47_10369.jpg', '/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_56_9377.jpg', '/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_16_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_17_10403.jpg
/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_26_9362.jpg
/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_37_10443.jpg
/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_47_10369.jpg
/home/pi/Desktop/images/06042025/22/35/image_06042025_22_35_56_9377.jpg
/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_16_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352024735","1352024656","1352024982","1352024517","1352025119","1352024858"],"photo_ids_order":["1352024517","1352024656","1352024735","1352024858","1352024982","1352025119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87078a662e59f04a97e279e9f303e9f6.jpg","text":"TemporaryFile(/tmp/multipartBody4274997960614376152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416994458,"filename":"image_06042025_22_35_37_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3be7103518e8de2f4d046d87ec29169.jpg","text":"TemporaryFile(/tmp/multipartBody6625295266591600228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416994458,"filename":"image_06042025_22_35_26_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef29e787be96bb7bb5180b8b03fd96f2.jpg","text":"TemporaryFile(/tmp/multipartBody572395390950371042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416994458,"filename":"image_06042025_22_35_56_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73b7d953df19d572b3dd1d84a1d58fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5633270102161470645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416994458,"filename":"image_06042025_22_35_17_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9132f61db193fea05a78a7ce30f29807.jpg","text":"TemporaryFile(/tmp/multipartBody7714212584751859092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416994458,"filename":"image_06042025_22_36_16_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa91791242688e84908aa9c25d924f1b.jpg","text":"TemporaryFile(/tmp/multipartBody1066873540683656638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744416994458,"filename":"image_06042025_22_35_47_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352024735","file1":"1352024656","file0":"1352024517","file4":"1352024982","file5":"1352025119","file3":"1352024858"},"map_files_photo_id_array":[{"photo_id":"1352025119","filename":"file5"},{"photo_id":"1352024735","filename":"file2"},{"photo_id":"1352024982","filename":"file4"},{"photo_id":"1352024656","filename":"file1"},{"photo_id":"1352024517","filename":"file0"},{"photo_id":"1352024858","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352024735":["hashtag1","hashtag2"]},{"1352024656":["hashtag1","hashtag2"]},{"1352024982":["hashtag1","hashtag2"]},{"1352024517":["hashtag1","hashtag2"]},{"1352025119":["hashtag1","hashtag2"]},{"1352024858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352024735, 1352024656, 1352024982, 1352024517, 1352025119, 1352024858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30208396911621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:16:33.099150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_27_10370.jpg', '/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_37_10430.jpg', '/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_46_9369.jpg', '/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_57_10371.jpg', '/home/pi/Desktop/images/06042025/22/36/image_06042025_22_37_07_10364.jpg', '/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_17_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_27_10370.jpg
/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_37_10430.jpg
/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_46_9369.jpg
/home/pi/Desktop/images/06042025/22/36/image_06042025_22_36_57_10371.jpg
/home/pi/Desktop/images/06042025/22/36/image_06042025_22_37_07_10364.jpg
/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_17_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352026210","1352025985","1352026105","1352025910","1352026180","1352026357"],"photo_ids_order":["1352025910","1352025985","1352026105","1352026180","1352026210","1352026357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3a8cb88cc40a04a40db4df7b521df4f.jpg","text":"TemporaryFile(/tmp/multipartBody1364546606429903621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417054691,"filename":"image_06042025_22_37_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13fac3c624c68dad70d9e5368f45ef24.jpg","text":"TemporaryFile(/tmp/multipartBody6338522125246971903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417054691,"filename":"image_06042025_22_36_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5bcfca42dda90e2636e45d68a7d4f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3491123093969615198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417054691,"filename":"image_06042025_22_36_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b61fd101ff6c7330ed29b0d24051fea2.jpg","text":"TemporaryFile(/tmp/multipartBody4141050565967950775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417054691,"filename":"image_06042025_22_36_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f8bf7ab0e5e45807137228f904af192.jpg","text":"TemporaryFile(/tmp/multipartBody2299443972798707966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417054691,"filename":"image_06042025_22_36_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/220efb1bc2b4a84edd7b62b57fbb9aec.jpg","text":"TemporaryFile(/tmp/multipartBody2571531371429404870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417054691,"filename":"image_06042025_22_37_17_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352026105","file1":"1352025985","file0":"1352025910","file4":"1352026210","file5":"1352026357","file3":"1352026180"},"map_files_photo_id_array":[{"photo_id":"1352026357","filename":"file5"},{"photo_id":"1352026105","filename":"file2"},{"photo_id":"1352026210","filename":"file4"},{"photo_id":"1352025985","filename":"file1"},{"photo_id":"1352025910","filename":"file0"},{"photo_id":"1352026180","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352026210":["hashtag1","hashtag2"]},{"1352025985":["hashtag1","hashtag2"]},{"1352026105":["hashtag1","hashtag2"]},{"1352025910":["hashtag1","hashtag2"]},{"1352026180":["hashtag1","hashtag2"]},{"1352026357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352026210, 1352025985, 1352026105, 1352025910, 1352026180, 1352026357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.397361278533936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:17:32.258272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_27_10455.jpg', '/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_47_10451.jpg', '/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_56_9430.jpg', '/home/pi/Desktop/images/06042025/22/38/image_06042025_22_38_56_9414.jpg', '/home/pi/Desktop/images/06042025/22/38/image_06042025_22_39_07_10368.jpg', '/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_16_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_27_10455.jpg
/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_47_10451.jpg
/home/pi/Desktop/images/06042025/22/37/image_06042025_22_37_56_9430.jpg
/home/pi/Desktop/images/06042025/22/38/image_06042025_22_38_56_9414.jpg
/home/pi/Desktop/images/06042025/22/38/image_06042025_22_39_07_10368.jpg
/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_16_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352027478","1352027571","1352027241","1352027322","1352027601","1352027438"],"photo_ids_order":["1352027241","1352027322","1352027438","1352027478","1352027571","1352027601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7774c24d1a31689eca1cd927c5b2ec38.jpg","text":"TemporaryFile(/tmp/multipartBody5719745500166163620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417113841,"filename":"image_06042025_22_38_56_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45a3cdcdad9c33ef6c9b665cfe7fe5f8.jpg","text":"TemporaryFile(/tmp/multipartBody4120295937386128075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417113841,"filename":"image_06042025_22_39_07_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6139a65f83de76bb8385dd4da2a4ced.jpg","text":"TemporaryFile(/tmp/multipartBody8207231023482191316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417113841,"filename":"image_06042025_22_37_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36ab45f4c2e6e272abfd989bed7d4128.jpg","text":"TemporaryFile(/tmp/multipartBody4660057560248814411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417113841,"filename":"image_06042025_22_37_47_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/240e5ca1186547c84d4bf7a860ac87dd.jpg","text":"TemporaryFile(/tmp/multipartBody7654116067961317035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417113841,"filename":"image_06042025_22_39_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2317a6a0bfc3fb06067319ba73175dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4399267477008591665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417113841,"filename":"image_06042025_22_37_56_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352027438","file1":"1352027322","file0":"1352027241","file4":"1352027571","file5":"1352027601","file3":"1352027478"},"map_files_photo_id_array":[{"photo_id":"1352027601","filename":"file5"},{"photo_id":"1352027438","filename":"file2"},{"photo_id":"1352027571","filename":"file4"},{"photo_id":"1352027322","filename":"file1"},{"photo_id":"1352027241","filename":"file0"},{"photo_id":"1352027478","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352027478":["hashtag1","hashtag2"]},{"1352027571":["hashtag1","hashtag2"]},{"1352027241":["hashtag1","hashtag2"]},{"1352027322":["hashtag1","hashtag2"]},{"1352027601":["hashtag1","hashtag2"]},{"1352027438":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352027478, 1352027571, 1352027241, 1352027322, 1352027601, 1352027438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.00849771499634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:18:32.522811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_27_10363.jpg', '/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_37_10357.jpg', '/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_46_9358.jpg', '/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_57_10432.jpg', '/home/pi/Desktop/images/06042025/22/39/image_06042025_22_40_06_9383.jpg', '/home/pi/Desktop/images/06042025/22/40/image_06042025_22_40_17_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_27_10363.jpg
/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_37_10357.jpg
/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_46_9358.jpg
/home/pi/Desktop/images/06042025/22/39/image_06042025_22_39_57_10432.jpg
/home/pi/Desktop/images/06042025/22/39/image_06042025_22_40_06_9383.jpg
/home/pi/Desktop/images/06042025/22/40/image_06042025_22_40_17_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352028038","1352027960","1352028119","1352027906","1352027854","1352028205"],"photo_ids_order":["1352027854","1352027906","1352027960","1352028038","1352028119","1352028205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/177dd7c8ed6b0e65eae1e1ebd6215121.jpg","text":"TemporaryFile(/tmp/multipartBody7475299220055006644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417174099,"filename":"image_06042025_22_39_57_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f23b4b7d25043349b801970842ff81c5.jpg","text":"TemporaryFile(/tmp/multipartBody2589460907790446413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417174099,"filename":"image_06042025_22_39_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27e734ab48cbc5ec97d6cc732cf34eb2.jpg","text":"TemporaryFile(/tmp/multipartBody9010237683374540040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417174099,"filename":"image_06042025_22_40_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a04eaf868b083bcaf109116b4578ee1.jpg","text":"TemporaryFile(/tmp/multipartBody3987894225024054811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417174099,"filename":"image_06042025_22_39_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06ad50a557fdc74b35357a83a78b7a76.jpg","text":"TemporaryFile(/tmp/multipartBody3477459541416335943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417174099,"filename":"image_06042025_22_39_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbd3fe20d6beddcc0c5970f8906742ab.jpg","text":"TemporaryFile(/tmp/multipartBody673422504060822049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417174099,"filename":"image_06042025_22_40_17_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352027960","file1":"1352027906","file0":"1352027854","file4":"1352028119","file5":"1352028205","file3":"1352028038"},"map_files_photo_id_array":[{"photo_id":"1352028205","filename":"file5"},{"photo_id":"1352027960","filename":"file2"},{"photo_id":"1352028119","filename":"file4"},{"photo_id":"1352027906","filename":"file1"},{"photo_id":"1352027854","filename":"file0"},{"photo_id":"1352028038","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352028038":["hashtag1","hashtag2"]},{"1352027960":["hashtag1","hashtag2"]},{"1352028119":["hashtag1","hashtag2"]},{"1352027906":["hashtag1","hashtag2"]},{"1352027854":["hashtag1","hashtag2"]},{"1352028205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352028038, 1352027960, 1352028119, 1352027906, 1352027854, 1352028205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.002402782440186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:19:32.861132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/40/image_06042025_22_40_27_10406.jpg', '/home/pi/Desktop/images/06042025/22/40/image_06042025_22_40_57_10376.jpg', '/home/pi/Desktop/images/06042025/22/40/image_06042025_22_41_06_9350.jpg', '/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_17_10353.jpg', '/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_26_9371.jpg', '/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_37_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/40/image_06042025_22_40_27_10406.jpg
/home/pi/Desktop/images/06042025/22/40/image_06042025_22_40_57_10376.jpg
/home/pi/Desktop/images/06042025/22/40/image_06042025_22_41_06_9350.jpg
/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_17_10353.jpg
/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_26_9371.jpg
/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_37_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352028644","1352028827","1352028577","1352028619","1352028783","1352028732"],"photo_ids_order":["1352028577","1352028619","1352028644","1352028732","1352028783","1352028827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9bd43123c24ba3ef744be382b2d1c938.jpg","text":"TemporaryFile(/tmp/multipartBody3239728917105171534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417234432,"filename":"image_06042025_22_41_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e88e0e1b0d05f655a2792de45db4b40a.jpg","text":"TemporaryFile(/tmp/multipartBody3294316991792386432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417234432,"filename":"image_06042025_22_41_37_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e77b16c3276a9262debdc0ef66677074.jpg","text":"TemporaryFile(/tmp/multipartBody6829267131489963121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417234432,"filename":"image_06042025_22_40_27_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05e7bc25f7fbef7633ffad3847d31b54.jpg","text":"TemporaryFile(/tmp/multipartBody1970500724044164590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417234432,"filename":"image_06042025_22_40_57_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bc19fcdd52490890ba51dbc34e8182e.jpg","text":"TemporaryFile(/tmp/multipartBody7287662606486213891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417234432,"filename":"image_06042025_22_41_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a4f17310eaafc4075e4440ce40d7ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5420355328615514402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417234432,"filename":"image_06042025_22_41_17_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352028644","file1":"1352028619","file0":"1352028577","file4":"1352028783","file5":"1352028827","file3":"1352028732"},"map_files_photo_id_array":[{"photo_id":"1352028827","filename":"file5"},{"photo_id":"1352028644","filename":"file2"},{"photo_id":"1352028783","filename":"file4"},{"photo_id":"1352028619","filename":"file1"},{"photo_id":"1352028577","filename":"file0"},{"photo_id":"1352028732","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352028644":["hashtag1","hashtag2"]},{"1352028827":["hashtag1","hashtag2"]},{"1352028577":["hashtag1","hashtag2"]},{"1352028619":["hashtag1","hashtag2"]},{"1352028783":["hashtag1","hashtag2"]},{"1352028732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352028644, 1352028827, 1352028577, 1352028619, 1352028783, 1352028732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.626659631729126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:20:33.054572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_47_10365.jpg', '/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_56_9449.jpg', '/home/pi/Desktop/images/06042025/22/41/image_06042025_22_42_07_10449.jpg', '/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_16_9504.jpg', '/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_27_10366.jpg', '/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_37_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_47_10365.jpg
/home/pi/Desktop/images/06042025/22/41/image_06042025_22_41_56_9449.jpg
/home/pi/Desktop/images/06042025/22/41/image_06042025_22_42_07_10449.jpg
/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_16_9504.jpg
/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_27_10366.jpg
/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_37_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352028992","1352029121","1352029001","1352029185","1352029056","1352029008"],"photo_ids_order":["1352028992","1352029001","1352029008","1352029056","1352029121","1352029185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f481b646e54f98767fa034338a7dbeaf.jpg","text":"TemporaryFile(/tmp/multipartBody7160753315141511583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417294637,"filename":"image_06042025_22_41_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6afb749d784e04c6114ef1f3130eba4b.jpg","text":"TemporaryFile(/tmp/multipartBody6949081807059159049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417294637,"filename":"image_06042025_22_42_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7122ab431774ca79fae7ca1df79e949d.jpg","text":"TemporaryFile(/tmp/multipartBody1854903505826931983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417294637,"filename":"image_06042025_22_41_56_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1579b4892cbb0cc28f288e395ff6368b.jpg","text":"TemporaryFile(/tmp/multipartBody2067715663860272731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417294637,"filename":"image_06042025_22_42_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/203ce0d286e75b020975855b1fd10def.jpg","text":"TemporaryFile(/tmp/multipartBody2634790050406210420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417294637,"filename":"image_06042025_22_42_16_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aee61452a50f55924802d8ad8cfaeab4.jpg","text":"TemporaryFile(/tmp/multipartBody877638165568641613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417294637,"filename":"image_06042025_22_42_07_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352029008","file1":"1352029001","file0":"1352028992","file4":"1352029121","file5":"1352029185","file3":"1352029056"},"map_files_photo_id_array":[{"photo_id":"1352029185","filename":"file5"},{"photo_id":"1352029008","filename":"file2"},{"photo_id":"1352029121","filename":"file4"},{"photo_id":"1352029001","filename":"file1"},{"photo_id":"1352028992","filename":"file0"},{"photo_id":"1352029056","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352028992":["hashtag1","hashtag2"]},{"1352029121":["hashtag1","hashtag2"]},{"1352029001":["hashtag1","hashtag2"]},{"1352029185":["hashtag1","hashtag2"]},{"1352029056":["hashtag1","hashtag2"]},{"1352029008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352028992, 1352029121, 1352029001, 1352029185, 1352029056, 1352029008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80539131164551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:21:32.278060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_46_9359.jpg', '/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_57_10358.jpg', '/home/pi/Desktop/images/06042025/22/42/image_06042025_22_43_06_9361.jpg', '/home/pi/Desktop/images/06042025/22/43/image_06042025_22_43_16_10372.jpg', '/home/pi/Desktop/images/06042025/22/43/image_06042025_22_43_27_10366.jpg', '/home/pi/Desktop/images/06042025/22/43/image_06042025_22_43_57_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_46_9359.jpg
/home/pi/Desktop/images/06042025/22/42/image_06042025_22_42_57_10358.jpg
/home/pi/Desktop/images/06042025/22/42/image_06042025_22_43_06_9361.jpg
/home/pi/Desktop/images/06042025/22/43/image_06042025_22_43_16_10372.jpg
/home/pi/Desktop/images/06042025/22/43/image_06042025_22_43_27_10366.jpg
/home/pi/Desktop/images/06042025/22/43/image_06042025_22_43_57_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352029616","1352029798","1352029666","1352029845","1352029746","1352029710"],"photo_ids_order":["1352029616","1352029666","1352029710","1352029746","1352029798","1352029845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/533b789633c4f919e25e1f2692ae8775.jpg","text":"TemporaryFile(/tmp/multipartBody9187253915127394627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417353880,"filename":"image_06042025_22_42_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89da4fb411d938133381ec5a3f34c4f5.jpg","text":"TemporaryFile(/tmp/multipartBody3063234095958989535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417353880,"filename":"image_06042025_22_43_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4676a073137c802434ceaaf07681d4ee.jpg","text":"TemporaryFile(/tmp/multipartBody4284060182377175475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417353880,"filename":"image_06042025_22_42_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aaef24e1204b60b22a3fdb0a3f7566aa.jpg","text":"TemporaryFile(/tmp/multipartBody5932735603828819379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417353880,"filename":"image_06042025_22_43_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc32f492aac2ba7a4555423ecb277679.jpg","text":"TemporaryFile(/tmp/multipartBody736218806438428826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417353880,"filename":"image_06042025_22_43_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ddb0021a54e8d9577f337843d644050.jpg","text":"TemporaryFile(/tmp/multipartBody5797202768704644801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417353880,"filename":"image_06042025_22_43_06_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352029710","file1":"1352029666","file0":"1352029616","file4":"1352029798","file5":"1352029845","file3":"1352029746"},"map_files_photo_id_array":[{"photo_id":"1352029845","filename":"file5"},{"photo_id":"1352029710","filename":"file2"},{"photo_id":"1352029798","filename":"file4"},{"photo_id":"1352029666","filename":"file1"},{"photo_id":"1352029616","filename":"file0"},{"photo_id":"1352029746","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352029616":["hashtag1","hashtag2"]},{"1352029798":["hashtag1","hashtag2"]},{"1352029666":["hashtag1","hashtag2"]},{"1352029845":["hashtag1","hashtag2"]},{"1352029746":["hashtag1","hashtag2"]},{"1352029710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352029616, 1352029798, 1352029666, 1352029845, 1352029746, 1352029710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24456191062927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:22:32.334915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/43/image_06042025_22_44_06_9341.jpg', '/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_17_10437.jpg', '/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_26_9404.jpg', '/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_37_10381.jpg', '/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_47_10379.jpg', '/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_56_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/43/image_06042025_22_44_06_9341.jpg
/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_17_10437.jpg
/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_26_9404.jpg
/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_37_10381.jpg
/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_47_10379.jpg
/home/pi/Desktop/images/06042025/22/44/image_06042025_22_44_56_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352030121","1352030211","1352030090","1352030161","1352030200","1352030250"],"photo_ids_order":["1352030090","1352030121","1352030161","1352030200","1352030211","1352030250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/009ed2ddcba29731c9d24bee1a9f443b.jpg","text":"TemporaryFile(/tmp/multipartBody4646055765676051562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417413919,"filename":"image_06042025_22_44_17_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6e71c58a636bb7b5b3ebd6777755943.jpg","text":"TemporaryFile(/tmp/multipartBody9161709023692777855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417413919,"filename":"image_06042025_22_44_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c113390e8012bdb2adc6cc1cefd5d7ae.jpg","text":"TemporaryFile(/tmp/multipartBody6266436792405532616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417413919,"filename":"image_06042025_22_44_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57d24e5fdc46734ef59a68dc9e122fad.jpg","text":"TemporaryFile(/tmp/multipartBody1095586086304301476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417413919,"filename":"image_06042025_22_44_26_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb75b32310955c93dc33fd5b015c4606.jpg","text":"TemporaryFile(/tmp/multipartBody3823918513759223115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417413919,"filename":"image_06042025_22_44_37_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a39ca7effc13909581fceae3c3b6f4d1.jpg","text":"TemporaryFile(/tmp/multipartBody256278082503024866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417413919,"filename":"image_06042025_22_44_56_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352030161","file1":"1352030121","file0":"1352030090","file4":"1352030211","file5":"1352030250","file3":"1352030200"},"map_files_photo_id_array":[{"photo_id":"1352030250","filename":"file5"},{"photo_id":"1352030161","filename":"file2"},{"photo_id":"1352030211","filename":"file4"},{"photo_id":"1352030121","filename":"file1"},{"photo_id":"1352030090","filename":"file0"},{"photo_id":"1352030200","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352030121":["hashtag1","hashtag2"]},{"1352030211":["hashtag1","hashtag2"]},{"1352030090":["hashtag1","hashtag2"]},{"1352030161":["hashtag1","hashtag2"]},{"1352030200":["hashtag1","hashtag2"]},{"1352030250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352030121, 1352030211, 1352030090, 1352030161, 1352030200, 1352030250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91095495223999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:23:32.572638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/44/image_06042025_22_45_07_10359.jpg', '/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_16_9363.jpg', '/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_27_10459.jpg', '/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_37_10340.jpg', '/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_46_9405.jpg', '/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_57_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/44/image_06042025_22_45_07_10359.jpg
/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_16_9363.jpg
/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_27_10459.jpg
/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_37_10340.jpg
/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_46_9405.jpg
/home/pi/Desktop/images/06042025/22/45/image_06042025_22_45_57_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352030610","1352030717","1352030647","1352030754","1352030664","1352030622"],"photo_ids_order":["1352030610","1352030622","1352030647","1352030664","1352030717","1352030754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87d5424da287f2b0d014130c59eaa9b7.jpg","text":"TemporaryFile(/tmp/multipartBody6436351943637881407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417474155,"filename":"image_06042025_22_45_07_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4c06f7d803e8ef88bd0cf12b5d088ed.jpg","text":"TemporaryFile(/tmp/multipartBody267811698373528699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417474155,"filename":"image_06042025_22_45_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99df0ac114e869215a5547bf6897492b.jpg","text":"TemporaryFile(/tmp/multipartBody5476545027493083229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417474155,"filename":"image_06042025_22_45_27_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a2e134e6863ea19bf22999b05d95da5.jpg","text":"TemporaryFile(/tmp/multipartBody248925341736537341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417474155,"filename":"image_06042025_22_45_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/343bb12778d156ffac9eb722f7107ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6829753576165254149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417474155,"filename":"image_06042025_22_45_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56209db5ce4dbb83118ac420e786c947.jpg","text":"TemporaryFile(/tmp/multipartBody3919912307097191366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417474155,"filename":"image_06042025_22_45_16_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352030647","file1":"1352030622","file0":"1352030610","file4":"1352030717","file5":"1352030754","file3":"1352030664"},"map_files_photo_id_array":[{"photo_id":"1352030754","filename":"file5"},{"photo_id":"1352030647","filename":"file2"},{"photo_id":"1352030717","filename":"file4"},{"photo_id":"1352030622","filename":"file1"},{"photo_id":"1352030610","filename":"file0"},{"photo_id":"1352030664","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352030610":["hashtag1","hashtag2"]},{"1352030717":["hashtag1","hashtag2"]},{"1352030647":["hashtag1","hashtag2"]},{"1352030754":["hashtag1","hashtag2"]},{"1352030664":["hashtag1","hashtag2"]},{"1352030622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352030610, 1352030717, 1352030647, 1352030754, 1352030664, 1352030622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.485010862350464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:24:32.780656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/45/image_06042025_22_46_06_9414.jpg', '/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_16_10414.jpg', '/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_27_10399.jpg', '/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_36_9395.jpg', '/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_47_10357.jpg', '/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_56_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/45/image_06042025_22_46_06_9414.jpg
/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_16_10414.jpg
/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_27_10399.jpg
/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_36_9395.jpg
/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_47_10357.jpg
/home/pi/Desktop/images/06042025/22/46/image_06042025_22_46_56_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352030896","1352030920","1352030979","1352030970","1352030988","1352030949"],"photo_ids_order":["1352030896","1352030920","1352030949","1352030970","1352030979","1352030988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34e296c9a4492c30a0179d978f8c9ff3.jpg","text":"TemporaryFile(/tmp/multipartBody7129442170548456684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417534358,"filename":"image_06042025_22_46_06_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9699d2140d60130a4d183ee02f7e928.jpg","text":"TemporaryFile(/tmp/multipartBody1786573930761130800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417534358,"filename":"image_06042025_22_46_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99c3af241ff55e66c6a0c75816864d44.jpg","text":"TemporaryFile(/tmp/multipartBody3184064042584968535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417534358,"filename":"image_06042025_22_46_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d0fa077e2f9f4413d71ab68053b0e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3406975131441810339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417534358,"filename":"image_06042025_22_46_36_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/857bfa0d4b1898fe38375ef72052e96d.jpg","text":"TemporaryFile(/tmp/multipartBody5746216443848093017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417534358,"filename":"image_06042025_22_46_56_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02f9f63874f3583f2e8044d247dfda99.jpg","text":"TemporaryFile(/tmp/multipartBody2367746270169896238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417534358,"filename":"image_06042025_22_46_27_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352030949","file1":"1352030920","file0":"1352030896","file4":"1352030979","file5":"1352030988","file3":"1352030970"},"map_files_photo_id_array":[{"photo_id":"1352030988","filename":"file5"},{"photo_id":"1352030949","filename":"file2"},{"photo_id":"1352030979","filename":"file4"},{"photo_id":"1352030920","filename":"file1"},{"photo_id":"1352030896","filename":"file0"},{"photo_id":"1352030970","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352030896":["hashtag1","hashtag2"]},{"1352030920":["hashtag1","hashtag2"]},{"1352030979":["hashtag1","hashtag2"]},{"1352030970":["hashtag1","hashtag2"]},{"1352030988":["hashtag1","hashtag2"]},{"1352030949":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352030896, 1352030920, 1352030979, 1352030970, 1352030988, 1352030949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.642494678497314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:25:32.987223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/46/image_06042025_22_47_06_10363.jpg', '/home/pi/Desktop/images/06042025/22/47/image_06042025_22_47_17_10354.jpg', '/home/pi/Desktop/images/06042025/22/47/image_06042025_22_47_26_9483.jpg', '/home/pi/Desktop/images/06042025/22/47/image_06042025_22_47_47_10406.jpg', '/home/pi/Desktop/images/06042025/22/47/image_06042025_22_47_57_9484.jpg', '/home/pi/Desktop/images/06042025/22/47/image_06042025_22_48_07_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/46/image_06042025_22_47_06_10363.jpg
/home/pi/Desktop/images/06042025/22/47/image_06042025_22_47_17_10354.jpg
/home/pi/Desktop/images/06042025/22/47/image_06042025_22_47_26_9483.jpg
/home/pi/Desktop/images/06042025/22/47/image_06042025_22_47_47_10406.jpg
/home/pi/Desktop/images/06042025/22/47/image_06042025_22_47_57_9484.jpg
/home/pi/Desktop/images/06042025/22/47/image_06042025_22_48_07_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352031440","1352031053","1352031328","1352031130","1352031081","1352031183"],"photo_ids_order":["1352031053","1352031081","1352031130","1352031183","1352031328","1352031440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44b61ecaf6f13e18490735ba74c41a64.jpg","text":"TemporaryFile(/tmp/multipartBody7470332049585617933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417594593,"filename":"image_06042025_22_48_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f687c0c53d6b6dfb31546a1f0b307c6.jpg","text":"TemporaryFile(/tmp/multipartBody6268336551785150131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417594593,"filename":"image_06042025_22_47_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/646d38a2036628c7fe977c2c8c2fde3e.jpg","text":"TemporaryFile(/tmp/multipartBody3358356178096368736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417594593,"filename":"image_06042025_22_47_57_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a9a06d890de6ae38f4f3a01f03b6db6.jpg","text":"TemporaryFile(/tmp/multipartBody5047899847998801057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417594593,"filename":"image_06042025_22_47_26_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e7bb0696c56ec553fc345bc99663a4e.jpg","text":"TemporaryFile(/tmp/multipartBody2795456157498612218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417594593,"filename":"image_06042025_22_47_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a104c1759f29006db3917b444116a537.jpg","text":"TemporaryFile(/tmp/multipartBody318718361301921797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417594593,"filename":"image_06042025_22_47_47_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352031130","file1":"1352031081","file0":"1352031053","file4":"1352031328","file5":"1352031440","file3":"1352031183"},"map_files_photo_id_array":[{"photo_id":"1352031440","filename":"file5"},{"photo_id":"1352031130","filename":"file2"},{"photo_id":"1352031328","filename":"file4"},{"photo_id":"1352031081","filename":"file1"},{"photo_id":"1352031053","filename":"file0"},{"photo_id":"1352031183","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352031440":["hashtag1","hashtag2"]},{"1352031053":["hashtag1","hashtag2"]},{"1352031328":["hashtag1","hashtag2"]},{"1352031130":["hashtag1","hashtag2"]},{"1352031081":["hashtag1","hashtag2"]},{"1352031183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352031440, 1352031053, 1352031328, 1352031130, 1352031081, 1352031183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.36213135719299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:26:32.103286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_16_9421.jpg', '/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_27_10371.jpg', '/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_37_10353.jpg', '/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_46_9413.jpg', '/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_57_10405.jpg', '/home/pi/Desktop/images/06042025/22/48/image_06042025_22_49_06_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_16_9421.jpg
/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_27_10371.jpg
/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_37_10353.jpg
/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_46_9413.jpg
/home/pi/Desktop/images/06042025/22/48/image_06042025_22_48_57_10405.jpg
/home/pi/Desktop/images/06042025/22/48/image_06042025_22_49_06_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352031752","1352031898","1352031780","1352031942","1352031855","1352031822"],"photo_ids_order":["1352031752","1352031780","1352031822","1352031855","1352031898","1352031942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9d5a2662f284a9ab80276bf9c648da1.jpg","text":"TemporaryFile(/tmp/multipartBody4548786710087066069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417653681,"filename":"image_06042025_22_48_16_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/750dac241eaf18767312c1beadb573c4.jpg","text":"TemporaryFile(/tmp/multipartBody5060628288627296064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417653681,"filename":"image_06042025_22_48_57_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efd35c669b7a36e2a7b36f93c5a87d18.jpg","text":"TemporaryFile(/tmp/multipartBody2674337773778198515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417653681,"filename":"image_06042025_22_48_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7408941163571455281bea1aaeec4a46.jpg","text":"TemporaryFile(/tmp/multipartBody6625595596918560455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417653681,"filename":"image_06042025_22_49_06_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4efc82611b8fa24fa58dbfa2a091048.jpg","text":"TemporaryFile(/tmp/multipartBody5013427245390163918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417653681,"filename":"image_06042025_22_48_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d77c18916eea7c12d5f612e737f3a3d1.jpg","text":"TemporaryFile(/tmp/multipartBody2931303948952442068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417653681,"filename":"image_06042025_22_48_37_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352031822","file1":"1352031780","file0":"1352031752","file4":"1352031898","file5":"1352031942","file3":"1352031855"},"map_files_photo_id_array":[{"photo_id":"1352031942","filename":"file5"},{"photo_id":"1352031822","filename":"file2"},{"photo_id":"1352031898","filename":"file4"},{"photo_id":"1352031780","filename":"file1"},{"photo_id":"1352031752","filename":"file0"},{"photo_id":"1352031855","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352031752":["hashtag1","hashtag2"]},{"1352031898":["hashtag1","hashtag2"]},{"1352031780":["hashtag1","hashtag2"]},{"1352031942":["hashtag1","hashtag2"]},{"1352031855":["hashtag1","hashtag2"]},{"1352031822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352031752, 1352031898, 1352031780, 1352031942, 1352031855, 1352031822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4916877746582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:27:32.281170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_17_10431.jpg', '/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_26_9364.jpg', '/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_36_10363.jpg', '/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_47_10359.jpg', '/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_56_9463.jpg', '/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_17_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_17_10431.jpg
/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_26_9364.jpg
/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_36_10363.jpg
/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_47_10359.jpg
/home/pi/Desktop/images/06042025/22/49/image_06042025_22_49_56_9463.jpg
/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_17_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352032214","1352032186","1352032105","1352032161","1352032137","1352032071"],"photo_ids_order":["1352032071","1352032105","1352032137","1352032161","1352032186","1352032214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34bf98d43b7c318d9df4b10c0ea36714.jpg","text":"TemporaryFile(/tmp/multipartBody6862930576011178087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417713874,"filename":"image_06042025_22_50_17_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a8565347cbb19514184cab413a4dac0.jpg","text":"TemporaryFile(/tmp/multipartBody1456727486818147023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417713874,"filename":"image_06042025_22_49_56_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe540d22d84e056ee63c91a62e5bcdd6.jpg","text":"TemporaryFile(/tmp/multipartBody8889614649699659411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417713874,"filename":"image_06042025_22_49_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3232b7db51636e24569ba4169b1b26f.jpg","text":"TemporaryFile(/tmp/multipartBody543525418172818309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417713874,"filename":"image_06042025_22_49_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e34312cf1ce0e866e0a4e92ab0e18161.jpg","text":"TemporaryFile(/tmp/multipartBody8168031598296678779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417713874,"filename":"image_06042025_22_49_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61d236a43a97c5a9560a6d95208b8ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1490741307689006969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417713874,"filename":"image_06042025_22_49_17_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352032137","file1":"1352032105","file0":"1352032071","file4":"1352032186","file5":"1352032214","file3":"1352032161"},"map_files_photo_id_array":[{"photo_id":"1352032214","filename":"file5"},{"photo_id":"1352032137","filename":"file2"},{"photo_id":"1352032186","filename":"file4"},{"photo_id":"1352032105","filename":"file1"},{"photo_id":"1352032071","filename":"file0"},{"photo_id":"1352032161","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352032214":["hashtag1","hashtag2"]},{"1352032186":["hashtag1","hashtag2"]},{"1352032105":["hashtag1","hashtag2"]},{"1352032161":["hashtag1","hashtag2"]},{"1352032137":["hashtag1","hashtag2"]},{"1352032071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352032214, 1352032186, 1352032105, 1352032161, 1352032137, 1352032071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.542293071746826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:28:32.447420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_26_9427.jpg', '/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_37_10397.jpg', '/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_46_9414.jpg', '/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_57_10370.jpg', '/home/pi/Desktop/images/06042025/22/51/image_06042025_22_51_17_10451.jpg', '/home/pi/Desktop/images/06042025/22/51/image_06042025_22_51_27_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_26_9427.jpg
/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_37_10397.jpg
/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_46_9414.jpg
/home/pi/Desktop/images/06042025/22/50/image_06042025_22_50_57_10370.jpg
/home/pi/Desktop/images/06042025/22/51/image_06042025_22_51_17_10451.jpg
/home/pi/Desktop/images/06042025/22/51/image_06042025_22_51_27_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352032288","1352032264","1352032295","1352032292","1352032274","1352032268"],"photo_ids_order":["1352032264","1352032268","1352032274","1352032288","1352032292","1352032295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d494de4097d358b7448c739ebaa7602.jpg","text":"TemporaryFile(/tmp/multipartBody4595906474695029534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417774022,"filename":"image_06042025_22_50_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/764f44bb1a37c02f9cb1bf207cbeaea9.jpg","text":"TemporaryFile(/tmp/multipartBody4101613466678918843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417774022,"filename":"image_06042025_22_50_26_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e132dd9072a8fa8ace986b1f05339718.jpg","text":"TemporaryFile(/tmp/multipartBody3180336308183428492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417774022,"filename":"image_06042025_22_51_27_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06171181988fbed43c9f7c3c4d2ef437.jpg","text":"TemporaryFile(/tmp/multipartBody7963889758378448127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417774022,"filename":"image_06042025_22_51_17_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a92d957c84d7a9c5aa94be71730fd43c.jpg","text":"TemporaryFile(/tmp/multipartBody7729904944108353865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417774022,"filename":"image_06042025_22_50_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/266bda4ab7d4a5d477b59ff0899a5dde.jpg","text":"TemporaryFile(/tmp/multipartBody6539176359808210264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417774022,"filename":"image_06042025_22_50_37_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352032274","file1":"1352032268","file0":"1352032264","file4":"1352032292","file5":"1352032295","file3":"1352032288"},"map_files_photo_id_array":[{"photo_id":"1352032295","filename":"file5"},{"photo_id":"1352032274","filename":"file2"},{"photo_id":"1352032292","filename":"file4"},{"photo_id":"1352032268","filename":"file1"},{"photo_id":"1352032264","filename":"file0"},{"photo_id":"1352032288","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352032288":["hashtag1","hashtag2"]},{"1352032264":["hashtag1","hashtag2"]},{"1352032295":["hashtag1","hashtag2"]},{"1352032292":["hashtag1","hashtag2"]},{"1352032274":["hashtag1","hashtag2"]},{"1352032268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352032288, 1352032264, 1352032295, 1352032292, 1352032274, 1352032268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58143734931946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:29:32.705178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/51/image_06042025_22_51_36_9380.jpg', '/home/pi/Desktop/images/06042025/22/51/image_06042025_22_52_06_9437.jpg', '/home/pi/Desktop/images/06042025/22/52/image_06042025_22_52_17_10397.jpg', '/home/pi/Desktop/images/06042025/22/52/image_06042025_22_52_26_9553.jpg', '/home/pi/Desktop/images/06042025/22/52/image_06042025_22_52_57_10420.jpg', '/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_16_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/51/image_06042025_22_51_36_9380.jpg
/home/pi/Desktop/images/06042025/22/51/image_06042025_22_52_06_9437.jpg
/home/pi/Desktop/images/06042025/22/52/image_06042025_22_52_17_10397.jpg
/home/pi/Desktop/images/06042025/22/52/image_06042025_22_52_26_9553.jpg
/home/pi/Desktop/images/06042025/22/52/image_06042025_22_52_57_10420.jpg
/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_16_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352032381","1352032429","1352032420","1352032353","1352032416","1352032343"],"photo_ids_order":["1352032343","1352032353","1352032381","1352032416","1352032420","1352032429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82eaa27724b8ac661492c4ae3f58780a.jpg","text":"TemporaryFile(/tmp/multipartBody4713050224341808700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417834309,"filename":"image_06042025_22_52_17_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f4536346b23bd0efbe5b8dfa5c271a5.jpg","text":"TemporaryFile(/tmp/multipartBody7974768798135838800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417834309,"filename":"image_06042025_22_53_16_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5631e0017cb3e327b69bfdd1b5214b4.jpg","text":"TemporaryFile(/tmp/multipartBody7678821555908583101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417834309,"filename":"image_06042025_22_52_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1434a8a96d814ab48592b4340dbfe2b2.jpg","text":"TemporaryFile(/tmp/multipartBody7189831063014709251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417834309,"filename":"image_06042025_22_52_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b8f84469434adaec914f3622cdfd94f.jpg","text":"TemporaryFile(/tmp/multipartBody5309238938112707674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417834309,"filename":"image_06042025_22_52_26_9553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8db5b3ba0140d08e105766b101e21b6.jpg","text":"TemporaryFile(/tmp/multipartBody7177877120638519402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417834309,"filename":"image_06042025_22_51_36_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352032381","file1":"1352032353","file0":"1352032343","file4":"1352032420","file5":"1352032429","file3":"1352032416"},"map_files_photo_id_array":[{"photo_id":"1352032429","filename":"file5"},{"photo_id":"1352032381","filename":"file2"},{"photo_id":"1352032420","filename":"file4"},{"photo_id":"1352032353","filename":"file1"},{"photo_id":"1352032343","filename":"file0"},{"photo_id":"1352032416","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352032381":["hashtag1","hashtag2"]},{"1352032429":["hashtag1","hashtag2"]},{"1352032420":["hashtag1","hashtag2"]},{"1352032353":["hashtag1","hashtag2"]},{"1352032416":["hashtag1","hashtag2"]},{"1352032343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352032381, 1352032429, 1352032420, 1352032353, 1352032416, 1352032343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.94393706321716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:30:32.850263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_27_10433.jpg', '/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_36_9422.jpg', '/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_47_10347.jpg', '/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_57_10390.jpg', '/home/pi/Desktop/images/06042025/22/53/image_06042025_22_54_07_9462.jpg', '/home/pi/Desktop/images/06042025/22/54/image_06042025_22_54_17_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_27_10433.jpg
/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_36_9422.jpg
/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_47_10347.jpg
/home/pi/Desktop/images/06042025/22/53/image_06042025_22_53_57_10390.jpg
/home/pi/Desktop/images/06042025/22/53/image_06042025_22_54_07_9462.jpg
/home/pi/Desktop/images/06042025/22/54/image_06042025_22_54_17_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352032476","1352032473","1352032487","1352032481","1352032469","1352032484"],"photo_ids_order":["1352032469","1352032473","1352032476","1352032481","1352032484","1352032487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9daf5b032bdc883ee4dbfa1dae5674fd.jpg","text":"TemporaryFile(/tmp/multipartBody2260885148595309335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417894431,"filename":"image_06042025_22_53_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b970aa2f018beb491d381b5c41e3f96.jpg","text":"TemporaryFile(/tmp/multipartBody7024498634010668754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417894431,"filename":"image_06042025_22_53_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84df6974e65cc421f7197fad43628425.jpg","text":"TemporaryFile(/tmp/multipartBody3267239118747474157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417894431,"filename":"image_06042025_22_54_17_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8774296734d9d261c86d2a1ede0c1ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2251559123398536936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417894431,"filename":"image_06042025_22_53_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d0767f0053f40c2257cc3f1b02551f9.jpg","text":"TemporaryFile(/tmp/multipartBody4478951885200013888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417894431,"filename":"image_06042025_22_53_27_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f41427411b27da4645b993a9c62cd8ac.jpg","text":"TemporaryFile(/tmp/multipartBody263051985311669969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417894431,"filename":"image_06042025_22_54_07_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352032476","file1":"1352032473","file0":"1352032469","file4":"1352032484","file5":"1352032487","file3":"1352032481"},"map_files_photo_id_array":[{"photo_id":"1352032487","filename":"file5"},{"photo_id":"1352032476","filename":"file2"},{"photo_id":"1352032484","filename":"file4"},{"photo_id":"1352032473","filename":"file1"},{"photo_id":"1352032469","filename":"file0"},{"photo_id":"1352032481","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352032476":["hashtag1","hashtag2"]},{"1352032473":["hashtag1","hashtag2"]},{"1352032487":["hashtag1","hashtag2"]},{"1352032481":["hashtag1","hashtag2"]},{"1352032469":["hashtag1","hashtag2"]},{"1352032484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352032476, 1352032473, 1352032487, 1352032481, 1352032469, 1352032484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.956379652023315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:31:33.145764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/54/image_06042025_22_54_37_10417.jpg', '/home/pi/Desktop/images/06042025/22/54/image_06042025_22_54_46_9349.jpg', '/home/pi/Desktop/images/06042025/22/54/image_06042025_22_54_57_10412.jpg', '/home/pi/Desktop/images/06042025/22/54/image_06042025_22_55_07_10384.jpg', '/home/pi/Desktop/images/06042025/22/55/image_06042025_22_55_16_9400.jpg', '/home/pi/Desktop/images/06042025/22/55/image_06042025_22_55_27_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/54/image_06042025_22_54_37_10417.jpg
/home/pi/Desktop/images/06042025/22/54/image_06042025_22_54_46_9349.jpg
/home/pi/Desktop/images/06042025/22/54/image_06042025_22_54_57_10412.jpg
/home/pi/Desktop/images/06042025/22/54/image_06042025_22_55_07_10384.jpg
/home/pi/Desktop/images/06042025/22/55/image_06042025_22_55_16_9400.jpg
/home/pi/Desktop/images/06042025/22/55/image_06042025_22_55_27_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352032897","1352032761","1352032857","1352032710","1352032653","1352032806"],"photo_ids_order":["1352032653","1352032710","1352032761","1352032806","1352032857","1352032897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ec68e529ded0ebf5d000407ed549337.jpg","text":"TemporaryFile(/tmp/multipartBody7615002373712962725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417954758,"filename":"image_06042025_22_55_27_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b19bacbd0aa9ae0908eb0dd7dac0464b.jpg","text":"TemporaryFile(/tmp/multipartBody6526388850226723283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417954758,"filename":"image_06042025_22_54_57_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d25083b619a42c3d5a5c3ce096d8c02.jpg","text":"TemporaryFile(/tmp/multipartBody720361234512999861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417954758,"filename":"image_06042025_22_55_16_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7797b70621aa99b61b7617c4659bad0.jpg","text":"TemporaryFile(/tmp/multipartBody2736269567170300047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417954758,"filename":"image_06042025_22_54_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f894ed7fbb6d21607846be918612af3f.jpg","text":"TemporaryFile(/tmp/multipartBody386917697352789222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417954758,"filename":"image_06042025_22_54_37_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ffef744509cf629d3591e45f589c2c6.jpg","text":"TemporaryFile(/tmp/multipartBody7852924107458467617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744417954758,"filename":"image_06042025_22_55_07_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352032761","file1":"1352032710","file0":"1352032653","file4":"1352032857","file5":"1352032897","file3":"1352032806"},"map_files_photo_id_array":[{"photo_id":"1352032897","filename":"file5"},{"photo_id":"1352032761","filename":"file2"},{"photo_id":"1352032857","filename":"file4"},{"photo_id":"1352032710","filename":"file1"},{"photo_id":"1352032653","filename":"file0"},{"photo_id":"1352032806","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352032897":["hashtag1","hashtag2"]},{"1352032761":["hashtag1","hashtag2"]},{"1352032857":["hashtag1","hashtag2"]},{"1352032710":["hashtag1","hashtag2"]},{"1352032653":["hashtag1","hashtag2"]},{"1352032806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352032897, 1352032761, 1352032857, 1352032710, 1352032653, 1352032806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59978222846985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:32:32.191406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/55/image_06042025_22_55_47_10426.jpg', '/home/pi/Desktop/images/06042025/22/55/image_06042025_22_55_57_10358.jpg', '/home/pi/Desktop/images/06042025/22/55/image_06042025_22_56_06_9410.jpg', '/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_17_10415.jpg', '/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_27_10359.jpg', '/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_36_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/55/image_06042025_22_55_47_10426.jpg
/home/pi/Desktop/images/06042025/22/55/image_06042025_22_55_57_10358.jpg
/home/pi/Desktop/images/06042025/22/55/image_06042025_22_56_06_9410.jpg
/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_17_10415.jpg
/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_27_10359.jpg
/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_36_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352033803","1352033622","1352033393","1352033825","1352033522","1352033723"],"photo_ids_order":["1352033393","1352033522","1352033622","1352033723","1352033803","1352033825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a90fcf11762622faafbb1661a203d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4259410248857594651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418013769,"filename":"image_06042025_22_56_27_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94a71e60f2d14a48fd6e7ff7d2994c76.jpg","text":"TemporaryFile(/tmp/multipartBody6557738072996515404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418013769,"filename":"image_06042025_22_56_06_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05c734a5739f83e93aa5e87ef14f116c.jpg","text":"TemporaryFile(/tmp/multipartBody8628573486696110390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418013769,"filename":"image_06042025_22_55_47_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c82ffce1c83081ba6dc53071719437a1.jpg","text":"TemporaryFile(/tmp/multipartBody4364619074106118452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418013769,"filename":"image_06042025_22_56_36_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03cccbca32c119ed55e86999555e47fb.jpg","text":"TemporaryFile(/tmp/multipartBody5735093923341851050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418013769,"filename":"image_06042025_22_55_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd64e2c234eb7771852bbfb25212a462.jpg","text":"TemporaryFile(/tmp/multipartBody5620947659118684023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418013769,"filename":"image_06042025_22_56_17_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352033622","file1":"1352033522","file0":"1352033393","file4":"1352033803","file5":"1352033825","file3":"1352033723"},"map_files_photo_id_array":[{"photo_id":"1352033825","filename":"file5"},{"photo_id":"1352033622","filename":"file2"},{"photo_id":"1352033803","filename":"file4"},{"photo_id":"1352033522","filename":"file1"},{"photo_id":"1352033393","filename":"file0"},{"photo_id":"1352033723","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352033803":["hashtag1","hashtag2"]},{"1352033622":["hashtag1","hashtag2"]},{"1352033393":["hashtag1","hashtag2"]},{"1352033825":["hashtag1","hashtag2"]},{"1352033522":["hashtag1","hashtag2"]},{"1352033723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352033803, 1352033622, 1352033393, 1352033825, 1352033522, 1352033723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59108114242554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:33:32.452415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_47_10397.jpg', '/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_56_9485.jpg', '/home/pi/Desktop/images/06042025/22/56/image_06042025_22_57_07_10343.jpg', '/home/pi/Desktop/images/06042025/22/57/image_06042025_22_57_17_10338.jpg', '/home/pi/Desktop/images/06042025/22/57/image_06042025_22_57_26_9432.jpg', '/home/pi/Desktop/images/06042025/22/57/image_06042025_22_57_37_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_47_10397.jpg
/home/pi/Desktop/images/06042025/22/56/image_06042025_22_56_56_9485.jpg
/home/pi/Desktop/images/06042025/22/56/image_06042025_22_57_07_10343.jpg
/home/pi/Desktop/images/06042025/22/57/image_06042025_22_57_17_10338.jpg
/home/pi/Desktop/images/06042025/22/57/image_06042025_22_57_26_9432.jpg
/home/pi/Desktop/images/06042025/22/57/image_06042025_22_57_37_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352034019","1352034027","1352034006","1352034011","1352034014","1352034034"],"photo_ids_order":["1352034006","1352034011","1352034014","1352034019","1352034027","1352034034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/029e19ea9f5c4c88c1d13a5a218775b7.jpg","text":"TemporaryFile(/tmp/multipartBody4476768621642914219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418074034,"filename":"image_06042025_22_57_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dee8a627c45f579a7d57adc5c15e7cca.jpg","text":"TemporaryFile(/tmp/multipartBody3594931696754825623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418074034,"filename":"image_06042025_22_57_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3573d7a68a5c62a2a61ae1f9a5fd99b8.jpg","text":"TemporaryFile(/tmp/multipartBody7499507127607761140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418074034,"filename":"image_06042025_22_56_47_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34b8c3d6cc264e9996c41384adc1aa14.jpg","text":"TemporaryFile(/tmp/multipartBody682285542763738784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418074034,"filename":"image_06042025_22_56_56_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b20cc005a50834dc1d68c8fd83f18e9c.jpg","text":"TemporaryFile(/tmp/multipartBody1083580914928512869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418074034,"filename":"image_06042025_22_57_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5ee76fe314ad662e1fe488c640926a7.jpg","text":"TemporaryFile(/tmp/multipartBody2369439422102017084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418074034,"filename":"image_06042025_22_57_37_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352034014","file1":"1352034011","file0":"1352034006","file4":"1352034027","file5":"1352034034","file3":"1352034019"},"map_files_photo_id_array":[{"photo_id":"1352034034","filename":"file5"},{"photo_id":"1352034014","filename":"file2"},{"photo_id":"1352034027","filename":"file4"},{"photo_id":"1352034011","filename":"file1"},{"photo_id":"1352034006","filename":"file0"},{"photo_id":"1352034019","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352034019":["hashtag1","hashtag2"]},{"1352034027":["hashtag1","hashtag2"]},{"1352034006":["hashtag1","hashtag2"]},{"1352034011":["hashtag1","hashtag2"]},{"1352034014":["hashtag1","hashtag2"]},{"1352034034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352034019, 1352034027, 1352034006, 1352034011, 1352034014, 1352034034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.254268169403076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:34:32.633978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/57/image_06042025_22_57_46_9387.jpg', '/home/pi/Desktop/images/06042025/22/58/image_06042025_22_58_16_9477.jpg', '/home/pi/Desktop/images/06042025/22/58/image_06042025_22_58_36_9420.jpg', '/home/pi/Desktop/images/06042025/22/58/image_06042025_22_58_47_10397.jpg', '/home/pi/Desktop/images/06042025/22/58/image_06042025_22_58_57_10359.jpg', '/home/pi/Desktop/images/06042025/22/58/image_06042025_22_59_06_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/57/image_06042025_22_57_46_9387.jpg
/home/pi/Desktop/images/06042025/22/58/image_06042025_22_58_16_9477.jpg
/home/pi/Desktop/images/06042025/22/58/image_06042025_22_58_36_9420.jpg
/home/pi/Desktop/images/06042025/22/58/image_06042025_22_58_47_10397.jpg
/home/pi/Desktop/images/06042025/22/58/image_06042025_22_58_57_10359.jpg
/home/pi/Desktop/images/06042025/22/58/image_06042025_22_59_06_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352034409","1352034297","1352034324","1352034414","1352034383","1352034454"],"photo_ids_order":["1352034297","1352034324","1352034383","1352034409","1352034414","1352034454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a994e2f48caf70b12c11e1dd5521dd32.jpg","text":"TemporaryFile(/tmp/multipartBody1943655475130977163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418134225,"filename":"image_06042025_22_58_47_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56f3eb811b303bd67be5a6dc141b1404.jpg","text":"TemporaryFile(/tmp/multipartBody6263418735766151877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418134225,"filename":"image_06042025_22_57_46_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d31274de5fa76c156f1040515745d765.jpg","text":"TemporaryFile(/tmp/multipartBody1940367270613987664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418134225,"filename":"image_06042025_22_58_16_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5959604143c41ed09f9186a6e9916bf.jpg","text":"TemporaryFile(/tmp/multipartBody4523076877871773769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418134225,"filename":"image_06042025_22_58_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39456632ccd708db5f703d7da401d94f.jpg","text":"TemporaryFile(/tmp/multipartBody2858821095686193356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418134225,"filename":"image_06042025_22_58_36_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f61a6c02d7138b4c041251642335bda.jpg","text":"TemporaryFile(/tmp/multipartBody3269138069092272533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418134225,"filename":"image_06042025_22_59_06_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352034383","file1":"1352034324","file0":"1352034297","file4":"1352034414","file5":"1352034454","file3":"1352034409"},"map_files_photo_id_array":[{"photo_id":"1352034454","filename":"file5"},{"photo_id":"1352034383","filename":"file2"},{"photo_id":"1352034414","filename":"file4"},{"photo_id":"1352034324","filename":"file1"},{"photo_id":"1352034297","filename":"file0"},{"photo_id":"1352034409","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352034409":["hashtag1","hashtag2"]},{"1352034297":["hashtag1","hashtag2"]},{"1352034324":["hashtag1","hashtag2"]},{"1352034414":["hashtag1","hashtag2"]},{"1352034383":["hashtag1","hashtag2"]},{"1352034454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352034409, 1352034297, 1352034324, 1352034414, 1352034383, 1352034454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82859420776367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:35:32.956415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/22/59/image_06042025_22_59_26_9351.jpg', '/home/pi/Desktop/images/06042025/22/59/image_06042025_22_59_36_10392.jpg', '/home/pi/Desktop/images/06042025/22/59/image_06042025_22_59_47_10404.jpg', '/home/pi/Desktop/images/06042025/22/59/image_06042025_22_59_56_9397.jpg', '/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_15_10072.jpg', '/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_25_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/22/59/image_06042025_22_59_26_9351.jpg
/home/pi/Desktop/images/06042025/22/59/image_06042025_22_59_36_10392.jpg
/home/pi/Desktop/images/06042025/22/59/image_06042025_22_59_47_10404.jpg
/home/pi/Desktop/images/06042025/22/59/image_06042025_22_59_56_9397.jpg
/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_15_10072.jpg
/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_25_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352034651","1352034819","1352034723","1352034695","1352034740","1352034661"],"photo_ids_order":["1352034651","1352034661","1352034695","1352034723","1352034740","1352034819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac69d8e772abb590a3287c09adf8a36a.jpg","text":"TemporaryFile(/tmp/multipartBody7138332311299060770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418194604,"filename":"image_06042025_22_59_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/356d5b3ea26ca50ded597cee355a2f54.jpg","text":"TemporaryFile(/tmp/multipartBody7995933801471989577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418194604,"filename":"image_06042025_23_01_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1f6bc735000dcb1040873a8e4e3608b.jpg","text":"TemporaryFile(/tmp/multipartBody6164141135822626094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418194604,"filename":"image_06042025_22_59_56_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf2e27c5fb338b468ad468b33ef87eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7902342476566592607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418194604,"filename":"image_06042025_22_59_47_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10d1c7c6372d79a9c96e27ad45a46f95.jpg","text":"TemporaryFile(/tmp/multipartBody4381901409999453756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418194604,"filename":"image_06042025_23_01_15_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16330e9a956324a87a4bb86a08cb839c.jpg","text":"TemporaryFile(/tmp/multipartBody4497020697492947651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418194604,"filename":"image_06042025_22_59_36_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352034695","file1":"1352034661","file0":"1352034651","file4":"1352034740","file5":"1352034819","file3":"1352034723"},"map_files_photo_id_array":[{"photo_id":"1352034819","filename":"file5"},{"photo_id":"1352034695","filename":"file2"},{"photo_id":"1352034740","filename":"file4"},{"photo_id":"1352034661","filename":"file1"},{"photo_id":"1352034651","filename":"file0"},{"photo_id":"1352034723","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352034651":["hashtag1","hashtag2"]},{"1352034819":["hashtag1","hashtag2"]},{"1352034723":["hashtag1","hashtag2"]},{"1352034695":["hashtag1","hashtag2"]},{"1352034740":["hashtag1","hashtag2"]},{"1352034661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352034651, 1352034819, 1352034723, 1352034695, 1352034740, 1352034661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.394882678985596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:36:33.199975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_36_10434.jpg', '/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_45_9409.jpg', '/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_55_10355.jpg', '/home/pi/Desktop/images/06042025/23/01/image_06042025_23_02_05_9376.jpg', '/home/pi/Desktop/images/06042025/23/02/image_06042025_23_02_25_10372.jpg', '/home/pi/Desktop/images/06042025/23/02/image_06042025_23_02_35_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_36_10434.jpg
/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_45_9409.jpg
/home/pi/Desktop/images/06042025/23/01/image_06042025_23_01_55_10355.jpg
/home/pi/Desktop/images/06042025/23/01/image_06042025_23_02_05_9376.jpg
/home/pi/Desktop/images/06042025/23/02/image_06042025_23_02_25_10372.jpg
/home/pi/Desktop/images/06042025/23/02/image_06042025_23_02_35_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035062","1352035130","1352035088","1352035136","1352035126","1352035117"],"photo_ids_order":["1352035062","1352035088","1352035117","1352035126","1352035130","1352035136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5dccec10afc95ac85b89d0c5ca05e510.jpg","text":"TemporaryFile(/tmp/multipartBody2664785519025235210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418254782,"filename":"image_06042025_23_01_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ec9b192e98de080e2fc0dfef4105155.jpg","text":"TemporaryFile(/tmp/multipartBody5301874125843172450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418254782,"filename":"image_06042025_23_02_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/813a770a42f4bf6d87ca60f2d7b8161a.jpg","text":"TemporaryFile(/tmp/multipartBody2670820656551743781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418254782,"filename":"image_06042025_23_01_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb910b1b7bbeb17c566ae8e3fdac40ba.jpg","text":"TemporaryFile(/tmp/multipartBody6344363728662464118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418254782,"filename":"image_06042025_23_02_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8cf97964a0ed70f100aadaafe4dcbf33.jpg","text":"TemporaryFile(/tmp/multipartBody2816116649829946819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418254782,"filename":"image_06042025_23_02_05_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10104acf415e1f7312fea30e375a4fae.jpg","text":"TemporaryFile(/tmp/multipartBody7881639726076603205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418254782,"filename":"image_06042025_23_01_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035117","file1":"1352035088","file0":"1352035062","file4":"1352035130","file5":"1352035136","file3":"1352035126"},"map_files_photo_id_array":[{"photo_id":"1352035136","filename":"file5"},{"photo_id":"1352035117","filename":"file2"},{"photo_id":"1352035130","filename":"file4"},{"photo_id":"1352035088","filename":"file1"},{"photo_id":"1352035062","filename":"file0"},{"photo_id":"1352035126","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035062":["hashtag1","hashtag2"]},{"1352035130":["hashtag1","hashtag2"]},{"1352035088":["hashtag1","hashtag2"]},{"1352035136":["hashtag1","hashtag2"]},{"1352035126":["hashtag1","hashtag2"]},{"1352035117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035062, 1352035130, 1352035088, 1352035136, 1352035126, 1352035117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.896536111831665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:37:32.390932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/02/image_06042025_23_02_45_10449.jpg', '/home/pi/Desktop/images/06042025/23/02/image_06042025_23_03_05_10356.jpg', '/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_16_10464.jpg', '/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_25_9415.jpg', '/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_35_10440.jpg', '/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_45_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/02/image_06042025_23_02_45_10449.jpg
/home/pi/Desktop/images/06042025/23/02/image_06042025_23_03_05_10356.jpg
/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_16_10464.jpg
/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_25_9415.jpg
/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_35_10440.jpg
/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_45_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035212","1352035189","1352035276","1352035243","1352035330","1352035300"],"photo_ids_order":["1352035189","1352035212","1352035243","1352035276","1352035300","1352035330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7a56e5af8437ccf83628f19a4954d19.jpg","text":"TemporaryFile(/tmp/multipartBody6241913753030584978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418313966,"filename":"image_06042025_23_03_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/648a84c15757bae0abf829b674ad6861.jpg","text":"TemporaryFile(/tmp/multipartBody3401490235897786575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418313966,"filename":"image_06042025_23_02_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26542e58aeb6f82cf0cc1b9f7b541ed6.jpg","text":"TemporaryFile(/tmp/multipartBody753492090075467176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418313966,"filename":"image_06042025_23_03_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e638274847427330ba5e093107aa898.jpg","text":"TemporaryFile(/tmp/multipartBody3923279808379832414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418313966,"filename":"image_06042025_23_03_16_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6daa31fa04381ef4d6f6f757ef81a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5901487958986721656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418313966,"filename":"image_06042025_23_03_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52eeea3d71d53b31eefca482a31d4e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3730319486525035482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418313966,"filename":"image_06042025_23_03_35_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035243","file1":"1352035212","file0":"1352035189","file4":"1352035300","file5":"1352035330","file3":"1352035276"},"map_files_photo_id_array":[{"photo_id":"1352035330","filename":"file5"},{"photo_id":"1352035243","filename":"file2"},{"photo_id":"1352035300","filename":"file4"},{"photo_id":"1352035212","filename":"file1"},{"photo_id":"1352035189","filename":"file0"},{"photo_id":"1352035276","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035212":["hashtag1","hashtag2"]},{"1352035189":["hashtag1","hashtag2"]},{"1352035276":["hashtag1","hashtag2"]},{"1352035243":["hashtag1","hashtag2"]},{"1352035330":["hashtag1","hashtag2"]},{"1352035300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035212, 1352035189, 1352035276, 1352035243, 1352035330, 1352035300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.295721769332886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:38:32.673458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_55_10374.jpg', '/home/pi/Desktop/images/06042025/23/03/image_06042025_23_04_06_10411.jpg', '/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_15_9382.jpg', '/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_25_10490.jpg', '/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_35_9362.jpg', '/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_45_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/03/image_06042025_23_03_55_10374.jpg
/home/pi/Desktop/images/06042025/23/03/image_06042025_23_04_06_10411.jpg
/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_15_9382.jpg
/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_25_10490.jpg
/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_35_9362.jpg
/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_45_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035470","1352035413","1352035499","1352035439","1352035510","1352035408"],"photo_ids_order":["1352035408","1352035413","1352035439","1352035470","1352035499","1352035510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af5b9bd7be66f579114bd4748829d956.jpg","text":"TemporaryFile(/tmp/multipartBody3900664109504224991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418374250,"filename":"image_06042025_23_04_25_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37a902a5256c7332292262db602a2e4f.jpg","text":"TemporaryFile(/tmp/multipartBody558292180898419442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418374250,"filename":"image_06042025_23_04_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c96f4e6b08ec196b2e98dfdc948d05cf.jpg","text":"TemporaryFile(/tmp/multipartBody3490280747303250371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418374250,"filename":"image_06042025_23_04_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf4ed0eeacd0611b4f2a01d8afa96200.jpg","text":"TemporaryFile(/tmp/multipartBody2129009049603171651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418374250,"filename":"image_06042025_23_04_15_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df7c64d3d7c7621efab94703133d81ca.jpg","text":"TemporaryFile(/tmp/multipartBody1228890575443406686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418374250,"filename":"image_06042025_23_04_45_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ae6c307e95417ac2e3340249dd1576b.jpg","text":"TemporaryFile(/tmp/multipartBody3763210982614036172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418374250,"filename":"image_06042025_23_03_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035439","file1":"1352035413","file0":"1352035408","file4":"1352035499","file5":"1352035510","file3":"1352035470"},"map_files_photo_id_array":[{"photo_id":"1352035510","filename":"file5"},{"photo_id":"1352035439","filename":"file2"},{"photo_id":"1352035499","filename":"file4"},{"photo_id":"1352035413","filename":"file1"},{"photo_id":"1352035408","filename":"file0"},{"photo_id":"1352035470","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035470":["hashtag1","hashtag2"]},{"1352035413":["hashtag1","hashtag2"]},{"1352035499":["hashtag1","hashtag2"]},{"1352035439":["hashtag1","hashtag2"]},{"1352035510":["hashtag1","hashtag2"]},{"1352035408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035470, 1352035413, 1352035499, 1352035439, 1352035510, 1352035408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.81148552894592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:39:32.707939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_55_9351.jpg', '/home/pi/Desktop/images/06042025/23/04/image_06042025_23_05_05_10373.jpg', '/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_15_10384.jpg', '/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_25_9382.jpg', '/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_35_10359.jpg', '/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_45_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/04/image_06042025_23_04_55_9351.jpg
/home/pi/Desktop/images/06042025/23/04/image_06042025_23_05_05_10373.jpg
/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_15_10384.jpg
/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_25_9382.jpg
/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_35_10359.jpg
/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_45_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035542","1352035533","1352035526","1352035537","1352035522","1352035519"],"photo_ids_order":["1352035519","1352035522","1352035526","1352035533","1352035537","1352035542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/605773513fe65a29d0a334a006830c98.jpg","text":"TemporaryFile(/tmp/multipartBody7064822453781151992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418434299,"filename":"image_06042025_23_05_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8218914a383b758de8f04ceb123d15d4.jpg","text":"TemporaryFile(/tmp/multipartBody8900563722487288175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418434299,"filename":"image_06042025_23_05_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0484bcf198993714f960760677daa38a.jpg","text":"TemporaryFile(/tmp/multipartBody955326778110132851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418434299,"filename":"image_06042025_23_05_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/431a2ab9cb930ea1893156b772345e5d.jpg","text":"TemporaryFile(/tmp/multipartBody1702592585140434846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418434299,"filename":"image_06042025_23_05_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de8263e3411e5a6df450492d5e98e802.jpg","text":"TemporaryFile(/tmp/multipartBody5224036254589993106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418434299,"filename":"image_06042025_23_05_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3ccfe99451410d9c82814e4b6474124.jpg","text":"TemporaryFile(/tmp/multipartBody5561605014494010517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418434299,"filename":"image_06042025_23_04_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035526","file1":"1352035522","file0":"1352035519","file4":"1352035537","file5":"1352035542","file3":"1352035533"},"map_files_photo_id_array":[{"photo_id":"1352035542","filename":"file5"},{"photo_id":"1352035526","filename":"file2"},{"photo_id":"1352035537","filename":"file4"},{"photo_id":"1352035522","filename":"file1"},{"photo_id":"1352035519","filename":"file0"},{"photo_id":"1352035533","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035542":["hashtag1","hashtag2"]},{"1352035533":["hashtag1","hashtag2"]},{"1352035526":["hashtag1","hashtag2"]},{"1352035537":["hashtag1","hashtag2"]},{"1352035522":["hashtag1","hashtag2"]},{"1352035519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035542, 1352035533, 1352035526, 1352035537, 1352035522, 1352035519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62056493759155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:40:32.942202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_55_9386.jpg', '/home/pi/Desktop/images/06042025/23/05/image_06042025_23_06_05_10422.jpg', '/home/pi/Desktop/images/06042025/23/06/image_06042025_23_06_15_9449.jpg', '/home/pi/Desktop/images/06042025/23/06/image_06042025_23_06_25_10355.jpg', '/home/pi/Desktop/images/06042025/23/06/image_06042025_23_06_35_10364.jpg', '/home/pi/Desktop/images/06042025/23/06/image_06042025_23_06_55_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/05/image_06042025_23_05_55_9386.jpg
/home/pi/Desktop/images/06042025/23/05/image_06042025_23_06_05_10422.jpg
/home/pi/Desktop/images/06042025/23/06/image_06042025_23_06_15_9449.jpg
/home/pi/Desktop/images/06042025/23/06/image_06042025_23_06_25_10355.jpg
/home/pi/Desktop/images/06042025/23/06/image_06042025_23_06_35_10364.jpg
/home/pi/Desktop/images/06042025/23/06/image_06042025_23_06_55_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035566","1352035614","1352035595","1352035562","1352035622","1352035575"],"photo_ids_order":["1352035562","1352035566","1352035575","1352035595","1352035614","1352035622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/856ad0ceb70b0c86a297a03dfe680e15.jpg","text":"TemporaryFile(/tmp/multipartBody7035380449164847345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418494515,"filename":"image_06042025_23_06_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c9b5e4b43bb1898cd0aa116ae362ded.jpg","text":"TemporaryFile(/tmp/multipartBody4823234008927970816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418494515,"filename":"image_06042025_23_06_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf337af35426c7c7fdf8c3c2726778ab.jpg","text":"TemporaryFile(/tmp/multipartBody1026811630600237044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418494515,"filename":"image_06042025_23_06_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7408fed7a6b54d67a820bf36556a50ef.jpg","text":"TemporaryFile(/tmp/multipartBody3049512263384097506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418494515,"filename":"image_06042025_23_05_55_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d67370c9aee790720f3ea7335287ef9c.jpg","text":"TemporaryFile(/tmp/multipartBody7502977810201103101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418494515,"filename":"image_06042025_23_06_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/970d7ef56af9f5b6538e332ab7598c6a.jpg","text":"TemporaryFile(/tmp/multipartBody1664813340372163458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418494515,"filename":"image_06042025_23_06_15_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035575","file1":"1352035566","file0":"1352035562","file4":"1352035614","file5":"1352035622","file3":"1352035595"},"map_files_photo_id_array":[{"photo_id":"1352035622","filename":"file5"},{"photo_id":"1352035575","filename":"file2"},{"photo_id":"1352035614","filename":"file4"},{"photo_id":"1352035566","filename":"file1"},{"photo_id":"1352035562","filename":"file0"},{"photo_id":"1352035595","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035566":["hashtag1","hashtag2"]},{"1352035614":["hashtag1","hashtag2"]},{"1352035595":["hashtag1","hashtag2"]},{"1352035562":["hashtag1","hashtag2"]},{"1352035622":["hashtag1","hashtag2"]},{"1352035575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035566, 1352035614, 1352035595, 1352035562, 1352035622, 1352035575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02227854728699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:41:32.151510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/06/image_06042025_23_07_05_9348.jpg', '/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_15_10435.jpg', '/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_26_10439.jpg', '/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_35_9358.jpg', '/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_45_10480.jpg', '/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_55_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/06/image_06042025_23_07_05_9348.jpg
/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_15_10435.jpg
/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_26_10439.jpg
/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_35_9358.jpg
/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_45_10480.jpg
/home/pi/Desktop/images/06042025/23/07/image_06042025_23_07_55_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035758","1352035746","1352035713","1352035751","1352035721","1352035756"],"photo_ids_order":["1352035713","1352035721","1352035746","1352035751","1352035756","1352035758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c55dc698d2d3a6565afb3dc19166b256.jpg","text":"TemporaryFile(/tmp/multipartBody6487384706361895879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418553811,"filename":"image_06042025_23_07_55_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af70dbd8706630c7d6c7f9ffa09185d3.jpg","text":"TemporaryFile(/tmp/multipartBody5649763958391179720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418553811,"filename":"image_06042025_23_07_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04887172cad69588ff2892c7ae3643d8.jpg","text":"TemporaryFile(/tmp/multipartBody2929116826759590196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418553811,"filename":"image_06042025_23_07_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bace1bf6574c3713714aa0555a11e137.jpg","text":"TemporaryFile(/tmp/multipartBody5659476525537154504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418553811,"filename":"image_06042025_23_07_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59890731624a43095c6c42c2fae07b45.jpg","text":"TemporaryFile(/tmp/multipartBody1595218546150417151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418553811,"filename":"image_06042025_23_07_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/980c8e54902677570701daaa6a28879f.jpg","text":"TemporaryFile(/tmp/multipartBody5799142134697982218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418553811,"filename":"image_06042025_23_07_45_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035746","file1":"1352035721","file0":"1352035713","file4":"1352035756","file5":"1352035758","file3":"1352035751"},"map_files_photo_id_array":[{"photo_id":"1352035758","filename":"file5"},{"photo_id":"1352035746","filename":"file2"},{"photo_id":"1352035756","filename":"file4"},{"photo_id":"1352035721","filename":"file1"},{"photo_id":"1352035713","filename":"file0"},{"photo_id":"1352035751","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035758":["hashtag1","hashtag2"]},{"1352035746":["hashtag1","hashtag2"]},{"1352035713":["hashtag1","hashtag2"]},{"1352035751":["hashtag1","hashtag2"]},{"1352035721":["hashtag1","hashtag2"]},{"1352035756":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035758, 1352035746, 1352035713, 1352035751, 1352035721, 1352035756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6417818069458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:42:32.331544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/07/image_06042025_23_08_05_10399.jpg', '/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_15_9489.jpg', '/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_25_10383.jpg', '/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_35_10353.jpg', '/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_45_9340.jpg', '/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/07/image_06042025_23_08_05_10399.jpg
/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_15_9489.jpg
/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_25_10383.jpg
/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_35_10353.jpg
/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_45_9340.jpg
/home/pi/Desktop/images/06042025/23/08/image_06042025_23_08_55_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035781","1352035790","1352035802","1352035805","1352035798","1352035794"],"photo_ids_order":["1352035781","1352035790","1352035794","1352035798","1352035802","1352035805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7aac35fa9339be6014642dcf61003f8.jpg","text":"TemporaryFile(/tmp/multipartBody2121983032816019777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418613922,"filename":"image_06042025_23_08_05_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c87f604515b893c57b02eb30e5ab36d2.jpg","text":"TemporaryFile(/tmp/multipartBody852001842171164866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418613922,"filename":"image_06042025_23_08_15_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0c47a628a18ad789c60ccc9c88c973c.jpg","text":"TemporaryFile(/tmp/multipartBody1221260255748754715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418613922,"filename":"image_06042025_23_08_45_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6dfdde5305108daf8fa48ec108205cc0.jpg","text":"TemporaryFile(/tmp/multipartBody4699962870798833707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418613922,"filename":"image_06042025_23_08_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ae76bfc28fd10de3a1b4efeb288fb29.jpg","text":"TemporaryFile(/tmp/multipartBody7800872861989143328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418613922,"filename":"image_06042025_23_08_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64f8978139d088433f7be7a8f62b74b3.jpg","text":"TemporaryFile(/tmp/multipartBody6601758437222153835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418613922,"filename":"image_06042025_23_08_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035794","file1":"1352035790","file0":"1352035781","file4":"1352035802","file5":"1352035805","file3":"1352035798"},"map_files_photo_id_array":[{"photo_id":"1352035805","filename":"file5"},{"photo_id":"1352035794","filename":"file2"},{"photo_id":"1352035802","filename":"file4"},{"photo_id":"1352035790","filename":"file1"},{"photo_id":"1352035781","filename":"file0"},{"photo_id":"1352035798","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035781":["hashtag1","hashtag2"]},{"1352035790":["hashtag1","hashtag2"]},{"1352035802":["hashtag1","hashtag2"]},{"1352035805":["hashtag1","hashtag2"]},{"1352035798":["hashtag1","hashtag2"]},{"1352035794":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035781, 1352035790, 1352035802, 1352035805, 1352035798, 1352035794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07788705825806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:43:32.653123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/08/image_06042025_23_09_05_10343.jpg', '/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_15_9399.jpg', '/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_25_10478.jpg', '/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_35_9373.jpg', '/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_45_10412.jpg', '/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_55_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/08/image_06042025_23_09_05_10343.jpg
/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_15_9399.jpg
/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_25_10478.jpg
/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_35_9373.jpg
/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_45_10412.jpg
/home/pi/Desktop/images/06042025/23/09/image_06042025_23_09_55_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035833","1352035818","1352035841","1352035838","1352035828","1352035822"],"photo_ids_order":["1352035818","1352035822","1352035828","1352035833","1352035838","1352035841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43c0d1cc60b9327f94814a8f9fc508f9.jpg","text":"TemporaryFile(/tmp/multipartBody6122048762844566408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418674265,"filename":"image_06042025_23_09_35_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0956349277aa1639ae7478f3a4f6cea3.jpg","text":"TemporaryFile(/tmp/multipartBody1444762808097224522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418674265,"filename":"image_06042025_23_09_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/751d070219f526d0107d863499a1826b.jpg","text":"TemporaryFile(/tmp/multipartBody3826531474736211534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418674265,"filename":"image_06042025_23_09_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf932f01e5b29fcf56a462c3f5fa9b62.jpg","text":"TemporaryFile(/tmp/multipartBody7723337470618738950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418674265,"filename":"image_06042025_23_09_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a44d7660795c40c77d91e88b58800003.jpg","text":"TemporaryFile(/tmp/multipartBody3382892977236610207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418674265,"filename":"image_06042025_23_09_25_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/108da6803a3ef52aac6b6338e3cd9691.jpg","text":"TemporaryFile(/tmp/multipartBody5282398078207196657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418674265,"filename":"image_06042025_23_09_15_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035828","file1":"1352035822","file0":"1352035818","file4":"1352035838","file5":"1352035841","file3":"1352035833"},"map_files_photo_id_array":[{"photo_id":"1352035841","filename":"file5"},{"photo_id":"1352035828","filename":"file2"},{"photo_id":"1352035838","filename":"file4"},{"photo_id":"1352035822","filename":"file1"},{"photo_id":"1352035818","filename":"file0"},{"photo_id":"1352035833","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035833":["hashtag1","hashtag2"]},{"1352035818":["hashtag1","hashtag2"]},{"1352035841":["hashtag1","hashtag2"]},{"1352035838":["hashtag1","hashtag2"]},{"1352035828":["hashtag1","hashtag2"]},{"1352035822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035833, 1352035818, 1352035841, 1352035838, 1352035828, 1352035822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.031463623046875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:44:32.880389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/09/image_06042025_23_10_05_9353.jpg', '/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_15_10484.jpg', '/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_25_9431.jpg', '/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_35_10367.jpg', '/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_46_10472.jpg', '/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_55_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/09/image_06042025_23_10_05_9353.jpg
/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_15_10484.jpg
/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_25_9431.jpg
/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_35_10367.jpg
/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_46_10472.jpg
/home/pi/Desktop/images/06042025/23/10/image_06042025_23_10_55_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035917","1352035883","1352035925","1352035912","1352035921","1352035893"],"photo_ids_order":["1352035883","1352035893","1352035912","1352035917","1352035921","1352035925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/899b49b8c2789d2bbbbac9f1e3045fce.jpg","text":"TemporaryFile(/tmp/multipartBody3730899685019682843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418734453,"filename":"image_06042025_23_10_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/367a84e0e74265e607386c86fd288123.jpg","text":"TemporaryFile(/tmp/multipartBody5639421800138920233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418734453,"filename":"image_06042025_23_10_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afd3c9f58d4362caacceec095538a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody6286202786575186180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418734453,"filename":"image_06042025_23_10_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a544bad877fafcc041eeefbce24381b8.jpg","text":"TemporaryFile(/tmp/multipartBody8102095500562643244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418734453,"filename":"image_06042025_23_10_25_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae1d38c6f004e04f45dd02468238861f.jpg","text":"TemporaryFile(/tmp/multipartBody5092062655807252019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418734453,"filename":"image_06042025_23_10_46_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/105a2589991769aadd765d7556866824.jpg","text":"TemporaryFile(/tmp/multipartBody4248516626416850294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418734453,"filename":"image_06042025_23_10_15_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035912","file1":"1352035893","file0":"1352035883","file4":"1352035921","file5":"1352035925","file3":"1352035917"},"map_files_photo_id_array":[{"photo_id":"1352035925","filename":"file5"},{"photo_id":"1352035912","filename":"file2"},{"photo_id":"1352035921","filename":"file4"},{"photo_id":"1352035893","filename":"file1"},{"photo_id":"1352035883","filename":"file0"},{"photo_id":"1352035917","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035917":["hashtag1","hashtag2"]},{"1352035883":["hashtag1","hashtag2"]},{"1352035925":["hashtag1","hashtag2"]},{"1352035912":["hashtag1","hashtag2"]},{"1352035921":["hashtag1","hashtag2"]},{"1352035893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035917, 1352035883, 1352035925, 1352035912, 1352035921, 1352035893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.849334478378296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:45:33.058025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/10/image_06042025_23_11_05_10426.jpg', '/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_15_9506.jpg', '/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_25_10412.jpg', '/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_35_9330.jpg', '/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_45_10419.jpg', '/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/10/image_06042025_23_11_05_10426.jpg
/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_15_9506.jpg
/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_25_10412.jpg
/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_35_9330.jpg
/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_45_10419.jpg
/home/pi/Desktop/images/06042025/23/11/image_06042025_23_11_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352035980","1352035962","1352035967","1352035972","1352035954","1352035977"],"photo_ids_order":["1352035954","1352035962","1352035967","1352035972","1352035977","1352035980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6ac70b6ef0ae8fb535ee1e17f3c0787.jpg","text":"TemporaryFile(/tmp/multipartBody3851332816567574987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418794653,"filename":"image_06042025_23_11_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c044208beabc7cd5af214f78e169bc50.jpg","text":"TemporaryFile(/tmp/multipartBody4763533135247113997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418794653,"filename":"image_06042025_23_11_15_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e34b58c7dab809697de5928ffb0e5404.jpg","text":"TemporaryFile(/tmp/multipartBody4232703756573559841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418794653,"filename":"image_06042025_23_11_25_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77a55e183872c9db7d7882d508d19fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6067057888825535273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418794653,"filename":"image_06042025_23_11_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/212d1938bad8a5413213581b20f1a58c.jpg","text":"TemporaryFile(/tmp/multipartBody2842007388076262906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418794653,"filename":"image_06042025_23_11_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b18bd76763158461f91cbb0c538d4a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3056643107200524307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418794653,"filename":"image_06042025_23_11_45_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352035967","file1":"1352035962","file0":"1352035954","file4":"1352035977","file5":"1352035980","file3":"1352035972"},"map_files_photo_id_array":[{"photo_id":"1352035980","filename":"file5"},{"photo_id":"1352035967","filename":"file2"},{"photo_id":"1352035977","filename":"file4"},{"photo_id":"1352035962","filename":"file1"},{"photo_id":"1352035954","filename":"file0"},{"photo_id":"1352035972","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352035980":["hashtag1","hashtag2"]},{"1352035962":["hashtag1","hashtag2"]},{"1352035967":["hashtag1","hashtag2"]},{"1352035972":["hashtag1","hashtag2"]},{"1352035954":["hashtag1","hashtag2"]},{"1352035977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352035980, 1352035962, 1352035967, 1352035972, 1352035954, 1352035977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13275384902954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:46:32.307490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/11/image_06042025_23_12_05_9343.jpg', '/home/pi/Desktop/images/06042025/23/12/image_06042025_23_12_15_10395.jpg', '/home/pi/Desktop/images/06042025/23/12/image_06042025_23_12_26_10429.jpg', '/home/pi/Desktop/images/06042025/23/12/image_06042025_23_12_35_9344.jpg', '/home/pi/Desktop/images/06042025/23/12/image_06042025_23_12_55_9391.jpg', '/home/pi/Desktop/images/06042025/23/12/image_06042025_23_13_05_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/11/image_06042025_23_12_05_9343.jpg
/home/pi/Desktop/images/06042025/23/12/image_06042025_23_12_15_10395.jpg
/home/pi/Desktop/images/06042025/23/12/image_06042025_23_12_26_10429.jpg
/home/pi/Desktop/images/06042025/23/12/image_06042025_23_12_35_9344.jpg
/home/pi/Desktop/images/06042025/23/12/image_06042025_23_12_55_9391.jpg
/home/pi/Desktop/images/06042025/23/12/image_06042025_23_13_05_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036069","1352036099","1352036078","1352036072","1352036097","1352036091"],"photo_ids_order":["1352036069","1352036072","1352036078","1352036091","1352036097","1352036099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8ce73466396706c287e10c8760e63b6.jpg","text":"TemporaryFile(/tmp/multipartBody205092742392664436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418853884,"filename":"image_06042025_23_12_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cb9c564b78b7f4a538293cf0519118a.jpg","text":"TemporaryFile(/tmp/multipartBody545998908501261155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418853884,"filename":"image_06042025_23_13_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb05df4d2984b6124f82011edb48fa81.jpg","text":"TemporaryFile(/tmp/multipartBody7334224313420520824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418853884,"filename":"image_06042025_23_12_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef4b139de5aa2b3c036383f6c7a4b4eb.jpg","text":"TemporaryFile(/tmp/multipartBody4233301903636790331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418853884,"filename":"image_06042025_23_12_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52cbbc325ca918a9970aa0f7bf165047.jpg","text":"TemporaryFile(/tmp/multipartBody3124514465866580504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418853884,"filename":"image_06042025_23_12_55_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3ed2b1e4ebd5ed2eb032224c98dfaf7.jpg","text":"TemporaryFile(/tmp/multipartBody5509745144391110986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418853884,"filename":"image_06042025_23_12_35_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036078","file1":"1352036072","file0":"1352036069","file4":"1352036097","file5":"1352036099","file3":"1352036091"},"map_files_photo_id_array":[{"photo_id":"1352036099","filename":"file5"},{"photo_id":"1352036078","filename":"file2"},{"photo_id":"1352036097","filename":"file4"},{"photo_id":"1352036072","filename":"file1"},{"photo_id":"1352036069","filename":"file0"},{"photo_id":"1352036091","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036069":["hashtag1","hashtag2"]},{"1352036099":["hashtag1","hashtag2"]},{"1352036078":["hashtag1","hashtag2"]},{"1352036072":["hashtag1","hashtag2"]},{"1352036097":["hashtag1","hashtag2"]},{"1352036091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036069, 1352036099, 1352036078, 1352036072, 1352036097, 1352036091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89931130409241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:47:32.430367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_16_10427.jpg', '/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_25_9362.jpg', '/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_35_10374.jpg', '/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_45_9384.jpg', '/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_55_10373.jpg', '/home/pi/Desktop/images/06042025/23/14/image_06042025_23_14_25_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_16_10427.jpg
/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_25_9362.jpg
/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_35_10374.jpg
/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_45_9384.jpg
/home/pi/Desktop/images/06042025/23/13/image_06042025_23_13_55_10373.jpg
/home/pi/Desktop/images/06042025/23/14/image_06042025_23_14_25_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036117","1352036128","1352036137","1352036122","1352036133","1352036112"],"photo_ids_order":["1352036112","1352036117","1352036122","1352036128","1352036133","1352036137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0636d3be863986922a593455c15f6e9f.jpg","text":"TemporaryFile(/tmp/multipartBody251135867206814335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418914084,"filename":"image_06042025_23_13_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69d60a55c4e12f21144d1a02223bc442.jpg","text":"TemporaryFile(/tmp/multipartBody7378078366616225505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418914084,"filename":"image_06042025_23_13_45_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e6c3412d2c87a62a97f16318da85116.jpg","text":"TemporaryFile(/tmp/multipartBody2641126438705068213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418914084,"filename":"image_06042025_23_14_25_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57a6b27ece644575ce877b0e01db77ef.jpg","text":"TemporaryFile(/tmp/multipartBody8317713300546279000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418914084,"filename":"image_06042025_23_13_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/719d7d5bdc7ad12597254edfbd943980.jpg","text":"TemporaryFile(/tmp/multipartBody6996061918336257514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418914084,"filename":"image_06042025_23_13_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4bba75162b5603763762c3cba6555e2.jpg","text":"TemporaryFile(/tmp/multipartBody3219753649997231553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418914084,"filename":"image_06042025_23_13_16_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036122","file1":"1352036117","file0":"1352036112","file4":"1352036133","file5":"1352036137","file3":"1352036128"},"map_files_photo_id_array":[{"photo_id":"1352036137","filename":"file5"},{"photo_id":"1352036122","filename":"file2"},{"photo_id":"1352036133","filename":"file4"},{"photo_id":"1352036117","filename":"file1"},{"photo_id":"1352036112","filename":"file0"},{"photo_id":"1352036128","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036117":["hashtag1","hashtag2"]},{"1352036128":["hashtag1","hashtag2"]},{"1352036137":["hashtag1","hashtag2"]},{"1352036122":["hashtag1","hashtag2"]},{"1352036133":["hashtag1","hashtag2"]},{"1352036112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036117, 1352036128, 1352036137, 1352036122, 1352036133, 1352036112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.541322231292725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:48:32.633708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/14/image_06042025_23_14_56_10428.jpg', '/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_15_10346.jpg', '/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_25_9357.jpg', '/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_35_10357.jpg', '/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_45_10436.jpg', '/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_55_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/14/image_06042025_23_14_56_10428.jpg
/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_15_10346.jpg
/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_25_9357.jpg
/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_35_10357.jpg
/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_45_10436.jpg
/home/pi/Desktop/images/06042025/23/15/image_06042025_23_15_55_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036189","1352036179","1352036167","1352036161","1352036184","1352036172"],"photo_ids_order":["1352036161","1352036167","1352036172","1352036179","1352036184","1352036189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea7ffd0f845fe94ef88cee64bbbc33b0.jpg","text":"TemporaryFile(/tmp/multipartBody7151694829706998458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418974280,"filename":"image_06042025_23_15_55_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2de992fb4c8e5e3604027d4205e2d0a0.jpg","text":"TemporaryFile(/tmp/multipartBody7747428545744395059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418974280,"filename":"image_06042025_23_15_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20024a4d0affe17beac0de7a0d03f0f5.jpg","text":"TemporaryFile(/tmp/multipartBody9103080903282784756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418974280,"filename":"image_06042025_23_15_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54fa578a83de5c1c05e61a2ddc0a6c61.jpg","text":"TemporaryFile(/tmp/multipartBody6975706085720190660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418974280,"filename":"image_06042025_23_14_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/931d908d339420494152be609fc9bfdd.jpg","text":"TemporaryFile(/tmp/multipartBody2355313262643879744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418974280,"filename":"image_06042025_23_15_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b591a1ce2571066803ef37ed5777a40b.jpg","text":"TemporaryFile(/tmp/multipartBody7045782001691556049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744418974280,"filename":"image_06042025_23_15_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036172","file1":"1352036167","file0":"1352036161","file4":"1352036184","file5":"1352036189","file3":"1352036179"},"map_files_photo_id_array":[{"photo_id":"1352036189","filename":"file5"},{"photo_id":"1352036172","filename":"file2"},{"photo_id":"1352036184","filename":"file4"},{"photo_id":"1352036167","filename":"file1"},{"photo_id":"1352036161","filename":"file0"},{"photo_id":"1352036179","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036189":["hashtag1","hashtag2"]},{"1352036179":["hashtag1","hashtag2"]},{"1352036167":["hashtag1","hashtag2"]},{"1352036161":["hashtag1","hashtag2"]},{"1352036184":["hashtag1","hashtag2"]},{"1352036172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036189, 1352036179, 1352036167, 1352036161, 1352036184, 1352036172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15546011924744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:49:32.804448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/15/image_06042025_23_16_05_10482.jpg', '/home/pi/Desktop/images/06042025/23/16/image_06042025_23_16_15_9433.jpg', '/home/pi/Desktop/images/06042025/23/16/image_06042025_23_16_25_9819.jpg', '/home/pi/Desktop/images/06042025/23/17/image_06042025_23_17_15_10358.jpg', '/home/pi/Desktop/images/06042025/23/17/image_06042025_23_17_25_9357.jpg', '/home/pi/Desktop/images/06042025/23/17/image_06042025_23_17_35_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/15/image_06042025_23_16_05_10482.jpg
/home/pi/Desktop/images/06042025/23/16/image_06042025_23_16_15_9433.jpg
/home/pi/Desktop/images/06042025/23/16/image_06042025_23_16_25_9819.jpg
/home/pi/Desktop/images/06042025/23/17/image_06042025_23_17_15_10358.jpg
/home/pi/Desktop/images/06042025/23/17/image_06042025_23_17_25_9357.jpg
/home/pi/Desktop/images/06042025/23/17/image_06042025_23_17_35_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036255","1352036240","1352036237","1352036251","1352036271","1352036226"],"photo_ids_order":["1352036226","1352036237","1352036240","1352036251","1352036255","1352036271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4a7ca7a9980388e807c7e506485e43f.jpg","text":"TemporaryFile(/tmp/multipartBody3375002935202765339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419034398,"filename":"image_06042025_23_17_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14c173d09141a439fe72e5cf8133ec6d.jpg","text":"TemporaryFile(/tmp/multipartBody8344826325960648506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419034398,"filename":"image_06042025_23_16_25_9819.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fa26cff73dbb936e63dc2ed8f375df1.jpg","text":"TemporaryFile(/tmp/multipartBody8339765940220127305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419034398,"filename":"image_06042025_23_16_15_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e55856903b21463d2e8a6ae2ed88d3d2.jpg","text":"TemporaryFile(/tmp/multipartBody7121900980366861332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419034398,"filename":"image_06042025_23_17_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c54134f9b6abd8cc01383e741a1feffa.jpg","text":"TemporaryFile(/tmp/multipartBody8189226453486455247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419034398,"filename":"image_06042025_23_17_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79e792918dcf6d82b2fd01c697225672.jpg","text":"TemporaryFile(/tmp/multipartBody2577645152775257448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419034398,"filename":"image_06042025_23_16_05_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036240","file1":"1352036237","file0":"1352036226","file4":"1352036255","file5":"1352036271","file3":"1352036251"},"map_files_photo_id_array":[{"photo_id":"1352036271","filename":"file5"},{"photo_id":"1352036240","filename":"file2"},{"photo_id":"1352036255","filename":"file4"},{"photo_id":"1352036237","filename":"file1"},{"photo_id":"1352036226","filename":"file0"},{"photo_id":"1352036251","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036255":["hashtag1","hashtag2"]},{"1352036240":["hashtag1","hashtag2"]},{"1352036237":["hashtag1","hashtag2"]},{"1352036251":["hashtag1","hashtag2"]},{"1352036271":["hashtag1","hashtag2"]},{"1352036226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036255, 1352036240, 1352036237, 1352036251, 1352036271, 1352036226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82734990119934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:50:33.003740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/17/image_06042025_23_18_05_10460.jpg', '/home/pi/Desktop/images/06042025/23/18/image_06042025_23_18_35_9433.jpg', '/home/pi/Desktop/images/06042025/23/18/image_06042025_23_18_45_10357.jpg', '/home/pi/Desktop/images/06042025/23/19/image_06042025_23_19_55_10386.jpg', '/home/pi/Desktop/images/06042025/23/19/image_06042025_23_20_05_10364.jpg', '/home/pi/Desktop/images/06042025/23/20/image_06042025_23_20_15_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/17/image_06042025_23_18_05_10460.jpg
/home/pi/Desktop/images/06042025/23/18/image_06042025_23_18_35_9433.jpg
/home/pi/Desktop/images/06042025/23/18/image_06042025_23_18_45_10357.jpg
/home/pi/Desktop/images/06042025/23/19/image_06042025_23_19_55_10386.jpg
/home/pi/Desktop/images/06042025/23/19/image_06042025_23_20_05_10364.jpg
/home/pi/Desktop/images/06042025/23/20/image_06042025_23_20_15_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036406","1352036421","1352036393","1352036402","1352036398","1352036388"],"photo_ids_order":["1352036388","1352036393","1352036398","1352036402","1352036406","1352036421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a870a60e7865e174e19eb067304e3c20.jpg","text":"TemporaryFile(/tmp/multipartBody4842273945097122152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419094693,"filename":"image_06042025_23_20_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e6c53613bd224353f5355f2f71c67db.jpg","text":"TemporaryFile(/tmp/multipartBody5923842131691477296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419094693,"filename":"image_06042025_23_20_15_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d127a3cf62e7ed13e087d6a1248a71c5.jpg","text":"TemporaryFile(/tmp/multipartBody2914299721921327715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419094693,"filename":"image_06042025_23_18_35_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a889675f26cc0b150bd025760027344.jpg","text":"TemporaryFile(/tmp/multipartBody956455073806969894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419094693,"filename":"image_06042025_23_19_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aaff77f040bcbd30c0f3fb11f55a8ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3651795094102370237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419094693,"filename":"image_06042025_23_18_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aeb0b9d689a2a66718ce8a39eb4003df.jpg","text":"TemporaryFile(/tmp/multipartBody7650916144661527333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419094693,"filename":"image_06042025_23_18_05_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036398","file1":"1352036393","file0":"1352036388","file4":"1352036406","file5":"1352036421","file3":"1352036402"},"map_files_photo_id_array":[{"photo_id":"1352036421","filename":"file5"},{"photo_id":"1352036398","filename":"file2"},{"photo_id":"1352036406","filename":"file4"},{"photo_id":"1352036393","filename":"file1"},{"photo_id":"1352036388","filename":"file0"},{"photo_id":"1352036402","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036406":["hashtag1","hashtag2"]},{"1352036421":["hashtag1","hashtag2"]},{"1352036393":["hashtag1","hashtag2"]},{"1352036402":["hashtag1","hashtag2"]},{"1352036398":["hashtag1","hashtag2"]},{"1352036388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036406, 1352036421, 1352036393, 1352036402, 1352036398, 1352036388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26828193664551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:51:32.198180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/20/image_06042025_23_21_05_9361.jpg', '/home/pi/Desktop/images/06042025/23/21/image_06042025_23_21_15_10377.jpg', '/home/pi/Desktop/images/06042025/23/21/image_06042025_23_21_35_9358.jpg', '/home/pi/Desktop/images/06042025/23/21/image_06042025_23_22_05_10421.jpg', '/home/pi/Desktop/images/06042025/23/22/image_06042025_23_23_06_10436.jpg', '/home/pi/Desktop/images/06042025/23/23/image_06042025_23_23_25_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/20/image_06042025_23_21_05_9361.jpg
/home/pi/Desktop/images/06042025/23/21/image_06042025_23_21_15_10377.jpg
/home/pi/Desktop/images/06042025/23/21/image_06042025_23_21_35_9358.jpg
/home/pi/Desktop/images/06042025/23/21/image_06042025_23_22_05_10421.jpg
/home/pi/Desktop/images/06042025/23/22/image_06042025_23_23_06_10436.jpg
/home/pi/Desktop/images/06042025/23/23/image_06042025_23_23_25_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036543","1352036519","1352036572","1352036608","1352036595","1352036523"],"photo_ids_order":["1352036519","1352036523","1352036543","1352036572","1352036595","1352036608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63661009ea29450ef18206bcb0a41ed4.jpg","text":"TemporaryFile(/tmp/multipartBody3949269252725325462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419153784,"filename":"image_06042025_23_21_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5ef48760519d8539f8de7b7584cb292.jpg","text":"TemporaryFile(/tmp/multipartBody8009163566513939335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419153784,"filename":"image_06042025_23_21_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c356b740b4f16100aed148816f30e12b.jpg","text":"TemporaryFile(/tmp/multipartBody584737163322993576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419153784,"filename":"image_06042025_23_22_05_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/490ab92e7e1b7ded602ddbeb3790d90c.jpg","text":"TemporaryFile(/tmp/multipartBody2906848628293211808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419153784,"filename":"image_06042025_23_23_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/18140254519dff67c061c9304ca152dd.jpg","text":"TemporaryFile(/tmp/multipartBody5373300050526198459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419153784,"filename":"image_06042025_23_23_06_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae503258bb76852340d4183f3281230d.jpg","text":"TemporaryFile(/tmp/multipartBody5765096372587274343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419153784,"filename":"image_06042025_23_21_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036543","file1":"1352036523","file0":"1352036519","file4":"1352036595","file5":"1352036608","file3":"1352036572"},"map_files_photo_id_array":[{"photo_id":"1352036608","filename":"file5"},{"photo_id":"1352036543","filename":"file2"},{"photo_id":"1352036595","filename":"file4"},{"photo_id":"1352036523","filename":"file1"},{"photo_id":"1352036519","filename":"file0"},{"photo_id":"1352036572","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036543":["hashtag1","hashtag2"]},{"1352036519":["hashtag1","hashtag2"]},{"1352036572":["hashtag1","hashtag2"]},{"1352036608":["hashtag1","hashtag2"]},{"1352036595":["hashtag1","hashtag2"]},{"1352036523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036543, 1352036519, 1352036572, 1352036608, 1352036595, 1352036523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.008429527282715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:52:32.392266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/23/image_06042025_23_23_35_9357.jpg', '/home/pi/Desktop/images/06042025/23/23/image_06042025_23_23_45_10406.jpg', '/home/pi/Desktop/images/06042025/23/23/image_06042025_23_23_55_10372.jpg', '/home/pi/Desktop/images/06042025/23/24/image_06042025_23_24_26_10436.jpg', '/home/pi/Desktop/images/06042025/23/24/image_06042025_23_24_35_9363.jpg', '/home/pi/Desktop/images/06042025/23/24/image_06042025_23_24_45_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/23/image_06042025_23_23_35_9357.jpg
/home/pi/Desktop/images/06042025/23/23/image_06042025_23_23_45_10406.jpg
/home/pi/Desktop/images/06042025/23/23/image_06042025_23_23_55_10372.jpg
/home/pi/Desktop/images/06042025/23/24/image_06042025_23_24_26_10436.jpg
/home/pi/Desktop/images/06042025/23/24/image_06042025_23_24_35_9363.jpg
/home/pi/Desktop/images/06042025/23/24/image_06042025_23_24_45_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036735","1352036731","1352036725","1352036679","1352036655","1352036709"],"photo_ids_order":["1352036655","1352036679","1352036709","1352036725","1352036731","1352036735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce71013f12b1e89730ab157373c16d87.jpg","text":"TemporaryFile(/tmp/multipartBody7451485840765149968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419213962,"filename":"image_06042025_23_24_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb112dbae4d710328300ada7972e46d0.jpg","text":"TemporaryFile(/tmp/multipartBody5700169869035258210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419213962,"filename":"image_06042025_23_24_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6df55580f309c0675ace9d48850e30fb.jpg","text":"TemporaryFile(/tmp/multipartBody6472800573289502230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419213962,"filename":"image_06042025_23_24_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/947c23df6a808580c90e2c454a088542.jpg","text":"TemporaryFile(/tmp/multipartBody1618770325786275595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419213962,"filename":"image_06042025_23_23_45_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bec35c89bb0b4bbaf4b369465173cb98.jpg","text":"TemporaryFile(/tmp/multipartBody4646129974209082182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419213962,"filename":"image_06042025_23_23_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f77465de37b25dc3ea9cfe9a77f486b7.jpg","text":"TemporaryFile(/tmp/multipartBody99019245088988393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419213962,"filename":"image_06042025_23_23_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036709","file1":"1352036679","file0":"1352036655","file4":"1352036731","file5":"1352036735","file3":"1352036725"},"map_files_photo_id_array":[{"photo_id":"1352036735","filename":"file5"},{"photo_id":"1352036709","filename":"file2"},{"photo_id":"1352036731","filename":"file4"},{"photo_id":"1352036679","filename":"file1"},{"photo_id":"1352036655","filename":"file0"},{"photo_id":"1352036725","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036735":["hashtag1","hashtag2"]},{"1352036731":["hashtag1","hashtag2"]},{"1352036725":["hashtag1","hashtag2"]},{"1352036679":["hashtag1","hashtag2"]},{"1352036655":["hashtag1","hashtag2"]},{"1352036709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036735, 1352036731, 1352036725, 1352036679, 1352036655, 1352036709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81759691238403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:53:32.541123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/24/image_06042025_23_24_55_9371.jpg', '/home/pi/Desktop/images/06042025/23/25/image_06042025_23_25_16_10463.jpg', '/home/pi/Desktop/images/06042025/23/25/image_06042025_23_25_25_9363.jpg', '/home/pi/Desktop/images/06042025/23/25/image_06042025_23_25_35_10457.jpg', '/home/pi/Desktop/images/06042025/23/25/image_06042025_23_25_45_9436.jpg', '/home/pi/Desktop/images/06042025/23/25/image_06042025_23_26_06_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/24/image_06042025_23_24_55_9371.jpg
/home/pi/Desktop/images/06042025/23/25/image_06042025_23_25_16_10463.jpg
/home/pi/Desktop/images/06042025/23/25/image_06042025_23_25_25_9363.jpg
/home/pi/Desktop/images/06042025/23/25/image_06042025_23_25_35_10457.jpg
/home/pi/Desktop/images/06042025/23/25/image_06042025_23_25_45_9436.jpg
/home/pi/Desktop/images/06042025/23/25/image_06042025_23_26_06_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036807","1352036822","1352036801","1352036794","1352036815","1352036826"],"photo_ids_order":["1352036794","1352036801","1352036807","1352036815","1352036822","1352036826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a2c642d994d542e435b6ed011c92d77.jpg","text":"TemporaryFile(/tmp/multipartBody462606658120463691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419274136,"filename":"image_06042025_23_25_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6f6722ad0675fdff4968f5a00f07e50.jpg","text":"TemporaryFile(/tmp/multipartBody8639852818141291117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419274136,"filename":"image_06042025_23_25_45_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74a623c28139a35c9e3358dc26d61168.jpg","text":"TemporaryFile(/tmp/multipartBody2018517332486325032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419274136,"filename":"image_06042025_23_25_16_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4d0310591c21aacd7dbc88da7d01942.jpg","text":"TemporaryFile(/tmp/multipartBody8505758834670274222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419274136,"filename":"image_06042025_23_24_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/598540622ddfce269f793b27eaa32e2a.jpg","text":"TemporaryFile(/tmp/multipartBody4266494083834305387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419274136,"filename":"image_06042025_23_25_35_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ecd4c4c1489a6218166e51180cc7f4ba.jpg","text":"TemporaryFile(/tmp/multipartBody5985237672302901890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419274136,"filename":"image_06042025_23_26_06_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036807","file1":"1352036801","file0":"1352036794","file4":"1352036822","file5":"1352036826","file3":"1352036815"},"map_files_photo_id_array":[{"photo_id":"1352036826","filename":"file5"},{"photo_id":"1352036807","filename":"file2"},{"photo_id":"1352036822","filename":"file4"},{"photo_id":"1352036801","filename":"file1"},{"photo_id":"1352036794","filename":"file0"},{"photo_id":"1352036815","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036807":["hashtag1","hashtag2"]},{"1352036822":["hashtag1","hashtag2"]},{"1352036801":["hashtag1","hashtag2"]},{"1352036794":["hashtag1","hashtag2"]},{"1352036815":["hashtag1","hashtag2"]},{"1352036826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036807, 1352036822, 1352036801, 1352036794, 1352036815, 1352036826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21166372299194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:54:32.860786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_15_9330.jpg', '/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_25_10513.jpg', '/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_35_9413.jpg', '/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_45_10488.jpg', '/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_55_9344.jpg', '/home/pi/Desktop/images/06042025/23/26/image_06042025_23_27_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_15_9330.jpg
/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_25_10513.jpg
/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_35_9413.jpg
/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_45_10488.jpg
/home/pi/Desktop/images/06042025/23/26/image_06042025_23_26_55_9344.jpg
/home/pi/Desktop/images/06042025/23/26/image_06042025_23_27_05_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352036885","1352036960","1352036915","1352036881","1352036941","1352036991"],"photo_ids_order":["1352036881","1352036885","1352036915","1352036941","1352036960","1352036991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/439d678a9e3ed2a9570c81015392ac1b.jpg","text":"TemporaryFile(/tmp/multipartBody5830518375942379482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419334448,"filename":"image_06042025_23_26_25_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f485adaf554d186c3330d2c80eae7d50.jpg","text":"TemporaryFile(/tmp/multipartBody5242795122888438962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419334448,"filename":"image_06042025_23_26_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a5173071d0fea42b967ddf4dd25ecf8.jpg","text":"TemporaryFile(/tmp/multipartBody4231706318389372374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419334448,"filename":"image_06042025_23_26_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea42d6ec52c743c32b20b89c076613a7.jpg","text":"TemporaryFile(/tmp/multipartBody214517282570728440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419334448,"filename":"image_06042025_23_26_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b38c810aad8959b169809cba250ebd31.jpg","text":"TemporaryFile(/tmp/multipartBody2454568309903293331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419334448,"filename":"image_06042025_23_26_45_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1716b3921f5b7eae6cf568a6b87dbee0.jpg","text":"TemporaryFile(/tmp/multipartBody6121241500598471508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419334448,"filename":"image_06042025_23_27_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352036915","file1":"1352036885","file0":"1352036881","file4":"1352036960","file5":"1352036991","file3":"1352036941"},"map_files_photo_id_array":[{"photo_id":"1352036991","filename":"file5"},{"photo_id":"1352036915","filename":"file2"},{"photo_id":"1352036960","filename":"file4"},{"photo_id":"1352036885","filename":"file1"},{"photo_id":"1352036881","filename":"file0"},{"photo_id":"1352036941","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352036885":["hashtag1","hashtag2"]},{"1352036960":["hashtag1","hashtag2"]},{"1352036915":["hashtag1","hashtag2"]},{"1352036881":["hashtag1","hashtag2"]},{"1352036941":["hashtag1","hashtag2"]},{"1352036991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352036885, 1352036960, 1352036915, 1352036881, 1352036941, 1352036991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.595415353775024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:55:33.058589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_16_10452.jpg', '/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_25_9360.jpg', '/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_35_10476.jpg', '/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_45_9359.jpg', '/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_55_10369.jpg', '/home/pi/Desktop/images/06042025/23/27/image_06042025_23_28_06_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_16_10452.jpg
/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_25_9360.jpg
/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_35_10476.jpg
/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_45_9359.jpg
/home/pi/Desktop/images/06042025/23/27/image_06042025_23_27_55_10369.jpg
/home/pi/Desktop/images/06042025/23/27/image_06042025_23_28_06_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037292","1352037388","1352037496","1352037250","1352037342","1352037438"],"photo_ids_order":["1352037250","1352037292","1352037342","1352037388","1352037438","1352037496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be9ac5cb4229a2295bd5e94f717fd0d6.jpg","text":"TemporaryFile(/tmp/multipartBody3057423323371254833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419394630,"filename":"image_06042025_23_27_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7eb4753dc5a6919b41f190d27b1eeb0.jpg","text":"TemporaryFile(/tmp/multipartBody322318547879900016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419394630,"filename":"image_06042025_23_27_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49144b40071b05a17959182e25e6cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody6712583966047304676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419394630,"filename":"image_06042025_23_28_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56e0f81cee5ccbf49a734aff8df96f9a.jpg","text":"TemporaryFile(/tmp/multipartBody5239621258670193139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419394630,"filename":"image_06042025_23_27_16_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49f7523f00a1a2049a404177821aa3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5577621493667822438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419394630,"filename":"image_06042025_23_27_35_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53a57cd2d9cbd5e09fb395a5df0930a3.jpg","text":"TemporaryFile(/tmp/multipartBody4050240358553910706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419394630,"filename":"image_06042025_23_27_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037342","file1":"1352037292","file0":"1352037250","file4":"1352037438","file5":"1352037496","file3":"1352037388"},"map_files_photo_id_array":[{"photo_id":"1352037496","filename":"file5"},{"photo_id":"1352037342","filename":"file2"},{"photo_id":"1352037438","filename":"file4"},{"photo_id":"1352037292","filename":"file1"},{"photo_id":"1352037250","filename":"file0"},{"photo_id":"1352037388","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352037292":["hashtag1","hashtag2"]},{"1352037388":["hashtag1","hashtag2"]},{"1352037496":["hashtag1","hashtag2"]},{"1352037250":["hashtag1","hashtag2"]},{"1352037342":["hashtag1","hashtag2"]},{"1352037438":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352037292, 1352037388, 1352037496, 1352037250, 1352037342, 1352037438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25630474090576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:56:32.234654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_15_9338.jpg', '/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_25_10436.jpg', '/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_35_9368.jpg', '/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_45_10379.jpg', '/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_56_10475.jpg', '/home/pi/Desktop/images/06042025/23/28/image_06042025_23_29_05_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_15_9338.jpg
/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_25_10436.jpg
/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_35_9368.jpg
/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_45_10379.jpg
/home/pi/Desktop/images/06042025/23/28/image_06042025_23_28_56_10475.jpg
/home/pi/Desktop/images/06042025/23/28/image_06042025_23_29_05_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352037710","1352037796","1352037748","1352037835","1352037721","1352037773"],"photo_ids_order":["1352037710","1352037721","1352037748","1352037773","1352037796","1352037835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8daa2c1569f5f71b6c56bde271ece7b0.jpg","text":"TemporaryFile(/tmp/multipartBody972891538246777486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419453828,"filename":"image_06042025_23_28_15_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ae6b2272b13b95f5ff1c6beea4d4479.jpg","text":"TemporaryFile(/tmp/multipartBody1681663685903658742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419453828,"filename":"image_06042025_23_28_56_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35befad1905aee76bccc44bcaded2d1c.jpg","text":"TemporaryFile(/tmp/multipartBody2252825292547089131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419453828,"filename":"image_06042025_23_28_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5859d07709e07e5dd2609072d3f292fe.jpg","text":"TemporaryFile(/tmp/multipartBody2029533420689662002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419453828,"filename":"image_06042025_23_29_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87c0f32e304f096d968b0cae2998cf77.jpg","text":"TemporaryFile(/tmp/multipartBody146843084094162871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419453828,"filename":"image_06042025_23_28_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c4fdf3cab8ebfa144c067152dee75ba.jpg","text":"TemporaryFile(/tmp/multipartBody5888165680951503189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419453828,"filename":"image_06042025_23_28_45_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352037748","file1":"1352037721","file0":"1352037710","file4":"1352037796","file5":"1352037835","file3":"1352037773"},"map_files_photo_id_array":[{"photo_id":"1352037835","filename":"file5"},{"photo_id":"1352037748","filename":"file2"},{"photo_id":"1352037796","filename":"file4"},{"photo_id":"1352037721","filename":"file1"},{"photo_id":"1352037710","filename":"file0"},{"photo_id":"1352037773","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352037710":["hashtag1","hashtag2"]},{"1352037796":["hashtag1","hashtag2"]},{"1352037748":["hashtag1","hashtag2"]},{"1352037835":["hashtag1","hashtag2"]},{"1352037721":["hashtag1","hashtag2"]},{"1352037773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352037710, 1352037796, 1352037748, 1352037835, 1352037721, 1352037773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.778417348861694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:57:32.395298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_35_10368.jpg', '/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_45_10356.jpg', '/home/pi/Desktop/images/06042025/23/29/image_06042025_23_30_05_10368.jpg', '/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_15_9490.jpg', '/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_25_10390.jpg', '/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_35_10368.jpg
/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_45_10356.jpg
/home/pi/Desktop/images/06042025/23/29/image_06042025_23_30_05_10368.jpg
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_15_9490.jpg
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_25_10390.jpg
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_35_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 02:59:03.538957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_35_10368.jpg', '/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_45_10356.jpg', '/home/pi/Desktop/images/06042025/23/29/image_06042025_23_30_05_10368.jpg', '/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_15_9490.jpg', '/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_25_10390.jpg', '/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_35_10368.jpg
/home/pi/Desktop/images/06042025/23/29/image_06042025_23_29_45_10356.jpg
/home/pi/Desktop/images/06042025/23/29/image_06042025_23_30_05_10368.jpg
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_15_9490.jpg
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_25_10390.jpg
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_35_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038588","1352038615","1352038563","1352038548","1352038527","1352038481"],"photo_ids_order":["1352038481","1352038527","1352038548","1352038563","1352038588","1352038615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ad25e859fc636669a715f86595a902d.jpg","text":"TemporaryFile(/tmp/multipartBody7966371726602874367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419604359,"filename":"image_06042025_23_30_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1935920972c892148d812b74ffb88e5.jpg","text":"TemporaryFile(/tmp/multipartBody3193333487395419787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419604359,"filename":"image_06042025_23_30_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9026d218768053ac2f9131ad902304a.jpg","text":"TemporaryFile(/tmp/multipartBody8371029596611697445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419604359,"filename":"image_06042025_23_30_15_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/541d6ed5a1e65a9bbc1105b3d988136f.jpg","text":"TemporaryFile(/tmp/multipartBody3718847689125737871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419604359,"filename":"image_06042025_23_30_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4511b02a4793374ed264523849f423a2.jpg","text":"TemporaryFile(/tmp/multipartBody2450277885549464889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419604359,"filename":"image_06042025_23_29_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16baa7d460e6f258c70796c380d5d648.jpg","text":"TemporaryFile(/tmp/multipartBody6837926114913259292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419604359,"filename":"image_06042025_23_29_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038548","file1":"1352038527","file0":"1352038481","file4":"1352038588","file5":"1352038615","file3":"1352038563"},"map_files_photo_id_array":[{"photo_id":"1352038615","filename":"file5"},{"photo_id":"1352038548","filename":"file2"},{"photo_id":"1352038588","filename":"file4"},{"photo_id":"1352038527","filename":"file1"},{"photo_id":"1352038481","filename":"file0"},{"photo_id":"1352038563","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352038588":["hashtag1","hashtag2"]},{"1352038615":["hashtag1","hashtag2"]},{"1352038563":["hashtag1","hashtag2"]},{"1352038548":["hashtag1","hashtag2"]},{"1352038527":["hashtag1","hashtag2"]},{"1352038481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352038588, 1352038615, 1352038563, 1352038548, 1352038527, 1352038481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34100365638733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 02:59:52.846740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_45_9344.jpg', '/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_55_10363.jpg', '/home/pi/Desktop/images/06042025/23/30/image_06042025_23_31_06_10475.jpg', '/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_15_9353.jpg', '/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_25_10440.jpg', '/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_45_9344.jpg
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_30_55_10363.jpg
/home/pi/Desktop/images/06042025/23/30/image_06042025_23_31_06_10475.jpg
/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_15_9353.jpg
/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_25_10440.jpg
/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_35_9360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038786","1352038718","1352038731","1352038719","1352038727","1352038715"],"photo_ids_order":["1352038715","1352038718","1352038719","1352038727","1352038731","1352038786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58c565a90d1a6aa0cf8d1f4d09615c2c.jpg","text":"TemporaryFile(/tmp/multipartBody7893454887885634885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419654422,"filename":"image_06042025_23_31_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1702d854a1e277e2409540642b4f7847.jpg","text":"TemporaryFile(/tmp/multipartBody8559321500295434374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419654422,"filename":"image_06042025_23_30_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f5124df235355126c3da14f4ddc1c50.jpg","text":"TemporaryFile(/tmp/multipartBody4453479684396170809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419654422,"filename":"image_06042025_23_31_25_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b08f5f16567400dae7d138ea6a65628.jpg","text":"TemporaryFile(/tmp/multipartBody5531906537861297810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419654422,"filename":"image_06042025_23_31_06_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/452c55401a17b2c83106115059a8985a.jpg","text":"TemporaryFile(/tmp/multipartBody3672476641382173769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419654422,"filename":"image_06042025_23_31_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfced8201772532c766638d11241fc96.jpg","text":"TemporaryFile(/tmp/multipartBody6412128656090119863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419654422,"filename":"image_06042025_23_30_45_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038719","file1":"1352038718","file0":"1352038715","file4":"1352038731","file5":"1352038786","file3":"1352038727"},"map_files_photo_id_array":[{"photo_id":"1352038786","filename":"file5"},{"photo_id":"1352038719","filename":"file2"},{"photo_id":"1352038731","filename":"file4"},{"photo_id":"1352038718","filename":"file1"},{"photo_id":"1352038715","filename":"file0"},{"photo_id":"1352038727","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352038786":["hashtag1","hashtag2"]},{"1352038718":["hashtag1","hashtag2"]},{"1352038731":["hashtag1","hashtag2"]},{"1352038719":["hashtag1","hashtag2"]},{"1352038727":["hashtag1","hashtag2"]},{"1352038715":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352038786, 1352038718, 1352038731, 1352038719, 1352038727, 1352038715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82950258255005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:00:33.119592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_45_10368.jpg', '/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_55_10371.jpg', '/home/pi/Desktop/images/06042025/23/31/image_06042025_23_32_05_9345.jpg', '/home/pi/Desktop/images/06042025/23/32/image_06042025_23_32_15_10498.jpg', '/home/pi/Desktop/images/06042025/23/32/image_06042025_23_32_25_9353.jpg', '/home/pi/Desktop/images/06042025/23/32/image_06042025_23_32_35_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_45_10368.jpg
/home/pi/Desktop/images/06042025/23/31/image_06042025_23_31_55_10371.jpg
/home/pi/Desktop/images/06042025/23/31/image_06042025_23_32_05_9345.jpg
/home/pi/Desktop/images/06042025/23/32/image_06042025_23_32_15_10498.jpg
/home/pi/Desktop/images/06042025/23/32/image_06042025_23_32_25_9353.jpg
/home/pi/Desktop/images/06042025/23/32/image_06042025_23_32_35_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352038957","1352038843","1352038857","1352038902","1352038985","1352038952"],"photo_ids_order":["1352038843","1352038857","1352038902","1352038952","1352038957","1352038985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15c531dcec1b47df1428a9ce0691b030.jpg","text":"TemporaryFile(/tmp/multipartBody7718004489830133563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419694698,"filename":"image_06042025_23_32_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f00e39aa2219be03904cf18aec060dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4094552019924413990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419694698,"filename":"image_06042025_23_31_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c3266772d456fd061cbba3c91eb228d.jpg","text":"TemporaryFile(/tmp/multipartBody6692966856867776538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419694698,"filename":"image_06042025_23_31_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95fb5cbd34c3288f7a3de7169b79bf07.jpg","text":"TemporaryFile(/tmp/multipartBody3790278943304640654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419694698,"filename":"image_06042025_23_32_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbef4104bf34115c7d573a229d429932.jpg","text":"TemporaryFile(/tmp/multipartBody4523099812875421591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419694698,"filename":"image_06042025_23_32_35_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb65854548fd171355e7236a94cc809f.jpg","text":"TemporaryFile(/tmp/multipartBody2990727888424559560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419694698,"filename":"image_06042025_23_32_15_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352038902","file1":"1352038857","file0":"1352038843","file4":"1352038957","file5":"1352038985","file3":"1352038952"},"map_files_photo_id_array":[{"photo_id":"1352038985","filename":"file5"},{"photo_id":"1352038902","filename":"file2"},{"photo_id":"1352038957","filename":"file4"},{"photo_id":"1352038857","filename":"file1"},{"photo_id":"1352038843","filename":"file0"},{"photo_id":"1352038952","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352038957":["hashtag1","hashtag2"]},{"1352038843":["hashtag1","hashtag2"]},{"1352038857":["hashtag1","hashtag2"]},{"1352038902":["hashtag1","hashtag2"]},{"1352038985":["hashtag1","hashtag2"]},{"1352038952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352038957, 1352038843, 1352038857, 1352038902, 1352038985, 1352038952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.3623104095459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:01:32.168953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/32/image_06042025_23_32_45_10366.jpg', '/home/pi/Desktop/images/06042025/23/33/image_06042025_23_33_16_10481.jpg', '/home/pi/Desktop/images/06042025/23/33/image_06042025_23_33_45_9357.jpg', '/home/pi/Desktop/images/06042025/23/34/image_06042025_23_34_15_9455.jpg', '/home/pi/Desktop/images/06042025/23/34/image_06042025_23_34_25_10472.jpg', '/home/pi/Desktop/images/06042025/23/34/image_06042025_23_34_35_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/32/image_06042025_23_32_45_10366.jpg
/home/pi/Desktop/images/06042025/23/33/image_06042025_23_33_16_10481.jpg
/home/pi/Desktop/images/06042025/23/33/image_06042025_23_33_45_9357.jpg
/home/pi/Desktop/images/06042025/23/34/image_06042025_23_34_15_9455.jpg
/home/pi/Desktop/images/06042025/23/34/image_06042025_23_34_25_10472.jpg
/home/pi/Desktop/images/06042025/23/34/image_06042025_23_34_35_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352039149","1352039128","1352039186","1352039138","1352039210","1352039132"],"photo_ids_order":["1352039128","1352039132","1352039138","1352039149","1352039186","1352039210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24ab6e0e40dd7a6c96897a10932189cd.jpg","text":"TemporaryFile(/tmp/multipartBody3748002198555990440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419753791,"filename":"image_06042025_23_34_15_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c4847065cfedea4b966646cdf3104fa.jpg","text":"TemporaryFile(/tmp/multipartBody8563097617565177808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419753791,"filename":"image_06042025_23_32_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb6734ec3cb9d70cfc1bd83acf2d0c45.jpg","text":"TemporaryFile(/tmp/multipartBody7334231550376138910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419753791,"filename":"image_06042025_23_34_25_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80c1ef80e36ff22503c7c08e539450ef.jpg","text":"TemporaryFile(/tmp/multipartBody4057310178872812218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419753791,"filename":"image_06042025_23_33_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/602326cde62cb1f9fe633119d2e453e9.jpg","text":"TemporaryFile(/tmp/multipartBody553262980250041305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419753791,"filename":"image_06042025_23_34_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/245c53c649d87558af19d783e4874731.jpg","text":"TemporaryFile(/tmp/multipartBody3985209161296039204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419753791,"filename":"image_06042025_23_33_16_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352039138","file1":"1352039132","file0":"1352039128","file4":"1352039186","file5":"1352039210","file3":"1352039149"},"map_files_photo_id_array":[{"photo_id":"1352039210","filename":"file5"},{"photo_id":"1352039138","filename":"file2"},{"photo_id":"1352039186","filename":"file4"},{"photo_id":"1352039132","filename":"file1"},{"photo_id":"1352039128","filename":"file0"},{"photo_id":"1352039149","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352039149":["hashtag1","hashtag2"]},{"1352039128":["hashtag1","hashtag2"]},{"1352039186":["hashtag1","hashtag2"]},{"1352039138":["hashtag1","hashtag2"]},{"1352039210":["hashtag1","hashtag2"]},{"1352039132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352039149, 1352039128, 1352039186, 1352039138, 1352039210, 1352039132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.847806215286255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:02:32.495963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/34/image_06042025_23_34_55_9363.jpg', '/home/pi/Desktop/images/06042025/23/34/image_06042025_23_35_05_10350.jpg', '/home/pi/Desktop/images/06042025/23/35/image_06042025_23_35_35_10427.jpg', '/home/pi/Desktop/images/06042025/23/35/image_06042025_23_35_45_9352.jpg', '/home/pi/Desktop/images/06042025/23/35/image_06042025_23_35_55_10429.jpg', '/home/pi/Desktop/images/06042025/23/36/image_06042025_23_36_15_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/34/image_06042025_23_34_55_9363.jpg
/home/pi/Desktop/images/06042025/23/34/image_06042025_23_35_05_10350.jpg
/home/pi/Desktop/images/06042025/23/35/image_06042025_23_35_35_10427.jpg
/home/pi/Desktop/images/06042025/23/35/image_06042025_23_35_45_9352.jpg
/home/pi/Desktop/images/06042025/23/35/image_06042025_23_35_55_10429.jpg
/home/pi/Desktop/images/06042025/23/36/image_06042025_23_36_15_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352039371","1352039367","1352039376","1352039378","1352039354","1352039363"],"photo_ids_order":["1352039354","1352039363","1352039367","1352039371","1352039376","1352039378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1790143d22a7d815eea7647c70298d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4596141911778440973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419814076,"filename":"image_06042025_23_35_45_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cae349c32ad6ee032f1a088e3f2c56bd.jpg","text":"TemporaryFile(/tmp/multipartBody2859578893123707250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419814076,"filename":"image_06042025_23_35_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0849a7b6a8f164ac9ce9f8b4367dd4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1543327279507749456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419814076,"filename":"image_06042025_23_35_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dadc913a00e4026218c4b09bbfb18d92.jpg","text":"TemporaryFile(/tmp/multipartBody5242131341549706906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419814076,"filename":"image_06042025_23_36_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc644e0a018297c5f25dbfebd9fa384e.jpg","text":"TemporaryFile(/tmp/multipartBody3812475282462461449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419814076,"filename":"image_06042025_23_34_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97ca30eb4c967de6b1680fc69f054ff7.jpg","text":"TemporaryFile(/tmp/multipartBody5622696863285946314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419814076,"filename":"image_06042025_23_35_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352039367","file1":"1352039363","file0":"1352039354","file4":"1352039376","file5":"1352039378","file3":"1352039371"},"map_files_photo_id_array":[{"photo_id":"1352039378","filename":"file5"},{"photo_id":"1352039367","filename":"file2"},{"photo_id":"1352039376","filename":"file4"},{"photo_id":"1352039363","filename":"file1"},{"photo_id":"1352039354","filename":"file0"},{"photo_id":"1352039371","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352039371":["hashtag1","hashtag2"]},{"1352039367":["hashtag1","hashtag2"]},{"1352039376":["hashtag1","hashtag2"]},{"1352039378":["hashtag1","hashtag2"]},{"1352039354":["hashtag1","hashtag2"]},{"1352039363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352039371, 1352039367, 1352039376, 1352039378, 1352039354, 1352039363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54775547981262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:03:32.536055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/36/image_06042025_23_36_35_9406.jpg', '/home/pi/Desktop/images/06042025/23/36/image_06042025_23_36_45_10498.jpg', '/home/pi/Desktop/images/06042025/23/36/image_06042025_23_36_55_9362.jpg', '/home/pi/Desktop/images/06042025/23/37/image_06042025_23_37_15_10459.jpg', '/home/pi/Desktop/images/06042025/23/37/image_06042025_23_37_45_9391.jpg', '/home/pi/Desktop/images/06042025/23/38/image_06042025_23_38_15_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/36/image_06042025_23_36_35_9406.jpg
/home/pi/Desktop/images/06042025/23/36/image_06042025_23_36_45_10498.jpg
/home/pi/Desktop/images/06042025/23/36/image_06042025_23_36_55_9362.jpg
/home/pi/Desktop/images/06042025/23/37/image_06042025_23_37_15_10459.jpg
/home/pi/Desktop/images/06042025/23/37/image_06042025_23_37_45_9391.jpg
/home/pi/Desktop/images/06042025/23/38/image_06042025_23_38_15_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352039584","1352039527","1352039580","1352039576","1352039441","1352039572"],"photo_ids_order":["1352039441","1352039527","1352039572","1352039576","1352039580","1352039584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af52667d9e6d38249d9f12a37048a72c.jpg","text":"TemporaryFile(/tmp/multipartBody4281509398856290878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419874129,"filename":"image_06042025_23_38_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93e5c8274c8d6f28e0387c0f0e664fe4.jpg","text":"TemporaryFile(/tmp/multipartBody1982341456453042079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419874129,"filename":"image_06042025_23_36_45_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f175d590162a0dfc0baa341b98f55897.jpg","text":"TemporaryFile(/tmp/multipartBody6671098262947855241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419874129,"filename":"image_06042025_23_37_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/533b8515c64ba44321f141bd413c7287.jpg","text":"TemporaryFile(/tmp/multipartBody5212434947240528096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419874129,"filename":"image_06042025_23_37_15_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2400c23ea82cfcd38b89ba162ee55e5b.jpg","text":"TemporaryFile(/tmp/multipartBody3082365138194687875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419874129,"filename":"image_06042025_23_36_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d0137d72976413b1cbbbab18299aebd.jpg","text":"TemporaryFile(/tmp/multipartBody1415965683007813527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419874129,"filename":"image_06042025_23_36_55_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352039572","file1":"1352039527","file0":"1352039441","file4":"1352039580","file5":"1352039584","file3":"1352039576"},"map_files_photo_id_array":[{"photo_id":"1352039584","filename":"file5"},{"photo_id":"1352039572","filename":"file2"},{"photo_id":"1352039580","filename":"file4"},{"photo_id":"1352039527","filename":"file1"},{"photo_id":"1352039441","filename":"file0"},{"photo_id":"1352039576","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352039584":["hashtag1","hashtag2"]},{"1352039527":["hashtag1","hashtag2"]},{"1352039580":["hashtag1","hashtag2"]},{"1352039576":["hashtag1","hashtag2"]},{"1352039441":["hashtag1","hashtag2"]},{"1352039572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352039584, 1352039527, 1352039580, 1352039576, 1352039441, 1352039572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.912158727645874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:04:32.945455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/38/image_06042025_23_38_25_10421.jpg', '/home/pi/Desktop/images/06042025/23/39/image_06042025_23_39_26_10449.jpg', '/home/pi/Desktop/images/06042025/23/39/image_06042025_23_39_45_10377.jpg', '/home/pi/Desktop/images/06042025/23/39/image_06042025_23_39_55_9381.jpg', '/home/pi/Desktop/images/06042025/23/39/image_06042025_23_40_05_10362.jpg', '/home/pi/Desktop/images/06042025/23/40/image_06042025_23_40_35_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/38/image_06042025_23_38_25_10421.jpg
/home/pi/Desktop/images/06042025/23/39/image_06042025_23_39_26_10449.jpg
/home/pi/Desktop/images/06042025/23/39/image_06042025_23_39_45_10377.jpg
/home/pi/Desktop/images/06042025/23/39/image_06042025_23_39_55_9381.jpg
/home/pi/Desktop/images/06042025/23/39/image_06042025_23_40_05_10362.jpg
/home/pi/Desktop/images/06042025/23/40/image_06042025_23_40_35_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352039632","1352039611","1352039661","1352039619","1352039615","1352039603"],"photo_ids_order":["1352039603","1352039611","1352039615","1352039619","1352039632","1352039661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b48572ad878d7a9f198e3ff19fa4bee.jpg","text":"TemporaryFile(/tmp/multipartBody2932315197247908174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419934533,"filename":"image_06042025_23_40_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8fb26a63a54a88e167616e5291a4348.jpg","text":"TemporaryFile(/tmp/multipartBody8546208977815936644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419934533,"filename":"image_06042025_23_39_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c95cca4cebd284dac90ef5027516e6a.jpg","text":"TemporaryFile(/tmp/multipartBody1777377958691557148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419934533,"filename":"image_06042025_23_40_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22e1635beeb536abec43ac03f799cabc.jpg","text":"TemporaryFile(/tmp/multipartBody2131384932446024906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419934533,"filename":"image_06042025_23_39_55_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd26b863dab9b96274bff857f17587b5.jpg","text":"TemporaryFile(/tmp/multipartBody5708734759575382368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419934533,"filename":"image_06042025_23_39_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e6343d91884e8d1c5cb039707a0caa7.jpg","text":"TemporaryFile(/tmp/multipartBody1925340592934925574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419934533,"filename":"image_06042025_23_38_25_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352039615","file1":"1352039611","file0":"1352039603","file4":"1352039632","file5":"1352039661","file3":"1352039619"},"map_files_photo_id_array":[{"photo_id":"1352039661","filename":"file5"},{"photo_id":"1352039615","filename":"file2"},{"photo_id":"1352039632","filename":"file4"},{"photo_id":"1352039611","filename":"file1"},{"photo_id":"1352039603","filename":"file0"},{"photo_id":"1352039619","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352039632":["hashtag1","hashtag2"]},{"1352039611":["hashtag1","hashtag2"]},{"1352039661":["hashtag1","hashtag2"]},{"1352039619":["hashtag1","hashtag2"]},{"1352039615":["hashtag1","hashtag2"]},{"1352039603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352039632, 1352039611, 1352039661, 1352039619, 1352039615, 1352039603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36168360710144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:05:32.145042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/40/image_06042025_23_40_45_9428.jpg', '/home/pi/Desktop/images/06042025/23/40/image_06042025_23_40_55_10433.jpg', '/home/pi/Desktop/images/06042025/23/41/image_06042025_23_41_35_9347.jpg', '/home/pi/Desktop/images/06042025/23/41/image_06042025_23_41_45_10368.jpg', '/home/pi/Desktop/images/06042025/23/41/image_06042025_23_41_56_10374.jpg', '/home/pi/Desktop/images/06042025/23/41/image_06042025_23_42_05_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/40/image_06042025_23_40_45_9428.jpg
/home/pi/Desktop/images/06042025/23/40/image_06042025_23_40_55_10433.jpg
/home/pi/Desktop/images/06042025/23/41/image_06042025_23_41_35_9347.jpg
/home/pi/Desktop/images/06042025/23/41/image_06042025_23_41_45_10368.jpg
/home/pi/Desktop/images/06042025/23/41/image_06042025_23_41_56_10374.jpg
/home/pi/Desktop/images/06042025/23/41/image_06042025_23_42_05_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040004","1352039913","1352040177","1352039960","1352040120","1352040047"],"photo_ids_order":["1352039913","1352039960","1352040004","1352040047","1352040120","1352040177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13f3e60b452c2334731cb0a182346265.jpg","text":"TemporaryFile(/tmp/multipartBody6895900534012864837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419993724,"filename":"image_06042025_23_41_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51b15d5e47c873c5e93b2562f2c7ad94.jpg","text":"TemporaryFile(/tmp/multipartBody8504884827758350832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419993724,"filename":"image_06042025_23_40_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54e4d8a3fea51e8f28251dffbc34719f.jpg","text":"TemporaryFile(/tmp/multipartBody4529434162262012718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419993724,"filename":"image_06042025_23_42_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/571c334f7729aadd491ac304e45bf8a5.jpg","text":"TemporaryFile(/tmp/multipartBody5989528785211772848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419993724,"filename":"image_06042025_23_40_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/130ef53bf292978a9c09bd3931aa037d.jpg","text":"TemporaryFile(/tmp/multipartBody6182629055932995428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419993724,"filename":"image_06042025_23_41_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64584d8aba3c9be674b2f8789f3bb5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1761546056858545710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744419993724,"filename":"image_06042025_23_41_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040004","file1":"1352039960","file0":"1352039913","file4":"1352040120","file5":"1352040177","file3":"1352040047"},"map_files_photo_id_array":[{"photo_id":"1352040177","filename":"file5"},{"photo_id":"1352040004","filename":"file2"},{"photo_id":"1352040120","filename":"file4"},{"photo_id":"1352039960","filename":"file1"},{"photo_id":"1352039913","filename":"file0"},{"photo_id":"1352040047","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352040004":["hashtag1","hashtag2"]},{"1352039913":["hashtag1","hashtag2"]},{"1352040177":["hashtag1","hashtag2"]},{"1352039960":["hashtag1","hashtag2"]},{"1352040120":["hashtag1","hashtag2"]},{"1352040047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352040004, 1352039913, 1352040177, 1352039960, 1352040120, 1352040047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.052088260650635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:06:32.286571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/42/image_06042025_23_42_15_10449.jpg', '/home/pi/Desktop/images/06042025/23/42/image_06042025_23_42_35_10473.jpg', '/home/pi/Desktop/images/06042025/23/42/image_06042025_23_42_46_10366.jpg', '/home/pi/Desktop/images/06042025/23/42/image_06042025_23_42_55_9355.jpg', '/home/pi/Desktop/images/06042025/23/42/image_06042025_23_43_05_10475.jpg', '/home/pi/Desktop/images/06042025/23/43/image_06042025_23_43_15_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/42/image_06042025_23_42_15_10449.jpg
/home/pi/Desktop/images/06042025/23/42/image_06042025_23_42_35_10473.jpg
/home/pi/Desktop/images/06042025/23/42/image_06042025_23_42_46_10366.jpg
/home/pi/Desktop/images/06042025/23/42/image_06042025_23_42_55_9355.jpg
/home/pi/Desktop/images/06042025/23/42/image_06042025_23_43_05_10475.jpg
/home/pi/Desktop/images/06042025/23/43/image_06042025_23_43_15_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352040688","1352040658","1352040625","1352040579","1352040543","1352040717"],"photo_ids_order":["1352040543","1352040579","1352040625","1352040658","1352040688","1352040717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bda2e35a3e41907b0a9c7b670363a66.jpg","text":"TemporaryFile(/tmp/multipartBody7511638501922547071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420053857,"filename":"image_06042025_23_43_05_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/937df6f2cee3f17e9bb9728ef10b7bbb.jpg","text":"TemporaryFile(/tmp/multipartBody8498667688614795419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420053857,"filename":"image_06042025_23_42_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8890634aea43d95a68685f81f438f35.jpg","text":"TemporaryFile(/tmp/multipartBody3313669973520187398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420053857,"filename":"image_06042025_23_42_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c452667e2a793e437e88cf725d748832.jpg","text":"TemporaryFile(/tmp/multipartBody1859363081966476492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420053857,"filename":"image_06042025_23_42_35_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aafb03c22bc844749810ec7e4a1f21c8.jpg","text":"TemporaryFile(/tmp/multipartBody269002033424634624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420053857,"filename":"image_06042025_23_42_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47120625bbeb47eea28b42c6af55cbdb.jpg","text":"TemporaryFile(/tmp/multipartBody8536597376376506585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420053857,"filename":"image_06042025_23_43_15_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352040625","file1":"1352040579","file0":"1352040543","file4":"1352040688","file5":"1352040717","file3":"1352040658"},"map_files_photo_id_array":[{"photo_id":"1352040717","filename":"file5"},{"photo_id":"1352040625","filename":"file2"},{"photo_id":"1352040688","filename":"file4"},{"photo_id":"1352040579","filename":"file1"},{"photo_id":"1352040543","filename":"file0"},{"photo_id":"1352040658","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352040688":["hashtag1","hashtag2"]},{"1352040658":["hashtag1","hashtag2"]},{"1352040625":["hashtag1","hashtag2"]},{"1352040579":["hashtag1","hashtag2"]},{"1352040543":["hashtag1","hashtag2"]},{"1352040717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352040688, 1352040658, 1352040625, 1352040579, 1352040543, 1352040717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00048351287842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:07:32.425750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/43/image_06042025_23_43_45_10357.jpg', '/home/pi/Desktop/images/06042025/23/43/image_06042025_23_43_55_10386.jpg', '/home/pi/Desktop/images/06042025/23/43/image_06042025_23_44_05_9367.jpg', '/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_15_10353.jpg', '/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_26_10479.jpg', '/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_35_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/43/image_06042025_23_43_45_10357.jpg
/home/pi/Desktop/images/06042025/23/43/image_06042025_23_43_55_10386.jpg
/home/pi/Desktop/images/06042025/23/43/image_06042025_23_44_05_9367.jpg
/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_15_10353.jpg
/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_26_10479.jpg
/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_35_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041042","1352041144","1352040982","1352041225","1352041188","1352041089"],"photo_ids_order":["1352040982","1352041042","1352041089","1352041144","1352041188","1352041225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa6db3f2a1c9d66eaa5ec35a02f7b63f.jpg","text":"TemporaryFile(/tmp/multipartBody4798611285298382348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420114012,"filename":"image_06042025_23_43_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aea3f4f82ebd8ea7520e5c1642d76148.jpg","text":"TemporaryFile(/tmp/multipartBody8998626861322321979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420114012,"filename":"image_06042025_23_44_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/750199c069d1c7193df9fa49cf75980b.jpg","text":"TemporaryFile(/tmp/multipartBody4502784389150085296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420114012,"filename":"image_06042025_23_43_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3cc389f80c912c1722728eeb0599853b.jpg","text":"TemporaryFile(/tmp/multipartBody7175039184311268387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420114012,"filename":"image_06042025_23_44_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2acf28da1766d1a4fc63fca5a7063489.jpg","text":"TemporaryFile(/tmp/multipartBody3881276037567935861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420114012,"filename":"image_06042025_23_44_26_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9309fc12040877f11f63185c981d163d.jpg","text":"TemporaryFile(/tmp/multipartBody8470425842307711847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420114012,"filename":"image_06042025_23_44_05_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041089","file1":"1352041042","file0":"1352040982","file4":"1352041188","file5":"1352041225","file3":"1352041144"},"map_files_photo_id_array":[{"photo_id":"1352041225","filename":"file5"},{"photo_id":"1352041089","filename":"file2"},{"photo_id":"1352041188","filename":"file4"},{"photo_id":"1352041042","filename":"file1"},{"photo_id":"1352040982","filename":"file0"},{"photo_id":"1352041144","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352041042":["hashtag1","hashtag2"]},{"1352041144":["hashtag1","hashtag2"]},{"1352040982":["hashtag1","hashtag2"]},{"1352041225":["hashtag1","hashtag2"]},{"1352041188":["hashtag1","hashtag2"]},{"1352041089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352041042, 1352041144, 1352040982, 1352041225, 1352041188, 1352041089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99158954620361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:08:32.599285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_45_10503.jpg', '/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_55_9362.jpg', '/home/pi/Desktop/images/06042025/23/44/image_06042025_23_45_05_10448.jpg', '/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_16_10363.jpg', '/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_25_9358.jpg', '/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_35_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_45_10503.jpg
/home/pi/Desktop/images/06042025/23/44/image_06042025_23_44_55_9362.jpg
/home/pi/Desktop/images/06042025/23/44/image_06042025_23_45_05_10448.jpg
/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_16_10363.jpg
/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_25_9358.jpg
/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_35_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041623","1352041592","1352041565","1352041649","1352041544","1352041604"],"photo_ids_order":["1352041544","1352041565","1352041592","1352041604","1352041623","1352041649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6eeec0be2e71b670ca517943c122cd1c.jpg","text":"TemporaryFile(/tmp/multipartBody5900581432321453953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420174175,"filename":"image_06042025_23_45_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3aad5dc7f1566ac82c572c777b8f3914.jpg","text":"TemporaryFile(/tmp/multipartBody5192651750218248515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420174175,"filename":"image_06042025_23_45_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d174566333bc6593084e3468080f3e31.jpg","text":"TemporaryFile(/tmp/multipartBody4917366910484481123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420174175,"filename":"image_06042025_23_44_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b95c1b71ccb0a52bac89e1e9af25bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2155392572407185432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420174175,"filename":"image_06042025_23_45_35_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0ab74b6ce2a41afed9e8ea7c3cb2e9b.jpg","text":"TemporaryFile(/tmp/multipartBody2686199266575867446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420174175,"filename":"image_06042025_23_44_45_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2aaab3612ba18ccb93351ca9b9a0c23.jpg","text":"TemporaryFile(/tmp/multipartBody3083296886977408306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420174175,"filename":"image_06042025_23_45_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041592","file1":"1352041565","file0":"1352041544","file4":"1352041623","file5":"1352041649","file3":"1352041604"},"map_files_photo_id_array":[{"photo_id":"1352041649","filename":"file5"},{"photo_id":"1352041592","filename":"file2"},{"photo_id":"1352041623","filename":"file4"},{"photo_id":"1352041565","filename":"file1"},{"photo_id":"1352041544","filename":"file0"},{"photo_id":"1352041604","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352041623":["hashtag1","hashtag2"]},{"1352041592":["hashtag1","hashtag2"]},{"1352041565":["hashtag1","hashtag2"]},{"1352041649":["hashtag1","hashtag2"]},{"1352041544":["hashtag1","hashtag2"]},{"1352041604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352041623, 1352041592, 1352041565, 1352041649, 1352041544, 1352041604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02837514877319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:09:32.848609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_45_9342.jpg', '/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_55_10515.jpg', '/home/pi/Desktop/images/06042025/23/45/image_06042025_23_46_05_9366.jpg', '/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_15_10352.jpg', '/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_25_10474.jpg', '/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_35_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_45_9342.jpg
/home/pi/Desktop/images/06042025/23/45/image_06042025_23_45_55_10515.jpg
/home/pi/Desktop/images/06042025/23/45/image_06042025_23_46_05_9366.jpg
/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_15_10352.jpg
/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_25_10474.jpg
/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_35_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352041828","1352041801","1352041782","1352041863","1352041758","1352041889"],"photo_ids_order":["1352041758","1352041782","1352041801","1352041828","1352041863","1352041889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/575857114b2bdb149c3a0595b98bdef6.jpg","text":"TemporaryFile(/tmp/multipartBody6536522586374770306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420234419,"filename":"image_06042025_23_46_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77441b07bf7497dacd3e27beee275cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3834414905508210091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420234419,"filename":"image_06042025_23_46_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1dd27561113e966974390d195aeef21.jpg","text":"TemporaryFile(/tmp/multipartBody2964363038610020498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420234419,"filename":"image_06042025_23_45_55_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ad3cda4713bdce26571a8463e0c2d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7636585814081768172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420234419,"filename":"image_06042025_23_46_25_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c68848d8e6e461a1ae21805aec35692.jpg","text":"TemporaryFile(/tmp/multipartBody3890271779142079828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420234419,"filename":"image_06042025_23_45_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2771e1e2cc904ff119530157a31ff507.jpg","text":"TemporaryFile(/tmp/multipartBody412877176604968104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420234419,"filename":"image_06042025_23_46_35_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352041801","file1":"1352041782","file0":"1352041758","file4":"1352041863","file5":"1352041889","file3":"1352041828"},"map_files_photo_id_array":[{"photo_id":"1352041889","filename":"file5"},{"photo_id":"1352041801","filename":"file2"},{"photo_id":"1352041863","filename":"file4"},{"photo_id":"1352041782","filename":"file1"},{"photo_id":"1352041758","filename":"file0"},{"photo_id":"1352041828","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352041828":["hashtag1","hashtag2"]},{"1352041801":["hashtag1","hashtag2"]},{"1352041782":["hashtag1","hashtag2"]},{"1352041863":["hashtag1","hashtag2"]},{"1352041758":["hashtag1","hashtag2"]},{"1352041889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352041828, 1352041801, 1352041782, 1352041863, 1352041758, 1352041889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16450762748718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:10:32.938131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_45_10424.jpg', '/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_55_9375.jpg', '/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_15_10358.jpg', '/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_25_9383.jpg', '/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_35_10356.jpg', '/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_45_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_45_10424.jpg
/home/pi/Desktop/images/06042025/23/46/image_06042025_23_46_55_9375.jpg
/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_15_10358.jpg
/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_25_9383.jpg
/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_35_10356.jpg
/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_45_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352042166","1352042118","1352042135","1352042246","1352042219","1352042194"],"photo_ids_order":["1352042118","1352042135","1352042166","1352042194","1352042219","1352042246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b95c1c2bbcefd4219f71c88c2804f42f.jpg","text":"TemporaryFile(/tmp/multipartBody6430182834136315098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420294526,"filename":"image_06042025_23_47_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40de60e962720d7f509baca98cbff9cc.jpg","text":"TemporaryFile(/tmp/multipartBody9017287104508532251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420294526,"filename":"image_06042025_23_46_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57ee72070159f9518c31189ae3b711b4.jpg","text":"TemporaryFile(/tmp/multipartBody6132305945011660886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420294526,"filename":"image_06042025_23_46_55_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3375319a73344e15f2884de9a39bfe7.jpg","text":"TemporaryFile(/tmp/multipartBody2343604085686294212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420294526,"filename":"image_06042025_23_47_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e54c6323464f0736593b0ddf7f98a6b.jpg","text":"TemporaryFile(/tmp/multipartBody1092480422837663161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420294526,"filename":"image_06042025_23_47_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/717196a618bc3a68347633bd29129928.jpg","text":"TemporaryFile(/tmp/multipartBody4774424890652500125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420294526,"filename":"image_06042025_23_47_25_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352042166","file1":"1352042135","file0":"1352042118","file4":"1352042219","file5":"1352042246","file3":"1352042194"},"map_files_photo_id_array":[{"photo_id":"1352042246","filename":"file5"},{"photo_id":"1352042166","filename":"file2"},{"photo_id":"1352042219","filename":"file4"},{"photo_id":"1352042135","filename":"file1"},{"photo_id":"1352042118","filename":"file0"},{"photo_id":"1352042194","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352042166":["hashtag1","hashtag2"]},{"1352042118":["hashtag1","hashtag2"]},{"1352042135":["hashtag1","hashtag2"]},{"1352042246":["hashtag1","hashtag2"]},{"1352042219":["hashtag1","hashtag2"]},{"1352042194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352042166, 1352042118, 1352042135, 1352042246, 1352042219, 1352042194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.549296379089355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:11:33.162821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_55_9345.jpg', '/home/pi/Desktop/images/06042025/23/47/image_06042025_23_48_05_10411.jpg', '/home/pi/Desktop/images/06042025/23/48/image_06042025_23_48_16_10365.jpg', '/home/pi/Desktop/images/06042025/23/48/image_06042025_23_48_25_9348.jpg', '/home/pi/Desktop/images/06042025/23/48/image_06042025_23_48_35_10419.jpg', '/home/pi/Desktop/images/06042025/23/48/image_06042025_23_48_45_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/47/image_06042025_23_47_55_9345.jpg
/home/pi/Desktop/images/06042025/23/47/image_06042025_23_48_05_10411.jpg
/home/pi/Desktop/images/06042025/23/48/image_06042025_23_48_16_10365.jpg
/home/pi/Desktop/images/06042025/23/48/image_06042025_23_48_25_9348.jpg
/home/pi/Desktop/images/06042025/23/48/image_06042025_23_48_35_10419.jpg
/home/pi/Desktop/images/06042025/23/48/image_06042025_23_48_45_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352042375","1352042380","1352042371","1352042365","1352042359","1352042368"],"photo_ids_order":["1352042359","1352042365","1352042368","1352042371","1352042375","1352042380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fc21908e211bb4f7d8312b9467b1197.jpg","text":"TemporaryFile(/tmp/multipartBody6748004936517205772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420354747,"filename":"image_06042025_23_48_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b51d826f38e63509c5b315193bc73cdb.jpg","text":"TemporaryFile(/tmp/multipartBody8785345123076766805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420354747,"filename":"image_06042025_23_48_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f2380a036c8da8633125d3dec279bac.jpg","text":"TemporaryFile(/tmp/multipartBody3205947618621609282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420354747,"filename":"image_06042025_23_48_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfcc636352cf32899ec1e06d97206aef.jpg","text":"TemporaryFile(/tmp/multipartBody3002563954192877232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420354747,"filename":"image_06042025_23_48_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/913b8eeedc46a87d3a4d9139be9d7c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1424523901806967748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420354747,"filename":"image_06042025_23_47_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bab35321f519c13d1d844b0a18a4a4e4.jpg","text":"TemporaryFile(/tmp/multipartBody1539912616655702185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420354747,"filename":"image_06042025_23_48_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352042368","file1":"1352042365","file0":"1352042359","file4":"1352042375","file5":"1352042380","file3":"1352042371"},"map_files_photo_id_array":[{"photo_id":"1352042380","filename":"file5"},{"photo_id":"1352042368","filename":"file2"},{"photo_id":"1352042375","filename":"file4"},{"photo_id":"1352042365","filename":"file1"},{"photo_id":"1352042359","filename":"file0"},{"photo_id":"1352042371","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352042375":["hashtag1","hashtag2"]},{"1352042380":["hashtag1","hashtag2"]},{"1352042371":["hashtag1","hashtag2"]},{"1352042365":["hashtag1","hashtag2"]},{"1352042359":["hashtag1","hashtag2"]},{"1352042368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352042375, 1352042380, 1352042371, 1352042365, 1352042359, 1352042368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17462611198425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:12:32.247391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/48/image_06042025_23_49_05_10342.jpg', '/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_15_9365.jpg', '/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_25_10375.jpg', '/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_35_9461.jpg', '/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_45_10398.jpg', '/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_56_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/48/image_06042025_23_49_05_10342.jpg
/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_15_9365.jpg
/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_25_10375.jpg
/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_35_9461.jpg
/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_45_10398.jpg
/home/pi/Desktop/images/06042025/23/49/image_06042025_23_49_56_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352042601","1352042477","1352042579","1352042504","1352042554","1352042527"],"photo_ids_order":["1352042477","1352042504","1352042527","1352042554","1352042579","1352042601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e51ff58f81a09d778d91b7bd0b469717.jpg","text":"TemporaryFile(/tmp/multipartBody7666497623372820437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420413828,"filename":"image_06042025_23_49_56_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cb525ca4d26a53451b10f166c7701d4.jpg","text":"TemporaryFile(/tmp/multipartBody5008114111413423276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420413828,"filename":"image_06042025_23_49_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd4fc70ebac9139641bdac7cfa6a8601.jpg","text":"TemporaryFile(/tmp/multipartBody3302925273921949454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420413828,"filename":"image_06042025_23_49_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd23fcfeae9d0b9a0ca07f3d3149dade.jpg","text":"TemporaryFile(/tmp/multipartBody5148672506794095997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420413828,"filename":"image_06042025_23_49_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a937ddda968190e0748fbbc7ce3540a7.jpg","text":"TemporaryFile(/tmp/multipartBody7656930637306897333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420413828,"filename":"image_06042025_23_49_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af65161bc937a187c201f8c346fc39ac.jpg","text":"TemporaryFile(/tmp/multipartBody326108424786285978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420413828,"filename":"image_06042025_23_49_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352042527","file1":"1352042504","file0":"1352042477","file4":"1352042579","file5":"1352042601","file3":"1352042554"},"map_files_photo_id_array":[{"photo_id":"1352042601","filename":"file5"},{"photo_id":"1352042527","filename":"file2"},{"photo_id":"1352042579","filename":"file4"},{"photo_id":"1352042504","filename":"file1"},{"photo_id":"1352042477","filename":"file0"},{"photo_id":"1352042554","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352042601":["hashtag1","hashtag2"]},{"1352042477":["hashtag1","hashtag2"]},{"1352042579":["hashtag1","hashtag2"]},{"1352042504":["hashtag1","hashtag2"]},{"1352042554":["hashtag1","hashtag2"]},{"1352042527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352042601, 1352042477, 1352042579, 1352042504, 1352042554, 1352042527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71723175048828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:13:32.472247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/49/image_06042025_23_50_05_9354.jpg', '/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_15_10481.jpg', '/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_25_9366.jpg', '/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_35_10359.jpg', '/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_45_10396.jpg', '/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_55_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/49/image_06042025_23_50_05_9354.jpg
/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_15_10481.jpg
/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_25_9366.jpg
/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_35_10359.jpg
/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_45_10396.jpg
/home/pi/Desktop/images/06042025/23/50/image_06042025_23_50_55_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352042751","1352042739","1352042754","1352042711","1352042758","1352042704"],"photo_ids_order":["1352042704","1352042711","1352042739","1352042751","1352042754","1352042758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c9e425d87ade5e7b8cad4abbaa8ea5c.jpg","text":"TemporaryFile(/tmp/multipartBody1584301278260927817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420474052,"filename":"image_06042025_23_50_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3a266332a32ba8882638b663a0b99dd.jpg","text":"TemporaryFile(/tmp/multipartBody3507717734222480900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420474052,"filename":"image_06042025_23_50_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1fa4a5a09d30ff4d2f99acf0393bd797.jpg","text":"TemporaryFile(/tmp/multipartBody4150823275954955192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420474052,"filename":"image_06042025_23_50_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07b059848ebde7ea0464bcfaa5d441ac.jpg","text":"TemporaryFile(/tmp/multipartBody1677086154927302732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420474052,"filename":"image_06042025_23_50_15_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/276c979d4cc300f29dfc4843d9ba505a.jpg","text":"TemporaryFile(/tmp/multipartBody4208741055089288010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420474052,"filename":"image_06042025_23_50_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8441d66619aa0940ae3a4cb9f68dd8e7.jpg","text":"TemporaryFile(/tmp/multipartBody1880440991120334668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420474052,"filename":"image_06042025_23_50_05_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352042739","file1":"1352042711","file0":"1352042704","file4":"1352042754","file5":"1352042758","file3":"1352042751"},"map_files_photo_id_array":[{"photo_id":"1352042758","filename":"file5"},{"photo_id":"1352042739","filename":"file2"},{"photo_id":"1352042754","filename":"file4"},{"photo_id":"1352042711","filename":"file1"},{"photo_id":"1352042704","filename":"file0"},{"photo_id":"1352042751","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352042751":["hashtag1","hashtag2"]},{"1352042739":["hashtag1","hashtag2"]},{"1352042754":["hashtag1","hashtag2"]},{"1352042711":["hashtag1","hashtag2"]},{"1352042758":["hashtag1","hashtag2"]},{"1352042704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352042751, 1352042739, 1352042754, 1352042711, 1352042758, 1352042704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.329734563827515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:14:32.655093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/50/image_06042025_23_51_05_10431.jpg', '/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_15_9337.jpg', '/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_25_10363.jpg', '/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_35_10421.jpg', '/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_45_9363.jpg', '/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_55_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/50/image_06042025_23_51_05_10431.jpg
/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_15_9337.jpg
/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_25_10363.jpg
/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_35_10421.jpg
/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_45_9363.jpg
/home/pi/Desktop/images/06042025/23/51/image_06042025_23_51_55_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352042976","1352042945","1352042965","1352042953","1352042932","1352042941"],"photo_ids_order":["1352042932","1352042941","1352042945","1352042953","1352042965","1352042976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16efff91efa6a3f892c6111d686f2ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4663027611843359389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420534221,"filename":"image_06042025_23_51_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1cf53bab0b6c05a98694a3e2856101f9.jpg","text":"TemporaryFile(/tmp/multipartBody4885255531118580763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420534221,"filename":"image_06042025_23_51_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b51feb6298e6924b323fbaee022f5f8.jpg","text":"TemporaryFile(/tmp/multipartBody8567989984260762440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420534221,"filename":"image_06042025_23_51_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e16081a54d44d3836b7f86a773f9f369.jpg","text":"TemporaryFile(/tmp/multipartBody134702513520026941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420534221,"filename":"image_06042025_23_51_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbfae4b94090fc524e3e6cc49174589f.jpg","text":"TemporaryFile(/tmp/multipartBody8550068362113229737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420534221,"filename":"image_06042025_23_51_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bddaaa55bcfff510879f5021e67d01ac.jpg","text":"TemporaryFile(/tmp/multipartBody2632809313433715178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420534221,"filename":"image_06042025_23_51_15_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352042945","file1":"1352042941","file0":"1352042932","file4":"1352042965","file5":"1352042976","file3":"1352042953"},"map_files_photo_id_array":[{"photo_id":"1352042976","filename":"file5"},{"photo_id":"1352042945","filename":"file2"},{"photo_id":"1352042965","filename":"file4"},{"photo_id":"1352042941","filename":"file1"},{"photo_id":"1352042932","filename":"file0"},{"photo_id":"1352042953","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352042976":["hashtag1","hashtag2"]},{"1352042945":["hashtag1","hashtag2"]},{"1352042965":["hashtag1","hashtag2"]},{"1352042953":["hashtag1","hashtag2"]},{"1352042932":["hashtag1","hashtag2"]},{"1352042941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352042976, 1352042945, 1352042965, 1352042953, 1352042932, 1352042941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18677258491516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:15:32.837646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/51/image_06042025_23_52_05_10343.jpg', '/home/pi/Desktop/images/06042025/23/52/image_06042025_23_52_15_9356.jpg', '/home/pi/Desktop/images/06042025/23/52/image_06042025_23_52_55_10495.jpg', '/home/pi/Desktop/images/06042025/23/53/image_06042025_23_53_15_10409.jpg', '/home/pi/Desktop/images/06042025/23/53/image_06042025_23_53_45_10448.jpg', '/home/pi/Desktop/images/06042025/23/54/image_06042025_23_54_25_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/51/image_06042025_23_52_05_10343.jpg
/home/pi/Desktop/images/06042025/23/52/image_06042025_23_52_15_9356.jpg
/home/pi/Desktop/images/06042025/23/52/image_06042025_23_52_55_10495.jpg
/home/pi/Desktop/images/06042025/23/53/image_06042025_23_53_15_10409.jpg
/home/pi/Desktop/images/06042025/23/53/image_06042025_23_53_45_10448.jpg
/home/pi/Desktop/images/06042025/23/54/image_06042025_23_54_25_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352043249","1352043132","1352043191","1352043161","1352043104","1352043220"],"photo_ids_order":["1352043104","1352043132","1352043161","1352043191","1352043220","1352043249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3da40d903ed42dc5bc4af4a8955da0f.jpg","text":"TemporaryFile(/tmp/multipartBody885791143134742001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420594422,"filename":"image_06042025_23_54_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba82a435a7abe1522c1399e523754080.jpg","text":"TemporaryFile(/tmp/multipartBody93919321521385068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420594422,"filename":"image_06042025_23_52_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb354d13ed8223c90d9d2462cc840442.jpg","text":"TemporaryFile(/tmp/multipartBody2969411776664451530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420594422,"filename":"image_06042025_23_53_15_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/949388cc9a8527c3bdecc48240bc4c58.jpg","text":"TemporaryFile(/tmp/multipartBody822887118427599265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420594422,"filename":"image_06042025_23_52_55_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5e5a1a9b7423010b3e096bc77813e74.jpg","text":"TemporaryFile(/tmp/multipartBody8322325654540225442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420594422,"filename":"image_06042025_23_52_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f21c0a92f875115c23741de4d902317.jpg","text":"TemporaryFile(/tmp/multipartBody8155296889549036662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420594422,"filename":"image_06042025_23_53_45_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352043161","file1":"1352043132","file0":"1352043104","file4":"1352043220","file5":"1352043249","file3":"1352043191"},"map_files_photo_id_array":[{"photo_id":"1352043249","filename":"file5"},{"photo_id":"1352043161","filename":"file2"},{"photo_id":"1352043220","filename":"file4"},{"photo_id":"1352043132","filename":"file1"},{"photo_id":"1352043104","filename":"file0"},{"photo_id":"1352043191","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352043249":["hashtag1","hashtag2"]},{"1352043132":["hashtag1","hashtag2"]},{"1352043191":["hashtag1","hashtag2"]},{"1352043161":["hashtag1","hashtag2"]},{"1352043104":["hashtag1","hashtag2"]},{"1352043220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352043249, 1352043132, 1352043191, 1352043161, 1352043104, 1352043220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15927171707153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:16:33.016849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/54/image_06042025_23_54_45_9364.jpg', '/home/pi/Desktop/images/06042025/23/54/image_06042025_23_54_55_10377.jpg', '/home/pi/Desktop/images/06042025/23/54/image_06042025_23_55_05_10350.jpg', '/home/pi/Desktop/images/06042025/23/55/image_06042025_23_55_15_9347.jpg', '/home/pi/Desktop/images/06042025/23/55/image_06042025_23_55_25_10496.jpg', '/home/pi/Desktop/images/06042025/23/55/image_06042025_23_55_35_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/54/image_06042025_23_54_45_9364.jpg
/home/pi/Desktop/images/06042025/23/54/image_06042025_23_54_55_10377.jpg
/home/pi/Desktop/images/06042025/23/54/image_06042025_23_55_05_10350.jpg
/home/pi/Desktop/images/06042025/23/55/image_06042025_23_55_15_9347.jpg
/home/pi/Desktop/images/06042025/23/55/image_06042025_23_55_25_10496.jpg
/home/pi/Desktop/images/06042025/23/55/image_06042025_23_55_35_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352043504","1352043466","1352043562","1352043442","1352043532","1352043409"],"photo_ids_order":["1352043409","1352043442","1352043466","1352043504","1352043532","1352043562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e40f1af9bdeeb5e59a9bc08d54196c61.jpg","text":"TemporaryFile(/tmp/multipartBody4007595050514070338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420654592,"filename":"image_06042025_23_55_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb54b2fb7993d7bad654f5e35b26f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody1700612320552002854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420654592,"filename":"image_06042025_23_55_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4b7edaecf979dcdc732ab4a80a3bd82.jpg","text":"TemporaryFile(/tmp/multipartBody3991478756744898270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420654592,"filename":"image_06042025_23_55_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2cfb3c06ea4689321fe8c9bed01d06c0.jpg","text":"TemporaryFile(/tmp/multipartBody8647373526813535979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420654592,"filename":"image_06042025_23_54_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c54d6b065963905a25e24d8fbd8b0cab.jpg","text":"TemporaryFile(/tmp/multipartBody1143811168593825211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420654592,"filename":"image_06042025_23_55_25_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08d9161d49a44638c29eeb26cc8321fa.jpg","text":"TemporaryFile(/tmp/multipartBody2684123579082577447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420654592,"filename":"image_06042025_23_54_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352043466","file1":"1352043442","file0":"1352043409","file4":"1352043532","file5":"1352043562","file3":"1352043504"},"map_files_photo_id_array":[{"photo_id":"1352043562","filename":"file5"},{"photo_id":"1352043466","filename":"file2"},{"photo_id":"1352043532","filename":"file4"},{"photo_id":"1352043442","filename":"file1"},{"photo_id":"1352043409","filename":"file0"},{"photo_id":"1352043504","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352043504":["hashtag1","hashtag2"]},{"1352043466":["hashtag1","hashtag2"]},{"1352043562":["hashtag1","hashtag2"]},{"1352043442":["hashtag1","hashtag2"]},{"1352043532":["hashtag1","hashtag2"]},{"1352043409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352043504, 1352043466, 1352043562, 1352043442, 1352043532, 1352043409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26810383796692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:17:32.197668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/55/image_06042025_23_55_45_10364.jpg', '/home/pi/Desktop/images/06042025/23/55/image_06042025_23_56_05_9353.jpg', '/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_15_10489.jpg', '/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_25_9359.jpg', '/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_35_10572.jpg', '/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_45_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/55/image_06042025_23_55_45_10364.jpg
/home/pi/Desktop/images/06042025/23/55/image_06042025_23_56_05_9353.jpg
/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_15_10489.jpg
/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_25_9359.jpg
/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_35_10572.jpg
/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_45_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352043822","1352043767","1352043743","1352043719","1352043796","1352043855"],"photo_ids_order":["1352043719","1352043743","1352043767","1352043796","1352043822","1352043855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27fcf28864e8b03629cb574101bba7ca.jpg","text":"TemporaryFile(/tmp/multipartBody7220678488556505119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420713780,"filename":"image_06042025_23_56_35_10572.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9759d7bc1cfd29c228ded561d7aba3c.jpg","text":"TemporaryFile(/tmp/multipartBody6135518050082969849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420713780,"filename":"image_06042025_23_56_15_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4d3544a13f499fc77cfe240cf5f71b0.jpg","text":"TemporaryFile(/tmp/multipartBody5753311015261516799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420713780,"filename":"image_06042025_23_56_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c9071f5d857619f975f275d205a560b.jpg","text":"TemporaryFile(/tmp/multipartBody4404479463809370030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420713780,"filename":"image_06042025_23_55_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a35f09e64d23cdcfddbfeb25683692d4.jpg","text":"TemporaryFile(/tmp/multipartBody6155999041024085285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420713780,"filename":"image_06042025_23_56_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c4f6535c020afa6e36249d5b03b9031.jpg","text":"TemporaryFile(/tmp/multipartBody1223285395603756544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420713780,"filename":"image_06042025_23_56_45_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352043767","file1":"1352043743","file0":"1352043719","file4":"1352043822","file5":"1352043855","file3":"1352043796"},"map_files_photo_id_array":[{"photo_id":"1352043855","filename":"file5"},{"photo_id":"1352043767","filename":"file2"},{"photo_id":"1352043822","filename":"file4"},{"photo_id":"1352043743","filename":"file1"},{"photo_id":"1352043719","filename":"file0"},{"photo_id":"1352043796","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352043822":["hashtag1","hashtag2"]},{"1352043767":["hashtag1","hashtag2"]},{"1352043743":["hashtag1","hashtag2"]},{"1352043719":["hashtag1","hashtag2"]},{"1352043796":["hashtag1","hashtag2"]},{"1352043855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352043822, 1352043767, 1352043743, 1352043719, 1352043796, 1352043855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29194712638855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:18:32.466673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_55_10357.jpg', '/home/pi/Desktop/images/06042025/23/56/image_06042025_23_57_05_10446.jpg', '/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_15_9326.jpg', '/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_25_10421.jpg', '/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_36_10356.jpg', '/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_45_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/56/image_06042025_23_56_55_10357.jpg
/home/pi/Desktop/images/06042025/23/56/image_06042025_23_57_05_10446.jpg
/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_15_9326.jpg
/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_25_10421.jpg
/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_36_10356.jpg
/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_45_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044110","1352044079","1352044052","1352044103","1352044129","1352044113"],"photo_ids_order":["1352044052","1352044079","1352044103","1352044110","1352044113","1352044129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a40adac231903da90708def2add8c479.jpg","text":"TemporaryFile(/tmp/multipartBody5404897926075454558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420774053,"filename":"image_06042025_23_57_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b8d7613507559b84a9ac6764fe2b633.jpg","text":"TemporaryFile(/tmp/multipartBody1312202343156056873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420774053,"filename":"image_06042025_23_57_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e7a58f650aa65c75ba59308e66d0135.jpg","text":"TemporaryFile(/tmp/multipartBody5222464491118508718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420774053,"filename":"image_06042025_23_56_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41e503c8f58c86224e5464dea1f8df4f.jpg","text":"TemporaryFile(/tmp/multipartBody5033641823220555615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420774053,"filename":"image_06042025_23_57_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfe44a6e094898df64d9a7c73b3ccfed.jpg","text":"TemporaryFile(/tmp/multipartBody2134259334968459440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420774053,"filename":"image_06042025_23_57_45_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e78ac871058dbdc00e35bce1471b51e2.jpg","text":"TemporaryFile(/tmp/multipartBody7309395464776076563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420774053,"filename":"image_06042025_23_57_36_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044103","file1":"1352044079","file0":"1352044052","file4":"1352044113","file5":"1352044129","file3":"1352044110"},"map_files_photo_id_array":[{"photo_id":"1352044129","filename":"file5"},{"photo_id":"1352044103","filename":"file2"},{"photo_id":"1352044113","filename":"file4"},{"photo_id":"1352044079","filename":"file1"},{"photo_id":"1352044052","filename":"file0"},{"photo_id":"1352044110","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352044110":["hashtag1","hashtag2"]},{"1352044079":["hashtag1","hashtag2"]},{"1352044052":["hashtag1","hashtag2"]},{"1352044103":["hashtag1","hashtag2"]},{"1352044129":["hashtag1","hashtag2"]},{"1352044113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352044110, 1352044079, 1352044052, 1352044103, 1352044129, 1352044113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60774040222168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:19:32.692933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_55_10406.jpg', '/home/pi/Desktop/images/06042025/23/57/image_06042025_23_58_05_9396.jpg', '/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_15_10341.jpg', '/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_26_10359.jpg', '/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_35_9349.jpg', '/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_45_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/57/image_06042025_23_57_55_10406.jpg
/home/pi/Desktop/images/06042025/23/57/image_06042025_23_58_05_9396.jpg
/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_15_10341.jpg
/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_26_10359.jpg
/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_35_9349.jpg
/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_45_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352044634","1352044381","1352044387","1352044534","1352044383","1352044449"],"photo_ids_order":["1352044381","1352044383","1352044387","1352044449","1352044534","1352044634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b389cd7cc691094cfd5848d51b57bdf8.jpg","text":"TemporaryFile(/tmp/multipartBody2971372361668109212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420834285,"filename":"image_06042025_23_58_45_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a73b7e62d27e52d86d033aef4e89582.jpg","text":"TemporaryFile(/tmp/multipartBody6011613054369083496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420834285,"filename":"image_06042025_23_57_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/822c290cd397bf3300dd129a9119e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1333923703146546034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420834285,"filename":"image_06042025_23_58_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/996ad55ec449e935d7c583eb7d4de2f1.jpg","text":"TemporaryFile(/tmp/multipartBody6933922095340258732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420834285,"filename":"image_06042025_23_58_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a661dfc9852f7455d4f27b475ecb12b.jpg","text":"TemporaryFile(/tmp/multipartBody1482258169435836592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420834285,"filename":"image_06042025_23_58_05_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4a9c1a801cd99fe526f6658833db65e.jpg","text":"TemporaryFile(/tmp/multipartBody5577310078134052172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420834285,"filename":"image_06042025_23_58_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352044387","file1":"1352044383","file0":"1352044381","file4":"1352044534","file5":"1352044634","file3":"1352044449"},"map_files_photo_id_array":[{"photo_id":"1352044634","filename":"file5"},{"photo_id":"1352044387","filename":"file2"},{"photo_id":"1352044534","filename":"file4"},{"photo_id":"1352044383","filename":"file1"},{"photo_id":"1352044381","filename":"file0"},{"photo_id":"1352044449","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352044634":["hashtag1","hashtag2"]},{"1352044381":["hashtag1","hashtag2"]},{"1352044387":["hashtag1","hashtag2"]},{"1352044534":["hashtag1","hashtag2"]},{"1352044383":["hashtag1","hashtag2"]},{"1352044449":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352044634, 1352044381, 1352044387, 1352044534, 1352044383, 1352044449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.36456537246704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:20:32.910223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_55_9348.jpg', '/home/pi/Desktop/images/06042025/23/58/image_06042025_23_59_05_10377.jpg', '/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_16_10465.jpg', '/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_25_9356.jpg', '/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_35_10453.jpg', '/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_45_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/58/image_06042025_23_58_55_9348.jpg
/home/pi/Desktop/images/06042025/23/58/image_06042025_23_59_05_10377.jpg
/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_16_10465.jpg
/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_25_9356.jpg
/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_35_10453.jpg
/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_45_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045278","1352045248","1352045394","1352045305","1352045337","1352045418"],"photo_ids_order":["1352045248","1352045278","1352045305","1352045337","1352045394","1352045418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fb922a2344ab9e72733486b333b889a.jpg","text":"TemporaryFile(/tmp/multipartBody4922487605406715207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420894495,"filename":"image_06042025_23_59_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba096ca8e8b452f24de05e724c920ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8931975300977731600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420894495,"filename":"image_06042025_23_58_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13b192342f478a593dc7295bcbc9a23f.jpg","text":"TemporaryFile(/tmp/multipartBody5200304360351489035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420894495,"filename":"image_06042025_23_59_35_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf8b3163d8f6c11c410ad3368c347c24.jpg","text":"TemporaryFile(/tmp/multipartBody7923779200587939243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420894495,"filename":"image_06042025_23_59_16_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1be0fbf9f55808c744f12f92523f010d.jpg","text":"TemporaryFile(/tmp/multipartBody7144697364094412903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420894495,"filename":"image_06042025_23_59_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86bf81f696e6899e2e47d2154d890f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6877132582767903622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420894495,"filename":"image_06042025_23_59_45_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352045305","file1":"1352045278","file0":"1352045248","file4":"1352045394","file5":"1352045418","file3":"1352045337"},"map_files_photo_id_array":[{"photo_id":"1352045418","filename":"file5"},{"photo_id":"1352045305","filename":"file2"},{"photo_id":"1352045394","filename":"file4"},{"photo_id":"1352045278","filename":"file1"},{"photo_id":"1352045248","filename":"file0"},{"photo_id":"1352045337","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1352045278":["hashtag1","hashtag2"]},{"1352045248":["hashtag1","hashtag2"]},{"1352045394":["hashtag1","hashtag2"]},{"1352045305":["hashtag1","hashtag2"]},{"1352045337":["hashtag1","hashtag2"]},{"1352045418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1352045278, 1352045248, 1352045394, 1352045305, 1352045337, 1352045418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.547674894332886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:21:33.152077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
  port_id : 22083909
  datou_current_id : 2727255
in upload_from_sqlite, uploading in 22083909
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_55_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/23/59/image_06042025_23_59_55_10391.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352045824"],"photo_id":"1352045824","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ed12324428dba1f6d5cc2ee548c4553.jpg","text":"TemporaryFile(/tmp/multipartBody5984586008475943967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420954638,"filename":"image_06042025_23_59_55_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352045824"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352045824"}],"hashtags":[],"portfolio_id":"22083909","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.946009635925293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:21:53.156134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/45/image_07042025_23_45_35_10360.jpg', '/home/pi/Desktop/images/07042025/23/45/image_07042025_23_45_55_10433.jpg', '/home/pi/Desktop/images/07042025/23/45/image_07042025_23_46_05_10464.jpg', '/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_15_9481.jpg', '/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_25_10356.jpg', '/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_34_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/45/image_07042025_23_45_35_10360.jpg
/home/pi/Desktop/images/07042025/23/45/image_07042025_23_45_55_10433.jpg
/home/pi/Desktop/images/07042025/23/45/image_07042025_23_46_05_10464.jpg
/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_15_9481.jpg
/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_25_10356.jpg
/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_34_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352046193","1352046097","1352046223","1352046229","1352046123","1352046164"],"photo_ids_order":["1352046097","1352046123","1352046164","1352046193","1352046223","1352046229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aac167e1a0c41fab8e6ca98add2287a5.jpg","text":"TemporaryFile(/tmp/multipartBody2584497986835093648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420974869,"filename":"image_07042025_23_46_15_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acb3176ef3eacddb69a1c1b8c135ab3f.jpg","text":"TemporaryFile(/tmp/multipartBody9208234544988435346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420974869,"filename":"image_07042025_23_45_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1b1b8104ee66a49b442dae4c75cb9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3356224155008353928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420974869,"filename":"image_07042025_23_46_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2398a24d066b44f6dc27bfe832fc7af1.jpg","text":"TemporaryFile(/tmp/multipartBody6207610583563925555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420974869,"filename":"image_07042025_23_46_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c84486dd1643bca8dceda20ebb381755.jpg","text":"TemporaryFile(/tmp/multipartBody4821292106986854645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420974869,"filename":"image_07042025_23_45_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4075d21765a405886fad98f437979ccc.jpg","text":"TemporaryFile(/tmp/multipartBody346307581522617498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744420974869,"filename":"image_07042025_23_46_05_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352046164","file1":"1352046123","file0":"1352046097","file4":"1352046223","file5":"1352046229","file3":"1352046193"},"map_files_photo_id_array":[{"photo_id":"1352046229","filename":"file5"},{"photo_id":"1352046164","filename":"file2"},{"photo_id":"1352046223","filename":"file4"},{"photo_id":"1352046123","filename":"file1"},{"photo_id":"1352046097","filename":"file0"},{"photo_id":"1352046193","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352046193":["hashtag1","hashtag2"]},{"1352046097":["hashtag1","hashtag2"]},{"1352046223":["hashtag1","hashtag2"]},{"1352046229":["hashtag1","hashtag2"]},{"1352046123":["hashtag1","hashtag2"]},{"1352046164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352046193, 1352046097, 1352046223, 1352046229, 1352046123, 1352046164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62952280044556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 03:22:42.309626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_45_10404.jpg', '/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_55_10368.jpg', '/home/pi/Desktop/images/07042025/23/46/image_07042025_23_47_04_9364.jpg', '/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_15_10349.jpg', '/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_25_10380.jpg', '/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_35_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_45_10404.jpg
/home/pi/Desktop/images/07042025/23/46/image_07042025_23_46_55_10368.jpg
/home/pi/Desktop/images/07042025/23/46/image_07042025_23_47_04_9364.jpg
/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_15_10349.jpg
/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_25_10380.jpg
/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_35_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352046514","1352046477","1352046485","1352046494","1352046380","1352046443"],"photo_ids_order":["1352046380","1352046443","1352046477","1352046485","1352046494","1352046514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48cf78c386c6ad33d8b015fc4f94b754.jpg","text":"TemporaryFile(/tmp/multipartBody6092252392369033223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421023151,"filename":"image_07042025_23_47_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5a6b53cfeadb97f0d9d3f743bce2471.jpg","text":"TemporaryFile(/tmp/multipartBody4579454767578109467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421023151,"filename":"image_07042025_23_47_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fd17037e9f9cbc1660393b1354db1cb.jpg","text":"TemporaryFile(/tmp/multipartBody5273587413330827207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421023151,"filename":"image_07042025_23_47_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b4236b498a90b0622f0eba89e0ef224.jpg","text":"TemporaryFile(/tmp/multipartBody1250744647766439287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421023151,"filename":"image_07042025_23_47_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74adc5d9a5b22d83a6dcbdeb7a8cd571.jpg","text":"TemporaryFile(/tmp/multipartBody449570231881105609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421023151,"filename":"image_07042025_23_46_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e44d5deb22e55f5b37bcf4e7ac86dc76.jpg","text":"TemporaryFile(/tmp/multipartBody6770813376395959780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421023151,"filename":"image_07042025_23_46_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352046477","file1":"1352046443","file0":"1352046380","file4":"1352046494","file5":"1352046514","file3":"1352046485"},"map_files_photo_id_array":[{"photo_id":"1352046514","filename":"file5"},{"photo_id":"1352046477","filename":"file2"},{"photo_id":"1352046494","filename":"file4"},{"photo_id":"1352046443","filename":"file1"},{"photo_id":"1352046380","filename":"file0"},{"photo_id":"1352046485","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352046514":["hashtag1","hashtag2"]},{"1352046477":["hashtag1","hashtag2"]},{"1352046485":["hashtag1","hashtag2"]},{"1352046494":["hashtag1","hashtag2"]},{"1352046380":["hashtag1","hashtag2"]},{"1352046443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352046514, 1352046477, 1352046485, 1352046494, 1352046380, 1352046443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05787229537964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:23:32.566146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_45_10357.jpg', '/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_54_9346.jpg', '/home/pi/Desktop/images/07042025/23/47/image_07042025_23_48_05_10442.jpg', '/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_15_10388.jpg', '/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_25_9485.jpg', '/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_35_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_45_10357.jpg
/home/pi/Desktop/images/07042025/23/47/image_07042025_23_47_54_9346.jpg
/home/pi/Desktop/images/07042025/23/47/image_07042025_23_48_05_10442.jpg
/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_15_10388.jpg
/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_25_9485.jpg
/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_35_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352046707","1352046670","1352046627","1352046612","1352046710","1352046704"],"photo_ids_order":["1352046612","1352046627","1352046670","1352046704","1352046707","1352046710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d9447f01d6b69955c13b29f4709a646.jpg","text":"TemporaryFile(/tmp/multipartBody7291349301403908972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421074261,"filename":"image_07042025_23_48_25_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef7a34de3ce6e04f00b50091d8b62c85.jpg","text":"TemporaryFile(/tmp/multipartBody5419438190260956618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421074261,"filename":"image_07042025_23_48_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc2fecdc83f84b1bf9c9971ff6e36681.jpg","text":"TemporaryFile(/tmp/multipartBody898709711470840149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421074261,"filename":"image_07042025_23_47_54_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe6dbca88c3f0c7c6e4df254a9e886cb.jpg","text":"TemporaryFile(/tmp/multipartBody8403268223661049059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421074261,"filename":"image_07042025_23_47_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4a499d6e0574a6eb43faee2cdc5cb98.jpg","text":"TemporaryFile(/tmp/multipartBody3432256791490278650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421074261,"filename":"image_07042025_23_48_35_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6439d2cb77479f24fcd34a6078f32f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4872184041809960722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421074261,"filename":"image_07042025_23_48_15_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352046670","file1":"1352046627","file0":"1352046612","file4":"1352046707","file5":"1352046710","file3":"1352046704"},"map_files_photo_id_array":[{"photo_id":"1352046710","filename":"file5"},{"photo_id":"1352046670","filename":"file2"},{"photo_id":"1352046707","filename":"file4"},{"photo_id":"1352046627","filename":"file1"},{"photo_id":"1352046612","filename":"file0"},{"photo_id":"1352046704","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352046707":["hashtag1","hashtag2"]},{"1352046670":["hashtag1","hashtag2"]},{"1352046627":["hashtag1","hashtag2"]},{"1352046612":["hashtag1","hashtag2"]},{"1352046710":["hashtag1","hashtag2"]},{"1352046704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352046707, 1352046670, 1352046627, 1352046612, 1352046710, 1352046704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.95939922332764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:24:32.685816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_44_9410.jpg', '/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_55_10436.jpg', '/home/pi/Desktop/images/07042025/23/48/image_07042025_23_49_04_9428.jpg', '/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_15_10361.jpg', '/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_25_10370.jpg', '/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_34_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_44_9410.jpg
/home/pi/Desktop/images/07042025/23/48/image_07042025_23_48_55_10436.jpg
/home/pi/Desktop/images/07042025/23/48/image_07042025_23_49_04_9428.jpg
/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_15_10361.jpg
/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_25_10370.jpg
/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_34_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352046806","1352046733","1352046873","1352046915","1352046752","1352046920"],"photo_ids_order":["1352046733","1352046752","1352046806","1352046873","1352046915","1352046920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1a3a99c5ee6afd49eb406393d76a0f4.jpg","text":"TemporaryFile(/tmp/multipartBody5808507511726898907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421134386,"filename":"image_07042025_23_49_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4dd7738c2f75e8e16a9dc879fed7a969.jpg","text":"TemporaryFile(/tmp/multipartBody137652841667459342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421134386,"filename":"image_07042025_23_48_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d21ddb50ae092364e769dc4ae4cbac3.jpg","text":"TemporaryFile(/tmp/multipartBody4193139890244834753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421134386,"filename":"image_07042025_23_49_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7217c5f0263ce58dd88f45a01009f32.jpg","text":"TemporaryFile(/tmp/multipartBody3095197411630239005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421134386,"filename":"image_07042025_23_49_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1044f7f74eae907441bb0c44e54c1c7f.jpg","text":"TemporaryFile(/tmp/multipartBody889390226352314899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421134386,"filename":"image_07042025_23_48_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1a27295f93c69544cb272faaa986710.jpg","text":"TemporaryFile(/tmp/multipartBody4258178876762205378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421134386,"filename":"image_07042025_23_49_34_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352046806","file1":"1352046752","file0":"1352046733","file4":"1352046915","file5":"1352046920","file3":"1352046873"},"map_files_photo_id_array":[{"photo_id":"1352046920","filename":"file5"},{"photo_id":"1352046806","filename":"file2"},{"photo_id":"1352046915","filename":"file4"},{"photo_id":"1352046752","filename":"file1"},{"photo_id":"1352046733","filename":"file0"},{"photo_id":"1352046873","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352046806":["hashtag1","hashtag2"]},{"1352046733":["hashtag1","hashtag2"]},{"1352046873":["hashtag1","hashtag2"]},{"1352046915":["hashtag1","hashtag2"]},{"1352046752":["hashtag1","hashtag2"]},{"1352046920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352046806, 1352046733, 1352046873, 1352046915, 1352046752, 1352046920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.09842920303345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:25:32.840747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_45_10442.jpg', '/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_54_9361.jpg', '/home/pi/Desktop/images/07042025/23/49/image_07042025_23_50_05_10448.jpg', '/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_15_10356.jpg', '/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_24_9354.jpg', '/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_35_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_45_10442.jpg
/home/pi/Desktop/images/07042025/23/49/image_07042025_23_49_54_9361.jpg
/home/pi/Desktop/images/07042025/23/49/image_07042025_23_50_05_10448.jpg
/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_15_10356.jpg
/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_24_9354.jpg
/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_35_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047003","1352046997","1352046982","1352046976","1352047000","1352046989"],"photo_ids_order":["1352046976","1352046982","1352046989","1352046997","1352047000","1352047003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/699f5269cf80e68fa9b3cf59b7e69f16.jpg","text":"TemporaryFile(/tmp/multipartBody5304360987118374555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421194534,"filename":"image_07042025_23_50_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5960ecd99ba8652bce5726e776f5f68.jpg","text":"TemporaryFile(/tmp/multipartBody8115831766283929962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421194534,"filename":"image_07042025_23_50_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/725954da2541b8bdc91c0ddbc50d697c.jpg","text":"TemporaryFile(/tmp/multipartBody4007725503088624050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421194534,"filename":"image_07042025_23_49_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02d91b2b96104b02c575c863d92ca7ef.jpg","text":"TemporaryFile(/tmp/multipartBody4872614124407905856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421194534,"filename":"image_07042025_23_49_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0422820dd09ba09c53a75c3a90ca8b2.jpg","text":"TemporaryFile(/tmp/multipartBody8066788723338743525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421194534,"filename":"image_07042025_23_50_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/743058f60f0d3dc42fa6414f50b104e8.jpg","text":"TemporaryFile(/tmp/multipartBody1697908341495142737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421194534,"filename":"image_07042025_23_50_05_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352046989","file1":"1352046982","file0":"1352046976","file4":"1352047000","file5":"1352047003","file3":"1352046997"},"map_files_photo_id_array":[{"photo_id":"1352047003","filename":"file5"},{"photo_id":"1352046989","filename":"file2"},{"photo_id":"1352047000","filename":"file4"},{"photo_id":"1352046982","filename":"file1"},{"photo_id":"1352046976","filename":"file0"},{"photo_id":"1352046997","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047003":["hashtag1","hashtag2"]},{"1352046997":["hashtag1","hashtag2"]},{"1352046982":["hashtag1","hashtag2"]},{"1352046976":["hashtag1","hashtag2"]},{"1352047000":["hashtag1","hashtag2"]},{"1352046989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047003, 1352046997, 1352046982, 1352046976, 1352047000, 1352046989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91170072555542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:26:32.143293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_45_10369.jpg', '/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_55_9425.jpg', '/home/pi/Desktop/images/07042025/23/50/image_07042025_23_51_05_10355.jpg', '/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_14_9439.jpg', '/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_25_10368.jpg', '/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_35_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_45_10369.jpg
/home/pi/Desktop/images/07042025/23/50/image_07042025_23_50_55_9425.jpg
/home/pi/Desktop/images/07042025/23/50/image_07042025_23_51_05_10355.jpg
/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_14_9439.jpg
/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_25_10368.jpg
/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_35_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047036","1352047021","1352047041","1352047029","1352047044","1352047026"],"photo_ids_order":["1352047021","1352047026","1352047029","1352047036","1352047041","1352047044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6642b3c64e6849fc7f4ee7640bbda5b8.jpg","text":"TemporaryFile(/tmp/multipartBody4634804457692636727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421253832,"filename":"image_07042025_23_51_14_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ff8eaa8a7cda6656ca50f01cb574e4f.jpg","text":"TemporaryFile(/tmp/multipartBody1422916694245694191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421253832,"filename":"image_07042025_23_50_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86ebe3163a72bc700ff8ece03910bb8d.jpg","text":"TemporaryFile(/tmp/multipartBody157195271881916198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421253832,"filename":"image_07042025_23_51_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/639c65508037b4246a9b59280663cdce.jpg","text":"TemporaryFile(/tmp/multipartBody8931736035377554773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421253832,"filename":"image_07042025_23_51_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/017460a975cce75e00e3eeb2ffcdfe75.jpg","text":"TemporaryFile(/tmp/multipartBody1082919918640434450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421253832,"filename":"image_07042025_23_51_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fd47a73be96c1710927449e49242ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5662467184929941589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421253832,"filename":"image_07042025_23_50_55_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047029","file1":"1352047026","file0":"1352047021","file4":"1352047041","file5":"1352047044","file3":"1352047036"},"map_files_photo_id_array":[{"photo_id":"1352047044","filename":"file5"},{"photo_id":"1352047029","filename":"file2"},{"photo_id":"1352047041","filename":"file4"},{"photo_id":"1352047026","filename":"file1"},{"photo_id":"1352047021","filename":"file0"},{"photo_id":"1352047036","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047036":["hashtag1","hashtag2"]},{"1352047021":["hashtag1","hashtag2"]},{"1352047041":["hashtag1","hashtag2"]},{"1352047029":["hashtag1","hashtag2"]},{"1352047044":["hashtag1","hashtag2"]},{"1352047026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047036, 1352047021, 1352047041, 1352047029, 1352047044, 1352047026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.477721214294434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:27:32.409394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_45_9501.jpg', '/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_55_10381.jpg', '/home/pi/Desktop/images/07042025/23/51/image_07042025_23_52_04_9348.jpg', '/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_15_10420.jpg', '/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_24_9454.jpg', '/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_45_9501.jpg
/home/pi/Desktop/images/07042025/23/51/image_07042025_23_51_55_10381.jpg
/home/pi/Desktop/images/07042025/23/51/image_07042025_23_52_04_9348.jpg
/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_15_10420.jpg
/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_24_9454.jpg
/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_35_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047068","1352047082","1352047076","1352047079","1352047072","1352047066"],"photo_ids_order":["1352047066","1352047068","1352047072","1352047076","1352047079","1352047082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb954d8008117d4064480da2b1c3c793.jpg","text":"TemporaryFile(/tmp/multipartBody2491877159592071984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421314099,"filename":"image_07042025_23_51_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e69a3090a1155f985a8bc2862a90943a.jpg","text":"TemporaryFile(/tmp/multipartBody5858309403107930788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421314099,"filename":"image_07042025_23_52_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46407b4ba5f6ff1188072d8b30c69354.jpg","text":"TemporaryFile(/tmp/multipartBody1559933782065490975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421314099,"filename":"image_07042025_23_52_15_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/957a640d53b4eca02cf1fb84e0d06486.jpg","text":"TemporaryFile(/tmp/multipartBody8895074928083547083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421314099,"filename":"image_07042025_23_52_24_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de5311d3fd849422bda0c1cdf83b05b1.jpg","text":"TemporaryFile(/tmp/multipartBody8526417086193135946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421314099,"filename":"image_07042025_23_52_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4a320ed4955f832e6869b516f186b62.jpg","text":"TemporaryFile(/tmp/multipartBody7964741065903154815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421314099,"filename":"image_07042025_23_51_45_9501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047072","file1":"1352047068","file0":"1352047066","file4":"1352047079","file5":"1352047082","file3":"1352047076"},"map_files_photo_id_array":[{"photo_id":"1352047082","filename":"file5"},{"photo_id":"1352047072","filename":"file2"},{"photo_id":"1352047079","filename":"file4"},{"photo_id":"1352047068","filename":"file1"},{"photo_id":"1352047066","filename":"file0"},{"photo_id":"1352047076","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047068":["hashtag1","hashtag2"]},{"1352047082":["hashtag1","hashtag2"]},{"1352047076":["hashtag1","hashtag2"]},{"1352047079":["hashtag1","hashtag2"]},{"1352047072":["hashtag1","hashtag2"]},{"1352047066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047068, 1352047082, 1352047076, 1352047079, 1352047072, 1352047066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.562246799468994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:28:32.640453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_45_10417.jpg', '/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_54_9359.jpg', '/home/pi/Desktop/images/07042025/23/52/image_07042025_23_53_05_10445.jpg', '/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_14_9429.jpg', '/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_25_10395.jpg', '/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_35_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_45_10417.jpg
/home/pi/Desktop/images/07042025/23/52/image_07042025_23_52_54_9359.jpg
/home/pi/Desktop/images/07042025/23/52/image_07042025_23_53_05_10445.jpg
/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_14_9429.jpg
/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_25_10395.jpg
/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_35_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047132","1352047126","1352047108","1352047136","1352047139","1352047112"],"photo_ids_order":["1352047108","1352047112","1352047126","1352047132","1352047136","1352047139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41f15526c3fdd528249d5503caef0d3d.jpg","text":"TemporaryFile(/tmp/multipartBody1366470243079218771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421374372,"filename":"image_07042025_23_53_14_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39134bb7ffd209290c29d2c59fdce7e6.jpg","text":"TemporaryFile(/tmp/multipartBody5117234051081334679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421374372,"filename":"image_07042025_23_53_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21069cb2c21ca021134729808a2d658e.jpg","text":"TemporaryFile(/tmp/multipartBody6246728279407193345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421374372,"filename":"image_07042025_23_52_45_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8216fed308100e99be2e65ded7696f8.jpg","text":"TemporaryFile(/tmp/multipartBody2331898519691756104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421374372,"filename":"image_07042025_23_53_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abeae90c650ec3557c18f87ce1adb5ac.jpg","text":"TemporaryFile(/tmp/multipartBody4699869902708904310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421374372,"filename":"image_07042025_23_53_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6bc4f692be84dca70f17c6d9400006d.jpg","text":"TemporaryFile(/tmp/multipartBody6384527516719589725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421374372,"filename":"image_07042025_23_52_54_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047126","file1":"1352047112","file0":"1352047108","file4":"1352047136","file5":"1352047139","file3":"1352047132"},"map_files_photo_id_array":[{"photo_id":"1352047139","filename":"file5"},{"photo_id":"1352047126","filename":"file2"},{"photo_id":"1352047136","filename":"file4"},{"photo_id":"1352047112","filename":"file1"},{"photo_id":"1352047108","filename":"file0"},{"photo_id":"1352047132","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047132":["hashtag1","hashtag2"]},{"1352047126":["hashtag1","hashtag2"]},{"1352047108":["hashtag1","hashtag2"]},{"1352047136":["hashtag1","hashtag2"]},{"1352047139":["hashtag1","hashtag2"]},{"1352047112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047132, 1352047126, 1352047108, 1352047136, 1352047139, 1352047112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.641409397125244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:29:32.835863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_44_9349.jpg', '/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_55_10461.jpg', '/home/pi/Desktop/images/07042025/23/53/image_07042025_23_54_04_9363.jpg', '/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_15_10439.jpg', '/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_25_10408.jpg', '/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_34_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_44_9349.jpg
/home/pi/Desktop/images/07042025/23/53/image_07042025_23_53_55_10461.jpg
/home/pi/Desktop/images/07042025/23/53/image_07042025_23_54_04_9363.jpg
/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_15_10439.jpg
/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_25_10408.jpg
/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_34_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047197","1352047200","1352047205","1352047198","1352047202","1352047192"],"photo_ids_order":["1352047192","1352047197","1352047198","1352047200","1352047202","1352047205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e27516d041628961d50a480c0f217fc9.jpg","text":"TemporaryFile(/tmp/multipartBody455696421357790651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421434520,"filename":"image_07042025_23_53_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34d4657d5a97d754d5efc1b7b44cb850.jpg","text":"TemporaryFile(/tmp/multipartBody188519337228199446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421434520,"filename":"image_07042025_23_54_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77c1f842df66dec6ed22027629587f4e.jpg","text":"TemporaryFile(/tmp/multipartBody6797743785085264400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421434520,"filename":"image_07042025_23_54_34_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a91ee45a1000b3fd783d7af0868be494.jpg","text":"TemporaryFile(/tmp/multipartBody8032855122570270944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421434520,"filename":"image_07042025_23_54_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5370b181b008d7bf8f02d2682e9a3c2e.jpg","text":"TemporaryFile(/tmp/multipartBody8208032310339992156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421434520,"filename":"image_07042025_23_54_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d888d99fa4e3438b9c49eff0eed73266.jpg","text":"TemporaryFile(/tmp/multipartBody3366068586877040936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421434520,"filename":"image_07042025_23_53_44_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047198","file1":"1352047197","file0":"1352047192","file4":"1352047202","file5":"1352047205","file3":"1352047200"},"map_files_photo_id_array":[{"photo_id":"1352047205","filename":"file5"},{"photo_id":"1352047198","filename":"file2"},{"photo_id":"1352047202","filename":"file4"},{"photo_id":"1352047197","filename":"file1"},{"photo_id":"1352047192","filename":"file0"},{"photo_id":"1352047200","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047197":["hashtag1","hashtag2"]},{"1352047200":["hashtag1","hashtag2"]},{"1352047205":["hashtag1","hashtag2"]},{"1352047198":["hashtag1","hashtag2"]},{"1352047202":["hashtag1","hashtag2"]},{"1352047192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047197, 1352047200, 1352047205, 1352047198, 1352047202, 1352047192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.140434980392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:30:33.174466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_45_10384.jpg', '/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_54_9412.jpg', '/home/pi/Desktop/images/07042025/23/54/image_07042025_23_55_05_10408.jpg', '/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_15_10360.jpg', '/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_24_9365.jpg', '/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_45_10384.jpg
/home/pi/Desktop/images/07042025/23/54/image_07042025_23_54_54_9412.jpg
/home/pi/Desktop/images/07042025/23/54/image_07042025_23_55_05_10408.jpg
/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_15_10360.jpg
/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_24_9365.jpg
/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047296","1352047305","1352047329","1352047301","1352047291","1352047288"],"photo_ids_order":["1352047288","1352047291","1352047296","1352047301","1352047305","1352047329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f160a37ccae7a4ab5c1c57d1065575a.jpg","text":"TemporaryFile(/tmp/multipartBody1514121919417908201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421494852,"filename":"image_07042025_23_55_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36f17a8d6bc8ff9860c58711616fed99.jpg","text":"TemporaryFile(/tmp/multipartBody4193216475390585628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421494852,"filename":"image_07042025_23_55_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50cdb76e3eab978f6f24648567e077b3.jpg","text":"TemporaryFile(/tmp/multipartBody1249499236940319507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421494852,"filename":"image_07042025_23_55_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6b67665d422ed79091b865553af96df.jpg","text":"TemporaryFile(/tmp/multipartBody4150011889291145342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421494852,"filename":"image_07042025_23_55_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e69216975873f49ee85ade03066ddf5d.jpg","text":"TemporaryFile(/tmp/multipartBody44883004634936343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421494852,"filename":"image_07042025_23_54_54_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5df218ffbf01626c3c61eda9c522dd46.jpg","text":"TemporaryFile(/tmp/multipartBody1545761346074666909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421494852,"filename":"image_07042025_23_54_45_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047296","file1":"1352047291","file0":"1352047288","file4":"1352047305","file5":"1352047329","file3":"1352047301"},"map_files_photo_id_array":[{"photo_id":"1352047329","filename":"file5"},{"photo_id":"1352047296","filename":"file2"},{"photo_id":"1352047305","filename":"file4"},{"photo_id":"1352047291","filename":"file1"},{"photo_id":"1352047288","filename":"file0"},{"photo_id":"1352047301","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047296":["hashtag1","hashtag2"]},{"1352047305":["hashtag1","hashtag2"]},{"1352047329":["hashtag1","hashtag2"]},{"1352047301":["hashtag1","hashtag2"]},{"1352047291":["hashtag1","hashtag2"]},{"1352047288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047296, 1352047305, 1352047329, 1352047301, 1352047291, 1352047288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69017934799194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:31:32.474916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_44_9456.jpg', '/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_55_10461.jpg', '/home/pi/Desktop/images/07042025/23/55/image_07042025_23_56_05_10351.jpg', '/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_14_9373.jpg', '/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_25_10422.jpg', '/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_34_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_44_9456.jpg
/home/pi/Desktop/images/07042025/23/55/image_07042025_23_55_55_10461.jpg
/home/pi/Desktop/images/07042025/23/55/image_07042025_23_56_05_10351.jpg
/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_14_9373.jpg
/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_25_10422.jpg
/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_34_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047420","1352047437","1352047425","1352047434","1352047436","1352047430"],"photo_ids_order":["1352047420","1352047425","1352047430","1352047434","1352047436","1352047437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2da313de038011ac9c165d4e9039b6b8.jpg","text":"TemporaryFile(/tmp/multipartBody1348134421405852147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421554168,"filename":"image_07042025_23_55_44_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed7bc7952b250a4baea00cfd283e772e.jpg","text":"TemporaryFile(/tmp/multipartBody655023448245900810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421554168,"filename":"image_07042025_23_56_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d39e7fdb7083e7597199e6772124946.jpg","text":"TemporaryFile(/tmp/multipartBody67324913749152909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421554168,"filename":"image_07042025_23_55_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/264dd360f9c515c2d69b96204f8f596b.jpg","text":"TemporaryFile(/tmp/multipartBody1186421250646369590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421554168,"filename":"image_07042025_23_56_14_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce8323fce3944ab86fe9e208f67a6c27.jpg","text":"TemporaryFile(/tmp/multipartBody2614322556254013807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421554168,"filename":"image_07042025_23_56_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9055833a6e8d072c0453a11a90dbd5b.jpg","text":"TemporaryFile(/tmp/multipartBody718136157972850495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421554168,"filename":"image_07042025_23_56_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047430","file1":"1352047425","file0":"1352047420","file4":"1352047436","file5":"1352047437","file3":"1352047434"},"map_files_photo_id_array":[{"photo_id":"1352047437","filename":"file5"},{"photo_id":"1352047430","filename":"file2"},{"photo_id":"1352047436","filename":"file4"},{"photo_id":"1352047425","filename":"file1"},{"photo_id":"1352047420","filename":"file0"},{"photo_id":"1352047434","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047420":["hashtag1","hashtag2"]},{"1352047437":["hashtag1","hashtag2"]},{"1352047425":["hashtag1","hashtag2"]},{"1352047434":["hashtag1","hashtag2"]},{"1352047436":["hashtag1","hashtag2"]},{"1352047430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047420, 1352047437, 1352047425, 1352047434, 1352047436, 1352047430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56297421455383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:32:32.449825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_45_10505.jpg', '/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_55_10461.jpg', '/home/pi/Desktop/images/07042025/23/56/image_07042025_23_57_05_9477.jpg', '/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_15_10444.jpg', '/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_24_9410.jpg', '/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_35_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_45_10505.jpg
/home/pi/Desktop/images/07042025/23/56/image_07042025_23_56_55_10461.jpg
/home/pi/Desktop/images/07042025/23/56/image_07042025_23_57_05_9477.jpg
/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_15_10444.jpg
/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_24_9410.jpg
/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_35_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047522","1352047504","1352047515","1352047466","1352047511","1352047508"],"photo_ids_order":["1352047466","1352047504","1352047508","1352047511","1352047515","1352047522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f22719af89dbd98815cedf937c227759.jpg","text":"TemporaryFile(/tmp/multipartBody4922785729209061520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421614145,"filename":"image_07042025_23_57_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a7797a3ef842154c7a84800338ce625.jpg","text":"TemporaryFile(/tmp/multipartBody2826184382516525863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421614145,"filename":"image_07042025_23_56_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b42b13d469674dd54a178872d5c6e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody135305651885002669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421614145,"filename":"image_07042025_23_57_24_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85b42aa04fde3f6a11974ba9f11ce587.jpg","text":"TemporaryFile(/tmp/multipartBody604401130998081049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421614145,"filename":"image_07042025_23_56_45_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87503da5f84c99d91948ef4cbdd78f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5285583612846271104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421614145,"filename":"image_07042025_23_57_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93b0c14492794e928be9179a880a8d99.jpg","text":"TemporaryFile(/tmp/multipartBody861064242511271951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421614145,"filename":"image_07042025_23_57_05_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047508","file1":"1352047504","file0":"1352047466","file4":"1352047515","file5":"1352047522","file3":"1352047511"},"map_files_photo_id_array":[{"photo_id":"1352047522","filename":"file5"},{"photo_id":"1352047508","filename":"file2"},{"photo_id":"1352047515","filename":"file4"},{"photo_id":"1352047504","filename":"file1"},{"photo_id":"1352047466","filename":"file0"},{"photo_id":"1352047511","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047522":["hashtag1","hashtag2"]},{"1352047504":["hashtag1","hashtag2"]},{"1352047515":["hashtag1","hashtag2"]},{"1352047466":["hashtag1","hashtag2"]},{"1352047511":["hashtag1","hashtag2"]},{"1352047508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047522, 1352047504, 1352047515, 1352047466, 1352047511, 1352047508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.106948375701904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:33:32.716934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_44_9417.jpg', '/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_55_10375.jpg', '/home/pi/Desktop/images/07042025/23/57/image_07042025_23_58_05_10419.jpg', '/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_14_9345.jpg', '/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_25_10388.jpg', '/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_34_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_44_9417.jpg
/home/pi/Desktop/images/07042025/23/57/image_07042025_23_57_55_10375.jpg
/home/pi/Desktop/images/07042025/23/57/image_07042025_23_58_05_10419.jpg
/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_14_9345.jpg
/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_25_10388.jpg
/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_34_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047618","1352047620","1352047623","1352047625","1352047610","1352047579"],"photo_ids_order":["1352047579","1352047610","1352047618","1352047620","1352047623","1352047625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a55c7f6e337a936b7d4b412187e03557.jpg","text":"TemporaryFile(/tmp/multipartBody4554546847422161864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421674410,"filename":"image_07042025_23_58_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/971ee0a6b39e66aaedfdc8fecc904b9a.jpg","text":"TemporaryFile(/tmp/multipartBody301095851727376839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421674410,"filename":"image_07042025_23_58_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be1d8ee1a782fc03a708ec50d322571c.jpg","text":"TemporaryFile(/tmp/multipartBody8968572681696263138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421674410,"filename":"image_07042025_23_58_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d650f211b9fa5e610c461b935e6d69e6.jpg","text":"TemporaryFile(/tmp/multipartBody1598490181342175114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421674410,"filename":"image_07042025_23_58_34_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cabec4ce7a267e844ba3363457cd27b1.jpg","text":"TemporaryFile(/tmp/multipartBody2008595413663898562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421674410,"filename":"image_07042025_23_57_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d45b943c433ab73d163029d88a346579.jpg","text":"TemporaryFile(/tmp/multipartBody4521603382115407013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421674410,"filename":"image_07042025_23_57_44_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047618","file1":"1352047610","file0":"1352047579","file4":"1352047623","file5":"1352047625","file3":"1352047620"},"map_files_photo_id_array":[{"photo_id":"1352047625","filename":"file5"},{"photo_id":"1352047618","filename":"file2"},{"photo_id":"1352047623","filename":"file4"},{"photo_id":"1352047610","filename":"file1"},{"photo_id":"1352047579","filename":"file0"},{"photo_id":"1352047620","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047618":["hashtag1","hashtag2"]},{"1352047620":["hashtag1","hashtag2"]},{"1352047623":["hashtag1","hashtag2"]},{"1352047625":["hashtag1","hashtag2"]},{"1352047610":["hashtag1","hashtag2"]},{"1352047579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047618, 1352047620, 1352047623, 1352047625, 1352047610, 1352047579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.265257596969604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:34:32.870198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_45_10509.jpg', '/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_55_10375.jpg', '/home/pi/Desktop/images/07042025/23/58/image_07042025_23_59_04_9371.jpg', '/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_15_10425.jpg', '/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_24_9368.jpg', '/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_35_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_45_10509.jpg
/home/pi/Desktop/images/07042025/23/58/image_07042025_23_58_55_10375.jpg
/home/pi/Desktop/images/07042025/23/58/image_07042025_23_59_04_9371.jpg
/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_15_10425.jpg
/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_24_9368.jpg
/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_35_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047744","1352047758","1352047728","1352047766","1352047730","1352047724"],"photo_ids_order":["1352047724","1352047728","1352047730","1352047744","1352047758","1352047766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7eb76b424ccffa947aba30b65c667ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5579889392286607068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421734617,"filename":"image_07042025_23_59_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/246ad36ad50479fa1ede46ee3c44a338.jpg","text":"TemporaryFile(/tmp/multipartBody307376083472669460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421734617,"filename":"image_07042025_23_59_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5ee46e3af764c3faaadc518c35fd953.jpg","text":"TemporaryFile(/tmp/multipartBody8483883563144745148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421734617,"filename":"image_07042025_23_58_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2eab87370e83740a54046bb2b66e3ee8.jpg","text":"TemporaryFile(/tmp/multipartBody3425537174339851721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421734617,"filename":"image_07042025_23_59_35_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9bebc9fef8f70905b8efced1c4ecb136.jpg","text":"TemporaryFile(/tmp/multipartBody1364972458839637687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421734617,"filename":"image_07042025_23_59_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ad2d06aeaece6b211ef6b60ae868d2b.jpg","text":"TemporaryFile(/tmp/multipartBody1038308705400096713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421734617,"filename":"image_07042025_23_58_45_10509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047730","file1":"1352047728","file0":"1352047724","file4":"1352047758","file5":"1352047766","file3":"1352047744"},"map_files_photo_id_array":[{"photo_id":"1352047766","filename":"file5"},{"photo_id":"1352047730","filename":"file2"},{"photo_id":"1352047758","filename":"file4"},{"photo_id":"1352047728","filename":"file1"},{"photo_id":"1352047724","filename":"file0"},{"photo_id":"1352047744","filename":"file3"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047744":["hashtag1","hashtag2"]},{"1352047758":["hashtag1","hashtag2"]},{"1352047728":["hashtag1","hashtag2"]},{"1352047766":["hashtag1","hashtag2"]},{"1352047730":["hashtag1","hashtag2"]},{"1352047724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047744, 1352047758, 1352047728, 1352047766, 1352047730, 1352047724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49596619606018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:35:33.170511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
  port_id : 22086606
  datou_current_id : 2727446
in upload_from_sqlite, uploading in 22086606
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_45_10386.jpg', '/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_54_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727446&datou=0
/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_45_10386.jpg
/home/pi/Desktop/images/07042025/23/59/image_07042025_23_59_54_9370.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047794","1352047796"],"photo_ids_order":["1352047794","1352047796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27b1b38a0ae5f53819a402be3449ef4c.jpg","text":"TemporaryFile(/tmp/multipartBody5636816020287805182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421794790,"filename":"image_07042025_23_59_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/394309399aacdc9f508a1527e88cafc9.jpg","text":"TemporaryFile(/tmp/multipartBody6849977610927204635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421794790,"filename":"image_07042025_23_59_54_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352047796","file0":"1352047794"},"map_files_photo_id_array":[{"photo_id":"1352047796","filename":"file1"},{"photo_id":"1352047794","filename":"file0"}],"portfolio_id":22086606,"hashtag_by_photo_ids":[{"1352047794":["hashtag1","hashtag2"]},{"1352047796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22086606 used, photo_id : ArrayBuffer(1352047794, 1352047796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.692930698394775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:35:53.146410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/38/image_08042025_23_38_55_10513.jpg', '/home/pi/Desktop/images/08042025/23/38/image_08042025_23_39_04_9411.jpg', '/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_15_10382.jpg', '/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_25_10465.jpg', '/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_35_9403.jpg', '/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/38/image_08042025_23_38_55_10513.jpg
/home/pi/Desktop/images/08042025/23/38/image_08042025_23_39_04_9411.jpg
/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_15_10382.jpg
/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_25_10465.jpg
/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_35_9403.jpg
/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_45_10379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047837","1352047846","1352047825","1352047839","1352047830","1352047834"],"photo_ids_order":["1352047825","1352047830","1352047834","1352047837","1352047839","1352047846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6db1c72efa4debd343d43556d33b16f0.jpg","text":"TemporaryFile(/tmp/multipartBody818362419129595149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421814976,"filename":"image_08042025_23_39_25_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fdf2266c0cb0497121f157ef4a8e77e.jpg","text":"TemporaryFile(/tmp/multipartBody2960681642728727992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421814976,"filename":"image_08042025_23_39_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9604cf4b1fddff9d41d345148d3be620.jpg","text":"TemporaryFile(/tmp/multipartBody4032864405912327246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421814976,"filename":"image_08042025_23_38_55_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0f841428cd4a7612b1ae2fae15a7512.jpg","text":"TemporaryFile(/tmp/multipartBody6599898595920289829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421814976,"filename":"image_08042025_23_39_35_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55db5e8408b6665b74b6439a1e4665b3.jpg","text":"TemporaryFile(/tmp/multipartBody8306807874532771355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421814976,"filename":"image_08042025_23_39_04_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ebb4d7443f09b440376803367e2f189.jpg","text":"TemporaryFile(/tmp/multipartBody1801444536807912733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421814976,"filename":"image_08042025_23_39_15_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047834","file1":"1352047830","file0":"1352047825","file4":"1352047839","file5":"1352047846","file3":"1352047837"},"map_files_photo_id_array":[{"photo_id":"1352047846","filename":"file5"},{"photo_id":"1352047834","filename":"file2"},{"photo_id":"1352047839","filename":"file4"},{"photo_id":"1352047830","filename":"file1"},{"photo_id":"1352047825","filename":"file0"},{"photo_id":"1352047837","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352047837":["hashtag1","hashtag2"]},{"1352047846":["hashtag1","hashtag2"]},{"1352047825":["hashtag1","hashtag2"]},{"1352047839":["hashtag1","hashtag2"]},{"1352047830":["hashtag1","hashtag2"]},{"1352047834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352047837, 1352047846, 1352047825, 1352047839, 1352047830, 1352047834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59186935424805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:36:33.141899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_54_9380.jpg', '/home/pi/Desktop/images/08042025/23/39/image_08042025_23_40_05_10359.jpg', '/home/pi/Desktop/images/08042025/23/40/image_08042025_23_40_15_10403.jpg', '/home/pi/Desktop/images/08042025/23/40/image_08042025_23_40_44_9356.jpg', '/home/pi/Desktop/images/08042025/23/40/image_08042025_23_40_55_10461.jpg', '/home/pi/Desktop/images/08042025/23/40/image_08042025_23_41_04_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/39/image_08042025_23_39_54_9380.jpg
/home/pi/Desktop/images/08042025/23/39/image_08042025_23_40_05_10359.jpg
/home/pi/Desktop/images/08042025/23/40/image_08042025_23_40_15_10403.jpg
/home/pi/Desktop/images/08042025/23/40/image_08042025_23_40_44_9356.jpg
/home/pi/Desktop/images/08042025/23/40/image_08042025_23_40_55_10461.jpg
/home/pi/Desktop/images/08042025/23/40/image_08042025_23_41_04_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352047924","1352047869","1352047898","1352047925","1352047919","1352047882"],"photo_ids_order":["1352047869","1352047882","1352047898","1352047919","1352047924","1352047925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12e267dfc270a9b72209ea0214626ab7.jpg","text":"TemporaryFile(/tmp/multipartBody2659420838525543496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421854939,"filename":"image_08042025_23_40_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9134a12c70dc47ccad2a960d4bc15dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3273336197859124347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421854939,"filename":"image_08042025_23_39_54_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e9ce2b9199656d6dae174d657f9bf31.jpg","text":"TemporaryFile(/tmp/multipartBody8676149692660863995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421854939,"filename":"image_08042025_23_40_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/646c3f1546473598089ce91258790467.jpg","text":"TemporaryFile(/tmp/multipartBody5891626413514737341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421854939,"filename":"image_08042025_23_41_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85057a3735e181152a084f3effce2286.jpg","text":"TemporaryFile(/tmp/multipartBody2880258636025971606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421854939,"filename":"image_08042025_23_40_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05cfe8c0655af56e1101678f09dba4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2505387256866006635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421854939,"filename":"image_08042025_23_40_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352047898","file1":"1352047882","file0":"1352047869","file4":"1352047924","file5":"1352047925","file3":"1352047919"},"map_files_photo_id_array":[{"photo_id":"1352047925","filename":"file5"},{"photo_id":"1352047898","filename":"file2"},{"photo_id":"1352047924","filename":"file4"},{"photo_id":"1352047882","filename":"file1"},{"photo_id":"1352047869","filename":"file0"},{"photo_id":"1352047919","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352047924":["hashtag1","hashtag2"]},{"1352047869":["hashtag1","hashtag2"]},{"1352047898":["hashtag1","hashtag2"]},{"1352047925":["hashtag1","hashtag2"]},{"1352047919":["hashtag1","hashtag2"]},{"1352047882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352047924, 1352047869, 1352047898, 1352047925, 1352047919, 1352047882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.339813470840454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:37:32.482393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_15_10368.jpg', '/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_25_10479.jpg', '/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_35_9354.jpg', '/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_45_10474.jpg', '/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_54_9362.jpg', '/home/pi/Desktop/images/08042025/23/41/image_08042025_23_42_05_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_15_10368.jpg
/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_25_10479.jpg
/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_35_9354.jpg
/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_45_10474.jpg
/home/pi/Desktop/images/08042025/23/41/image_08042025_23_41_54_9362.jpg
/home/pi/Desktop/images/08042025/23/41/image_08042025_23_42_05_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048307","1352048177","1352048109","1352048270","1352048072","1352048092"],"photo_ids_order":["1352048072","1352048092","1352048109","1352048177","1352048270","1352048307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/629c7dbe1259c9be4e4e3eddfb909894.jpg","text":"TemporaryFile(/tmp/multipartBody3052716740639298939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421915146,"filename":"image_08042025_23_42_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99607f6a8f4d7f941947ecd51c67478c.jpg","text":"TemporaryFile(/tmp/multipartBody7345251039632377419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421915146,"filename":"image_08042025_23_41_45_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d04f0d1b9c00132960e591d6a6ffbe24.jpg","text":"TemporaryFile(/tmp/multipartBody5930043140025679417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421915146,"filename":"image_08042025_23_41_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b0fccd405d6fdbd3343aee96da37bca.jpg","text":"TemporaryFile(/tmp/multipartBody750834136144758688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421915146,"filename":"image_08042025_23_41_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/232fe6ec325ec3817e999a9f7ba5d060.jpg","text":"TemporaryFile(/tmp/multipartBody1444233320165244479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421915146,"filename":"image_08042025_23_41_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20a2a54bc1fa839af4c4d53954e3fa95.jpg","text":"TemporaryFile(/tmp/multipartBody2865617131133607592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421915146,"filename":"image_08042025_23_41_25_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048109","file1":"1352048092","file0":"1352048072","file4":"1352048270","file5":"1352048307","file3":"1352048177"},"map_files_photo_id_array":[{"photo_id":"1352048307","filename":"file5"},{"photo_id":"1352048109","filename":"file2"},{"photo_id":"1352048270","filename":"file4"},{"photo_id":"1352048092","filename":"file1"},{"photo_id":"1352048072","filename":"file0"},{"photo_id":"1352048177","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352048307":["hashtag1","hashtag2"]},{"1352048177":["hashtag1","hashtag2"]},{"1352048109":["hashtag1","hashtag2"]},{"1352048270":["hashtag1","hashtag2"]},{"1352048072":["hashtag1","hashtag2"]},{"1352048092":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352048307, 1352048177, 1352048109, 1352048270, 1352048072, 1352048092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.417059898376465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:38:32.790085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_15_10388.jpg', '/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_24_9371.jpg', '/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_35_10510.jpg', '/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_44_9454.jpg', '/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_55_10404.jpg', '/home/pi/Desktop/images/08042025/23/42/image_08042025_23_43_04_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_15_10388.jpg
/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_24_9371.jpg
/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_35_10510.jpg
/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_44_9454.jpg
/home/pi/Desktop/images/08042025/23/42/image_08042025_23_42_55_10404.jpg
/home/pi/Desktop/images/08042025/23/42/image_08042025_23_43_04_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048586","1352048384","1352048642","1352048531","1352048609","1352048560"],"photo_ids_order":["1352048384","1352048531","1352048560","1352048586","1352048609","1352048642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98738cc334e62fece3166493c1296b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2412659061953106917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421974577,"filename":"image_08042025_23_42_44_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/940a6cb5892a8a7f468d67ae83b17c75.jpg","text":"TemporaryFile(/tmp/multipartBody4445183246478742097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421974577,"filename":"image_08042025_23_42_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eed0cc24bd0815929b79d84496631344.jpg","text":"TemporaryFile(/tmp/multipartBody8025350755112349699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421974577,"filename":"image_08042025_23_43_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af90b2f415242f737b3bfa1a5c732473.jpg","text":"TemporaryFile(/tmp/multipartBody4894985074119835381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421974577,"filename":"image_08042025_23_42_24_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d015b623faa5043955aa9d6024b1bfd2.jpg","text":"TemporaryFile(/tmp/multipartBody4799674371624037943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421974577,"filename":"image_08042025_23_42_55_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6b7160d5b3a29b6a262aeabf529c16a.jpg","text":"TemporaryFile(/tmp/multipartBody8795648371280107031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744421974577,"filename":"image_08042025_23_42_35_10510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048560","file1":"1352048531","file0":"1352048384","file4":"1352048609","file5":"1352048642","file3":"1352048586"},"map_files_photo_id_array":[{"photo_id":"1352048642","filename":"file5"},{"photo_id":"1352048560","filename":"file2"},{"photo_id":"1352048609","filename":"file4"},{"photo_id":"1352048531","filename":"file1"},{"photo_id":"1352048384","filename":"file0"},{"photo_id":"1352048586","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352048586":["hashtag1","hashtag2"]},{"1352048384":["hashtag1","hashtag2"]},{"1352048642":["hashtag1","hashtag2"]},{"1352048531":["hashtag1","hashtag2"]},{"1352048609":["hashtag1","hashtag2"]},{"1352048560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352048586, 1352048384, 1352048642, 1352048531, 1352048609, 1352048560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11067748069763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:39:32.997181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_15_10383.jpg', '/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_25_10367.jpg', '/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_34_9361.jpg', '/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_45_10523.jpg', '/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_54_9373.jpg', '/home/pi/Desktop/images/08042025/23/43/image_08042025_23_44_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_15_10383.jpg
/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_25_10367.jpg
/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_34_9361.jpg
/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_45_10523.jpg
/home/pi/Desktop/images/08042025/23/43/image_08042025_23_43_54_9373.jpg
/home/pi/Desktop/images/08042025/23/43/image_08042025_23_44_05_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048775","1352048794","1352048791","1352048779","1352048773","1352048793"],"photo_ids_order":["1352048773","1352048775","1352048779","1352048791","1352048793","1352048794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8225c2b82c96fc8bd5611a90e1c7418.jpg","text":"TemporaryFile(/tmp/multipartBody8467690864892209987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422034788,"filename":"image_08042025_23_43_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7b3101498d4b69cfdb03c9333a10b69.jpg","text":"TemporaryFile(/tmp/multipartBody1086476882207256392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422034788,"filename":"image_08042025_23_44_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac00e32a044f1f03e056996abae4cb2a.jpg","text":"TemporaryFile(/tmp/multipartBody2680539612677651921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422034788,"filename":"image_08042025_23_43_45_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/477bc6202b8878aa67185327cd69a642.jpg","text":"TemporaryFile(/tmp/multipartBody2634782390523994537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422034788,"filename":"image_08042025_23_43_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de18781b3b2e71f7f1366562da04318c.jpg","text":"TemporaryFile(/tmp/multipartBody8824265255047911918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422034788,"filename":"image_08042025_23_43_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02480c92cd82df50b01b73639979e0f3.jpg","text":"TemporaryFile(/tmp/multipartBody543535160470987167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422034788,"filename":"image_08042025_23_43_54_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048779","file1":"1352048775","file0":"1352048773","file4":"1352048793","file5":"1352048794","file3":"1352048791"},"map_files_photo_id_array":[{"photo_id":"1352048794","filename":"file5"},{"photo_id":"1352048779","filename":"file2"},{"photo_id":"1352048793","filename":"file4"},{"photo_id":"1352048775","filename":"file1"},{"photo_id":"1352048773","filename":"file0"},{"photo_id":"1352048791","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352048775":["hashtag1","hashtag2"]},{"1352048794":["hashtag1","hashtag2"]},{"1352048791":["hashtag1","hashtag2"]},{"1352048779":["hashtag1","hashtag2"]},{"1352048773":["hashtag1","hashtag2"]},{"1352048793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352048775, 1352048794, 1352048791, 1352048779, 1352048773, 1352048793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77902102470398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:40:32.143074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/44/image_08042025_23_44_15_10488.jpg', '/home/pi/Desktop/images/08042025/23/44/image_08042025_23_44_35_10366.jpg', '/home/pi/Desktop/images/08042025/23/44/image_08042025_23_44_44_9433.jpg', '/home/pi/Desktop/images/08042025/23/44/image_08042025_23_44_55_10366.jpg', '/home/pi/Desktop/images/08042025/23/44/image_08042025_23_45_05_10373.jpg', '/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_14_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/44/image_08042025_23_44_15_10488.jpg
/home/pi/Desktop/images/08042025/23/44/image_08042025_23_44_35_10366.jpg
/home/pi/Desktop/images/08042025/23/44/image_08042025_23_44_44_9433.jpg
/home/pi/Desktop/images/08042025/23/44/image_08042025_23_44_55_10366.jpg
/home/pi/Desktop/images/08042025/23/44/image_08042025_23_45_05_10373.jpg
/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_14_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048874","1352048882","1352048878","1352048872","1352048866","1352048869"],"photo_ids_order":["1352048866","1352048869","1352048872","1352048874","1352048878","1352048882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73a28e6b700ac9f0cc0a731e64827f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4058090744913266627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422093951,"filename":"image_08042025_23_44_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5eb417cc68f42723713a6c46c927d5a4.jpg","text":"TemporaryFile(/tmp/multipartBody4355372224204995370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422093951,"filename":"image_08042025_23_45_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d85f841afa46327038109807289c000.jpg","text":"TemporaryFile(/tmp/multipartBody7565354895175644052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422093951,"filename":"image_08042025_23_45_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04ea8cf2db4a0c4ccc5026dc1b14df7f.jpg","text":"TemporaryFile(/tmp/multipartBody548876422143788531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422093951,"filename":"image_08042025_23_44_44_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2fd338ba1c0cdb321292555a065afa3.jpg","text":"TemporaryFile(/tmp/multipartBody3982109420326228344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422093951,"filename":"image_08042025_23_44_15_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e584c117b34348c92a234733d6d5cc48.jpg","text":"TemporaryFile(/tmp/multipartBody1170299345585433984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422093951,"filename":"image_08042025_23_44_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048872","file1":"1352048869","file0":"1352048866","file4":"1352048878","file5":"1352048882","file3":"1352048874"},"map_files_photo_id_array":[{"photo_id":"1352048882","filename":"file5"},{"photo_id":"1352048872","filename":"file2"},{"photo_id":"1352048878","filename":"file4"},{"photo_id":"1352048869","filename":"file1"},{"photo_id":"1352048866","filename":"file0"},{"photo_id":"1352048874","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352048874":["hashtag1","hashtag2"]},{"1352048882":["hashtag1","hashtag2"]},{"1352048878":["hashtag1","hashtag2"]},{"1352048872":["hashtag1","hashtag2"]},{"1352048866":["hashtag1","hashtag2"]},{"1352048869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352048874, 1352048882, 1352048878, 1352048872, 1352048866, 1352048869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05662488937378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:41:32.401837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_25_10394.jpg', '/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_35_10465.jpg', '/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_45_9368.jpg', '/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_55_10395.jpg', '/home/pi/Desktop/images/08042025/23/45/image_08042025_23_46_05_9473.jpg', '/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_25_10394.jpg
/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_35_10465.jpg
/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_45_9368.jpg
/home/pi/Desktop/images/08042025/23/45/image_08042025_23_45_55_10395.jpg
/home/pi/Desktop/images/08042025/23/45/image_08042025_23_46_05_9473.jpg
/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352048988","1352049003","1352048996","1352048999","1352048969","1352048992"],"photo_ids_order":["1352048969","1352048988","1352048992","1352048996","1352048999","1352049003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aee0cc4314195e906ace40b075dc621d.jpg","text":"TemporaryFile(/tmp/multipartBody1570800733174266050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422154222,"filename":"image_08042025_23_45_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ac03bb7d086f41c415aedb0b79d1787.jpg","text":"TemporaryFile(/tmp/multipartBody7330229583448360513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422154222,"filename":"image_08042025_23_46_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/547609a7faec1a11f241f586e4fca383.jpg","text":"TemporaryFile(/tmp/multipartBody3459474927370185945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422154222,"filename":"image_08042025_23_45_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/612ae4264f851882764383d3040d32d2.jpg","text":"TemporaryFile(/tmp/multipartBody1988769331464746954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422154222,"filename":"image_08042025_23_46_05_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/372041b567d25f332af9cd9ef0646a62.jpg","text":"TemporaryFile(/tmp/multipartBody8065653510922128648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422154222,"filename":"image_08042025_23_45_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c050da9db3fb377de171119781c97be.jpg","text":"TemporaryFile(/tmp/multipartBody4498906127982050934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422154222,"filename":"image_08042025_23_45_45_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352048992","file1":"1352048988","file0":"1352048969","file4":"1352048999","file5":"1352049003","file3":"1352048996"},"map_files_photo_id_array":[{"photo_id":"1352049003","filename":"file5"},{"photo_id":"1352048992","filename":"file2"},{"photo_id":"1352048999","filename":"file4"},{"photo_id":"1352048988","filename":"file1"},{"photo_id":"1352048969","filename":"file0"},{"photo_id":"1352048996","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352048988":["hashtag1","hashtag2"]},{"1352049003":["hashtag1","hashtag2"]},{"1352048996":["hashtag1","hashtag2"]},{"1352048999":["hashtag1","hashtag2"]},{"1352048969":["hashtag1","hashtag2"]},{"1352048992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352048988, 1352049003, 1352048996, 1352048999, 1352048969, 1352048992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.927475929260254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:42:32.499102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_24_9513.jpg', '/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_35_10367.jpg', '/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_45_10452.jpg', '/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_55_9370.jpg', '/home/pi/Desktop/images/08042025/23/46/image_08042025_23_47_05_10422.jpg', '/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_14_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_24_9513.jpg
/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_35_10367.jpg
/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_45_10452.jpg
/home/pi/Desktop/images/08042025/23/46/image_08042025_23_46_55_9370.jpg
/home/pi/Desktop/images/08042025/23/46/image_08042025_23_47_05_10422.jpg
/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_14_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049036","1352049030","1352049027","1352049025","1352049034","1352049022"],"photo_ids_order":["1352049022","1352049025","1352049027","1352049030","1352049034","1352049036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b517be374aaed7d910871ff855567e9.jpg","text":"TemporaryFile(/tmp/multipartBody3896489953751820550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422214398,"filename":"image_08042025_23_47_14_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53d38b8c261a0053edbc9e2a521f4dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6232743610341460888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422214398,"filename":"image_08042025_23_46_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90dad1c987692f29ce6fd636acad18d7.jpg","text":"TemporaryFile(/tmp/multipartBody7597294334924812269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422214398,"filename":"image_08042025_23_46_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9457e438eb00edb52ffe8110ec8ad231.jpg","text":"TemporaryFile(/tmp/multipartBody2549102797699551435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422214398,"filename":"image_08042025_23_46_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f70c0cdfab19f0d343b3899b6b0b8c6.jpg","text":"TemporaryFile(/tmp/multipartBody3719717338173067238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422214398,"filename":"image_08042025_23_47_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2326c29b600ee553f6ef85993fc91df.jpg","text":"TemporaryFile(/tmp/multipartBody271194368934554335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422214398,"filename":"image_08042025_23_46_24_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049027","file1":"1352049025","file0":"1352049022","file4":"1352049034","file5":"1352049036","file3":"1352049030"},"map_files_photo_id_array":[{"photo_id":"1352049036","filename":"file5"},{"photo_id":"1352049027","filename":"file2"},{"photo_id":"1352049034","filename":"file4"},{"photo_id":"1352049025","filename":"file1"},{"photo_id":"1352049022","filename":"file0"},{"photo_id":"1352049030","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352049036":["hashtag1","hashtag2"]},{"1352049030":["hashtag1","hashtag2"]},{"1352049027":["hashtag1","hashtag2"]},{"1352049025":["hashtag1","hashtag2"]},{"1352049034":["hashtag1","hashtag2"]},{"1352049022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352049036, 1352049030, 1352049027, 1352049025, 1352049034, 1352049022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.768004417419434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:43:32.809029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_25_10382.jpg', '/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_35_10388.jpg', '/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_45_9363.jpg', '/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_55_10369.jpg', '/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_15_9364.jpg', '/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_25_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_25_10382.jpg
/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_35_10388.jpg
/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_45_9363.jpg
/home/pi/Desktop/images/08042025/23/47/image_08042025_23_47_55_10369.jpg
/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_15_9364.jpg
/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_25_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049059","1352049056","1352049076","1352049064","1352049052","1352049054"],"photo_ids_order":["1352049052","1352049054","1352049056","1352049059","1352049064","1352049076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c75f21a901cbf4539cd4bf434b0108a.jpg","text":"TemporaryFile(/tmp/multipartBody6092719500286919733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422274613,"filename":"image_08042025_23_47_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4516c0763567be1cdef967e22f7a5225.jpg","text":"TemporaryFile(/tmp/multipartBody8482462852607441362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422274613,"filename":"image_08042025_23_47_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6eb534815ede310346e6a3d10a12a782.jpg","text":"TemporaryFile(/tmp/multipartBody9119444135682132816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422274613,"filename":"image_08042025_23_48_25_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/970d673bc63527c19a3e39fcb5e9750a.jpg","text":"TemporaryFile(/tmp/multipartBody1042634475059332178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422274613,"filename":"image_08042025_23_48_15_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2438f62760b6a3ca967eaced04299fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3797966828876403558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422274613,"filename":"image_08042025_23_47_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9461f89edafd8a0fe9216f0a3ef78a9.jpg","text":"TemporaryFile(/tmp/multipartBody1250097835666340188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422274613,"filename":"image_08042025_23_47_35_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049056","file1":"1352049054","file0":"1352049052","file4":"1352049064","file5":"1352049076","file3":"1352049059"},"map_files_photo_id_array":[{"photo_id":"1352049076","filename":"file5"},{"photo_id":"1352049056","filename":"file2"},{"photo_id":"1352049064","filename":"file4"},{"photo_id":"1352049054","filename":"file1"},{"photo_id":"1352049052","filename":"file0"},{"photo_id":"1352049059","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352049059":["hashtag1","hashtag2"]},{"1352049056":["hashtag1","hashtag2"]},{"1352049076":["hashtag1","hashtag2"]},{"1352049064":["hashtag1","hashtag2"]},{"1352049052":["hashtag1","hashtag2"]},{"1352049054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352049059, 1352049056, 1352049076, 1352049064, 1352049052, 1352049054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33996272087097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:44:32.992190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_34_9372.jpg', '/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_45_10365.jpg', '/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_55_10459.jpg', '/home/pi/Desktop/images/08042025/23/48/image_08042025_23_49_05_9349.jpg', '/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_15_10428.jpg', '/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_24_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_34_9372.jpg
/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_45_10365.jpg
/home/pi/Desktop/images/08042025/23/48/image_08042025_23_48_55_10459.jpg
/home/pi/Desktop/images/08042025/23/48/image_08042025_23_49_05_9349.jpg
/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_15_10428.jpg
/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_24_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049144","1352049125","1352049155","1352049128","1352049122","1352049136"],"photo_ids_order":["1352049122","1352049125","1352049128","1352049136","1352049144","1352049155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc1add3c86567fcad18a1c872e79d78c.jpg","text":"TemporaryFile(/tmp/multipartBody37775230630385416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422334790,"filename":"image_08042025_23_49_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16dc3acea535cb818b1f8ff5f63a8676.jpg","text":"TemporaryFile(/tmp/multipartBody6293246465251697771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422334790,"filename":"image_08042025_23_48_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/974c17b2c7c205a36758442edf657ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6509992063097450455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422334790,"filename":"image_08042025_23_49_24_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3d51cde2b6565631f83da285594da06.jpg","text":"TemporaryFile(/tmp/multipartBody4987432369194073768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422334790,"filename":"image_08042025_23_48_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3088c4e1f774db995537a1109c7caf0d.jpg","text":"TemporaryFile(/tmp/multipartBody4991732554860349052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422334790,"filename":"image_08042025_23_48_34_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a02b4290de28007a441d7f36419b7a1c.jpg","text":"TemporaryFile(/tmp/multipartBody750010192191020332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422334790,"filename":"image_08042025_23_49_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049128","file1":"1352049125","file0":"1352049122","file4":"1352049144","file5":"1352049155","file3":"1352049136"},"map_files_photo_id_array":[{"photo_id":"1352049155","filename":"file5"},{"photo_id":"1352049128","filename":"file2"},{"photo_id":"1352049144","filename":"file4"},{"photo_id":"1352049125","filename":"file1"},{"photo_id":"1352049122","filename":"file0"},{"photo_id":"1352049136","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352049144":["hashtag1","hashtag2"]},{"1352049125":["hashtag1","hashtag2"]},{"1352049155":["hashtag1","hashtag2"]},{"1352049128":["hashtag1","hashtag2"]},{"1352049122":["hashtag1","hashtag2"]},{"1352049136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352049144, 1352049125, 1352049155, 1352049128, 1352049122, 1352049136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91034460067749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:45:32.268533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_35_10355.jpg', '/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_45_10376.jpg', '/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_55_9384.jpg', '/home/pi/Desktop/images/08042025/23/49/image_08042025_23_50_05_10441.jpg', '/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_14_9366.jpg', '/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_35_10355.jpg
/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_45_10376.jpg
/home/pi/Desktop/images/08042025/23/49/image_08042025_23_49_55_9384.jpg
/home/pi/Desktop/images/08042025/23/49/image_08042025_23_50_05_10441.jpg
/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_14_9366.jpg
/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_25_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049249","1352049228","1352049287","1352049185","1352049326","1352049193"],"photo_ids_order":["1352049185","1352049193","1352049228","1352049249","1352049287","1352049326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7dfc47c893d1985b6fb8a98c8793690a.jpg","text":"TemporaryFile(/tmp/multipartBody3569758067329353823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422394061,"filename":"image_08042025_23_50_05_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71ac2616eb37001248ba4d025c15bc76.jpg","text":"TemporaryFile(/tmp/multipartBody870056682690035956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422394061,"filename":"image_08042025_23_49_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb58cf825a1530360e35a28f6d75533d.jpg","text":"TemporaryFile(/tmp/multipartBody8516504028170944869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422394061,"filename":"image_08042025_23_50_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b957b4eb32eb2ea7fc570dd10e53bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7749329439639650638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422394061,"filename":"image_08042025_23_49_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09230ca736d6d086eba8085dd2f5914e.jpg","text":"TemporaryFile(/tmp/multipartBody3223378017334503871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422394061,"filename":"image_08042025_23_50_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1d31254ce8a57648442a5f1af3b9b65.jpg","text":"TemporaryFile(/tmp/multipartBody2670471358637388272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422394061,"filename":"image_08042025_23_49_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049228","file1":"1352049193","file0":"1352049185","file4":"1352049287","file5":"1352049326","file3":"1352049249"},"map_files_photo_id_array":[{"photo_id":"1352049326","filename":"file5"},{"photo_id":"1352049228","filename":"file2"},{"photo_id":"1352049287","filename":"file4"},{"photo_id":"1352049193","filename":"file1"},{"photo_id":"1352049185","filename":"file0"},{"photo_id":"1352049249","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352049249":["hashtag1","hashtag2"]},{"1352049228":["hashtag1","hashtag2"]},{"1352049287":["hashtag1","hashtag2"]},{"1352049185":["hashtag1","hashtag2"]},{"1352049326":["hashtag1","hashtag2"]},{"1352049193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352049249, 1352049228, 1352049287, 1352049185, 1352049326, 1352049193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.48536729812622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:46:32.436078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_35_10359.jpg', '/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_44_9358.jpg', '/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_55_10380.jpg', '/home/pi/Desktop/images/08042025/23/50/image_08042025_23_51_05_10472.jpg', '/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_15_9366.jpg', '/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_25_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_35_10359.jpg
/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_44_9358.jpg
/home/pi/Desktop/images/08042025/23/50/image_08042025_23_50_55_10380.jpg
/home/pi/Desktop/images/08042025/23/50/image_08042025_23_51_05_10472.jpg
/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_15_9366.jpg
/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_25_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049397","1352049370","1352049373","1352049367","1352049462","1352049363"],"photo_ids_order":["1352049363","1352049367","1352049370","1352049373","1352049397","1352049462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/072c9e6de8625ae29d32ca24d427bcb5.jpg","text":"TemporaryFile(/tmp/multipartBody7692323785875546858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422454231,"filename":"image_08042025_23_51_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e5e06f6f08865608fec38fdde57109a.jpg","text":"TemporaryFile(/tmp/multipartBody5932318214407693838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422454231,"filename":"image_08042025_23_50_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8d97ba1a5e1ce9327e3bb75af82161f.jpg","text":"TemporaryFile(/tmp/multipartBody8539973515072116486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422454231,"filename":"image_08042025_23_51_05_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d42fb38ad230fb7a9b00d00d907410d.jpg","text":"TemporaryFile(/tmp/multipartBody2442352892013667834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422454231,"filename":"image_08042025_23_50_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04e0dcd80675f445ded20e570a4a80f4.jpg","text":"TemporaryFile(/tmp/multipartBody4916342106534768086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422454231,"filename":"image_08042025_23_51_25_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbc8b111dd717bee8256610a73617c6a.jpg","text":"TemporaryFile(/tmp/multipartBody3166328335308125874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422454231,"filename":"image_08042025_23_50_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049370","file1":"1352049367","file0":"1352049363","file4":"1352049397","file5":"1352049462","file3":"1352049373"},"map_files_photo_id_array":[{"photo_id":"1352049462","filename":"file5"},{"photo_id":"1352049370","filename":"file2"},{"photo_id":"1352049397","filename":"file4"},{"photo_id":"1352049367","filename":"file1"},{"photo_id":"1352049363","filename":"file0"},{"photo_id":"1352049373","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352049397":["hashtag1","hashtag2"]},{"1352049370":["hashtag1","hashtag2"]},{"1352049373":["hashtag1","hashtag2"]},{"1352049367":["hashtag1","hashtag2"]},{"1352049462":["hashtag1","hashtag2"]},{"1352049363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352049397, 1352049370, 1352049373, 1352049367, 1352049462, 1352049363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78206443786621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:47:32.700514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_35_9365.jpg', '/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_45_10370.jpg', '/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_54_9455.jpg', '/home/pi/Desktop/images/08042025/23/51/image_08042025_23_52_05_10425.jpg', '/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_15_10467.jpg', '/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_25_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_35_9365.jpg
/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_45_10370.jpg
/home/pi/Desktop/images/08042025/23/51/image_08042025_23_51_54_9455.jpg
/home/pi/Desktop/images/08042025/23/51/image_08042025_23_52_05_10425.jpg
/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_15_10467.jpg
/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_25_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049689","1352049676","1352049685","1352049699","1352049693","1352049696"],"photo_ids_order":["1352049676","1352049685","1352049689","1352049693","1352049696","1352049699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/355dc5fd8314942fff1367ccdd88bea3.jpg","text":"TemporaryFile(/tmp/multipartBody6894990077985248057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422514501,"filename":"image_08042025_23_51_54_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/316b09edd412403dc1c504937109ce7a.jpg","text":"TemporaryFile(/tmp/multipartBody3411366877008669705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422514501,"filename":"image_08042025_23_51_35_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85caad17fd6f2131f71510aeaa7a04e7.jpg","text":"TemporaryFile(/tmp/multipartBody3400977308471571142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422514501,"filename":"image_08042025_23_51_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/852ced8d141bf683438bc9832398fe22.jpg","text":"TemporaryFile(/tmp/multipartBody309822238483244738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422514501,"filename":"image_08042025_23_52_25_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbdcc9f40d658e73031b64a47fee6ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8570125663922455111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422514501,"filename":"image_08042025_23_52_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7ab1968c2989d314573aa51d88d8c11.jpg","text":"TemporaryFile(/tmp/multipartBody1819193152088760012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422514501,"filename":"image_08042025_23_52_15_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049689","file1":"1352049685","file0":"1352049676","file4":"1352049696","file5":"1352049699","file3":"1352049693"},"map_files_photo_id_array":[{"photo_id":"1352049699","filename":"file5"},{"photo_id":"1352049689","filename":"file2"},{"photo_id":"1352049696","filename":"file4"},{"photo_id":"1352049685","filename":"file1"},{"photo_id":"1352049676","filename":"file0"},{"photo_id":"1352049693","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352049689":["hashtag1","hashtag2"]},{"1352049676":["hashtag1","hashtag2"]},{"1352049685":["hashtag1","hashtag2"]},{"1352049699":["hashtag1","hashtag2"]},{"1352049693":["hashtag1","hashtag2"]},{"1352049696":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352049689, 1352049676, 1352049685, 1352049699, 1352049693, 1352049696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00702524185181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:48:32.860678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_35_10425.jpg', '/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_44_9374.jpg', '/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_55_10383.jpg', '/home/pi/Desktop/images/08042025/23/52/image_08042025_23_53_05_10369.jpg', '/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_15_9362.jpg', '/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_25_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_35_10425.jpg
/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_44_9374.jpg
/home/pi/Desktop/images/08042025/23/52/image_08042025_23_52_55_10383.jpg
/home/pi/Desktop/images/08042025/23/52/image_08042025_23_53_05_10369.jpg
/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_15_9362.jpg
/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_25_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352049810","1352049836","1352049821","1352049799","1352049805","1352049795"],"photo_ids_order":["1352049795","1352049799","1352049805","1352049810","1352049821","1352049836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb5a9254ed5640d6d8e8488f5b5bcff9.jpg","text":"TemporaryFile(/tmp/multipartBody404237416672275972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422574672,"filename":"image_08042025_23_53_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf4f4e93b6a3ed3b44db4dda694a4de0.jpg","text":"TemporaryFile(/tmp/multipartBody4092044583669089145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422574672,"filename":"image_08042025_23_53_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1781c0da6a6bccad0f2371c7645bd3d5.jpg","text":"TemporaryFile(/tmp/multipartBody5498061636121587229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422574672,"filename":"image_08042025_23_53_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d308c0161a4f7929d6062d2a782c9e40.jpg","text":"TemporaryFile(/tmp/multipartBody1302331286504533986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422574672,"filename":"image_08042025_23_52_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0863c4e565fdb02f7fe2317c208dab6.jpg","text":"TemporaryFile(/tmp/multipartBody5154353414188667235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422574672,"filename":"image_08042025_23_52_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/611c8520a35ada6f72dc40c8fce3c6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3340454411911393949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422574672,"filename":"image_08042025_23_52_35_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352049805","file1":"1352049799","file0":"1352049795","file4":"1352049821","file5":"1352049836","file3":"1352049810"},"map_files_photo_id_array":[{"photo_id":"1352049836","filename":"file5"},{"photo_id":"1352049805","filename":"file2"},{"photo_id":"1352049821","filename":"file4"},{"photo_id":"1352049799","filename":"file1"},{"photo_id":"1352049795","filename":"file0"},{"photo_id":"1352049810","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352049810":["hashtag1","hashtag2"]},{"1352049836":["hashtag1","hashtag2"]},{"1352049821":["hashtag1","hashtag2"]},{"1352049799":["hashtag1","hashtag2"]},{"1352049805":["hashtag1","hashtag2"]},{"1352049795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352049810, 1352049836, 1352049821, 1352049799, 1352049805, 1352049795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.901373863220215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:49:33.093365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_34_9480.jpg', '/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_45_10393.jpg', '/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_55_10372.jpg', '/home/pi/Desktop/images/08042025/23/53/image_08042025_23_54_05_9352.jpg', '/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_15_10469.jpg', '/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_24_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_34_9480.jpg
/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_45_10393.jpg
/home/pi/Desktop/images/08042025/23/53/image_08042025_23_53_55_10372.jpg
/home/pi/Desktop/images/08042025/23/53/image_08042025_23_54_05_9352.jpg
/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_15_10469.jpg
/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_24_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352050553","1352050145","1352050073","1352050429","1352050318","1352050231"],"photo_ids_order":["1352050073","1352050145","1352050231","1352050318","1352050429","1352050553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5333aa36cd18ee8abc701f96586beaa1.jpg","text":"TemporaryFile(/tmp/multipartBody8525803903139518144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422634888,"filename":"image_08042025_23_54_24_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8d16deaeb4b32a382dd2f5e7b933e30.jpg","text":"TemporaryFile(/tmp/multipartBody7974136055303472029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422634888,"filename":"image_08042025_23_53_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55c1861ca743610804802e27d21511a9.jpg","text":"TemporaryFile(/tmp/multipartBody7856278447149089679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422634888,"filename":"image_08042025_23_53_34_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d12f51599e19030c224c4da09a07d66b.jpg","text":"TemporaryFile(/tmp/multipartBody8794063273212069263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422634888,"filename":"image_08042025_23_54_15_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/922a5cf2410874552db9ab511a09f4b6.jpg","text":"TemporaryFile(/tmp/multipartBody1426593447003054489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422634888,"filename":"image_08042025_23_54_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93ad9d762b1c14f7767d4424ffa423eb.jpg","text":"TemporaryFile(/tmp/multipartBody3542976325135367883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422634888,"filename":"image_08042025_23_53_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352050231","file1":"1352050145","file0":"1352050073","file4":"1352050429","file5":"1352050553","file3":"1352050318"},"map_files_photo_id_array":[{"photo_id":"1352050553","filename":"file5"},{"photo_id":"1352050231","filename":"file2"},{"photo_id":"1352050429","filename":"file4"},{"photo_id":"1352050145","filename":"file1"},{"photo_id":"1352050073","filename":"file0"},{"photo_id":"1352050318","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352050553":["hashtag1","hashtag2"]},{"1352050145":["hashtag1","hashtag2"]},{"1352050073":["hashtag1","hashtag2"]},{"1352050429":["hashtag1","hashtag2"]},{"1352050318":["hashtag1","hashtag2"]},{"1352050231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352050553, 1352050145, 1352050073, 1352050429, 1352050318, 1352050231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52414417266846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:50:32.366775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_35_10409.jpg', '/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_45_10353.jpg', '/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_55_9353.jpg', '/home/pi/Desktop/images/08042025/23/54/image_08042025_23_55_05_10419.jpg', '/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_14_9357.jpg', '/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_25_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_35_10409.jpg
/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_45_10353.jpg
/home/pi/Desktop/images/08042025/23/54/image_08042025_23_54_55_9353.jpg
/home/pi/Desktop/images/08042025/23/54/image_08042025_23_55_05_10419.jpg
/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_14_9357.jpg
/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_25_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051057","1352051150","1352051176","1352051108","1352051083","1352051131"],"photo_ids_order":["1352051057","1352051083","1352051108","1352051131","1352051150","1352051176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78636574af20f5227c5de050c33f1709.jpg","text":"TemporaryFile(/tmp/multipartBody4098589633262272114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422694155,"filename":"image_08042025_23_54_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b402b4425121169c2711e8b59d6e5896.jpg","text":"TemporaryFile(/tmp/multipartBody4045423744562984659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422694155,"filename":"image_08042025_23_55_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2886679853c116d21294c1a40ebad965.jpg","text":"TemporaryFile(/tmp/multipartBody5356401517309818570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422694155,"filename":"image_08042025_23_55_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fc6f328d06507214d268a83e48d4a64.jpg","text":"TemporaryFile(/tmp/multipartBody2629398971442659595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422694155,"filename":"image_08042025_23_54_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72c2f6ff526ee9074434007c9ce793a2.jpg","text":"TemporaryFile(/tmp/multipartBody5478875083664118516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422694155,"filename":"image_08042025_23_54_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02d3b577d506de3f97c351bcb982ee77.jpg","text":"TemporaryFile(/tmp/multipartBody6023819859147484991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422694155,"filename":"image_08042025_23_55_05_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051108","file1":"1352051083","file0":"1352051057","file4":"1352051150","file5":"1352051176","file3":"1352051131"},"map_files_photo_id_array":[{"photo_id":"1352051176","filename":"file5"},{"photo_id":"1352051108","filename":"file2"},{"photo_id":"1352051150","filename":"file4"},{"photo_id":"1352051083","filename":"file1"},{"photo_id":"1352051057","filename":"file0"},{"photo_id":"1352051131","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352051057":["hashtag1","hashtag2"]},{"1352051150":["hashtag1","hashtag2"]},{"1352051176":["hashtag1","hashtag2"]},{"1352051108":["hashtag1","hashtag2"]},{"1352051083":["hashtag1","hashtag2"]},{"1352051131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352051057, 1352051150, 1352051176, 1352051108, 1352051083, 1352051131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58044719696045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:51:32.494201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_35_10403.jpg', '/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_45_9347.jpg', '/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_55_10463.jpg', '/home/pi/Desktop/images/08042025/23/55/image_08042025_23_56_04_9412.jpg', '/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_15_10381.jpg', '/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_25_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_35_10403.jpg
/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_45_9347.jpg
/home/pi/Desktop/images/08042025/23/55/image_08042025_23_55_55_10463.jpg
/home/pi/Desktop/images/08042025/23/55/image_08042025_23_56_04_9412.jpg
/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_15_10381.jpg
/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_25_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051492","1352051582","1352051414","1352051557","1352051577","1352051547"],"photo_ids_order":["1352051414","1352051492","1352051547","1352051557","1352051577","1352051582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b66e9b8a56980671f9c7fa4f0d6d204f.jpg","text":"TemporaryFile(/tmp/multipartBody7737624507847007741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422754312,"filename":"image_08042025_23_55_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ecf42cf5bf16c09b233916a681ec573.jpg","text":"TemporaryFile(/tmp/multipartBody6937186385264012362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422754312,"filename":"image_08042025_23_56_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9af814617a87366306f8154a1209b932.jpg","text":"TemporaryFile(/tmp/multipartBody1707171526801465784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422754312,"filename":"image_08042025_23_55_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a9835342ee7afa0a19dbf653ebb8db4.jpg","text":"TemporaryFile(/tmp/multipartBody5847036466151758479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422754312,"filename":"image_08042025_23_56_04_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ff3b8e15e167f84d60d59da78ebe624.jpg","text":"TemporaryFile(/tmp/multipartBody1425569510163281856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422754312,"filename":"image_08042025_23_56_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d91a0b0a0000400fda334bcebf74b041.jpg","text":"TemporaryFile(/tmp/multipartBody4659987037059099290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422754312,"filename":"image_08042025_23_55_55_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051547","file1":"1352051492","file0":"1352051414","file4":"1352051577","file5":"1352051582","file3":"1352051557"},"map_files_photo_id_array":[{"photo_id":"1352051582","filename":"file5"},{"photo_id":"1352051547","filename":"file2"},{"photo_id":"1352051577","filename":"file4"},{"photo_id":"1352051492","filename":"file1"},{"photo_id":"1352051414","filename":"file0"},{"photo_id":"1352051557","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352051492":["hashtag1","hashtag2"]},{"1352051582":["hashtag1","hashtag2"]},{"1352051414":["hashtag1","hashtag2"]},{"1352051557":["hashtag1","hashtag2"]},{"1352051577":["hashtag1","hashtag2"]},{"1352051547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352051492, 1352051582, 1352051414, 1352051557, 1352051577, 1352051547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5161030292511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:52:32.853891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_35_9388.jpg', '/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_45_10511.jpg', '/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_54_9385.jpg', '/home/pi/Desktop/images/08042025/23/56/image_08042025_23_57_05_10369.jpg', '/home/pi/Desktop/images/08042025/23/57/image_08042025_23_57_15_10490.jpg', '/home/pi/Desktop/images/08042025/23/57/image_08042025_23_57_35_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_35_9388.jpg
/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_45_10511.jpg
/home/pi/Desktop/images/08042025/23/56/image_08042025_23_56_54_9385.jpg
/home/pi/Desktop/images/08042025/23/56/image_08042025_23_57_05_10369.jpg
/home/pi/Desktop/images/08042025/23/57/image_08042025_23_57_15_10490.jpg
/home/pi/Desktop/images/08042025/23/57/image_08042025_23_57_35_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051777","1352051726","1352051761","1352051743","1352051725","1352051652"],"photo_ids_order":["1352051652","1352051725","1352051726","1352051743","1352051761","1352051777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c315bc401f60292a0327c9a3e0708d7.jpg","text":"TemporaryFile(/tmp/multipartBody7141962349085322334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422814701,"filename":"image_08042025_23_57_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3d145c201b006cc706c9eee1565b3c4.jpg","text":"TemporaryFile(/tmp/multipartBody4490900406151540133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422814701,"filename":"image_08042025_23_56_54_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/540d67288424ecd6626809b5b11eabe4.jpg","text":"TemporaryFile(/tmp/multipartBody4327307722033895824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422814701,"filename":"image_08042025_23_57_15_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6f09f191a9881f5ae5070a382724bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1376299410829164915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422814701,"filename":"image_08042025_23_57_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16f2fec11838c8422de28f6d4d37600a.jpg","text":"TemporaryFile(/tmp/multipartBody2991467576706631452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422814701,"filename":"image_08042025_23_56_45_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c58c0826014f698843f764776575efa.jpg","text":"TemporaryFile(/tmp/multipartBody3000267833234618030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422814701,"filename":"image_08042025_23_56_35_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051726","file1":"1352051725","file0":"1352051652","file4":"1352051761","file5":"1352051777","file3":"1352051743"},"map_files_photo_id_array":[{"photo_id":"1352051777","filename":"file5"},{"photo_id":"1352051726","filename":"file2"},{"photo_id":"1352051761","filename":"file4"},{"photo_id":"1352051725","filename":"file1"},{"photo_id":"1352051652","filename":"file0"},{"photo_id":"1352051743","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352051777":["hashtag1","hashtag2"]},{"1352051726":["hashtag1","hashtag2"]},{"1352051761":["hashtag1","hashtag2"]},{"1352051743":["hashtag1","hashtag2"]},{"1352051725":["hashtag1","hashtag2"]},{"1352051652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352051777, 1352051726, 1352051761, 1352051743, 1352051725, 1352051652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.147382974624634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:53:32.975445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/57/image_08042025_23_57_44_9353.jpg', '/home/pi/Desktop/images/08042025/23/57/image_08042025_23_57_55_10461.jpg', '/home/pi/Desktop/images/08042025/23/57/image_08042025_23_58_04_9428.jpg', '/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_15_10358.jpg', '/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_25_10452.jpg', '/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_35_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/57/image_08042025_23_57_44_9353.jpg
/home/pi/Desktop/images/08042025/23/57/image_08042025_23_57_55_10461.jpg
/home/pi/Desktop/images/08042025/23/57/image_08042025_23_58_04_9428.jpg
/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_15_10358.jpg
/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_25_10452.jpg
/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_35_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051885","1352051876","1352051858","1352051825","1352051863","1352051815"],"photo_ids_order":["1352051815","1352051825","1352051858","1352051863","1352051876","1352051885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/871dde7cb45ec865792a42331dbbbcae.jpg","text":"TemporaryFile(/tmp/multipartBody1592444776153156826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422874783,"filename":"image_08042025_23_58_35_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1dc5e8c991e4e2692009832362f2fdd6.jpg","text":"TemporaryFile(/tmp/multipartBody374932899541709952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422874783,"filename":"image_08042025_23_58_25_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7f20397f7edacd40ceb041959b2a931.jpg","text":"TemporaryFile(/tmp/multipartBody1782931425592299210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422874783,"filename":"image_08042025_23_58_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19bfefe223952f67fd7f3916620dd0b3.jpg","text":"TemporaryFile(/tmp/multipartBody3346856988189228109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422874783,"filename":"image_08042025_23_57_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e0330c818c426ac3e78f0e3d5158051.jpg","text":"TemporaryFile(/tmp/multipartBody5982573727175521004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422874783,"filename":"image_08042025_23_58_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11ac66269734c015d894da587709c99d.jpg","text":"TemporaryFile(/tmp/multipartBody8345679188707825657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422874783,"filename":"image_08042025_23_57_44_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051858","file1":"1352051825","file0":"1352051815","file4":"1352051876","file5":"1352051885","file3":"1352051863"},"map_files_photo_id_array":[{"photo_id":"1352051885","filename":"file5"},{"photo_id":"1352051858","filename":"file2"},{"photo_id":"1352051876","filename":"file4"},{"photo_id":"1352051825","filename":"file1"},{"photo_id":"1352051815","filename":"file0"},{"photo_id":"1352051863","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352051885":["hashtag1","hashtag2"]},{"1352051876":["hashtag1","hashtag2"]},{"1352051858":["hashtag1","hashtag2"]},{"1352051825":["hashtag1","hashtag2"]},{"1352051863":["hashtag1","hashtag2"]},{"1352051815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352051885, 1352051876, 1352051858, 1352051825, 1352051863, 1352051815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.127336263656616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:54:32.158442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_45_10445.jpg', '/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_54_9364.jpg', '/home/pi/Desktop/images/08042025/23/58/image_08042025_23_59_05_10364.jpg', '/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_15_10425.jpg', '/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_25_9378.jpg', '/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_45_10445.jpg
/home/pi/Desktop/images/08042025/23/58/image_08042025_23_58_54_9364.jpg
/home/pi/Desktop/images/08042025/23/58/image_08042025_23_59_05_10364.jpg
/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_15_10425.jpg
/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_25_9378.jpg
/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_35_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352051934","1352051969","1352051956","1352051967","1352051961","1352051964"],"photo_ids_order":["1352051934","1352051956","1352051961","1352051964","1352051967","1352051969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/542f16c1737ef7ca233c6e8241894a88.jpg","text":"TemporaryFile(/tmp/multipartBody3620465679015699207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422934078,"filename":"image_08042025_23_58_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4cc938f9d8689036c1cf4aec1d3abfa.jpg","text":"TemporaryFile(/tmp/multipartBody3414349701281650550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422934078,"filename":"image_08042025_23_59_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d25ff8c5dfaf523632bd2106144e114d.jpg","text":"TemporaryFile(/tmp/multipartBody5292169087753311512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422934078,"filename":"image_08042025_23_58_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c225d7908a8127ae04b6c90b90013481.jpg","text":"TemporaryFile(/tmp/multipartBody7164237685992409816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422934078,"filename":"image_08042025_23_59_25_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f605c098d2e0b41171a5f77fc8aa027.jpg","text":"TemporaryFile(/tmp/multipartBody485748637098072644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422934078,"filename":"image_08042025_23_59_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59a4c11e1fa842f0e05f50d4ab3dee85.jpg","text":"TemporaryFile(/tmp/multipartBody172064010735347149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422934078,"filename":"image_08042025_23_59_15_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352051961","file1":"1352051956","file0":"1352051934","file4":"1352051967","file5":"1352051969","file3":"1352051964"},"map_files_photo_id_array":[{"photo_id":"1352051969","filename":"file5"},{"photo_id":"1352051961","filename":"file2"},{"photo_id":"1352051967","filename":"file4"},{"photo_id":"1352051956","filename":"file1"},{"photo_id":"1352051934","filename":"file0"},{"photo_id":"1352051964","filename":"file3"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352051934":["hashtag1","hashtag2"]},{"1352051969":["hashtag1","hashtag2"]},{"1352051956":["hashtag1","hashtag2"]},{"1352051967":["hashtag1","hashtag2"]},{"1352051961":["hashtag1","hashtag2"]},{"1352051964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352051934, 1352051969, 1352051956, 1352051967, 1352051961, 1352051964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.133100271224976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:55:32.343560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
  port_id : 22129927
  datou_current_id : 2731085
in upload_from_sqlite, uploading in 22129927
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_44_9470.jpg', '/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_55_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2731085&datou=0
/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_44_9470.jpg
/home/pi/Desktop/images/08042025/23/59/image_08042025_23_59_55_10389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052589","1352052259"],"photo_ids_order":["1352052259","1352052589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d221cc3a54bb5c01c9fcb729cad799c1.jpg","text":"TemporaryFile(/tmp/multipartBody6478695225438080778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422994073,"filename":"image_08042025_23_59_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31fd3857af19dbb2927a384889b2a7e3.jpg","text":"TemporaryFile(/tmp/multipartBody6696277275601308503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744422994073,"filename":"image_08042025_23_59_44_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352052589","file0":"1352052259"},"map_files_photo_id_array":[{"photo_id":"1352052589","filename":"file1"},{"photo_id":"1352052259","filename":"file0"}],"portfolio_id":22129927,"hashtag_by_photo_ids":[{"1352052589":["hashtag1","hashtag2"]},{"1352052259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22129927 used, photo_id : ArrayBuffer(1352052589, 1352052259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.157382249832153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:55:52.435312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_15_10346.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_26_10429.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_35_9350.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_45_10460.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_55_9369.jpg', '/home/pi/Desktop/images/09042025/22/47/image_09042025_22_48_05_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_15_10346.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_26_10429.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_35_9350.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_45_10460.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_47_55_9369.jpg
/home/pi/Desktop/images/09042025/22/47/image_09042025_22_48_05_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052863","1352052857","1352052871","1352052850","1352052853","1352052861"],"photo_ids_order":["1352052850","1352052853","1352052857","1352052861","1352052863","1352052871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b1d4b096a66ab086cfc9722cde51fbe.jpg","text":"TemporaryFile(/tmp/multipartBody4785628088088198890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423014366,"filename":"image_09042025_22_47_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7df584e91195915faf356891b53dd8c7.jpg","text":"TemporaryFile(/tmp/multipartBody7572489598886059343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423014366,"filename":"image_09042025_22_47_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b3c1f7fe6970fe8e98437e860b1159a.jpg","text":"TemporaryFile(/tmp/multipartBody3611721786298663792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423014366,"filename":"image_09042025_22_48_05_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ac04af69fbeda05678d0529f4c4bc4c.jpg","text":"TemporaryFile(/tmp/multipartBody5530853203850573619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423014366,"filename":"image_09042025_22_47_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f94a01492dd661a6461940aeb6085eaa.jpg","text":"TemporaryFile(/tmp/multipartBody3680988612927056310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423014366,"filename":"image_09042025_22_47_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/844f0b147dbb17165c723add23b3b984.jpg","text":"TemporaryFile(/tmp/multipartBody1480258985627103664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423014366,"filename":"image_09042025_22_47_45_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052857","file1":"1352052853","file0":"1352052850","file4":"1352052863","file5":"1352052871","file3":"1352052861"},"map_files_photo_id_array":[{"photo_id":"1352052871","filename":"file5"},{"photo_id":"1352052857","filename":"file2"},{"photo_id":"1352052863","filename":"file4"},{"photo_id":"1352052853","filename":"file1"},{"photo_id":"1352052850","filename":"file0"},{"photo_id":"1352052861","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1352052863":["hashtag1","hashtag2"]},{"1352052857":["hashtag1","hashtag2"]},{"1352052871":["hashtag1","hashtag2"]},{"1352052850":["hashtag1","hashtag2"]},{"1352052853":["hashtag1","hashtag2"]},{"1352052861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1352052863, 1352052857, 1352052871, 1352052850, 1352052853, 1352052861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.02173638343811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 03:56:42.696679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_16_10417.jpg', '/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_25_9362.jpg', '/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_36_10457.jpg', '/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_45_9407.jpg', '/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_55_10417.jpg', '/home/pi/Desktop/images/09042025/22/48/image_09042025_22_49_06_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_16_10417.jpg
/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_25_9362.jpg
/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_36_10457.jpg
/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_45_9407.jpg
/home/pi/Desktop/images/09042025/22/48/image_09042025_22_48_55_10417.jpg
/home/pi/Desktop/images/09042025/22/48/image_09042025_22_49_06_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352052950","1352053109","1352052952","1352052946","1352052951","1352052948"],"photo_ids_order":["1352052946","1352052948","1352052950","1352052951","1352052952","1352053109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c52cfc92c8f9e35e326aa6bc6ce05b5.jpg","text":"TemporaryFile(/tmp/multipartBody1663121823978629217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423063771,"filename":"image_09042025_22_48_36_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6bff6624b2b007dab57462a93cd74a0.jpg","text":"TemporaryFile(/tmp/multipartBody813006444750802716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423063771,"filename":"image_09042025_22_49_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15a03fe967e6639a32995ed282ec1266.jpg","text":"TemporaryFile(/tmp/multipartBody1599493514752607438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423063771,"filename":"image_09042025_22_48_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42ff5f1f3cc5d52524358f00934e1298.jpg","text":"TemporaryFile(/tmp/multipartBody8347421813885005412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423063771,"filename":"image_09042025_22_48_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9b3eef736ae571bf07821a52ad401c0.jpg","text":"TemporaryFile(/tmp/multipartBody356031276838473208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423063771,"filename":"image_09042025_22_48_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4be262990bb85f1da5dea71c7931c085.jpg","text":"TemporaryFile(/tmp/multipartBody8122846781251322906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423063771,"filename":"image_09042025_22_48_25_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352052950","file1":"1352052948","file0":"1352052946","file4":"1352052952","file5":"1352053109","file3":"1352052951"},"map_files_photo_id_array":[{"photo_id":"1352053109","filename":"file5"},{"photo_id":"1352052950","filename":"file2"},{"photo_id":"1352052952","filename":"file4"},{"photo_id":"1352052948","filename":"file1"},{"photo_id":"1352052946","filename":"file0"},{"photo_id":"1352052951","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1352052950":["hashtag1","hashtag2"]},{"1352053109":["hashtag1","hashtag2"]},{"1352052952":["hashtag1","hashtag2"]},{"1352052946":["hashtag1","hashtag2"]},{"1352052951":["hashtag1","hashtag2"]},{"1352052948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1352052950, 1352053109, 1352052952, 1352052946, 1352052951, 1352052948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83079195022583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:57:32.968561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250328 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250329 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250330 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250331 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250401 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250402 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_15_9350.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_26_10436.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_35_9362.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_45_10463.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_55_9441.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_50_05_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_15_9350.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_26_10436.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_35_9362.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_45_10463.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_55_9441.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_50_05_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 03:59:03.328749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local ASC LIMIT 6;
  port_id : 22151747
  datou_current_id : 2733404
in upload_from_sqlite, uploading in 22151747
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_15_9350.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_26_10436.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_35_9362.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_45_10463.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_55_9441.jpg', '/home/pi/Desktop/images/09042025/22/49/image_09042025_22_50_05_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2733404&datou=0
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_15_9350.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_26_10436.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_35_9362.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_45_10463.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_49_55_9441.jpg
/home/pi/Desktop/images/09042025/22/49/image_09042025_22_50_05_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352053287","1352053272","1352053298","1352053265","1352053295","1352053280"],"photo_ids_order":["1352053265","1352053272","1352053280","1352053287","1352053295","1352053298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed0aaf0604531ba1f87ddf136eaa62f7.jpg","text":"TemporaryFile(/tmp/multipartBody7719858205616353354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423204498,"filename":"image_09042025_22_49_45_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0114ee487b8f3118029435eaed7863e4.jpg","text":"TemporaryFile(/tmp/multipartBody5755207398962736902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423204498,"filename":"image_09042025_22_49_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cc94aa5f5c692375bc8f295ba50765c.jpg","text":"TemporaryFile(/tmp/multipartBody6568961790851408996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423204498,"filename":"image_09042025_22_50_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86d37a35e68279d8764c43d4ced773bb.jpg","text":"TemporaryFile(/tmp/multipartBody5193094508560479144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423204498,"filename":"image_09042025_22_49_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17b4130cd58da954fd8939cb8e4915cb.jpg","text":"TemporaryFile(/tmp/multipartBody5855212228043106525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423204498,"filename":"image_09042025_22_49_55_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2a5c75078676e01eb5601f5c8859a64.jpg","text":"TemporaryFile(/tmp/multipartBody3814181961966194948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423204498,"filename":"image_09042025_22_49_35_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352053280","file1":"1352053272","file0":"1352053265","file4":"1352053295","file5":"1352053298","file3":"1352053287"},"map_files_photo_id_array":[{"photo_id":"1352053298","filename":"file5"},{"photo_id":"1352053280","filename":"file2"},{"photo_id":"1352053295","filename":"file4"},{"photo_id":"1352053272","filename":"file1"},{"photo_id":"1352053265","filename":"file0"},{"photo_id":"1352053287","filename":"file3"}],"portfolio_id":22151747,"hashtag_by_photo_ids":[{"1352053287":["hashtag1","hashtag2"]},{"1352053272":["hashtag1","hashtag2"]},{"1352053298":["hashtag1","hashtag2"]},{"1352053265":["hashtag1","hashtag2"]},{"1352053295":["hashtag1","hashtag2"]},{"1352053280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22151747 used, photo_id : ArrayBuffer(1352053287, 1352053272, 1352053298, 1352053265, 1352053295, 1352053280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.569897413253784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 03:59:52.435574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_12042025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 22311108, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1744423252000}
4310
2747191
4310
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/01/image_12042025_00_01_15_10294.jpg', '/home/pi/Desktop/images/12042025/00/01/image_12042025_00_01_35_9457.jpg', '/home/pi/Desktop/images/12042025/00/01/image_12042025_00_01_46_10349.jpg', '/home/pi/Desktop/images/12042025/00/01/image_12042025_00_02_05_9440.jpg', '/home/pi/Desktop/images/12042025/00/02/image_12042025_00_02_16_10370.jpg', '/home/pi/Desktop/images/12042025/00/02/image_12042025_00_02_25_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/01/image_12042025_00_01_15_10294.jpg
/home/pi/Desktop/images/12042025/00/01/image_12042025_00_01_35_9457.jpg
/home/pi/Desktop/images/12042025/00/01/image_12042025_00_01_46_10349.jpg
/home/pi/Desktop/images/12042025/00/01/image_12042025_00_02_05_9440.jpg
/home/pi/Desktop/images/12042025/00/02/image_12042025_00_02_16_10370.jpg
/home/pi/Desktop/images/12042025/00/02/image_12042025_00_02_25_9446.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352053322","1352053331","1352053339","1352053336","1352053321","1352053323"],"photo_ids_order":["1352053321","1352053322","1352053323","1352053331","1352053336","1352053339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/580c27dfa728edb1193951befaac0957.jpg","text":"TemporaryFile(/tmp/multipartBody4175594517398430740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423254237,"filename":"image_12042025_00_01_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34b4cc4b1fa9805be5164ec2129e259d.jpg","text":"TemporaryFile(/tmp/multipartBody5280298471326527906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423254237,"filename":"image_12042025_00_02_05_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58788624e0e284cdeebb3f7d955069a5.jpg","text":"TemporaryFile(/tmp/multipartBody7479441895492473816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423254237,"filename":"image_12042025_00_02_25_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d99b069827a267660d6527bec171506.jpg","text":"TemporaryFile(/tmp/multipartBody2893385572367836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423254237,"filename":"image_12042025_00_02_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c732cef7863f1a608eafa930059ad63.jpg","text":"TemporaryFile(/tmp/multipartBody7235796698183230485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423254237,"filename":"image_12042025_00_01_15_10294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0e4572a9e302f7b66db78199dd4ca32.jpg","text":"TemporaryFile(/tmp/multipartBody7032506788578901784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423254237,"filename":"image_12042025_00_01_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352053323","file1":"1352053322","file0":"1352053321","file4":"1352053336","file5":"1352053339","file3":"1352053331"},"map_files_photo_id_array":[{"photo_id":"1352053339","filename":"file5"},{"photo_id":"1352053323","filename":"file2"},{"photo_id":"1352053336","filename":"file4"},{"photo_id":"1352053322","filename":"file1"},{"photo_id":"1352053321","filename":"file0"},{"photo_id":"1352053331","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352053322":["hashtag1","hashtag2"]},{"1352053331":["hashtag1","hashtag2"]},{"1352053339":["hashtag1","hashtag2"]},{"1352053336":["hashtag1","hashtag2"]},{"1352053321":["hashtag1","hashtag2"]},{"1352053323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352053322, 1352053331, 1352053339, 1352053336, 1352053321, 1352053323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99809980392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:00:32.656112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/02/image_12042025_00_02_46_10363.jpg', '/home/pi/Desktop/images/12042025/00/02/image_12042025_00_02_55_9347.jpg', '/home/pi/Desktop/images/12042025/00/02/image_12042025_00_03_06_10347.jpg', '/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_15_9446.jpg', '/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_26_10368.jpg', '/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_36_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/02/image_12042025_00_02_46_10363.jpg
/home/pi/Desktop/images/12042025/00/02/image_12042025_00_02_55_9347.jpg
/home/pi/Desktop/images/12042025/00/02/image_12042025_00_03_06_10347.jpg
/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_15_9446.jpg
/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_26_10368.jpg
/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_36_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352053400","1352053363","1352053383","1352053365","1352053359","1352053364"],"photo_ids_order":["1352053359","1352053363","1352053364","1352053365","1352053383","1352053400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a8e49ecccb2403cbc5c3fc6fcffbc44.jpg","text":"TemporaryFile(/tmp/multipartBody8271559590034000697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423293158,"filename":"image_12042025_00_03_36_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f02f2313db32fc7dadb28586864ed217.jpg","text":"TemporaryFile(/tmp/multipartBody6909325922726525164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423293158,"filename":"image_12042025_00_02_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/231d2782b5ec00b40684f65ef7ebc9b6.jpg","text":"TemporaryFile(/tmp/multipartBody975199988390171920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423293158,"filename":"image_12042025_00_03_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/168761909cc1574b01c372f531d48dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6964455542351031480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423293158,"filename":"image_12042025_00_03_15_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/496966a66c462172b540fb504d8f8db7.jpg","text":"TemporaryFile(/tmp/multipartBody8677545418083429861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423293158,"filename":"image_12042025_00_02_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80a3ae05412d2353c7c135f998827277.jpg","text":"TemporaryFile(/tmp/multipartBody2919319779384443714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423293158,"filename":"image_12042025_00_03_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352053364","file1":"1352053363","file0":"1352053359","file4":"1352053383","file5":"1352053400","file3":"1352053365"},"map_files_photo_id_array":[{"photo_id":"1352053400","filename":"file5"},{"photo_id":"1352053364","filename":"file2"},{"photo_id":"1352053383","filename":"file4"},{"photo_id":"1352053363","filename":"file1"},{"photo_id":"1352053359","filename":"file0"},{"photo_id":"1352053365","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352053400":["hashtag1","hashtag2"]},{"1352053363":["hashtag1","hashtag2"]},{"1352053383":["hashtag1","hashtag2"]},{"1352053365":["hashtag1","hashtag2"]},{"1352053359":["hashtag1","hashtag2"]},{"1352053364":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352053400, 1352053363, 1352053383, 1352053365, 1352053359, 1352053364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1176073551178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:01:32.881575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_45_9418.jpg', '/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_56_10361.jpg', '/home/pi/Desktop/images/12042025/00/03/image_12042025_00_04_05_9432.jpg', '/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_16_10379.jpg', '/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_26_10354.jpg', '/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_35_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_45_9418.jpg
/home/pi/Desktop/images/12042025/00/03/image_12042025_00_03_56_10361.jpg
/home/pi/Desktop/images/12042025/00/03/image_12042025_00_04_05_9432.jpg
/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_16_10379.jpg
/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_26_10354.jpg
/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_35_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352053573","1352053564","1352053647","1352053557","1352053536","1352053521"],"photo_ids_order":["1352053521","1352053536","1352053557","1352053564","1352053573","1352053647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d075edaff0e18f9ebbcc26cd12a06c33.jpg","text":"TemporaryFile(/tmp/multipartBody8280977472376321680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423353352,"filename":"image_12042025_00_04_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/573d4a68adc8b8e30ce23715efe5d04d.jpg","text":"TemporaryFile(/tmp/multipartBody3107612662119543698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423353352,"filename":"image_12042025_00_04_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1aec96f2ea5db5ba00ac16982c7884ef.jpg","text":"TemporaryFile(/tmp/multipartBody190954418696508137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423353352,"filename":"image_12042025_00_04_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef605a251d9f2e46e8243d0c076fc6b7.jpg","text":"TemporaryFile(/tmp/multipartBody3329199228383842349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423353352,"filename":"image_12042025_00_04_05_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba21fa9ece50fb0670b97ebd61fb8ed8.jpg","text":"TemporaryFile(/tmp/multipartBody5539606892956747153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423353352,"filename":"image_12042025_00_03_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fc0a36c3fbb03989059b6f955699676.jpg","text":"TemporaryFile(/tmp/multipartBody1031425238705818578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423353352,"filename":"image_12042025_00_03_45_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352053557","file1":"1352053536","file0":"1352053521","file4":"1352053573","file5":"1352053647","file3":"1352053564"},"map_files_photo_id_array":[{"photo_id":"1352053647","filename":"file5"},{"photo_id":"1352053557","filename":"file2"},{"photo_id":"1352053573","filename":"file4"},{"photo_id":"1352053536","filename":"file1"},{"photo_id":"1352053521","filename":"file0"},{"photo_id":"1352053564","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352053573":["hashtag1","hashtag2"]},{"1352053564":["hashtag1","hashtag2"]},{"1352053647":["hashtag1","hashtag2"]},{"1352053557":["hashtag1","hashtag2"]},{"1352053536":["hashtag1","hashtag2"]},{"1352053521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352053573, 1352053564, 1352053647, 1352053557, 1352053536, 1352053521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.259328842163086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:02:33.101041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_46_10378.jpg', '/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_55_9490.jpg', '/home/pi/Desktop/images/12042025/00/04/image_12042025_00_05_06_10372.jpg', '/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_16_10363.jpg', '/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_25_9379.jpg', '/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_46_10378.jpg
/home/pi/Desktop/images/12042025/00/04/image_12042025_00_04_55_9490.jpg
/home/pi/Desktop/images/12042025/00/04/image_12042025_00_05_06_10372.jpg
/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_16_10363.jpg
/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_25_9379.jpg
/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_36_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352053849","1352053819","1352053959","1352053872","1352053932","1352053898"],"photo_ids_order":["1352053819","1352053849","1352053872","1352053898","1352053932","1352053959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c857a50972614135747806bde950b69.jpg","text":"TemporaryFile(/tmp/multipartBody387009322276871236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423413597,"filename":"image_12042025_00_04_55_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba27fec19bac2c6633408e305fe8979b.jpg","text":"TemporaryFile(/tmp/multipartBody7570587919911735273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423413597,"filename":"image_12042025_00_04_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce44c090ae127c2bf91e0de90f0fdeff.jpg","text":"TemporaryFile(/tmp/multipartBody2657200981089277337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423413597,"filename":"image_12042025_00_05_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b057b4755d1d85be403c2893048e8f9f.jpg","text":"TemporaryFile(/tmp/multipartBody855298904467819902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423413597,"filename":"image_12042025_00_05_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a7768311fb5cb4ca6f2020992357bfe.jpg","text":"TemporaryFile(/tmp/multipartBody1007797171362692525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423413597,"filename":"image_12042025_00_05_25_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82c95efccf6da710af087696b101751f.jpg","text":"TemporaryFile(/tmp/multipartBody6330708428088895315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423413597,"filename":"image_12042025_00_05_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352053872","file1":"1352053849","file0":"1352053819","file4":"1352053932","file5":"1352053959","file3":"1352053898"},"map_files_photo_id_array":[{"photo_id":"1352053959","filename":"file5"},{"photo_id":"1352053872","filename":"file2"},{"photo_id":"1352053932","filename":"file4"},{"photo_id":"1352053849","filename":"file1"},{"photo_id":"1352053819","filename":"file0"},{"photo_id":"1352053898","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352053849":["hashtag1","hashtag2"]},{"1352053819":["hashtag1","hashtag2"]},{"1352053959":["hashtag1","hashtag2"]},{"1352053872":["hashtag1","hashtag2"]},{"1352053932":["hashtag1","hashtag2"]},{"1352053898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352053849, 1352053819, 1352053959, 1352053872, 1352053932, 1352053898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.416861057281494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:03:32.385842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_46_10482.jpg', '/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_56_9441.jpg', '/home/pi/Desktop/images/12042025/00/05/image_12042025_00_06_06_10364.jpg', '/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_15_9427.jpg', '/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_26_10349.jpg', '/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_35_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_46_10482.jpg
/home/pi/Desktop/images/12042025/00/05/image_12042025_00_05_56_9441.jpg
/home/pi/Desktop/images/12042025/00/05/image_12042025_00_06_06_10364.jpg
/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_15_9427.jpg
/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_26_10349.jpg
/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_35_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352054009","1352054014","1352054005","1352054016","1352054018","1352054012"],"photo_ids_order":["1352054005","1352054009","1352054012","1352054014","1352054016","1352054018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20a92e1740d9b2688742a84cd63b7fe5.jpg","text":"TemporaryFile(/tmp/multipartBody150981269892646447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423472849,"filename":"image_12042025_00_05_56_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c5869a3bbb376c25aab79fabf4f53bb.jpg","text":"TemporaryFile(/tmp/multipartBody4075767868864919934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423472849,"filename":"image_12042025_00_06_15_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15371adc75e0571393b9be7ce2bd4d41.jpg","text":"TemporaryFile(/tmp/multipartBody7103541711057711141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423472849,"filename":"image_12042025_00_05_46_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/621c9fabab957576071baace9ce1a97c.jpg","text":"TemporaryFile(/tmp/multipartBody2787501572578486990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423472849,"filename":"image_12042025_00_06_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db0f8ca46ec0742b4ff9977517f9c8db.jpg","text":"TemporaryFile(/tmp/multipartBody6701554533717836080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423472849,"filename":"image_12042025_00_06_35_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ab0d0bf0f3da94905bba2db9c720c49.jpg","text":"TemporaryFile(/tmp/multipartBody4644771552336758070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423472849,"filename":"image_12042025_00_06_06_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352054012","file1":"1352054009","file0":"1352054005","file4":"1352054016","file5":"1352054018","file3":"1352054014"},"map_files_photo_id_array":[{"photo_id":"1352054018","filename":"file5"},{"photo_id":"1352054012","filename":"file2"},{"photo_id":"1352054016","filename":"file4"},{"photo_id":"1352054009","filename":"file1"},{"photo_id":"1352054005","filename":"file0"},{"photo_id":"1352054014","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352054009":["hashtag1","hashtag2"]},{"1352054014":["hashtag1","hashtag2"]},{"1352054005":["hashtag1","hashtag2"]},{"1352054016":["hashtag1","hashtag2"]},{"1352054018":["hashtag1","hashtag2"]},{"1352054012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352054009, 1352054014, 1352054005, 1352054016, 1352054018, 1352054012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70832180976868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:04:32.413419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_46_10360.jpg', '/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_56_10377.jpg', '/home/pi/Desktop/images/12042025/00/06/image_12042025_00_07_05_9469.jpg', '/home/pi/Desktop/images/12042025/00/07/image_12042025_00_07_16_10369.jpg', '/home/pi/Desktop/images/12042025/00/07/image_12042025_00_07_25_9425.jpg', '/home/pi/Desktop/images/12042025/00/07/image_12042025_00_07_36_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_46_10360.jpg
/home/pi/Desktop/images/12042025/00/06/image_12042025_00_06_56_10377.jpg
/home/pi/Desktop/images/12042025/00/06/image_12042025_00_07_05_9469.jpg
/home/pi/Desktop/images/12042025/00/07/image_12042025_00_07_16_10369.jpg
/home/pi/Desktop/images/12042025/00/07/image_12042025_00_07_25_9425.jpg
/home/pi/Desktop/images/12042025/00/07/image_12042025_00_07_36_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352054062","1352054047","1352054049","1352054058","1352054046","1352054054"],"photo_ids_order":["1352054046","1352054047","1352054049","1352054054","1352054058","1352054062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db0c1453485edf91898a2e96d0fc5e41.jpg","text":"TemporaryFile(/tmp/multipartBody5260718168128401188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423532956,"filename":"image_12042025_00_07_36_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6921762fe9e32ee8d455ca02c9148f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2361713265117170845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423532956,"filename":"image_12042025_00_06_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c6c09110c13b14cad32627de9e22790.jpg","text":"TemporaryFile(/tmp/multipartBody4148741931532388607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423532956,"filename":"image_12042025_00_07_05_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b43a2acef8ab1ef87e12dcfef05d3ba4.jpg","text":"TemporaryFile(/tmp/multipartBody387429003380634807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423532956,"filename":"image_12042025_00_07_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be274b5436bc42fa5ac896996435be26.jpg","text":"TemporaryFile(/tmp/multipartBody5699199700226281374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423532956,"filename":"image_12042025_00_06_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5db2e7a3d68ebc35be12337b959b1916.jpg","text":"TemporaryFile(/tmp/multipartBody2205987815697595978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423532956,"filename":"image_12042025_00_07_16_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352054049","file1":"1352054047","file0":"1352054046","file4":"1352054058","file5":"1352054062","file3":"1352054054"},"map_files_photo_id_array":[{"photo_id":"1352054062","filename":"file5"},{"photo_id":"1352054049","filename":"file2"},{"photo_id":"1352054058","filename":"file4"},{"photo_id":"1352054047","filename":"file1"},{"photo_id":"1352054046","filename":"file0"},{"photo_id":"1352054054","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352054062":["hashtag1","hashtag2"]},{"1352054047":["hashtag1","hashtag2"]},{"1352054049":["hashtag1","hashtag2"]},{"1352054058":["hashtag1","hashtag2"]},{"1352054046":["hashtag1","hashtag2"]},{"1352054054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352054062, 1352054047, 1352054049, 1352054058, 1352054046, 1352054054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28430151939392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:05:32.671239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/07/image_12042025_00_07_46_10356.jpg', '/home/pi/Desktop/images/12042025/00/08/image_12042025_00_08_16_10359.jpg', '/home/pi/Desktop/images/12042025/00/08/image_12042025_00_08_25_9354.jpg', '/home/pi/Desktop/images/12042025/00/08/image_12042025_00_08_56_10430.jpg', '/home/pi/Desktop/images/12042025/00/08/image_12042025_00_09_06_10355.jpg', '/home/pi/Desktop/images/12042025/00/09/image_12042025_00_09_15_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/07/image_12042025_00_07_46_10356.jpg
/home/pi/Desktop/images/12042025/00/08/image_12042025_00_08_16_10359.jpg
/home/pi/Desktop/images/12042025/00/08/image_12042025_00_08_25_9354.jpg
/home/pi/Desktop/images/12042025/00/08/image_12042025_00_08_56_10430.jpg
/home/pi/Desktop/images/12042025/00/08/image_12042025_00_09_06_10355.jpg
/home/pi/Desktop/images/12042025/00/09/image_12042025_00_09_15_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352054085","1352054097","1352054082","1352054090","1352054093","1352054087"],"photo_ids_order":["1352054082","1352054085","1352054087","1352054090","1352054093","1352054097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c738b3d2237e599b335d2d7dbc27cd4.jpg","text":"TemporaryFile(/tmp/multipartBody9027598326197968429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423593152,"filename":"image_12042025_00_08_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c47c8b77f226cf439eb21373fda8bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1085206971521349417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423593152,"filename":"image_12042025_00_09_15_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/366b756eb0f3bea4dde95e388b07c7fc.jpg","text":"TemporaryFile(/tmp/multipartBody1622632696028831765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423593152,"filename":"image_12042025_00_07_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2de8dafb46bb69177ebe8644bde03336.jpg","text":"TemporaryFile(/tmp/multipartBody3512721441409848323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423593152,"filename":"image_12042025_00_08_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3c215e8b7db0f2f7a4188e77459c3f8.jpg","text":"TemporaryFile(/tmp/multipartBody5816445492229465679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423593152,"filename":"image_12042025_00_09_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/81679ebf8d06c45d148728d07c056ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5489687559697026686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423593152,"filename":"image_12042025_00_08_25_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352054087","file1":"1352054085","file0":"1352054082","file4":"1352054093","file5":"1352054097","file3":"1352054090"},"map_files_photo_id_array":[{"photo_id":"1352054097","filename":"file5"},{"photo_id":"1352054087","filename":"file2"},{"photo_id":"1352054093","filename":"file4"},{"photo_id":"1352054085","filename":"file1"},{"photo_id":"1352054082","filename":"file0"},{"photo_id":"1352054090","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352054085":["hashtag1","hashtag2"]},{"1352054097":["hashtag1","hashtag2"]},{"1352054082":["hashtag1","hashtag2"]},{"1352054090":["hashtag1","hashtag2"]},{"1352054093":["hashtag1","hashtag2"]},{"1352054087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352054085, 1352054097, 1352054082, 1352054090, 1352054093, 1352054087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.889612436294556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:06:32.888501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/09/image_12042025_00_09_26_10364.jpg', '/home/pi/Desktop/images/12042025/00/09/image_12042025_00_09_35_9435.jpg', '/home/pi/Desktop/images/12042025/00/09/image_12042025_00_09_46_10357.jpg', '/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_16_10390.jpg', '/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_26_10378.jpg', '/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_36_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/09/image_12042025_00_09_26_10364.jpg
/home/pi/Desktop/images/12042025/00/09/image_12042025_00_09_35_9435.jpg
/home/pi/Desktop/images/12042025/00/09/image_12042025_00_09_46_10357.jpg
/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_16_10390.jpg
/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_26_10378.jpg
/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_36_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352054128","1352054133","1352054435","1352054429","1352054414","1352054417"],"photo_ids_order":["1352054128","1352054133","1352054414","1352054417","1352054429","1352054435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0648c9328b0c7f376ab3fecc5e02237.jpg","text":"TemporaryFile(/tmp/multipartBody7223634413718231168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423653365,"filename":"image_12042025_00_09_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b5341a3e54f6da9e1babab343f3ccff.jpg","text":"TemporaryFile(/tmp/multipartBody5480490560577605872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423653365,"filename":"image_12042025_00_09_35_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b50dd77ec9b66d45c24afc65cf9c69a8.jpg","text":"TemporaryFile(/tmp/multipartBody2775350093723526244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423653365,"filename":"image_12042025_00_10_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b254c1301e4cefb58159c0ecf25e9da5.jpg","text":"TemporaryFile(/tmp/multipartBody885794172402720914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423653365,"filename":"image_12042025_00_10_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef2b73eff002ec7d202d7fd36407c270.jpg","text":"TemporaryFile(/tmp/multipartBody4949210422059710971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423653365,"filename":"image_12042025_00_09_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fd1a4f593e677271b7991540331bf9a.jpg","text":"TemporaryFile(/tmp/multipartBody8345181020421155656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423653365,"filename":"image_12042025_00_10_16_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352054414","file1":"1352054133","file0":"1352054128","file4":"1352054429","file5":"1352054435","file3":"1352054417"},"map_files_photo_id_array":[{"photo_id":"1352054435","filename":"file5"},{"photo_id":"1352054414","filename":"file2"},{"photo_id":"1352054429","filename":"file4"},{"photo_id":"1352054133","filename":"file1"},{"photo_id":"1352054128","filename":"file0"},{"photo_id":"1352054417","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352054128":["hashtag1","hashtag2"]},{"1352054133":["hashtag1","hashtag2"]},{"1352054435":["hashtag1","hashtag2"]},{"1352054429":["hashtag1","hashtag2"]},{"1352054414":["hashtag1","hashtag2"]},{"1352054417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352054128, 1352054133, 1352054435, 1352054429, 1352054414, 1352054417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.77123808860779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:07:33.061837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_46_10358.jpg', '/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_55_9469.jpg', '/home/pi/Desktop/images/12042025/00/11/image_12042025_00_12_05_9424.jpg', '/home/pi/Desktop/images/12042025/00/12/image_12042025_00_12_16_10377.jpg', '/home/pi/Desktop/images/12042025/00/12/image_12042025_00_12_26_10359.jpg', '/home/pi/Desktop/images/12042025/00/12/image_12042025_00_12_35_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_46_10358.jpg
/home/pi/Desktop/images/12042025/00/10/image_12042025_00_10_55_9469.jpg
/home/pi/Desktop/images/12042025/00/11/image_12042025_00_12_05_9424.jpg
/home/pi/Desktop/images/12042025/00/12/image_12042025_00_12_16_10377.jpg
/home/pi/Desktop/images/12042025/00/12/image_12042025_00_12_26_10359.jpg
/home/pi/Desktop/images/12042025/00/12/image_12042025_00_12_35_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352054761","1352054631","1352054802","1352054789","1352054831","1352054708"],"photo_ids_order":["1352054631","1352054708","1352054761","1352054789","1352054802","1352054831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6c18cd973718f06f6fbfc14adb2656a.jpg","text":"TemporaryFile(/tmp/multipartBody213779716942050043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423713532,"filename":"image_12042025_00_12_05_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58405e1ef80605537c93a7fd7dc09574.jpg","text":"TemporaryFile(/tmp/multipartBody4596243954467551416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423713532,"filename":"image_12042025_00_10_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9998bd7e93d9ea2836fae5648a849082.jpg","text":"TemporaryFile(/tmp/multipartBody7820557839475182550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423713532,"filename":"image_12042025_00_12_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7643ad61e30ba0cd1ce3cdc545ce27f9.jpg","text":"TemporaryFile(/tmp/multipartBody6929855864714526428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423713532,"filename":"image_12042025_00_12_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73f1df0b1dcf44b48bf3d5272d77864e.jpg","text":"TemporaryFile(/tmp/multipartBody7326332119567922363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423713532,"filename":"image_12042025_00_12_35_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2ca0d06dd1b95902919587e2712ce24.jpg","text":"TemporaryFile(/tmp/multipartBody7378640139324306740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423713532,"filename":"image_12042025_00_10_55_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352054761","file1":"1352054708","file0":"1352054631","file4":"1352054802","file5":"1352054831","file3":"1352054789"},"map_files_photo_id_array":[{"photo_id":"1352054831","filename":"file5"},{"photo_id":"1352054761","filename":"file2"},{"photo_id":"1352054802","filename":"file4"},{"photo_id":"1352054708","filename":"file1"},{"photo_id":"1352054631","filename":"file0"},{"photo_id":"1352054789","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352054761":["hashtag1","hashtag2"]},{"1352054631":["hashtag1","hashtag2"]},{"1352054802":["hashtag1","hashtag2"]},{"1352054789":["hashtag1","hashtag2"]},{"1352054831":["hashtag1","hashtag2"]},{"1352054708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352054761, 1352054631, 1352054802, 1352054789, 1352054831, 1352054708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.42637062072754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:08:32.248132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/12/image_12042025_00_12_46_10362.jpg', '/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_16_10370.jpg', '/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_25_9354.jpg', '/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_36_10364.jpg', '/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_46_10388.jpg', '/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_55_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/12/image_12042025_00_12_46_10362.jpg
/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_16_10370.jpg
/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_25_9354.jpg
/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_36_10364.jpg
/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_46_10388.jpg
/home/pi/Desktop/images/12042025/00/13/image_12042025_00_13_55_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352055100","1352055022","1352055074","1352055047","1352055122","1352054989"],"photo_ids_order":["1352054989","1352055022","1352055047","1352055074","1352055100","1352055122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0dd1200d2c13b8ba163c190ce8446427.jpg","text":"TemporaryFile(/tmp/multipartBody766698315207629954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423772735,"filename":"image_12042025_00_13_46_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f66be71618c708e6e08678bd1efbcd1.jpg","text":"TemporaryFile(/tmp/multipartBody9079892475644234353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423772735,"filename":"image_12042025_00_13_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b82e811695e8d2000726dfad330e9dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2514509465756797784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423772735,"filename":"image_12042025_00_13_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf33e694b8b85c30d1609d0dee35b668.jpg","text":"TemporaryFile(/tmp/multipartBody5148145054358680596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423772735,"filename":"image_12042025_00_13_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6949feb8898a2f7db9c7bdc06bed4e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8103891709413070500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423772735,"filename":"image_12042025_00_13_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97baa3c117a70803e7df1f7919d366c5.jpg","text":"TemporaryFile(/tmp/multipartBody592821109103447163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423772735,"filename":"image_12042025_00_12_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352055047","file1":"1352055022","file0":"1352054989","file4":"1352055100","file5":"1352055122","file3":"1352055074"},"map_files_photo_id_array":[{"photo_id":"1352055122","filename":"file5"},{"photo_id":"1352055047","filename":"file2"},{"photo_id":"1352055100","filename":"file4"},{"photo_id":"1352055022","filename":"file1"},{"photo_id":"1352054989","filename":"file0"},{"photo_id":"1352055074","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352055100":["hashtag1","hashtag2"]},{"1352055022":["hashtag1","hashtag2"]},{"1352055074":["hashtag1","hashtag2"]},{"1352055047":["hashtag1","hashtag2"]},{"1352055122":["hashtag1","hashtag2"]},{"1352054989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352055100, 1352055022, 1352055074, 1352055047, 1352055122, 1352054989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.32960224151611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:09:32.423563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/13/image_12042025_00_14_06_10406.jpg', '/home/pi/Desktop/images/12042025/00/14/image_12042025_00_14_15_9471.jpg', '/home/pi/Desktop/images/12042025/00/14/image_12042025_00_14_26_10447.jpg', '/home/pi/Desktop/images/12042025/00/14/image_12042025_00_14_35_9497.jpg', '/home/pi/Desktop/images/12042025/00/14/image_12042025_00_14_46_10463.jpg', '/home/pi/Desktop/images/12042025/00/14/image_12042025_00_15_06_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/13/image_12042025_00_14_06_10406.jpg
/home/pi/Desktop/images/12042025/00/14/image_12042025_00_14_15_9471.jpg
/home/pi/Desktop/images/12042025/00/14/image_12042025_00_14_26_10447.jpg
/home/pi/Desktop/images/12042025/00/14/image_12042025_00_14_35_9497.jpg
/home/pi/Desktop/images/12042025/00/14/image_12042025_00_14_46_10463.jpg
/home/pi/Desktop/images/12042025/00/14/image_12042025_00_15_06_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352055406","1352055695","1352055461","1352055656","1352055365","1352055580"],"photo_ids_order":["1352055365","1352055406","1352055461","1352055580","1352055656","1352055695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2a7c986889388d91a6e29601facbc5f.jpg","text":"TemporaryFile(/tmp/multipartBody6070341348483727155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423832902,"filename":"image_12042025_00_14_15_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efc309d0616cf5519d4eb58d86a5ee89.jpg","text":"TemporaryFile(/tmp/multipartBody4213476073791209158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423832902,"filename":"image_12042025_00_15_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5d1ffa0dd08877503de93faf5955898.jpg","text":"TemporaryFile(/tmp/multipartBody7547682516439719377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423832902,"filename":"image_12042025_00_14_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1844198a013ea5585135a91f3689550.jpg","text":"TemporaryFile(/tmp/multipartBody4370568040856850074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423832902,"filename":"image_12042025_00_14_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab49d23f7861268fb6df14f168dd6da2.jpg","text":"TemporaryFile(/tmp/multipartBody6626340248192116008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423832902,"filename":"image_12042025_00_14_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e234321480b20d32d063c0bf92e9bb3a.jpg","text":"TemporaryFile(/tmp/multipartBody9151823247117271684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423832902,"filename":"image_12042025_00_14_35_9497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352055461","file1":"1352055406","file0":"1352055365","file4":"1352055656","file5":"1352055695","file3":"1352055580"},"map_files_photo_id_array":[{"photo_id":"1352055695","filename":"file5"},{"photo_id":"1352055461","filename":"file2"},{"photo_id":"1352055656","filename":"file4"},{"photo_id":"1352055406","filename":"file1"},{"photo_id":"1352055365","filename":"file0"},{"photo_id":"1352055580","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352055406":["hashtag1","hashtag2"]},{"1352055695":["hashtag1","hashtag2"]},{"1352055461":["hashtag1","hashtag2"]},{"1352055656":["hashtag1","hashtag2"]},{"1352055365":["hashtag1","hashtag2"]},{"1352055580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352055406, 1352055695, 1352055461, 1352055656, 1352055365, 1352055580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.66549515724182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:10:32.589110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/15/image_12042025_00_15_16_10372.jpg', '/home/pi/Desktop/images/12042025/00/15/image_12042025_00_15_46_10504.jpg', '/home/pi/Desktop/images/12042025/00/15/image_12042025_00_15_56_9370.jpg', '/home/pi/Desktop/images/12042025/00/15/image_12042025_00_16_06_10436.jpg', '/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_15_9386.jpg', '/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_26_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/15/image_12042025_00_15_16_10372.jpg
/home/pi/Desktop/images/12042025/00/15/image_12042025_00_15_46_10504.jpg
/home/pi/Desktop/images/12042025/00/15/image_12042025_00_15_56_9370.jpg
/home/pi/Desktop/images/12042025/00/15/image_12042025_00_16_06_10436.jpg
/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_15_9386.jpg
/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_26_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056029","1352056005","1352055962","1352055979","1352055940","1352056074"],"photo_ids_order":["1352055940","1352055962","1352055979","1352056005","1352056029","1352056074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9445c95d717c814bcc1bcff54855ee58.jpg","text":"TemporaryFile(/tmp/multipartBody504054945334970365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423893227,"filename":"image_12042025_00_16_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b32c0305eecff968957318e57d19895d.jpg","text":"TemporaryFile(/tmp/multipartBody7499050266513347368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423893227,"filename":"image_12042025_00_16_06_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ca8f6e44de1be5552d20bb62a79e381.jpg","text":"TemporaryFile(/tmp/multipartBody7768184708385198402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423893227,"filename":"image_12042025_00_15_46_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f393768c8699698824de75c1235fd42f.jpg","text":"TemporaryFile(/tmp/multipartBody1364381566427552128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423893227,"filename":"image_12042025_00_15_56_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/214f7dd890a4b635a437502579762485.jpg","text":"TemporaryFile(/tmp/multipartBody8030900651333027476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423893227,"filename":"image_12042025_00_15_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3e614d067c1c34157a728e29767ee85.jpg","text":"TemporaryFile(/tmp/multipartBody4734679010421542356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423893227,"filename":"image_12042025_00_16_26_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352055979","file1":"1352055962","file0":"1352055940","file4":"1352056029","file5":"1352056074","file3":"1352056005"},"map_files_photo_id_array":[{"photo_id":"1352056074","filename":"file5"},{"photo_id":"1352055979","filename":"file2"},{"photo_id":"1352056029","filename":"file4"},{"photo_id":"1352055962","filename":"file1"},{"photo_id":"1352055940","filename":"file0"},{"photo_id":"1352056005","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352056029":["hashtag1","hashtag2"]},{"1352056005":["hashtag1","hashtag2"]},{"1352055962":["hashtag1","hashtag2"]},{"1352055979":["hashtag1","hashtag2"]},{"1352055940":["hashtag1","hashtag2"]},{"1352056074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352056029, 1352056005, 1352055962, 1352055979, 1352055940, 1352056074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.159974575042725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:11:32.902403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_35_9429.jpg', '/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_46_10372.jpg', '/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_56_10387.jpg', '/home/pi/Desktop/images/12042025/00/16/image_12042025_00_17_05_9452.jpg', '/home/pi/Desktop/images/12042025/00/17/image_12042025_00_17_25_9483.jpg', '/home/pi/Desktop/images/12042025/00/17/image_12042025_00_17_46_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_35_9429.jpg
/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_46_10372.jpg
/home/pi/Desktop/images/12042025/00/16/image_12042025_00_16_56_10387.jpg
/home/pi/Desktop/images/12042025/00/16/image_12042025_00_17_05_9452.jpg
/home/pi/Desktop/images/12042025/00/17/image_12042025_00_17_25_9483.jpg
/home/pi/Desktop/images/12042025/00/17/image_12042025_00_17_46_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352056772","1352056611","1352056477","1352056441","1352056546","1352056683"],"photo_ids_order":["1352056441","1352056477","1352056546","1352056611","1352056683","1352056772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86c81ddb82c96c0fd8ce3844ea661e67.jpg","text":"TemporaryFile(/tmp/multipartBody1766272123558894790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423953461,"filename":"image_12042025_00_17_46_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c812c74fb5c747dcb8f7382a590e0957.jpg","text":"TemporaryFile(/tmp/multipartBody1883648334104478088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423953461,"filename":"image_12042025_00_17_05_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e1ebf2eb5c8930d7fce934b685f1915.jpg","text":"TemporaryFile(/tmp/multipartBody3170398040180766195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423953461,"filename":"image_12042025_00_16_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37010e02073d76e7a936f9e733dd0e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3433913084457313893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423953461,"filename":"image_12042025_00_16_35_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e31642f6149ccc22b030c978a1cbe62b.jpg","text":"TemporaryFile(/tmp/multipartBody2466407210166106809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423953461,"filename":"image_12042025_00_16_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f70ce2d9ddf3665eacc464d827e322e2.jpg","text":"TemporaryFile(/tmp/multipartBody865806090806936150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744423953461,"filename":"image_12042025_00_17_25_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352056546","file1":"1352056477","file0":"1352056441","file4":"1352056683","file5":"1352056772","file3":"1352056611"},"map_files_photo_id_array":[{"photo_id":"1352056772","filename":"file5"},{"photo_id":"1352056546","filename":"file2"},{"photo_id":"1352056683","filename":"file4"},{"photo_id":"1352056477","filename":"file1"},{"photo_id":"1352056441","filename":"file0"},{"photo_id":"1352056611","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352056772":["hashtag1","hashtag2"]},{"1352056611":["hashtag1","hashtag2"]},{"1352056477":["hashtag1","hashtag2"]},{"1352056441":["hashtag1","hashtag2"]},{"1352056546":["hashtag1","hashtag2"]},{"1352056683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352056772, 1352056611, 1352056477, 1352056441, 1352056546, 1352056683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9195716381073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:12:33.140917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/17/image_12042025_00_17_55_9426.jpg', '/home/pi/Desktop/images/12042025/00/17/image_12042025_00_18_06_10369.jpg', '/home/pi/Desktop/images/12042025/00/18/image_12042025_00_18_46_9466.jpg', '/home/pi/Desktop/images/12042025/00/19/image_12042025_00_19_36_10390.jpg', '/home/pi/Desktop/images/12042025/00/19/image_12042025_00_19_46_10363.jpg', '/home/pi/Desktop/images/12042025/00/19/image_12042025_00_20_06_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/17/image_12042025_00_17_55_9426.jpg
/home/pi/Desktop/images/12042025/00/17/image_12042025_00_18_06_10369.jpg
/home/pi/Desktop/images/12042025/00/18/image_12042025_00_18_46_9466.jpg
/home/pi/Desktop/images/12042025/00/19/image_12042025_00_19_36_10390.jpg
/home/pi/Desktop/images/12042025/00/19/image_12042025_00_19_46_10363.jpg
/home/pi/Desktop/images/12042025/00/19/image_12042025_00_20_06_10365.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39039158821105957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 04:12:43.058492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/17/image_12042025_00_17_55_9426.jpg', '/home/pi/Desktop/images/12042025/00/17/image_12042025_00_18_06_10369.jpg', '/home/pi/Desktop/images/12042025/00/18/image_12042025_00_18_46_9466.jpg', '/home/pi/Desktop/images/12042025/00/19/image_12042025_00_19_36_10390.jpg', '/home/pi/Desktop/images/12042025/00/19/image_12042025_00_19_46_10363.jpg', '/home/pi/Desktop/images/12042025/00/19/image_12042025_00_20_06_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/17/image_12042025_00_17_55_9426.jpg
/home/pi/Desktop/images/12042025/00/17/image_12042025_00_18_06_10369.jpg
/home/pi/Desktop/images/12042025/00/18/image_12042025_00_18_46_9466.jpg
/home/pi/Desktop/images/12042025/00/19/image_12042025_00_19_36_10390.jpg
/home/pi/Desktop/images/12042025/00/19/image_12042025_00_19_46_10363.jpg
/home/pi/Desktop/images/12042025/00/19/image_12042025_00_20_06_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057342","1352057423","1352057273","1352057312","1352057353","1352057379"],"photo_ids_order":["1352057273","1352057312","1352057342","1352057353","1352057379","1352057423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/099cb6be65844bb4232c1ce2e8881e26.jpg","text":"TemporaryFile(/tmp/multipartBody4281299868103703818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424023532,"filename":"image_12042025_00_18_46_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a1f4cf905fbeddcf73e0117c9739b98.jpg","text":"TemporaryFile(/tmp/multipartBody2878504913341612428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424023532,"filename":"image_12042025_00_20_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff8fa4c8a56471f868516e84c7ef4543.jpg","text":"TemporaryFile(/tmp/multipartBody8201442839462042408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424023532,"filename":"image_12042025_00_17_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce16ddbd4127441ed319abc0cc16eb95.jpg","text":"TemporaryFile(/tmp/multipartBody908813564672196579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424023532,"filename":"image_12042025_00_18_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86f276e8d5179d4ee7b79ff480439e05.jpg","text":"TemporaryFile(/tmp/multipartBody8927682241433126517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424023532,"filename":"image_12042025_00_19_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4e5e010b8cb98a33de99ee41bbcc78e.jpg","text":"TemporaryFile(/tmp/multipartBody6140033135555349227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424023532,"filename":"image_12042025_00_19_46_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057342","file1":"1352057312","file0":"1352057273","file4":"1352057379","file5":"1352057423","file3":"1352057353"},"map_files_photo_id_array":[{"photo_id":"1352057423","filename":"file5"},{"photo_id":"1352057342","filename":"file2"},{"photo_id":"1352057379","filename":"file4"},{"photo_id":"1352057312","filename":"file1"},{"photo_id":"1352057273","filename":"file0"},{"photo_id":"1352057353","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352057342":["hashtag1","hashtag2"]},{"1352057423":["hashtag1","hashtag2"]},{"1352057273":["hashtag1","hashtag2"]},{"1352057312":["hashtag1","hashtag2"]},{"1352057353":["hashtag1","hashtag2"]},{"1352057379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352057342, 1352057423, 1352057273, 1352057312, 1352057353, 1352057379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55056977272034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:13:32.335336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/20/image_12042025_00_20_36_10384.jpg', '/home/pi/Desktop/images/12042025/00/20/image_12042025_00_20_45_9365.jpg', '/home/pi/Desktop/images/12042025/00/20/image_12042025_00_20_56_10424.jpg', '/home/pi/Desktop/images/12042025/00/20/image_12042025_00_21_05_9435.jpg', '/home/pi/Desktop/images/12042025/00/21/image_12042025_00_21_16_10402.jpg', '/home/pi/Desktop/images/12042025/00/21/image_12042025_00_21_26_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/20/image_12042025_00_20_36_10384.jpg
/home/pi/Desktop/images/12042025/00/20/image_12042025_00_20_45_9365.jpg
/home/pi/Desktop/images/12042025/00/20/image_12042025_00_20_56_10424.jpg
/home/pi/Desktop/images/12042025/00/20/image_12042025_00_21_05_9435.jpg
/home/pi/Desktop/images/12042025/00/21/image_12042025_00_21_16_10402.jpg
/home/pi/Desktop/images/12042025/00/21/image_12042025_00_21_26_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352057811","1352057690","1352057726","1352057761","1352057662","1352057632"],"photo_ids_order":["1352057632","1352057662","1352057690","1352057726","1352057761","1352057811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3f308a7f98c25a4ce9b568eda063fa2.jpg","text":"TemporaryFile(/tmp/multipartBody5946479093242380569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424073169,"filename":"image_12042025_00_21_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86ffa7e8497a912df7eb48c89748e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody6841160194989692417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424073169,"filename":"image_12042025_00_20_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ef20751384c1a17cf7da6a6e8bd2e77.jpg","text":"TemporaryFile(/tmp/multipartBody6172360138108047326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424073169,"filename":"image_12042025_00_21_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f147c247e8b34e21edd53d93b75c470.jpg","text":"TemporaryFile(/tmp/multipartBody2651507742784280963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424073169,"filename":"image_12042025_00_21_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c01796d5bed1f0078cf7c9330f88e1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1790238680183816101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424073169,"filename":"image_12042025_00_20_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a1687887139e66e9327758d6d5648b8.jpg","text":"TemporaryFile(/tmp/multipartBody3482261012778096313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424073169,"filename":"image_12042025_00_20_36_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352057690","file1":"1352057662","file0":"1352057632","file4":"1352057761","file5":"1352057811","file3":"1352057726"},"map_files_photo_id_array":[{"photo_id":"1352057811","filename":"file5"},{"photo_id":"1352057690","filename":"file2"},{"photo_id":"1352057761","filename":"file4"},{"photo_id":"1352057662","filename":"file1"},{"photo_id":"1352057632","filename":"file0"},{"photo_id":"1352057726","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352057811":["hashtag1","hashtag2"]},{"1352057690":["hashtag1","hashtag2"]},{"1352057726":["hashtag1","hashtag2"]},{"1352057761":["hashtag1","hashtag2"]},{"1352057662":["hashtag1","hashtag2"]},{"1352057632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352057811, 1352057690, 1352057726, 1352057761, 1352057662, 1352057632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79867601394653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:14:32.417130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/21/image_12042025_00_21_46_10372.jpg', '/home/pi/Desktop/images/12042025/00/21/image_12042025_00_22_06_10384.jpg', '/home/pi/Desktop/images/12042025/00/22/image_12042025_00_22_36_10392.jpg', '/home/pi/Desktop/images/12042025/00/22/image_12042025_00_22_45_9464.jpg', '/home/pi/Desktop/images/12042025/00/22/image_12042025_00_22_56_10408.jpg', '/home/pi/Desktop/images/12042025/00/22/image_12042025_00_23_06_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/21/image_12042025_00_21_46_10372.jpg
/home/pi/Desktop/images/12042025/00/21/image_12042025_00_22_06_10384.jpg
/home/pi/Desktop/images/12042025/00/22/image_12042025_00_22_36_10392.jpg
/home/pi/Desktop/images/12042025/00/22/image_12042025_00_22_45_9464.jpg
/home/pi/Desktop/images/12042025/00/22/image_12042025_00_22_56_10408.jpg
/home/pi/Desktop/images/12042025/00/22/image_12042025_00_23_06_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352058143","1352058232","1352058180","1352058273","1352058255","1352058204"],"photo_ids_order":["1352058143","1352058180","1352058204","1352058232","1352058255","1352058273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11fd4a452e247ca3a55b19d9cbfe5432.jpg","text":"TemporaryFile(/tmp/multipartBody2115244291635738843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424133077,"filename":"image_12042025_00_21_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c505b216eaec0f14019be9ebf9063f41.jpg","text":"TemporaryFile(/tmp/multipartBody6783730524246665781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424133077,"filename":"image_12042025_00_22_45_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57123f12faf7206289985f38ab2ffd96.jpg","text":"TemporaryFile(/tmp/multipartBody8464270059587608825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424133077,"filename":"image_12042025_00_22_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2684664a7622aca434bb1f6536c2a9b1.jpg","text":"TemporaryFile(/tmp/multipartBody5679343928974194174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424133077,"filename":"image_12042025_00_23_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67b990b785af9389be4851891f51eec3.jpg","text":"TemporaryFile(/tmp/multipartBody2034052167387997525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424133077,"filename":"image_12042025_00_22_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98caf6250d8875cdab0001cb6bfa7b03.jpg","text":"TemporaryFile(/tmp/multipartBody7206747916988372000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424133077,"filename":"image_12042025_00_22_36_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352058204","file1":"1352058180","file0":"1352058143","file4":"1352058255","file5":"1352058273","file3":"1352058232"},"map_files_photo_id_array":[{"photo_id":"1352058273","filename":"file5"},{"photo_id":"1352058204","filename":"file2"},{"photo_id":"1352058255","filename":"file4"},{"photo_id":"1352058180","filename":"file1"},{"photo_id":"1352058143","filename":"file0"},{"photo_id":"1352058232","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352058143":["hashtag1","hashtag2"]},{"1352058232":["hashtag1","hashtag2"]},{"1352058180":["hashtag1","hashtag2"]},{"1352058273":["hashtag1","hashtag2"]},{"1352058255":["hashtag1","hashtag2"]},{"1352058204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352058143, 1352058232, 1352058180, 1352058273, 1352058255, 1352058204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.182382345199585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:15:32.629525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/23/image_12042025_00_23_26_10358.jpg', '/home/pi/Desktop/images/12042025/00/23/image_12042025_00_23_35_9484.jpg', '/home/pi/Desktop/images/12042025/00/23/image_12042025_00_23_46_10387.jpg', '/home/pi/Desktop/images/12042025/00/23/image_12042025_00_24_06_10434.jpg', '/home/pi/Desktop/images/12042025/00/24/image_12042025_00_24_16_10376.jpg', '/home/pi/Desktop/images/12042025/00/24/image_12042025_00_24_25_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/23/image_12042025_00_23_26_10358.jpg
/home/pi/Desktop/images/12042025/00/23/image_12042025_00_23_35_9484.jpg
/home/pi/Desktop/images/12042025/00/23/image_12042025_00_23_46_10387.jpg
/home/pi/Desktop/images/12042025/00/23/image_12042025_00_24_06_10434.jpg
/home/pi/Desktop/images/12042025/00/24/image_12042025_00_24_16_10376.jpg
/home/pi/Desktop/images/12042025/00/24/image_12042025_00_24_25_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352058743","1352058668","1352058647","1352058547","1352058714","1352058606"],"photo_ids_order":["1352058547","1352058606","1352058647","1352058668","1352058714","1352058743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4365e013e7e3f8a5b25a24bc979ce908.jpg","text":"TemporaryFile(/tmp/multipartBody4246493498732389641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424193097,"filename":"image_12042025_00_24_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8510b47a11051086155f72d04ca3147c.jpg","text":"TemporaryFile(/tmp/multipartBody8821569420441385098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424193097,"filename":"image_12042025_00_24_06_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/765bbadfdfd2ad521df91df6ba83fd8e.jpg","text":"TemporaryFile(/tmp/multipartBody7731383189469993347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424193097,"filename":"image_12042025_00_23_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff99a2288819318448c8b4a5d1a79fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8535675734076027544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424193097,"filename":"image_12042025_00_23_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7089ddb0cb8f1a65aa65901d29bcacbb.jpg","text":"TemporaryFile(/tmp/multipartBody4936596959806000724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424193097,"filename":"image_12042025_00_24_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76073a24a8b85b7e521db5c86be9e569.jpg","text":"TemporaryFile(/tmp/multipartBody8536523054543415246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424193097,"filename":"image_12042025_00_23_35_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352058647","file1":"1352058606","file0":"1352058547","file4":"1352058714","file5":"1352058743","file3":"1352058668"},"map_files_photo_id_array":[{"photo_id":"1352058743","filename":"file5"},{"photo_id":"1352058647","filename":"file2"},{"photo_id":"1352058714","filename":"file4"},{"photo_id":"1352058606","filename":"file1"},{"photo_id":"1352058547","filename":"file0"},{"photo_id":"1352058668","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352058743":["hashtag1","hashtag2"]},{"1352058668":["hashtag1","hashtag2"]},{"1352058647":["hashtag1","hashtag2"]},{"1352058547":["hashtag1","hashtag2"]},{"1352058714":["hashtag1","hashtag2"]},{"1352058606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352058743, 1352058668, 1352058647, 1352058547, 1352058714, 1352058606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.86502146720886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:16:33.000147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/24/image_12042025_00_25_06_10396.jpg', '/home/pi/Desktop/images/12042025/00/25/image_12042025_00_25_15_9357.jpg', '/home/pi/Desktop/images/12042025/00/25/image_12042025_00_25_26_10377.jpg', '/home/pi/Desktop/images/12042025/00/25/image_12042025_00_25_35_9511.jpg', '/home/pi/Desktop/images/12042025/00/25/image_12042025_00_25_56_10480.jpg', '/home/pi/Desktop/images/12042025/00/25/image_12042025_00_26_05_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/24/image_12042025_00_25_06_10396.jpg
/home/pi/Desktop/images/12042025/00/25/image_12042025_00_25_15_9357.jpg
/home/pi/Desktop/images/12042025/00/25/image_12042025_00_25_26_10377.jpg
/home/pi/Desktop/images/12042025/00/25/image_12042025_00_25_35_9511.jpg
/home/pi/Desktop/images/12042025/00/25/image_12042025_00_25_56_10480.jpg
/home/pi/Desktop/images/12042025/00/25/image_12042025_00_26_05_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352058929","1352058865","1352058874","1352058877","1352058835","1352058913"],"photo_ids_order":["1352058835","1352058865","1352058874","1352058877","1352058913","1352058929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b478d74d005504be934db6a0e55bbb5.jpg","text":"TemporaryFile(/tmp/multipartBody4588127602579571081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424253500,"filename":"image_12042025_00_26_05_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6864e16a54da381edecd28ac8639a108.jpg","text":"TemporaryFile(/tmp/multipartBody1490705916328479568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424253500,"filename":"image_12042025_00_25_15_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/197ab043f06a3bc93db7e00a41e1ae88.jpg","text":"TemporaryFile(/tmp/multipartBody1834719147588825554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424253500,"filename":"image_12042025_00_25_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7ceb91f42d410179c06bf9b14890dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5995750436772957812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424253500,"filename":"image_12042025_00_25_35_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77af0c9d1aa5b1b9eef93ff105e9ed90.jpg","text":"TemporaryFile(/tmp/multipartBody3370920692458144140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424253500,"filename":"image_12042025_00_25_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3d8a9d2ef23f5393bf15f73ca6cb4c9.jpg","text":"TemporaryFile(/tmp/multipartBody5333590036075032455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424253500,"filename":"image_12042025_00_25_56_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352058874","file1":"1352058865","file0":"1352058835","file4":"1352058913","file5":"1352058929","file3":"1352058877"},"map_files_photo_id_array":[{"photo_id":"1352058929","filename":"file5"},{"photo_id":"1352058874","filename":"file2"},{"photo_id":"1352058913","filename":"file4"},{"photo_id":"1352058865","filename":"file1"},{"photo_id":"1352058835","filename":"file0"},{"photo_id":"1352058877","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352058929":["hashtag1","hashtag2"]},{"1352058865":["hashtag1","hashtag2"]},{"1352058874":["hashtag1","hashtag2"]},{"1352058877":["hashtag1","hashtag2"]},{"1352058835":["hashtag1","hashtag2"]},{"1352058913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352058929, 1352058865, 1352058874, 1352058877, 1352058835, 1352058913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.715526819229126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:17:33.070147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_16_10251.jpg', '/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_26_10455.jpg', '/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_36_9383.jpg', '/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_46_10383.jpg', '/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_55_9472.jpg', '/home/pi/Desktop/images/12042025/00/26/image_12042025_00_27_06_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_16_10251.jpg
/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_26_10455.jpg
/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_36_9383.jpg
/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_46_10383.jpg
/home/pi/Desktop/images/12042025/00/26/image_12042025_00_26_55_9472.jpg
/home/pi/Desktop/images/12042025/00/26/image_12042025_00_27_06_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059072","1352059045","1352059149","1352059170","1352059196","1352059020"],"photo_ids_order":["1352059020","1352059045","1352059072","1352059149","1352059170","1352059196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be4ce6e22ad332af3018f1bc5be7fc5e.jpg","text":"TemporaryFile(/tmp/multipartBody2645336417856451108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424313544,"filename":"image_12042025_00_26_36_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afe4ababc646cd6e68469626cd9ecc3b.jpg","text":"TemporaryFile(/tmp/multipartBody1110081556621760646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424313544,"filename":"image_12042025_00_26_26_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbed5ec41a3bcf58fa54c169abd7312f.jpg","text":"TemporaryFile(/tmp/multipartBody1845154071329687421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424313544,"filename":"image_12042025_00_26_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/081e8b535d85b8df20564a63e064f9ba.jpg","text":"TemporaryFile(/tmp/multipartBody2184611036146296235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424313544,"filename":"image_12042025_00_26_55_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b8e256cd3fd7a6f9b68ccdc1aaaa296.jpg","text":"TemporaryFile(/tmp/multipartBody85171006938414901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424313544,"filename":"image_12042025_00_27_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d0d7122e336f30309061970628119c4.jpg","text":"TemporaryFile(/tmp/multipartBody1362751907221822567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424313544,"filename":"image_12042025_00_26_16_10251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059072","file1":"1352059045","file0":"1352059020","file4":"1352059170","file5":"1352059196","file3":"1352059149"},"map_files_photo_id_array":[{"photo_id":"1352059196","filename":"file5"},{"photo_id":"1352059072","filename":"file2"},{"photo_id":"1352059170","filename":"file4"},{"photo_id":"1352059045","filename":"file1"},{"photo_id":"1352059020","filename":"file0"},{"photo_id":"1352059149","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059072":["hashtag1","hashtag2"]},{"1352059045":["hashtag1","hashtag2"]},{"1352059149":["hashtag1","hashtag2"]},{"1352059170":["hashtag1","hashtag2"]},{"1352059196":["hashtag1","hashtag2"]},{"1352059020":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059072, 1352059045, 1352059149, 1352059170, 1352059196, 1352059020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.423744678497314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:18:32.232225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_15_9421.jpg', '/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_26_10457.jpg', '/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_36_10379.jpg', '/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_46_9471.jpg', '/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_56_10368.jpg', '/home/pi/Desktop/images/12042025/00/27/image_12042025_00_28_05_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_15_9421.jpg
/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_26_10457.jpg
/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_36_10379.jpg
/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_46_9471.jpg
/home/pi/Desktop/images/12042025/00/27/image_12042025_00_27_56_10368.jpg
/home/pi/Desktop/images/12042025/00/27/image_12042025_00_28_05_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059353","1352059347","1352059335","1352059350","1352059367","1352059340"],"photo_ids_order":["1352059335","1352059340","1352059347","1352059350","1352059353","1352059367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac29b9a34ad448de4a500fa3115e50ec.jpg","text":"TemporaryFile(/tmp/multipartBody1360826315489401961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424373122,"filename":"image_12042025_00_27_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a574235ef22f782cb3bef8310ddfc6d.jpg","text":"TemporaryFile(/tmp/multipartBody9180907355062991825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424373122,"filename":"image_12042025_00_27_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7c35af239f1d045e6a71280ae675b71.jpg","text":"TemporaryFile(/tmp/multipartBody3725545602105939250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424373122,"filename":"image_12042025_00_27_15_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5176b74b9d523e870bea3648fe82ec29.jpg","text":"TemporaryFile(/tmp/multipartBody2778372160751727247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424373122,"filename":"image_12042025_00_27_46_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea755d2e35fbd603022eb323aa8a7581.jpg","text":"TemporaryFile(/tmp/multipartBody6333187958533988883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424373122,"filename":"image_12042025_00_28_05_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efdcd53e58ba4736c0189b6e9f3240fa.jpg","text":"TemporaryFile(/tmp/multipartBody7380693567559894066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424373122,"filename":"image_12042025_00_27_26_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059347","file1":"1352059340","file0":"1352059335","file4":"1352059353","file5":"1352059367","file3":"1352059350"},"map_files_photo_id_array":[{"photo_id":"1352059367","filename":"file5"},{"photo_id":"1352059347","filename":"file2"},{"photo_id":"1352059353","filename":"file4"},{"photo_id":"1352059340","filename":"file1"},{"photo_id":"1352059335","filename":"file0"},{"photo_id":"1352059350","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059353":["hashtag1","hashtag2"]},{"1352059347":["hashtag1","hashtag2"]},{"1352059335":["hashtag1","hashtag2"]},{"1352059350":["hashtag1","hashtag2"]},{"1352059367":["hashtag1","hashtag2"]},{"1352059340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059353, 1352059347, 1352059335, 1352059350, 1352059367, 1352059340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9258759021759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:19:32.424537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/28/image_12042025_00_28_16_10375.jpg', '/home/pi/Desktop/images/12042025/00/28/image_12042025_00_28_26_10365.jpg', '/home/pi/Desktop/images/12042025/00/28/image_12042025_00_28_46_10369.jpg', '/home/pi/Desktop/images/12042025/00/28/image_12042025_00_28_55_9388.jpg', '/home/pi/Desktop/images/12042025/00/28/image_12042025_00_29_06_10433.jpg', '/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_16_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/28/image_12042025_00_28_16_10375.jpg
/home/pi/Desktop/images/12042025/00/28/image_12042025_00_28_26_10365.jpg
/home/pi/Desktop/images/12042025/00/28/image_12042025_00_28_46_10369.jpg
/home/pi/Desktop/images/12042025/00/28/image_12042025_00_28_55_9388.jpg
/home/pi/Desktop/images/12042025/00/28/image_12042025_00_29_06_10433.jpg
/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_16_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059537","1352059519","1352059572","1352059566","1352059494","1352059550"],"photo_ids_order":["1352059494","1352059519","1352059537","1352059550","1352059566","1352059572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/167c898f9d0095e1e02ee49c95841feb.jpg","text":"TemporaryFile(/tmp/multipartBody2454324588592329531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424432918,"filename":"image_12042025_00_28_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc2e470d39cd6c1b529da9f5ed9cd92b.jpg","text":"TemporaryFile(/tmp/multipartBody2025931230213714066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424432918,"filename":"image_12042025_00_28_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3597505d322f49d4dc7c2ae41067f9a1.jpg","text":"TemporaryFile(/tmp/multipartBody5151953060501012847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424432918,"filename":"image_12042025_00_29_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c34f3e31d2b5a736491261d742243e94.jpg","text":"TemporaryFile(/tmp/multipartBody1454147987651566205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424432918,"filename":"image_12042025_00_29_06_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acda5b9635326ec85124e4dfe24bb433.jpg","text":"TemporaryFile(/tmp/multipartBody1919044656694333324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424432918,"filename":"image_12042025_00_28_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/412e36beba65ace0b4db5045446e3015.jpg","text":"TemporaryFile(/tmp/multipartBody4025657372452463723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424432918,"filename":"image_12042025_00_28_55_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059537","file1":"1352059519","file0":"1352059494","file4":"1352059566","file5":"1352059572","file3":"1352059550"},"map_files_photo_id_array":[{"photo_id":"1352059572","filename":"file5"},{"photo_id":"1352059537","filename":"file2"},{"photo_id":"1352059566","filename":"file4"},{"photo_id":"1352059519","filename":"file1"},{"photo_id":"1352059494","filename":"file0"},{"photo_id":"1352059550","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059537":["hashtag1","hashtag2"]},{"1352059519":["hashtag1","hashtag2"]},{"1352059572":["hashtag1","hashtag2"]},{"1352059566":["hashtag1","hashtag2"]},{"1352059494":["hashtag1","hashtag2"]},{"1352059550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059537, 1352059519, 1352059572, 1352059566, 1352059494, 1352059550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70364570617676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:20:32.696793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_25_9379.jpg', '/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_36_10373.jpg', '/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_45_9413.jpg', '/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_56_10440.jpg', '/home/pi/Desktop/images/12042025/00/29/image_12042025_00_30_06_10387.jpg', '/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_16_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_25_9379.jpg
/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_36_10373.jpg
/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_45_9413.jpg
/home/pi/Desktop/images/12042025/00/29/image_12042025_00_29_56_10440.jpg
/home/pi/Desktop/images/12042025/00/29/image_12042025_00_30_06_10387.jpg
/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_16_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059642","1352059636","1352059620","1352059623","1352059617","1352059589"],"photo_ids_order":["1352059589","1352059617","1352059620","1352059623","1352059636","1352059642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a4689c6d2a0ba24e441b3beee237202.jpg","text":"TemporaryFile(/tmp/multipartBody6083016011806186835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424493516,"filename":"image_12042025_00_30_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d8b9d440645f77e95eb06b821736794.jpg","text":"TemporaryFile(/tmp/multipartBody8603642535878064898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424493516,"filename":"image_12042025_00_30_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0c98d44eb0f6da18d2f97b7cdfe93e5.jpg","text":"TemporaryFile(/tmp/multipartBody6068550995717850478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424493516,"filename":"image_12042025_00_29_45_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85c216c4be691f0cc56102b2936801d2.jpg","text":"TemporaryFile(/tmp/multipartBody3814031397106631498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424493516,"filename":"image_12042025_00_29_56_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa5609e7ad1466c1d311c559760fa995.jpg","text":"TemporaryFile(/tmp/multipartBody3466865413066547709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424493516,"filename":"image_12042025_00_29_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c2fc0b3e4bd6a5202f4c43dbefbea8b.jpg","text":"TemporaryFile(/tmp/multipartBody2023934847494713475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424493516,"filename":"image_12042025_00_29_25_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059620","file1":"1352059617","file0":"1352059589","file4":"1352059636","file5":"1352059642","file3":"1352059623"},"map_files_photo_id_array":[{"photo_id":"1352059642","filename":"file5"},{"photo_id":"1352059620","filename":"file2"},{"photo_id":"1352059636","filename":"file4"},{"photo_id":"1352059617","filename":"file1"},{"photo_id":"1352059589","filename":"file0"},{"photo_id":"1352059623","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059642":["hashtag1","hashtag2"]},{"1352059636":["hashtag1","hashtag2"]},{"1352059620":["hashtag1","hashtag2"]},{"1352059623":["hashtag1","hashtag2"]},{"1352059617":["hashtag1","hashtag2"]},{"1352059589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059642, 1352059636, 1352059620, 1352059623, 1352059617, 1352059589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.061994314193726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:21:32.908176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_26_10359.jpg', '/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_35_9368.jpg', '/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_46_10350.jpg', '/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_56_10387.jpg', '/home/pi/Desktop/images/12042025/00/30/image_12042025_00_31_05_9440.jpg', '/home/pi/Desktop/images/12042025/00/31/image_12042025_00_31_16_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_26_10359.jpg
/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_35_9368.jpg
/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_46_10350.jpg
/home/pi/Desktop/images/12042025/00/30/image_12042025_00_30_56_10387.jpg
/home/pi/Desktop/images/12042025/00/30/image_12042025_00_31_05_9440.jpg
/home/pi/Desktop/images/12042025/00/31/image_12042025_00_31_16_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059675","1352059680","1352059683","1352059691","1352059685","1352059688"],"photo_ids_order":["1352059675","1352059680","1352059683","1352059685","1352059688","1352059691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/658625a7cb618781d684155135b8737e.jpg","text":"TemporaryFile(/tmp/multipartBody8380381534330737674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424553386,"filename":"image_12042025_00_30_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd3aaf48f72005c9d89c8b893b506e55.jpg","text":"TemporaryFile(/tmp/multipartBody6165287612366091302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424553386,"filename":"image_12042025_00_30_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd869dedebdff289f6a51121c4f2221b.jpg","text":"TemporaryFile(/tmp/multipartBody2229567553397660619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424553386,"filename":"image_12042025_00_30_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e547caad9b690ea7bddc3d617f40e3da.jpg","text":"TemporaryFile(/tmp/multipartBody5874313508168429324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424553386,"filename":"image_12042025_00_31_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f61a3321a4fc2110daec1557a01217f5.jpg","text":"TemporaryFile(/tmp/multipartBody8855003942725330213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424553386,"filename":"image_12042025_00_30_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61ed2e9f23e837cba04767b8a74232c9.jpg","text":"TemporaryFile(/tmp/multipartBody9137056505129238465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424553386,"filename":"image_12042025_00_31_05_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059683","file1":"1352059680","file0":"1352059675","file4":"1352059688","file5":"1352059691","file3":"1352059685"},"map_files_photo_id_array":[{"photo_id":"1352059691","filename":"file5"},{"photo_id":"1352059683","filename":"file2"},{"photo_id":"1352059688","filename":"file4"},{"photo_id":"1352059680","filename":"file1"},{"photo_id":"1352059675","filename":"file0"},{"photo_id":"1352059685","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059675":["hashtag1","hashtag2"]},{"1352059680":["hashtag1","hashtag2"]},{"1352059683":["hashtag1","hashtag2"]},{"1352059691":["hashtag1","hashtag2"]},{"1352059685":["hashtag1","hashtag2"]},{"1352059688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059675, 1352059680, 1352059683, 1352059691, 1352059685, 1352059688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.120166063308716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:22:33.094484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/31/image_12042025_00_31_25_9421.jpg', '/home/pi/Desktop/images/12042025/00/31/image_12042025_00_31_36_10385.jpg', '/home/pi/Desktop/images/12042025/00/31/image_12042025_00_31_55_9483.jpg', '/home/pi/Desktop/images/12042025/00/31/image_12042025_00_32_06_10362.jpg', '/home/pi/Desktop/images/12042025/00/32/image_12042025_00_32_15_9416.jpg', '/home/pi/Desktop/images/12042025/00/32/image_12042025_00_32_36_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/31/image_12042025_00_31_25_9421.jpg
/home/pi/Desktop/images/12042025/00/31/image_12042025_00_31_36_10385.jpg
/home/pi/Desktop/images/12042025/00/31/image_12042025_00_31_55_9483.jpg
/home/pi/Desktop/images/12042025/00/31/image_12042025_00_32_06_10362.jpg
/home/pi/Desktop/images/12042025/00/32/image_12042025_00_32_15_9416.jpg
/home/pi/Desktop/images/12042025/00/32/image_12042025_00_32_36_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059712","1352059715","1352059725","1352059728","1352059722","1352059718"],"photo_ids_order":["1352059712","1352059715","1352059718","1352059722","1352059725","1352059728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03af7e2b485a53ff78032ee4be1991b4.jpg","text":"TemporaryFile(/tmp/multipartBody6453907131736800534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424613580,"filename":"image_12042025_00_31_25_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c18f923d458749496e88563da87097b5.jpg","text":"TemporaryFile(/tmp/multipartBody3001950564907061444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424613580,"filename":"image_12042025_00_31_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8259224de870a09b461f60d1b3596c12.jpg","text":"TemporaryFile(/tmp/multipartBody2769397124426938217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424613580,"filename":"image_12042025_00_32_15_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96724421af34fc4a1ebdebe0bb4ea50c.jpg","text":"TemporaryFile(/tmp/multipartBody3219902323821029979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424613580,"filename":"image_12042025_00_32_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c994b657ecde590e4745830fce006ba3.jpg","text":"TemporaryFile(/tmp/multipartBody1421936652349076592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424613580,"filename":"image_12042025_00_32_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c93678e9bc3f96b648785684eb866630.jpg","text":"TemporaryFile(/tmp/multipartBody5959172095346486398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424613580,"filename":"image_12042025_00_31_55_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059718","file1":"1352059715","file0":"1352059712","file4":"1352059725","file5":"1352059728","file3":"1352059722"},"map_files_photo_id_array":[{"photo_id":"1352059728","filename":"file5"},{"photo_id":"1352059718","filename":"file2"},{"photo_id":"1352059725","filename":"file4"},{"photo_id":"1352059715","filename":"file1"},{"photo_id":"1352059712","filename":"file0"},{"photo_id":"1352059722","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059712":["hashtag1","hashtag2"]},{"1352059715":["hashtag1","hashtag2"]},{"1352059725":["hashtag1","hashtag2"]},{"1352059728":["hashtag1","hashtag2"]},{"1352059722":["hashtag1","hashtag2"]},{"1352059718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059712, 1352059715, 1352059725, 1352059728, 1352059722, 1352059718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70581841468811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:23:32.198097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/32/image_12042025_00_32_45_9459.jpg', '/home/pi/Desktop/images/12042025/00/32/image_12042025_00_33_05_9427.jpg', '/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_16_10420.jpg', '/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_26_10353.jpg', '/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_35_9361.jpg', '/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_46_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/32/image_12042025_00_32_45_9459.jpg
/home/pi/Desktop/images/12042025/00/32/image_12042025_00_33_05_9427.jpg
/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_16_10420.jpg
/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_26_10353.jpg
/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_35_9361.jpg
/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_46_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059771","1352059753","1352059762","1352059758","1352059766","1352059769"],"photo_ids_order":["1352059753","1352059758","1352059762","1352059766","1352059769","1352059771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bc0ac1826ab3388b83cc3e4d44a9ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1305354953414472356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424672681,"filename":"image_12042025_00_33_46_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d436b93453e4fcc1da821f7d234f7767.jpg","text":"TemporaryFile(/tmp/multipartBody8712541002929135581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424672681,"filename":"image_12042025_00_32_45_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ca5339b3d52eb1dc5e39e8b923a8704.jpg","text":"TemporaryFile(/tmp/multipartBody631343261066495481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424672681,"filename":"image_12042025_00_33_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acf75e85dca0019493859e63b5b494e4.jpg","text":"TemporaryFile(/tmp/multipartBody1653521177803094455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424672681,"filename":"image_12042025_00_33_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5d52c0850ba814bf27bdea2ed8471cc.jpg","text":"TemporaryFile(/tmp/multipartBody2767532732438377090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424672681,"filename":"image_12042025_00_33_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/953afba4362536b10fe372ead44dbac9.jpg","text":"TemporaryFile(/tmp/multipartBody3686960168024172293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424672681,"filename":"image_12042025_00_33_35_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059762","file1":"1352059758","file0":"1352059753","file4":"1352059769","file5":"1352059771","file3":"1352059766"},"map_files_photo_id_array":[{"photo_id":"1352059771","filename":"file5"},{"photo_id":"1352059762","filename":"file2"},{"photo_id":"1352059769","filename":"file4"},{"photo_id":"1352059758","filename":"file1"},{"photo_id":"1352059753","filename":"file0"},{"photo_id":"1352059766","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059771":["hashtag1","hashtag2"]},{"1352059753":["hashtag1","hashtag2"]},{"1352059762":["hashtag1","hashtag2"]},{"1352059758":["hashtag1","hashtag2"]},{"1352059766":["hashtag1","hashtag2"]},{"1352059769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059771, 1352059753, 1352059762, 1352059758, 1352059766, 1352059769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.812357664108276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:24:32.478062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_55_9515.jpg', '/home/pi/Desktop/images/12042025/00/33/image_12042025_00_34_06_10369.jpg', '/home/pi/Desktop/images/12042025/00/34/image_12042025_00_34_26_9358.jpg', '/home/pi/Desktop/images/12042025/00/34/image_12042025_00_34_36_10371.jpg', '/home/pi/Desktop/images/12042025/00/34/image_12042025_00_34_56_10371.jpg', '/home/pi/Desktop/images/12042025/00/34/image_12042025_00_35_06_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/33/image_12042025_00_33_55_9515.jpg
/home/pi/Desktop/images/12042025/00/33/image_12042025_00_34_06_10369.jpg
/home/pi/Desktop/images/12042025/00/34/image_12042025_00_34_26_9358.jpg
/home/pi/Desktop/images/12042025/00/34/image_12042025_00_34_36_10371.jpg
/home/pi/Desktop/images/12042025/00/34/image_12042025_00_34_56_10371.jpg
/home/pi/Desktop/images/12042025/00/34/image_12042025_00_35_06_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059811","1352059798","1352059807","1352059800","1352059803","1352059796"],"photo_ids_order":["1352059796","1352059798","1352059800","1352059803","1352059807","1352059811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/587d8bbdcc91b8e1a13fd839b8382a2f.jpg","text":"TemporaryFile(/tmp/multipartBody2978605206132603109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424732946,"filename":"image_12042025_00_35_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78763fc28a4d6b4c120fab4fc217eb0d.jpg","text":"TemporaryFile(/tmp/multipartBody8953835493270019529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424732946,"filename":"image_12042025_00_34_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/781467cf67884be1918daececced6a59.jpg","text":"TemporaryFile(/tmp/multipartBody7919089318359098157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424732946,"filename":"image_12042025_00_34_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3f585468360c420f240238a1314176b.jpg","text":"TemporaryFile(/tmp/multipartBody547580034280486138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424732946,"filename":"image_12042025_00_34_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2697c83ca6d342acf1700c0c67503a3.jpg","text":"TemporaryFile(/tmp/multipartBody8146592221326678435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424732946,"filename":"image_12042025_00_34_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d44ff1077fa57c4d1fc69b62bd86857e.jpg","text":"TemporaryFile(/tmp/multipartBody1627359006446210689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424732946,"filename":"image_12042025_00_33_55_9515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059800","file1":"1352059798","file0":"1352059796","file4":"1352059807","file5":"1352059811","file3":"1352059803"},"map_files_photo_id_array":[{"photo_id":"1352059811","filename":"file5"},{"photo_id":"1352059800","filename":"file2"},{"photo_id":"1352059807","filename":"file4"},{"photo_id":"1352059798","filename":"file1"},{"photo_id":"1352059796","filename":"file0"},{"photo_id":"1352059803","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059811":["hashtag1","hashtag2"]},{"1352059798":["hashtag1","hashtag2"]},{"1352059807":["hashtag1","hashtag2"]},{"1352059800":["hashtag1","hashtag2"]},{"1352059803":["hashtag1","hashtag2"]},{"1352059796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059811, 1352059798, 1352059807, 1352059800, 1352059803, 1352059796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66805410385132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:25:32.839427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_16_9454.jpg', '/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_26_10440.jpg', '/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_35_9363.jpg', '/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_46_10362.jpg', '/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_55_9450.jpg', '/home/pi/Desktop/images/12042025/00/35/image_12042025_00_36_06_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_16_9454.jpg
/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_26_10440.jpg
/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_35_9363.jpg
/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_46_10362.jpg
/home/pi/Desktop/images/12042025/00/35/image_12042025_00_35_55_9450.jpg
/home/pi/Desktop/images/12042025/00/35/image_12042025_00_36_06_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059846","1352059839","1352059830","1352059833","1352059841","1352059835"],"photo_ids_order":["1352059830","1352059833","1352059835","1352059839","1352059841","1352059846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d718679a011838635bfdc3ab7bca0977.jpg","text":"TemporaryFile(/tmp/multipartBody2882335471483634939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424793321,"filename":"image_12042025_00_36_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac0914df4944bebd06f5249049a98415.jpg","text":"TemporaryFile(/tmp/multipartBody325217831216821598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424793321,"filename":"image_12042025_00_35_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bef4550f2e17e9ad913940ef6f2df119.jpg","text":"TemporaryFile(/tmp/multipartBody8763321733141042361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424793321,"filename":"image_12042025_00_35_16_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43aaec00639636d2bc2f621d8e56b860.jpg","text":"TemporaryFile(/tmp/multipartBody6152591763226410361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424793321,"filename":"image_12042025_00_35_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96ebf7513e3feb865cada7c000a79aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8954903329752383484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424793321,"filename":"image_12042025_00_35_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1a60a7663e8ce20a6e5e75f13156fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3092454594767915102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424793321,"filename":"image_12042025_00_35_35_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059835","file1":"1352059833","file0":"1352059830","file4":"1352059841","file5":"1352059846","file3":"1352059839"},"map_files_photo_id_array":[{"photo_id":"1352059846","filename":"file5"},{"photo_id":"1352059835","filename":"file2"},{"photo_id":"1352059841","filename":"file4"},{"photo_id":"1352059833","filename":"file1"},{"photo_id":"1352059830","filename":"file0"},{"photo_id":"1352059839","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059846":["hashtag1","hashtag2"]},{"1352059839":["hashtag1","hashtag2"]},{"1352059830":["hashtag1","hashtag2"]},{"1352059833":["hashtag1","hashtag2"]},{"1352059841":["hashtag1","hashtag2"]},{"1352059835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059846, 1352059839, 1352059830, 1352059833, 1352059841, 1352059835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.257994413375854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:26:32.929075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/36/image_12042025_00_36_16_10390.jpg', '/home/pi/Desktop/images/12042025/00/36/image_12042025_00_36_25_9477.jpg', '/home/pi/Desktop/images/12042025/00/36/image_12042025_00_36_45_9417.jpg', '/home/pi/Desktop/images/12042025/00/36/image_12042025_00_36_56_10362.jpg', '/home/pi/Desktop/images/12042025/00/36/image_12042025_00_37_06_10375.jpg', '/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_26_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/36/image_12042025_00_36_16_10390.jpg
/home/pi/Desktop/images/12042025/00/36/image_12042025_00_36_25_9477.jpg
/home/pi/Desktop/images/12042025/00/36/image_12042025_00_36_45_9417.jpg
/home/pi/Desktop/images/12042025/00/36/image_12042025_00_36_56_10362.jpg
/home/pi/Desktop/images/12042025/00/36/image_12042025_00_37_06_10375.jpg
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_26_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352059876","1352059870","1352059866","1352059880","1352059874","1352059868"],"photo_ids_order":["1352059866","1352059868","1352059870","1352059874","1352059876","1352059880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6da858b3b32a0d825d05688e523e6de.jpg","text":"TemporaryFile(/tmp/multipartBody3213226203888193435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424853403,"filename":"image_12042025_00_37_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f54c97713d47039c7b67c37c96edef71.jpg","text":"TemporaryFile(/tmp/multipartBody8075334750180082616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424853403,"filename":"image_12042025_00_36_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1eb515ccd1478e531d04041bfa589168.jpg","text":"TemporaryFile(/tmp/multipartBody4965218619549888598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424853403,"filename":"image_12042025_00_36_16_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc3b399c1cdcc4a46493aeb816b7614f.jpg","text":"TemporaryFile(/tmp/multipartBody4195436565806286980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424853403,"filename":"image_12042025_00_37_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4d1cbefd8ca0b012c3770ae3c897c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3737871877342456508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424853403,"filename":"image_12042025_00_36_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d70ad0351058c70bfa538fd58269c1b.jpg","text":"TemporaryFile(/tmp/multipartBody114941380763121900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424853403,"filename":"image_12042025_00_36_25_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059870","file1":"1352059868","file0":"1352059866","file4":"1352059876","file5":"1352059880","file3":"1352059874"},"map_files_photo_id_array":[{"photo_id":"1352059880","filename":"file5"},{"photo_id":"1352059870","filename":"file2"},{"photo_id":"1352059876","filename":"file4"},{"photo_id":"1352059868","filename":"file1"},{"photo_id":"1352059866","filename":"file0"},{"photo_id":"1352059874","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352059876":["hashtag1","hashtag2"]},{"1352059870":["hashtag1","hashtag2"]},{"1352059866":["hashtag1","hashtag2"]},{"1352059880":["hashtag1","hashtag2"]},{"1352059874":["hashtag1","hashtag2"]},{"1352059868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352059876, 1352059870, 1352059866, 1352059880, 1352059874, 1352059868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.857998847961426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:27:33.151447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_35_9459.jpg', '/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_46_10442.jpg', '/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_56_10381.jpg', '/home/pi/Desktop/images/12042025/00/37/image_12042025_00_38_05_9411.jpg', '/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_16_10371.jpg', '/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_25_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_35_9459.jpg
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_46_10442.jpg
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_56_10381.jpg
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_38_05_9411.jpg
/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_16_10371.jpg
/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_25_9442.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39185667037963867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 04:27:43.159465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_35_9459.jpg', '/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_46_10442.jpg', '/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_56_10381.jpg', '/home/pi/Desktop/images/12042025/00/37/image_12042025_00_38_05_9411.jpg', '/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_16_10371.jpg', '/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_25_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_35_9459.jpg
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_46_10442.jpg
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_37_56_10381.jpg
/home/pi/Desktop/images/12042025/00/37/image_12042025_00_38_05_9411.jpg
/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_16_10371.jpg
/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_25_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060018","1352059954","1352059986","1352059974","1352059949","1352059937"],"photo_ids_order":["1352059937","1352059949","1352059954","1352059974","1352059986","1352060018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e10486343027bec5bd2ae960d6ba6a70.jpg","text":"TemporaryFile(/tmp/multipartBody3115531118612956296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424923626,"filename":"image_12042025_00_38_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c6b73cf67579508ff3d4353a393469e.jpg","text":"TemporaryFile(/tmp/multipartBody157851776210165629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424923626,"filename":"image_12042025_00_37_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3219519e9dc1e5145a6448738343172b.jpg","text":"TemporaryFile(/tmp/multipartBody3703200248575497456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424923626,"filename":"image_12042025_00_38_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d3bed536ba6852ece6a30a3f0094cd0.jpg","text":"TemporaryFile(/tmp/multipartBody3391179587583450214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424923626,"filename":"image_12042025_00_38_05_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a93455b09304eda245b0121246278b0e.jpg","text":"TemporaryFile(/tmp/multipartBody962161688479604358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424923626,"filename":"image_12042025_00_37_46_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b45e3f9a328dc95fa03f8788f0333bad.jpg","text":"TemporaryFile(/tmp/multipartBody9051098381789989894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424923626,"filename":"image_12042025_00_37_35_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352059954","file1":"1352059949","file0":"1352059937","file4":"1352059986","file5":"1352060018","file3":"1352059974"},"map_files_photo_id_array":[{"photo_id":"1352060018","filename":"file5"},{"photo_id":"1352059954","filename":"file2"},{"photo_id":"1352059986","filename":"file4"},{"photo_id":"1352059949","filename":"file1"},{"photo_id":"1352059937","filename":"file0"},{"photo_id":"1352059974","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352060018":["hashtag1","hashtag2"]},{"1352059954":["hashtag1","hashtag2"]},{"1352059986":["hashtag1","hashtag2"]},{"1352059974":["hashtag1","hashtag2"]},{"1352059949":["hashtag1","hashtag2"]},{"1352059937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352060018, 1352059954, 1352059986, 1352059974, 1352059949, 1352059937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98087525367737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:28:32.540470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_36_10467.jpg', '/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_45_9474.jpg', '/home/pi/Desktop/images/12042025/00/38/image_12042025_00_39_06_10374.jpg', '/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_15_9473.jpg', '/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_26_10364.jpg', '/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_35_9543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_36_10467.jpg
/home/pi/Desktop/images/12042025/00/38/image_12042025_00_38_45_9474.jpg
/home/pi/Desktop/images/12042025/00/38/image_12042025_00_39_06_10374.jpg
/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_15_9473.jpg
/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_26_10364.jpg
/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_35_9543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060141","1352060176","1352060239","1352060146","1352060199","1352060220"],"photo_ids_order":["1352060141","1352060146","1352060176","1352060199","1352060220","1352060239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a5de2632e653717fb933664e79cc0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4299987310817075999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424973009,"filename":"image_12042025_00_38_36_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c868d2262e0388d05c2aea2703b8539.jpg","text":"TemporaryFile(/tmp/multipartBody9027204342627543594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424973009,"filename":"image_12042025_00_39_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f2b98dfe2009c4ebd746d55522f08ef.jpg","text":"TemporaryFile(/tmp/multipartBody6482529783012760256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424973009,"filename":"image_12042025_00_39_35_9543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5784fc1e02c8d8b46d0d6b07e18ccf8.jpg","text":"TemporaryFile(/tmp/multipartBody273123381844122428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424973009,"filename":"image_12042025_00_38_45_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b5607baef4d2cac06993f37102b869c.jpg","text":"TemporaryFile(/tmp/multipartBody5357275972159857699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424973009,"filename":"image_12042025_00_39_15_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d47e406b96c945c2033648b81e626cab.jpg","text":"TemporaryFile(/tmp/multipartBody3939796968899416417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744424973009,"filename":"image_12042025_00_39_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060176","file1":"1352060146","file0":"1352060141","file4":"1352060220","file5":"1352060239","file3":"1352060199"},"map_files_photo_id_array":[{"photo_id":"1352060239","filename":"file5"},{"photo_id":"1352060176","filename":"file2"},{"photo_id":"1352060220","filename":"file4"},{"photo_id":"1352060146","filename":"file1"},{"photo_id":"1352060141","filename":"file0"},{"photo_id":"1352060199","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352060141":["hashtag1","hashtag2"]},{"1352060176":["hashtag1","hashtag2"]},{"1352060239":["hashtag1","hashtag2"]},{"1352060146":["hashtag1","hashtag2"]},{"1352060199":["hashtag1","hashtag2"]},{"1352060220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352060141, 1352060176, 1352060239, 1352060146, 1352060199, 1352060220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7444863319397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:29:32.699111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_46_10397.jpg', '/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_55_9457.jpg', '/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_16_10385.jpg', '/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_25_9467.jpg', '/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_36_10384.jpg', '/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_45_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_46_10397.jpg
/home/pi/Desktop/images/12042025/00/39/image_12042025_00_39_55_9457.jpg
/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_16_10385.jpg
/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_25_9467.jpg
/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_36_10384.jpg
/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_45_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352060648","1352060702","1352060603","1352060447","1352060485","1352060547"],"photo_ids_order":["1352060447","1352060485","1352060547","1352060603","1352060648","1352060702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2937c1785276df2d87066b07336d0d1.jpg","text":"TemporaryFile(/tmp/multipartBody3484207746457486390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425033163,"filename":"image_12042025_00_40_36_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7185fa3a153edbe9fe08af75a138e4d.jpg","text":"TemporaryFile(/tmp/multipartBody5889266786833969645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425033163,"filename":"image_12042025_00_40_45_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98654778d228e2ce6f4772b8781e5b67.jpg","text":"TemporaryFile(/tmp/multipartBody3474040470050643028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425033163,"filename":"image_12042025_00_40_25_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20bcbd60202b846442906bf96e023db9.jpg","text":"TemporaryFile(/tmp/multipartBody1242400236798116514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425033163,"filename":"image_12042025_00_39_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/250a29d620ac1c4f0dce6f34834255d2.jpg","text":"TemporaryFile(/tmp/multipartBody9215456577129219331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425033163,"filename":"image_12042025_00_39_55_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f26bb79076b10d81974732e72d52746.jpg","text":"TemporaryFile(/tmp/multipartBody8218558076210797276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425033163,"filename":"image_12042025_00_40_16_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352060547","file1":"1352060485","file0":"1352060447","file4":"1352060648","file5":"1352060702","file3":"1352060603"},"map_files_photo_id_array":[{"photo_id":"1352060702","filename":"file5"},{"photo_id":"1352060547","filename":"file2"},{"photo_id":"1352060648","filename":"file4"},{"photo_id":"1352060485","filename":"file1"},{"photo_id":"1352060447","filename":"file0"},{"photo_id":"1352060603","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352060648":["hashtag1","hashtag2"]},{"1352060702":["hashtag1","hashtag2"]},{"1352060603":["hashtag1","hashtag2"]},{"1352060447":["hashtag1","hashtag2"]},{"1352060485":["hashtag1","hashtag2"]},{"1352060547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352060648, 1352060702, 1352060603, 1352060447, 1352060485, 1352060547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.349963903427124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:30:32.910747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_56_10366.jpg', '/home/pi/Desktop/images/12042025/00/40/image_12042025_00_41_06_10380.jpg', '/home/pi/Desktop/images/12042025/00/41/image_12042025_00_41_26_10452.jpg', '/home/pi/Desktop/images/12042025/00/41/image_12042025_00_41_35_9404.jpg', '/home/pi/Desktop/images/12042025/00/41/image_12042025_00_41_46_10381.jpg', '/home/pi/Desktop/images/12042025/00/41/image_12042025_00_41_56_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/40/image_12042025_00_40_56_10366.jpg
/home/pi/Desktop/images/12042025/00/40/image_12042025_00_41_06_10380.jpg
/home/pi/Desktop/images/12042025/00/41/image_12042025_00_41_26_10452.jpg
/home/pi/Desktop/images/12042025/00/41/image_12042025_00_41_35_9404.jpg
/home/pi/Desktop/images/12042025/00/41/image_12042025_00_41_46_10381.jpg
/home/pi/Desktop/images/12042025/00/41/image_12042025_00_41_56_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061178","1352061271","1352061084","1352061231","1352061333","1352061123"],"photo_ids_order":["1352061084","1352061123","1352061178","1352061231","1352061271","1352061333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29a1401c8f28d20401e0ed347b4e23b4.jpg","text":"TemporaryFile(/tmp/multipartBody3952943489820251984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425093386,"filename":"image_12042025_00_41_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fcb7881f0d515e5ec86b767cb020554f.jpg","text":"TemporaryFile(/tmp/multipartBody4054361889398991485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425093386,"filename":"image_12042025_00_41_46_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61f29a31967dc71acd82fae794e6ae08.jpg","text":"TemporaryFile(/tmp/multipartBody6542189736293467734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425093386,"filename":"image_12042025_00_40_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1697c397795a23bdb76bd48543addb19.jpg","text":"TemporaryFile(/tmp/multipartBody1728432845206940603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425093386,"filename":"image_12042025_00_41_35_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82932523e796b64beb400e3c396c7dd2.jpg","text":"TemporaryFile(/tmp/multipartBody3657707681749077361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425093386,"filename":"image_12042025_00_41_56_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b0ccf599b6021e2a4280d1fb335fd84.jpg","text":"TemporaryFile(/tmp/multipartBody7592491224576688410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425093386,"filename":"image_12042025_00_41_06_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061178","file1":"1352061123","file0":"1352061084","file4":"1352061271","file5":"1352061333","file3":"1352061231"},"map_files_photo_id_array":[{"photo_id":"1352061333","filename":"file5"},{"photo_id":"1352061178","filename":"file2"},{"photo_id":"1352061271","filename":"file4"},{"photo_id":"1352061123","filename":"file1"},{"photo_id":"1352061084","filename":"file0"},{"photo_id":"1352061231","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352061178":["hashtag1","hashtag2"]},{"1352061271":["hashtag1","hashtag2"]},{"1352061084":["hashtag1","hashtag2"]},{"1352061231":["hashtag1","hashtag2"]},{"1352061333":["hashtag1","hashtag2"]},{"1352061123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352061178, 1352061271, 1352061084, 1352061231, 1352061333, 1352061123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.001352310180664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:31:33.098911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/41/image_12042025_00_42_05_9430.jpg', '/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_16_10366.jpg', '/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_25_9436.jpg', '/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_36_10401.jpg', '/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_46_10373.jpg', '/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_55_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/41/image_12042025_00_42_05_9430.jpg
/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_16_10366.jpg
/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_25_9436.jpg
/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_36_10401.jpg
/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_46_10373.jpg
/home/pi/Desktop/images/12042025/00/42/image_12042025_00_42_55_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352061853","1352061670","1352061718","1352061900","1352061767","1352061812"],"photo_ids_order":["1352061670","1352061718","1352061767","1352061812","1352061853","1352061900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b369250c33a58708fccc8a71c71df204.jpg","text":"TemporaryFile(/tmp/multipartBody6824766412395905283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425153565,"filename":"image_12042025_00_42_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6063c5c92b42dbf14605cb94d88af722.jpg","text":"TemporaryFile(/tmp/multipartBody7558812673753983504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425153565,"filename":"image_12042025_00_42_05_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d57170a08694e0705f55748617d489a4.jpg","text":"TemporaryFile(/tmp/multipartBody5177703056043688811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425153565,"filename":"image_12042025_00_42_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0f0528ef822971a775886711521c483.jpg","text":"TemporaryFile(/tmp/multipartBody7938216210703698893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425153565,"filename":"image_12042025_00_42_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0ecddb875a6b14acc77832e88208677.jpg","text":"TemporaryFile(/tmp/multipartBody1862578305125884229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425153565,"filename":"image_12042025_00_42_25_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/289087a67e4629d4986beb45243964f0.jpg","text":"TemporaryFile(/tmp/multipartBody3990797365137567311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425153565,"filename":"image_12042025_00_42_36_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352061767","file1":"1352061718","file0":"1352061670","file4":"1352061853","file5":"1352061900","file3":"1352061812"},"map_files_photo_id_array":[{"photo_id":"1352061900","filename":"file5"},{"photo_id":"1352061767","filename":"file2"},{"photo_id":"1352061853","filename":"file4"},{"photo_id":"1352061718","filename":"file1"},{"photo_id":"1352061670","filename":"file0"},{"photo_id":"1352061812","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352061853":["hashtag1","hashtag2"]},{"1352061670":["hashtag1","hashtag2"]},{"1352061718":["hashtag1","hashtag2"]},{"1352061900":["hashtag1","hashtag2"]},{"1352061767":["hashtag1","hashtag2"]},{"1352061812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352061853, 1352061670, 1352061718, 1352061900, 1352061767, 1352061812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00601887702942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:32:32.413242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/42/image_12042025_00_43_06_10391.jpg', '/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_15_9453.jpg', '/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_26_10411.jpg', '/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_36_10422.jpg', '/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_46_9479.jpg', '/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/42/image_12042025_00_43_06_10391.jpg
/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_15_9453.jpg
/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_26_10411.jpg
/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_36_10422.jpg
/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_46_9479.jpg
/home/pi/Desktop/images/12042025/00/43/image_12042025_00_43_56_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352062339","1352062246","1352062197","1352062393","1352062288","1352062453"],"photo_ids_order":["1352062197","1352062246","1352062288","1352062339","1352062393","1352062453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2702f47ac3b399fc79cdf41175a09c58.jpg","text":"TemporaryFile(/tmp/multipartBody3165141037741932019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425212900,"filename":"image_12042025_00_43_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10426a485a6bd93d22d18680386923af.jpg","text":"TemporaryFile(/tmp/multipartBody8156819085764085640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425212900,"filename":"image_12042025_00_43_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b2b523e0c808123bff48d44a83ca1e4.jpg","text":"TemporaryFile(/tmp/multipartBody846887584491735984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425212900,"filename":"image_12042025_00_43_06_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/120ed4e645bd21d3bc64971cfdbefdfd.jpg","text":"TemporaryFile(/tmp/multipartBody7847476359629794220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425212900,"filename":"image_12042025_00_43_46_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8cc40160e1ecd03b629df95da735de8.jpg","text":"TemporaryFile(/tmp/multipartBody8931606950077798553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425212900,"filename":"image_12042025_00_43_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a8eac595d31918ae2646bc52e345ece.jpg","text":"TemporaryFile(/tmp/multipartBody1770331796578474059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425212900,"filename":"image_12042025_00_43_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352062288","file1":"1352062246","file0":"1352062197","file4":"1352062393","file5":"1352062453","file3":"1352062339"},"map_files_photo_id_array":[{"photo_id":"1352062453","filename":"file5"},{"photo_id":"1352062288","filename":"file2"},{"photo_id":"1352062393","filename":"file4"},{"photo_id":"1352062246","filename":"file1"},{"photo_id":"1352062197","filename":"file0"},{"photo_id":"1352062339","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352062339":["hashtag1","hashtag2"]},{"1352062246":["hashtag1","hashtag2"]},{"1352062197":["hashtag1","hashtag2"]},{"1352062393":["hashtag1","hashtag2"]},{"1352062288":["hashtag1","hashtag2"]},{"1352062453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352062339, 1352062246, 1352062197, 1352062393, 1352062288, 1352062453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54777240753174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:33:32.477000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/43/image_12042025_00_44_05_9358.jpg', '/home/pi/Desktop/images/12042025/00/44/image_12042025_00_44_46_10378.jpg', '/home/pi/Desktop/images/12042025/00/45/image_12042025_00_45_16_10379.jpg', '/home/pi/Desktop/images/12042025/00/45/image_12042025_00_45_25_9429.jpg', '/home/pi/Desktop/images/12042025/00/45/image_12042025_00_45_45_9424.jpg', '/home/pi/Desktop/images/12042025/00/45/image_12042025_00_45_56_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/43/image_12042025_00_44_05_9358.jpg
/home/pi/Desktop/images/12042025/00/44/image_12042025_00_44_46_10378.jpg
/home/pi/Desktop/images/12042025/00/45/image_12042025_00_45_16_10379.jpg
/home/pi/Desktop/images/12042025/00/45/image_12042025_00_45_25_9429.jpg
/home/pi/Desktop/images/12042025/00/45/image_12042025_00_45_45_9424.jpg
/home/pi/Desktop/images/12042025/00/45/image_12042025_00_45_56_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352062951","1352062756","1352062918","1352062848","1352062800","1352062889"],"photo_ids_order":["1352062756","1352062800","1352062848","1352062889","1352062918","1352062951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/277284ac4bd767f2e987ed57b4d9169c.jpg","text":"TemporaryFile(/tmp/multipartBody430951750040501804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425272951,"filename":"image_12042025_00_45_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/599dc29fe02e233bfb56302d600b70d5.jpg","text":"TemporaryFile(/tmp/multipartBody2123100838801675832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425272951,"filename":"image_12042025_00_44_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/432ca0ceb0a188cb971da086c41eba28.jpg","text":"TemporaryFile(/tmp/multipartBody133604871561426959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425272951,"filename":"image_12042025_00_45_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aaacfe1f67b827404a11840a5ca8b2c4.jpg","text":"TemporaryFile(/tmp/multipartBody3104389520829547548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425272951,"filename":"image_12042025_00_45_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffe649de0264ab277effd19d696bd5ac.jpg","text":"TemporaryFile(/tmp/multipartBody6187382740084167101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425272951,"filename":"image_12042025_00_44_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d2ccea9f991bedf7e07609af93a9948.jpg","text":"TemporaryFile(/tmp/multipartBody1887450083824408201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425272951,"filename":"image_12042025_00_45_25_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352062848","file1":"1352062800","file0":"1352062756","file4":"1352062918","file5":"1352062951","file3":"1352062889"},"map_files_photo_id_array":[{"photo_id":"1352062951","filename":"file5"},{"photo_id":"1352062848","filename":"file2"},{"photo_id":"1352062918","filename":"file4"},{"photo_id":"1352062800","filename":"file1"},{"photo_id":"1352062756","filename":"file0"},{"photo_id":"1352062889","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352062951":["hashtag1","hashtag2"]},{"1352062756":["hashtag1","hashtag2"]},{"1352062918":["hashtag1","hashtag2"]},{"1352062848":["hashtag1","hashtag2"]},{"1352062800":["hashtag1","hashtag2"]},{"1352062889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352062951, 1352062756, 1352062918, 1352062848, 1352062800, 1352062889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4057834148407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:34:32.699164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/45/image_12042025_00_46_06_10374.jpg', '/home/pi/Desktop/images/12042025/00/46/image_12042025_00_46_26_10363.jpg', '/home/pi/Desktop/images/12042025/00/46/image_12042025_00_46_35_9518.jpg', '/home/pi/Desktop/images/12042025/00/46/image_12042025_00_46_46_10413.jpg', '/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_16_10382.jpg', '/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_25_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/45/image_12042025_00_46_06_10374.jpg
/home/pi/Desktop/images/12042025/00/46/image_12042025_00_46_26_10363.jpg
/home/pi/Desktop/images/12042025/00/46/image_12042025_00_46_35_9518.jpg
/home/pi/Desktop/images/12042025/00/46/image_12042025_00_46_46_10413.jpg
/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_16_10382.jpg
/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_25_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352063538","1352063412","1352063480","1352063618","1352063686","1352063752"],"photo_ids_order":["1352063412","1352063480","1352063538","1352063618","1352063686","1352063752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a73ab7b918c56700523de421b382166.jpg","text":"TemporaryFile(/tmp/multipartBody2548199126282260392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425333162,"filename":"image_12042025_00_46_35_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e87a298235c960a8126d740fe18389f3.jpg","text":"TemporaryFile(/tmp/multipartBody5408690984898204015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425333162,"filename":"image_12042025_00_46_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2dc3525a3cdcdc3606a4aed75c1e63ed.jpg","text":"TemporaryFile(/tmp/multipartBody2754348720732761745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425333162,"filename":"image_12042025_00_46_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43a6cc4a8b5d9686c8517bec5579d3ea.jpg","text":"TemporaryFile(/tmp/multipartBody671457974063798039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425333162,"filename":"image_12042025_00_46_46_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6b6ebf71b36d7760dcefa3c3f9c8065.jpg","text":"TemporaryFile(/tmp/multipartBody7699503477250408935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425333162,"filename":"image_12042025_00_47_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c83e08a271b37f0296014776cf81b4ef.jpg","text":"TemporaryFile(/tmp/multipartBody3257145255838470107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425333162,"filename":"image_12042025_00_47_25_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352063538","file1":"1352063480","file0":"1352063412","file4":"1352063686","file5":"1352063752","file3":"1352063618"},"map_files_photo_id_array":[{"photo_id":"1352063752","filename":"file5"},{"photo_id":"1352063538","filename":"file2"},{"photo_id":"1352063686","filename":"file4"},{"photo_id":"1352063480","filename":"file1"},{"photo_id":"1352063412","filename":"file0"},{"photo_id":"1352063618","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352063538":["hashtag1","hashtag2"]},{"1352063412":["hashtag1","hashtag2"]},{"1352063480":["hashtag1","hashtag2"]},{"1352063618":["hashtag1","hashtag2"]},{"1352063686":["hashtag1","hashtag2"]},{"1352063752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352063538, 1352063412, 1352063480, 1352063618, 1352063686, 1352063752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.085551261901855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:35:33.076739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_36_10390.jpg', '/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_46_10397.jpg', '/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_55_9438.jpg', '/home/pi/Desktop/images/12042025/00/47/image_12042025_00_48_06_10447.jpg', '/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_15_9482.jpg', '/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_26_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_36_10390.jpg
/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_46_10397.jpg
/home/pi/Desktop/images/12042025/00/47/image_12042025_00_47_55_9438.jpg
/home/pi/Desktop/images/12042025/00/47/image_12042025_00_48_06_10447.jpg
/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_15_9482.jpg
/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_26_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064483","1352064231","1352064333","1352064374","1352064169","1352064433"],"photo_ids_order":["1352064169","1352064231","1352064333","1352064374","1352064433","1352064483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5194f56794a632ac8111d5174b6114d5.jpg","text":"TemporaryFile(/tmp/multipartBody7165478010092234850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425393893,"filename":"image_12042025_00_48_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/894eda0fd3f446f0273c2da7d7dcd165.jpg","text":"TemporaryFile(/tmp/multipartBody899695791761553665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425393893,"filename":"image_12042025_00_47_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1150f466c67bfe26ec1afd588b22bc64.jpg","text":"TemporaryFile(/tmp/multipartBody3838394961511611301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425393893,"filename":"image_12042025_00_47_55_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40a8dddc914ab74001569d760f7ed50f.jpg","text":"TemporaryFile(/tmp/multipartBody35664612350053774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425393893,"filename":"image_12042025_00_48_06_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16739a233006678dfffd9f061c44c35b.jpg","text":"TemporaryFile(/tmp/multipartBody3425226971606604120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425393893,"filename":"image_12042025_00_47_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/269216da53215fdfa463c35da7516ca2.jpg","text":"TemporaryFile(/tmp/multipartBody9170289536083680472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425393893,"filename":"image_12042025_00_48_15_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064333","file1":"1352064231","file0":"1352064169","file4":"1352064433","file5":"1352064483","file3":"1352064374"},"map_files_photo_id_array":[{"photo_id":"1352064483","filename":"file5"},{"photo_id":"1352064333","filename":"file2"},{"photo_id":"1352064433","filename":"file4"},{"photo_id":"1352064231","filename":"file1"},{"photo_id":"1352064169","filename":"file0"},{"photo_id":"1352064374","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352064483":["hashtag1","hashtag2"]},{"1352064231":["hashtag1","hashtag2"]},{"1352064333":["hashtag1","hashtag2"]},{"1352064374":["hashtag1","hashtag2"]},{"1352064169":["hashtag1","hashtag2"]},{"1352064433":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352064483, 1352064231, 1352064333, 1352064374, 1352064169, 1352064433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.727067708969116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:36:32.297398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_35_9418.jpg', '/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_46_10393.jpg', '/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_56_10374.jpg', '/home/pi/Desktop/images/12042025/00/49/image_12042025_00_49_16_10377.jpg', '/home/pi/Desktop/images/12042025/00/49/image_12042025_00_49_26_10371.jpg', '/home/pi/Desktop/images/12042025/00/49/image_12042025_00_49_46_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_35_9418.jpg
/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_46_10393.jpg
/home/pi/Desktop/images/12042025/00/48/image_12042025_00_48_56_10374.jpg
/home/pi/Desktop/images/12042025/00/49/image_12042025_00_49_16_10377.jpg
/home/pi/Desktop/images/12042025/00/49/image_12042025_00_49_26_10371.jpg
/home/pi/Desktop/images/12042025/00/49/image_12042025_00_49_46_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064852","1352064830","1352064859","1352064803","1352064775","1352064750"],"photo_ids_order":["1352064750","1352064775","1352064803","1352064830","1352064852","1352064859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca395a6b8193f6f4d7ad487ddba642dc.jpg","text":"TemporaryFile(/tmp/multipartBody4505262682876929138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425452844,"filename":"image_12042025_00_49_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac8e9b7d16a76fb836b74721d8856697.jpg","text":"TemporaryFile(/tmp/multipartBody1735714866985947706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425452844,"filename":"image_12042025_00_49_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a1b59f659c3bdf21b80c7c3c3874de0.jpg","text":"TemporaryFile(/tmp/multipartBody7943141012310061329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425452844,"filename":"image_12042025_00_49_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96448d10b7b6bab6939e8f45bbf58c95.jpg","text":"TemporaryFile(/tmp/multipartBody7720956117114695259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425452844,"filename":"image_12042025_00_48_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a65ae903519b03ad19d9642949d59cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2444942386018505732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425452844,"filename":"image_12042025_00_48_46_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73e3dee77f2cafa4d0f29392cdf4abf0.jpg","text":"TemporaryFile(/tmp/multipartBody2390741046619334336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425452844,"filename":"image_12042025_00_48_35_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064803","file1":"1352064775","file0":"1352064750","file4":"1352064852","file5":"1352064859","file3":"1352064830"},"map_files_photo_id_array":[{"photo_id":"1352064859","filename":"file5"},{"photo_id":"1352064803","filename":"file2"},{"photo_id":"1352064852","filename":"file4"},{"photo_id":"1352064775","filename":"file1"},{"photo_id":"1352064750","filename":"file0"},{"photo_id":"1352064830","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352064852":["hashtag1","hashtag2"]},{"1352064830":["hashtag1","hashtag2"]},{"1352064859":["hashtag1","hashtag2"]},{"1352064803":["hashtag1","hashtag2"]},{"1352064775":["hashtag1","hashtag2"]},{"1352064750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352064852, 1352064830, 1352064859, 1352064803, 1352064775, 1352064750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42701506614685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:37:32.546335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/49/image_12042025_00_49_55_9480.jpg', '/home/pi/Desktop/images/12042025/00/49/image_12042025_00_50_06_10381.jpg', '/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_16_10404.jpg', '/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_26_9402.jpg', '/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_36_10382.jpg', '/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_45_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/49/image_12042025_00_49_55_9480.jpg
/home/pi/Desktop/images/12042025/00/49/image_12042025_00_50_06_10381.jpg
/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_16_10404.jpg
/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_26_9402.jpg
/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_36_10382.jpg
/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_45_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352064906","1352064900","1352064899","1352064875","1352064895","1352064931"],"photo_ids_order":["1352064875","1352064895","1352064899","1352064900","1352064906","1352064931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9961ab53f5cdf02e416bd2704d29b0e5.jpg","text":"TemporaryFile(/tmp/multipartBody9048272978889933410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425513110,"filename":"image_12042025_00_50_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31dfd4a68365e044e830c4e4a53dbe22.jpg","text":"TemporaryFile(/tmp/multipartBody1015487603980930006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425513110,"filename":"image_12042025_00_50_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6eb14ab8aadeb09735c5b7583a6beec.jpg","text":"TemporaryFile(/tmp/multipartBody1184904947970783009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425513110,"filename":"image_12042025_00_50_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d72e888dcb42ede2aa26a85f7bdc6999.jpg","text":"TemporaryFile(/tmp/multipartBody3679915654012982759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425513110,"filename":"image_12042025_00_49_55_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef372a7e92aaeaf1e027ff5e5744385b.jpg","text":"TemporaryFile(/tmp/multipartBody7533434733693907717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425513110,"filename":"image_12042025_00_50_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/246c65db21ee38ee98ffcfbfb80fb542.jpg","text":"TemporaryFile(/tmp/multipartBody5389127852341724249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425513110,"filename":"image_12042025_00_50_45_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352064899","file1":"1352064895","file0":"1352064875","file4":"1352064906","file5":"1352064931","file3":"1352064900"},"map_files_photo_id_array":[{"photo_id":"1352064931","filename":"file5"},{"photo_id":"1352064899","filename":"file2"},{"photo_id":"1352064906","filename":"file4"},{"photo_id":"1352064895","filename":"file1"},{"photo_id":"1352064875","filename":"file0"},{"photo_id":"1352064900","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352064906":["hashtag1","hashtag2"]},{"1352064900":["hashtag1","hashtag2"]},{"1352064899":["hashtag1","hashtag2"]},{"1352064875":["hashtag1","hashtag2"]},{"1352064895":["hashtag1","hashtag2"]},{"1352064931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352064906, 1352064900, 1352064899, 1352064875, 1352064895, 1352064931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56195044517517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:38:32.743387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_56_10370.jpg', '/home/pi/Desktop/images/12042025/00/50/image_12042025_00_51_06_10356.jpg', '/home/pi/Desktop/images/12042025/00/51/image_12042025_00_51_15_9377.jpg', '/home/pi/Desktop/images/12042025/00/51/image_12042025_00_51_26_10365.jpg', '/home/pi/Desktop/images/12042025/00/51/image_12042025_00_51_35_9438.jpg', '/home/pi/Desktop/images/12042025/00/51/image_12042025_00_52_05_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/50/image_12042025_00_50_56_10370.jpg
/home/pi/Desktop/images/12042025/00/50/image_12042025_00_51_06_10356.jpg
/home/pi/Desktop/images/12042025/00/51/image_12042025_00_51_15_9377.jpg
/home/pi/Desktop/images/12042025/00/51/image_12042025_00_51_26_10365.jpg
/home/pi/Desktop/images/12042025/00/51/image_12042025_00_51_35_9438.jpg
/home/pi/Desktop/images/12042025/00/51/image_12042025_00_52_05_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065283","1352065115","1352065075","1352065090","1352065153","1352065222"],"photo_ids_order":["1352065075","1352065090","1352065115","1352065153","1352065222","1352065283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57f99d317a42c4d66db6b99d7919bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody8193998367172185438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425573343,"filename":"image_12042025_00_52_05_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9f023b354c7e721de26b037b14a91cc.jpg","text":"TemporaryFile(/tmp/multipartBody2925950611023716773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425573343,"filename":"image_12042025_00_51_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e25677e42b9f18382922f66e6360b695.jpg","text":"TemporaryFile(/tmp/multipartBody667738431516041399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425573343,"filename":"image_12042025_00_50_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91102d4f8bf8418966a0f77e4a02ec0e.jpg","text":"TemporaryFile(/tmp/multipartBody6070964918740691598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425573343,"filename":"image_12042025_00_51_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ced1cf7aef232fbd6401c7541121c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2169678622496445028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425573343,"filename":"image_12042025_00_51_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/205d40a96b759e60f555651fbc588dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5139335447412058238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425573343,"filename":"image_12042025_00_51_35_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065115","file1":"1352065090","file0":"1352065075","file4":"1352065222","file5":"1352065283","file3":"1352065153"},"map_files_photo_id_array":[{"photo_id":"1352065283","filename":"file5"},{"photo_id":"1352065115","filename":"file2"},{"photo_id":"1352065222","filename":"file4"},{"photo_id":"1352065090","filename":"file1"},{"photo_id":"1352065075","filename":"file0"},{"photo_id":"1352065153","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352065283":["hashtag1","hashtag2"]},{"1352065115":["hashtag1","hashtag2"]},{"1352065075":["hashtag1","hashtag2"]},{"1352065090":["hashtag1","hashtag2"]},{"1352065153":["hashtag1","hashtag2"]},{"1352065222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352065283, 1352065115, 1352065075, 1352065090, 1352065153, 1352065222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.90920948982239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:39:32.988063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/52/image_12042025_00_52_16_10439.jpg', '/home/pi/Desktop/images/12042025/00/52/image_12042025_00_52_25_9528.jpg', '/home/pi/Desktop/images/12042025/00/52/image_12042025_00_52_45_9475.jpg', '/home/pi/Desktop/images/12042025/00/52/image_12042025_00_52_56_10395.jpg', '/home/pi/Desktop/images/12042025/00/52/image_12042025_00_53_06_10464.jpg', '/home/pi/Desktop/images/12042025/00/53/image_12042025_00_53_16_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/52/image_12042025_00_52_16_10439.jpg
/home/pi/Desktop/images/12042025/00/52/image_12042025_00_52_25_9528.jpg
/home/pi/Desktop/images/12042025/00/52/image_12042025_00_52_45_9475.jpg
/home/pi/Desktop/images/12042025/00/52/image_12042025_00_52_56_10395.jpg
/home/pi/Desktop/images/12042025/00/52/image_12042025_00_53_06_10464.jpg
/home/pi/Desktop/images/12042025/00/53/image_12042025_00_53_16_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352065919","1352065990","1352065870","1352065933","1352065813","1352066049"],"photo_ids_order":["1352065813","1352065870","1352065919","1352065933","1352065990","1352066049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ff097f181af5506a22b204a18f67e27.jpg","text":"TemporaryFile(/tmp/multipartBody8004504846482816716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425633551,"filename":"image_12042025_00_52_45_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8505183dd9d79b06150c74ecc546ec3.jpg","text":"TemporaryFile(/tmp/multipartBody7945152212805705823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425633551,"filename":"image_12042025_00_53_06_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/103f5feeac3d85cb689bbab7f87d2144.jpg","text":"TemporaryFile(/tmp/multipartBody5033284834512934048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425633551,"filename":"image_12042025_00_52_25_9528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dcff70a56998fbfa0cee74dd04063e85.jpg","text":"TemporaryFile(/tmp/multipartBody54903226646312716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425633551,"filename":"image_12042025_00_52_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcb3676c8a9132f815de9dd165607eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7735656303779771608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425633551,"filename":"image_12042025_00_52_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c4b3217dc3783fe5549ece7c019b42b.jpg","text":"TemporaryFile(/tmp/multipartBody2570676031407047645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425633551,"filename":"image_12042025_00_53_16_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352065919","file1":"1352065870","file0":"1352065813","file4":"1352065990","file5":"1352066049","file3":"1352065933"},"map_files_photo_id_array":[{"photo_id":"1352066049","filename":"file5"},{"photo_id":"1352065919","filename":"file2"},{"photo_id":"1352065990","filename":"file4"},{"photo_id":"1352065870","filename":"file1"},{"photo_id":"1352065813","filename":"file0"},{"photo_id":"1352065933","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352065919":["hashtag1","hashtag2"]},{"1352065990":["hashtag1","hashtag2"]},{"1352065870":["hashtag1","hashtag2"]},{"1352065933":["hashtag1","hashtag2"]},{"1352065813":["hashtag1","hashtag2"]},{"1352066049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352065919, 1352065990, 1352065870, 1352065933, 1352065813, 1352066049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35673666000366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:40:32.375782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/53/image_12042025_00_53_26_10447.jpg', '/home/pi/Desktop/images/12042025/00/53/image_12042025_00_53_46_10403.jpg', '/home/pi/Desktop/images/12042025/00/53/image_12042025_00_53_55_9425.jpg', '/home/pi/Desktop/images/12042025/00/53/image_12042025_00_54_06_10390.jpg', '/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_16_10366.jpg', '/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_25_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/53/image_12042025_00_53_26_10447.jpg
/home/pi/Desktop/images/12042025/00/53/image_12042025_00_53_46_10403.jpg
/home/pi/Desktop/images/12042025/00/53/image_12042025_00_53_55_9425.jpg
/home/pi/Desktop/images/12042025/00/53/image_12042025_00_54_06_10390.jpg
/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_16_10366.jpg
/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_25_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066576","1352066423","1352066617","1352066541","1352066448","1352066480"],"photo_ids_order":["1352066423","1352066448","1352066480","1352066541","1352066576","1352066617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/409ce2298d95660f0f98019f43a2c0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1378929169629256251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425692920,"filename":"image_12042025_00_54_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e2b81939040d57494927b1853a71391.jpg","text":"TemporaryFile(/tmp/multipartBody8115087475301697803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425692920,"filename":"image_12042025_00_53_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf8ea9320f2a552bede4c44db426708d.jpg","text":"TemporaryFile(/tmp/multipartBody7878665596862088663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425692920,"filename":"image_12042025_00_54_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/039c3b82c557c64cff679fbc90fdd6d5.jpg","text":"TemporaryFile(/tmp/multipartBody3604073851341436386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425692920,"filename":"image_12042025_00_54_06_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53370878fa031160f48612ec466be10f.jpg","text":"TemporaryFile(/tmp/multipartBody1741239252674727224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425692920,"filename":"image_12042025_00_53_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/921db4e12dc59df97b85d1fe69876bec.jpg","text":"TemporaryFile(/tmp/multipartBody1411197484525241847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425692920,"filename":"image_12042025_00_53_55_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066480","file1":"1352066448","file0":"1352066423","file4":"1352066576","file5":"1352066617","file3":"1352066541"},"map_files_photo_id_array":[{"photo_id":"1352066617","filename":"file5"},{"photo_id":"1352066480","filename":"file2"},{"photo_id":"1352066576","filename":"file4"},{"photo_id":"1352066448","filename":"file1"},{"photo_id":"1352066423","filename":"file0"},{"photo_id":"1352066541","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352066576":["hashtag1","hashtag2"]},{"1352066423":["hashtag1","hashtag2"]},{"1352066617":["hashtag1","hashtag2"]},{"1352066541":["hashtag1","hashtag2"]},{"1352066448":["hashtag1","hashtag2"]},{"1352066480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352066576, 1352066423, 1352066617, 1352066541, 1352066448, 1352066480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5387282371521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:41:32.511802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_36_10374.jpg', '/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_45_9430.jpg', '/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_56_10379.jpg', '/home/pi/Desktop/images/12042025/00/54/image_12042025_00_55_06_10394.jpg', '/home/pi/Desktop/images/12042025/00/55/image_12042025_00_55_26_10361.jpg', '/home/pi/Desktop/images/12042025/00/55/image_12042025_00_55_46_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_36_10374.jpg
/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_45_9430.jpg
/home/pi/Desktop/images/12042025/00/54/image_12042025_00_54_56_10379.jpg
/home/pi/Desktop/images/12042025/00/54/image_12042025_00_55_06_10394.jpg
/home/pi/Desktop/images/12042025/00/55/image_12042025_00_55_26_10361.jpg
/home/pi/Desktop/images/12042025/00/55/image_12042025_00_55_46_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066903","1352066935","1352066950","1352066862","1352066925","1352066780"],"photo_ids_order":["1352066780","1352066862","1352066903","1352066925","1352066935","1352066950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bca16f843b17e76bf8a67a7a12c6549a.jpg","text":"TemporaryFile(/tmp/multipartBody1189559179550257004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425753060,"filename":"image_12042025_00_54_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e0a1c8c9359b0b9ff03808c262fed24.jpg","text":"TemporaryFile(/tmp/multipartBody3153331713368325198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425753060,"filename":"image_12042025_00_55_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b314511ee0a838a557607b14d3d35a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4695271303237431701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425753060,"filename":"image_12042025_00_55_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/214d594d9f7de08e54e522ac62efc7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6989643876577414035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425753060,"filename":"image_12042025_00_54_45_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/502171704df8a3f68c49cb92ede5ce39.jpg","text":"TemporaryFile(/tmp/multipartBody8716633308174752302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425753060,"filename":"image_12042025_00_55_06_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd0eb8b498ae324ace4f219ca8a02148.jpg","text":"TemporaryFile(/tmp/multipartBody805286273479642554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425753060,"filename":"image_12042025_00_54_36_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066903","file1":"1352066862","file0":"1352066780","file4":"1352066935","file5":"1352066950","file3":"1352066925"},"map_files_photo_id_array":[{"photo_id":"1352066950","filename":"file5"},{"photo_id":"1352066903","filename":"file2"},{"photo_id":"1352066935","filename":"file4"},{"photo_id":"1352066862","filename":"file1"},{"photo_id":"1352066780","filename":"file0"},{"photo_id":"1352066925","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352066903":["hashtag1","hashtag2"]},{"1352066935":["hashtag1","hashtag2"]},{"1352066950":["hashtag1","hashtag2"]},{"1352066862":["hashtag1","hashtag2"]},{"1352066925":["hashtag1","hashtag2"]},{"1352066780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352066903, 1352066935, 1352066950, 1352066862, 1352066925, 1352066780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.367088079452515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:42:32.847795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/55/image_12042025_00_55_56_10361.jpg', '/home/pi/Desktop/images/12042025/00/55/image_12042025_00_56_05_9452.jpg', '/home/pi/Desktop/images/12042025/00/56/image_12042025_00_56_26_10378.jpg', '/home/pi/Desktop/images/12042025/00/56/image_12042025_00_56_36_9449.jpg', '/home/pi/Desktop/images/12042025/00/56/image_12042025_00_56_46_10507.jpg', '/home/pi/Desktop/images/12042025/00/56/image_12042025_00_56_55_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/55/image_12042025_00_55_56_10361.jpg
/home/pi/Desktop/images/12042025/00/55/image_12042025_00_56_05_9452.jpg
/home/pi/Desktop/images/12042025/00/56/image_12042025_00_56_26_10378.jpg
/home/pi/Desktop/images/12042025/00/56/image_12042025_00_56_36_9449.jpg
/home/pi/Desktop/images/12042025/00/56/image_12042025_00_56_46_10507.jpg
/home/pi/Desktop/images/12042025/00/56/image_12042025_00_56_55_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352066983","1352066986","1352066980","1352066988","1352066993","1352066990"],"photo_ids_order":["1352066980","1352066983","1352066986","1352066988","1352066990","1352066993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fb58058fc8e3dc9339fb0d78dd9d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody7202062535116278198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425813413,"filename":"image_12042025_00_56_05_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ac23ae72337588b595f2d51f42398cc.jpg","text":"TemporaryFile(/tmp/multipartBody3583615700533748339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425813413,"filename":"image_12042025_00_56_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30b0efc0b340ffe1af9242cdf28da2ee.jpg","text":"TemporaryFile(/tmp/multipartBody1355491817369929860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425813413,"filename":"image_12042025_00_55_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7d036396b32f6194183ffa7e700052f.jpg","text":"TemporaryFile(/tmp/multipartBody574383702914935717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425813413,"filename":"image_12042025_00_56_36_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bda22fbbeca77de0ea2a68340c15740d.jpg","text":"TemporaryFile(/tmp/multipartBody6170606456067905882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425813413,"filename":"image_12042025_00_56_55_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a4c1f9569e4931395512332f45e96c2.jpg","text":"TemporaryFile(/tmp/multipartBody7111414232112480532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425813413,"filename":"image_12042025_00_56_46_10507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352066986","file1":"1352066983","file0":"1352066980","file4":"1352066990","file5":"1352066993","file3":"1352066988"},"map_files_photo_id_array":[{"photo_id":"1352066993","filename":"file5"},{"photo_id":"1352066986","filename":"file2"},{"photo_id":"1352066990","filename":"file4"},{"photo_id":"1352066983","filename":"file1"},{"photo_id":"1352066980","filename":"file0"},{"photo_id":"1352066988","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352066983":["hashtag1","hashtag2"]},{"1352066986":["hashtag1","hashtag2"]},{"1352066980":["hashtag1","hashtag2"]},{"1352066988":["hashtag1","hashtag2"]},{"1352066993":["hashtag1","hashtag2"]},{"1352066990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352066983, 1352066986, 1352066980, 1352066988, 1352066993, 1352066990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.188289642333984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:43:33.173018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/56/image_12042025_00_57_06_10358.jpg', '/home/pi/Desktop/images/12042025/00/57/image_12042025_00_57_15_9453.jpg', '/home/pi/Desktop/images/12042025/00/57/image_12042025_00_57_36_10370.jpg', '/home/pi/Desktop/images/12042025/00/57/image_12042025_00_57_45_9460.jpg', '/home/pi/Desktop/images/12042025/00/57/image_12042025_00_57_56_10463.jpg', '/home/pi/Desktop/images/12042025/00/57/image_12042025_00_58_05_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/56/image_12042025_00_57_06_10358.jpg
/home/pi/Desktop/images/12042025/00/57/image_12042025_00_57_15_9453.jpg
/home/pi/Desktop/images/12042025/00/57/image_12042025_00_57_36_10370.jpg
/home/pi/Desktop/images/12042025/00/57/image_12042025_00_57_45_9460.jpg
/home/pi/Desktop/images/12042025/00/57/image_12042025_00_57_56_10463.jpg
/home/pi/Desktop/images/12042025/00/57/image_12042025_00_58_05_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352067034","1352067118","1352067138","1352067069","1352067092","1352067158"],"photo_ids_order":["1352067034","1352067069","1352067092","1352067118","1352067138","1352067158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2229f8f96aa567190ab1c96e08bc5feb.jpg","text":"TemporaryFile(/tmp/multipartBody1851757243738188798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425873711,"filename":"image_12042025_00_57_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6cf12e5002967fd06b8effedcd10daa.jpg","text":"TemporaryFile(/tmp/multipartBody6302266598391672649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425873711,"filename":"image_12042025_00_57_45_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec3c92ff71abc23f8c983b066a6aba8d.jpg","text":"TemporaryFile(/tmp/multipartBody5917732582340734839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425873711,"filename":"image_12042025_00_57_56_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9ebaa92242612c02f974adf7cd28829.jpg","text":"TemporaryFile(/tmp/multipartBody599216688151322326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425873711,"filename":"image_12042025_00_57_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb63f512cc5446f7c068d218e909ff91.jpg","text":"TemporaryFile(/tmp/multipartBody5395758550284187021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425873711,"filename":"image_12042025_00_57_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d42fb17618f36b57b91827983a66e71f.jpg","text":"TemporaryFile(/tmp/multipartBody4804872557977439005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425873711,"filename":"image_12042025_00_58_05_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352067092","file1":"1352067069","file0":"1352067034","file4":"1352067138","file5":"1352067158","file3":"1352067118"},"map_files_photo_id_array":[{"photo_id":"1352067158","filename":"file5"},{"photo_id":"1352067092","filename":"file2"},{"photo_id":"1352067138","filename":"file4"},{"photo_id":"1352067069","filename":"file1"},{"photo_id":"1352067034","filename":"file0"},{"photo_id":"1352067118","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352067034":["hashtag1","hashtag2"]},{"1352067118":["hashtag1","hashtag2"]},{"1352067138":["hashtag1","hashtag2"]},{"1352067069":["hashtag1","hashtag2"]},{"1352067092":["hashtag1","hashtag2"]},{"1352067158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352067034, 1352067118, 1352067138, 1352067069, 1352067092, 1352067158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.611305952072144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:44:32.329392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/00/58/image_12042025_00_59_05_9374.jpg', '/home/pi/Desktop/images/12042025/00/59/image_12042025_00_59_16_10398.jpg', '/home/pi/Desktop/images/12042025/00/59/image_12042025_00_59_36_10379.jpg', '/home/pi/Desktop/images/12042025/00/59/image_12042025_00_59_45_9498.jpg', '/home/pi/Desktop/images/12042025/00/59/image_12042025_00_59_56_10366.jpg', '/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_15_10085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/00/58/image_12042025_00_59_05_9374.jpg
/home/pi/Desktop/images/12042025/00/59/image_12042025_00_59_16_10398.jpg
/home/pi/Desktop/images/12042025/00/59/image_12042025_00_59_36_10379.jpg
/home/pi/Desktop/images/12042025/00/59/image_12042025_00_59_45_9498.jpg
/home/pi/Desktop/images/12042025/00/59/image_12042025_00_59_56_10366.jpg
/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_15_10085.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352067394","1352067421","1352067375","1352067353","1352067434","1352067338"],"photo_ids_order":["1352067338","1352067353","1352067375","1352067394","1352067421","1352067434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b117a188f09497b4123350e20c26233a.jpg","text":"TemporaryFile(/tmp/multipartBody7819670510311839315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425932895,"filename":"image_12042025_00_59_45_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87bed08264b734ec602aca319e2ea437.jpg","text":"TemporaryFile(/tmp/multipartBody5999959725053856078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425932895,"filename":"image_12042025_00_59_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1c81bf3b29fbe3e562153293cdcb9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8997840161143469396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425932895,"filename":"image_12042025_00_59_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09536940d60ec275539c7c285aee4696.jpg","text":"TemporaryFile(/tmp/multipartBody3072430493158230514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425932895,"filename":"image_12042025_00_59_16_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/045c25b75ba176ae10e04582f9827175.jpg","text":"TemporaryFile(/tmp/multipartBody628684705018560820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425932895,"filename":"image_12042025_01_00_15_10085.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d33dc8f1b2c842ad0976cd034540e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4726682842113746590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425932895,"filename":"image_12042025_00_59_05_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352067375","file1":"1352067353","file0":"1352067338","file4":"1352067421","file5":"1352067434","file3":"1352067394"},"map_files_photo_id_array":[{"photo_id":"1352067434","filename":"file5"},{"photo_id":"1352067375","filename":"file2"},{"photo_id":"1352067421","filename":"file4"},{"photo_id":"1352067353","filename":"file1"},{"photo_id":"1352067338","filename":"file0"},{"photo_id":"1352067394","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352067394":["hashtag1","hashtag2"]},{"1352067421":["hashtag1","hashtag2"]},{"1352067375":["hashtag1","hashtag2"]},{"1352067353":["hashtag1","hashtag2"]},{"1352067434":["hashtag1","hashtag2"]},{"1352067338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352067394, 1352067421, 1352067375, 1352067353, 1352067434, 1352067338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01636838912964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:45:32.661492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_25_10527.jpg', '/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_35_9398.jpg', '/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_45_10396.jpg', '/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_56_10362.jpg', '/home/pi/Desktop/images/12042025/01/00/image_12042025_01_01_05_9380.jpg', '/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_15_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_25_10527.jpg
/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_35_9398.jpg
/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_45_10396.jpg
/home/pi/Desktop/images/12042025/01/00/image_12042025_01_00_56_10362.jpg
/home/pi/Desktop/images/12042025/01/00/image_12042025_01_01_05_9380.jpg
/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_15_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352068147","1352067874","1352068080","1352068006","1352068182","1352067942"],"photo_ids_order":["1352067874","1352067942","1352068006","1352068080","1352068147","1352068182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eeaf327697cf9c8bfcc7dfb2d49909c8.jpg","text":"TemporaryFile(/tmp/multipartBody1144770215516350012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425993210,"filename":"image_12042025_01_01_05_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d69e196599a8b170dad9b7acb5e10f9.jpg","text":"TemporaryFile(/tmp/multipartBody768148233456124140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425993210,"filename":"image_12042025_01_00_25_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f53c286eec5e9cb315dccb188e15903.jpg","text":"TemporaryFile(/tmp/multipartBody930760454173901045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425993210,"filename":"image_12042025_01_00_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/074b7d53c22bf86f0a18011c7dd9bb90.jpg","text":"TemporaryFile(/tmp/multipartBody2519792736463858919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425993210,"filename":"image_12042025_01_00_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cd48e8dbef16f54a826765ed105bd68.jpg","text":"TemporaryFile(/tmp/multipartBody8971994712877053326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425993210,"filename":"image_12042025_01_01_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5995980e155cec38242f55738330af5e.jpg","text":"TemporaryFile(/tmp/multipartBody7707037931895337543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744425993210,"filename":"image_12042025_01_00_35_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352068006","file1":"1352067942","file0":"1352067874","file4":"1352068147","file5":"1352068182","file3":"1352068080"},"map_files_photo_id_array":[{"photo_id":"1352068182","filename":"file5"},{"photo_id":"1352068006","filename":"file2"},{"photo_id":"1352068147","filename":"file4"},{"photo_id":"1352067942","filename":"file1"},{"photo_id":"1352067874","filename":"file0"},{"photo_id":"1352068080","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352068147":["hashtag1","hashtag2"]},{"1352067874":["hashtag1","hashtag2"]},{"1352068080":["hashtag1","hashtag2"]},{"1352068006":["hashtag1","hashtag2"]},{"1352068182":["hashtag1","hashtag2"]},{"1352067942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352068147, 1352067874, 1352068080, 1352068006, 1352068182, 1352067942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46580123901367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:46:32.668813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_26_10386.jpg', '/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_35_9375.jpg', '/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_45_10359.jpg', '/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_55_9365.jpg', '/home/pi/Desktop/images/12042025/01/01/image_12042025_01_02_05_10427.jpg', '/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_16_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_26_10386.jpg
/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_35_9375.jpg
/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_45_10359.jpg
/home/pi/Desktop/images/12042025/01/01/image_12042025_01_01_55_9365.jpg
/home/pi/Desktop/images/12042025/01/01/image_12042025_01_02_05_10427.jpg
/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_16_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352068905","1352068961","1352068685","1352068844","1352069035","1352068771"],"photo_ids_order":["1352068685","1352068771","1352068844","1352068905","1352068961","1352069035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2129ede207da9ac8bb3358237eccf35f.jpg","text":"TemporaryFile(/tmp/multipartBody1816365659547895909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426053216,"filename":"image_12042025_01_01_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc2d4a65b51cbdf8ebe2686cf31f0905.jpg","text":"TemporaryFile(/tmp/multipartBody5318339544556637280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426053216,"filename":"image_12042025_01_02_05_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5195083ca7aeff728a0f21259d1d027c.jpg","text":"TemporaryFile(/tmp/multipartBody8138163514344552133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426053216,"filename":"image_12042025_01_01_26_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/81868f5c3b4689ba0a980e061f1f2411.jpg","text":"TemporaryFile(/tmp/multipartBody9080558911589564907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426053216,"filename":"image_12042025_01_01_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b319c36841c0ca9fbbae5771de6c17d4.jpg","text":"TemporaryFile(/tmp/multipartBody421418326376591747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426053216,"filename":"image_12042025_01_02_16_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d2c2ab3681ef00378816bc30c3968a3.jpg","text":"TemporaryFile(/tmp/multipartBody6851885270867809919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426053216,"filename":"image_12042025_01_01_35_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352068844","file1":"1352068771","file0":"1352068685","file4":"1352068961","file5":"1352069035","file3":"1352068905"},"map_files_photo_id_array":[{"photo_id":"1352069035","filename":"file5"},{"photo_id":"1352068844","filename":"file2"},{"photo_id":"1352068961","filename":"file4"},{"photo_id":"1352068771","filename":"file1"},{"photo_id":"1352068685","filename":"file0"},{"photo_id":"1352068905","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352068905":["hashtag1","hashtag2"]},{"1352068961":["hashtag1","hashtag2"]},{"1352068685":["hashtag1","hashtag2"]},{"1352068844":["hashtag1","hashtag2"]},{"1352069035":["hashtag1","hashtag2"]},{"1352068771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352068905, 1352068961, 1352068685, 1352068844, 1352069035, 1352068771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.865283489227295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:47:32.904417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_25_9356.jpg', '/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_35_10466.jpg', '/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_45_9357.jpg', '/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_55_10447.jpg', '/home/pi/Desktop/images/12042025/01/02/image_12042025_01_03_06_10370.jpg', '/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_15_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_25_9356.jpg
/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_35_10466.jpg
/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_45_9357.jpg
/home/pi/Desktop/images/12042025/01/02/image_12042025_01_02_55_10447.jpg
/home/pi/Desktop/images/12042025/01/02/image_12042025_01_03_06_10370.jpg
/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_15_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352069790","1352069409","1352069444","1352069525","1352069674","1352069596"],"photo_ids_order":["1352069409","1352069444","1352069525","1352069596","1352069674","1352069790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53a9d3c227b0f5e0dd9a29d2fe956191.jpg","text":"TemporaryFile(/tmp/multipartBody5787509527088988568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426113465,"filename":"image_12042025_01_03_15_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf45a602a0924d01fec574568d3c3823.jpg","text":"TemporaryFile(/tmp/multipartBody8897401081704599333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426113465,"filename":"image_12042025_01_02_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7920d7422c73cf01f38372ab9ac8b60d.jpg","text":"TemporaryFile(/tmp/multipartBody8194946037305296468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426113465,"filename":"image_12042025_01_02_35_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fd5d3e3c2892c3376ba76c7bf451cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1895895555897333095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426113465,"filename":"image_12042025_01_02_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef203abb919e6415bf39be5875683fa7.jpg","text":"TemporaryFile(/tmp/multipartBody5893161387688318222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426113465,"filename":"image_12042025_01_03_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b2b176895462935107c05ec2e248a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4504874133239274658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426113465,"filename":"image_12042025_01_02_55_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352069525","file1":"1352069444","file0":"1352069409","file4":"1352069674","file5":"1352069790","file3":"1352069596"},"map_files_photo_id_array":[{"photo_id":"1352069790","filename":"file5"},{"photo_id":"1352069525","filename":"file2"},{"photo_id":"1352069674","filename":"file4"},{"photo_id":"1352069444","filename":"file1"},{"photo_id":"1352069409","filename":"file0"},{"photo_id":"1352069596","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352069790":["hashtag1","hashtag2"]},{"1352069409":["hashtag1","hashtag2"]},{"1352069444":["hashtag1","hashtag2"]},{"1352069525":["hashtag1","hashtag2"]},{"1352069674":["hashtag1","hashtag2"]},{"1352069596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352069790, 1352069409, 1352069444, 1352069525, 1352069674, 1352069596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.197887659072876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:48:33.173907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_25_10373.jpg', '/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_36_10363.jpg', '/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_45_9379.jpg', '/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_55_10389.jpg', '/home/pi/Desktop/images/12042025/01/03/image_12042025_01_04_05_9383.jpg', '/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_15_10523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_25_10373.jpg
/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_36_10363.jpg
/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_45_9379.jpg
/home/pi/Desktop/images/12042025/01/03/image_12042025_01_03_55_10389.jpg
/home/pi/Desktop/images/12042025/01/03/image_12042025_01_04_05_9383.jpg
/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_15_10523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352070255","1352070249","1352070260","1352070263","1352070251","1352070265"],"photo_ids_order":["1352070249","1352070251","1352070255","1352070260","1352070263","1352070265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1dd2fce1f0546a4081953e5718e96c83.jpg","text":"TemporaryFile(/tmp/multipartBody8393105167759106628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426173725,"filename":"image_12042025_01_03_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66b734c24eb1d863e81ef7a9040024db.jpg","text":"TemporaryFile(/tmp/multipartBody6318933396596486520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426173725,"filename":"image_12042025_01_03_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16da2c73b394c90d3548966204782d0a.jpg","text":"TemporaryFile(/tmp/multipartBody609491489785341697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426173725,"filename":"image_12042025_01_03_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa17871334024448d07838f051263f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3731900515008661976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426173725,"filename":"image_12042025_01_04_05_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02a0caa62b7d62764da5a811f92ef02f.jpg","text":"TemporaryFile(/tmp/multipartBody5535324938017808203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426173725,"filename":"image_12042025_01_03_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8abf6e73b8fbc3dc96c3f8fd897fc188.jpg","text":"TemporaryFile(/tmp/multipartBody2722352027743091549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426173725,"filename":"image_12042025_01_04_15_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352070255","file1":"1352070251","file0":"1352070249","file4":"1352070263","file5":"1352070265","file3":"1352070260"},"map_files_photo_id_array":[{"photo_id":"1352070265","filename":"file5"},{"photo_id":"1352070255","filename":"file2"},{"photo_id":"1352070263","filename":"file4"},{"photo_id":"1352070251","filename":"file1"},{"photo_id":"1352070249","filename":"file0"},{"photo_id":"1352070260","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352070255":["hashtag1","hashtag2"]},{"1352070249":["hashtag1","hashtag2"]},{"1352070260":["hashtag1","hashtag2"]},{"1352070263":["hashtag1","hashtag2"]},{"1352070251":["hashtag1","hashtag2"]},{"1352070265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352070255, 1352070249, 1352070260, 1352070263, 1352070251, 1352070265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.351404905319214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:49:32.385227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_25_9371.jpg', '/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_35_10376.jpg', '/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_45_10374.jpg', '/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_55_9347.jpg', '/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_16_10385.jpg', '/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_25_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_25_9371.jpg
/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_35_10376.jpg
/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_45_10374.jpg
/home/pi/Desktop/images/12042025/01/04/image_12042025_01_04_55_9347.jpg
/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_16_10385.jpg
/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_25_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352070322","1352070301","1352070304","1352070318","1352070296","1352070299"],"photo_ids_order":["1352070296","1352070299","1352070301","1352070304","1352070318","1352070322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74e7769b25ed0cd51dd6020de99902a5.jpg","text":"TemporaryFile(/tmp/multipartBody9085636941008887257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426232922,"filename":"image_12042025_01_05_25_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c003dabb4f13a1518efdbe5f5d5b5563.jpg","text":"TemporaryFile(/tmp/multipartBody5664508220350892352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426232922,"filename":"image_12042025_01_04_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80b41f4e353d6ee9826e06e47b569a79.jpg","text":"TemporaryFile(/tmp/multipartBody8338657398445624423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426232922,"filename":"image_12042025_01_04_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cca0374694e7072fa3ba39bfdf82145.jpg","text":"TemporaryFile(/tmp/multipartBody3371621686821167769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426232922,"filename":"image_12042025_01_05_16_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc934ccb7dee13356f4078670ef2e68e.jpg","text":"TemporaryFile(/tmp/multipartBody3159518856498396693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426232922,"filename":"image_12042025_01_04_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b8e2a498037613daf3d39fd3b52fb7f.jpg","text":"TemporaryFile(/tmp/multipartBody8413254855752589186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426232922,"filename":"image_12042025_01_04_35_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352070301","file1":"1352070299","file0":"1352070296","file4":"1352070318","file5":"1352070322","file3":"1352070304"},"map_files_photo_id_array":[{"photo_id":"1352070322","filename":"file5"},{"photo_id":"1352070301","filename":"file2"},{"photo_id":"1352070318","filename":"file4"},{"photo_id":"1352070299","filename":"file1"},{"photo_id":"1352070296","filename":"file0"},{"photo_id":"1352070304","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352070322":["hashtag1","hashtag2"]},{"1352070301":["hashtag1","hashtag2"]},{"1352070304":["hashtag1","hashtag2"]},{"1352070318":["hashtag1","hashtag2"]},{"1352070296":["hashtag1","hashtag2"]},{"1352070299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352070322, 1352070301, 1352070304, 1352070318, 1352070296, 1352070299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.149681091308594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:50:32.541543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_36_10409.jpg', '/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_45_9368.jpg', '/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_55_10495.jpg', '/home/pi/Desktop/images/12042025/01/05/image_12042025_01_06_06_10362.jpg', '/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_15_9451.jpg', '/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_26_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_36_10409.jpg
/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_45_9368.jpg
/home/pi/Desktop/images/12042025/01/05/image_12042025_01_05_55_10495.jpg
/home/pi/Desktop/images/12042025/01/05/image_12042025_01_06_06_10362.jpg
/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_15_9451.jpg
/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_26_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352070346","1352070333","1352070350","1352070341","1352070329","1352070344"],"photo_ids_order":["1352070329","1352070333","1352070341","1352070344","1352070346","1352070350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e2fa713117181fd9497d56cade576e0.jpg","text":"TemporaryFile(/tmp/multipartBody8183897712603483197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426293109,"filename":"image_12042025_01_06_15_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77b3352946b25aedd64c18436629a034.jpg","text":"TemporaryFile(/tmp/multipartBody6467769528671130144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426293109,"filename":"image_12042025_01_05_45_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/568cf7d4f36251c69827ff3932b340c6.jpg","text":"TemporaryFile(/tmp/multipartBody5210058404354983714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426293109,"filename":"image_12042025_01_06_26_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85777f8588b2eb7c80a84d9fdba4074b.jpg","text":"TemporaryFile(/tmp/multipartBody4827341764261107154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426293109,"filename":"image_12042025_01_05_55_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7379386034f474bb2753cb221245ba0.jpg","text":"TemporaryFile(/tmp/multipartBody6100747077649984272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426293109,"filename":"image_12042025_01_05_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6ff94f41bcd96f6a413c606009d39a0.jpg","text":"TemporaryFile(/tmp/multipartBody1472268388084698733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426293109,"filename":"image_12042025_01_06_06_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352070341","file1":"1352070333","file0":"1352070329","file4":"1352070346","file5":"1352070350","file3":"1352070344"},"map_files_photo_id_array":[{"photo_id":"1352070350","filename":"file5"},{"photo_id":"1352070341","filename":"file2"},{"photo_id":"1352070346","filename":"file4"},{"photo_id":"1352070333","filename":"file1"},{"photo_id":"1352070329","filename":"file0"},{"photo_id":"1352070344","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352070346":["hashtag1","hashtag2"]},{"1352070333":["hashtag1","hashtag2"]},{"1352070350":["hashtag1","hashtag2"]},{"1352070341":["hashtag1","hashtag2"]},{"1352070329":["hashtag1","hashtag2"]},{"1352070344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352070346, 1352070333, 1352070350, 1352070341, 1352070329, 1352070344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.114217042922974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:51:32.728006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_35_9457.jpg', '/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_46_10463.jpg', '/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_55_9343.jpg', '/home/pi/Desktop/images/12042025/01/06/image_12042025_01_07_05_10413.jpg', '/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_16_10432.jpg', '/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_25_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_35_9457.jpg
/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_46_10463.jpg
/home/pi/Desktop/images/12042025/01/06/image_12042025_01_06_55_9343.jpg
/home/pi/Desktop/images/12042025/01/06/image_12042025_01_07_05_10413.jpg
/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_16_10432.jpg
/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_25_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352070604","1352070727","1352070749","1352070677","1352070587","1352070707"],"photo_ids_order":["1352070587","1352070604","1352070677","1352070707","1352070727","1352070749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30bf3e74e0ee5fa09c3c9853b06c8b73.jpg","text":"TemporaryFile(/tmp/multipartBody463229045981615765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426353274,"filename":"image_12042025_01_06_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89827fd53fe81c6d71f3324f012dd27e.jpg","text":"TemporaryFile(/tmp/multipartBody2955676307214226365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426353274,"filename":"image_12042025_01_07_16_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/344348709433d1cc40af5151942a33f2.jpg","text":"TemporaryFile(/tmp/multipartBody8367697851110954469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426353274,"filename":"image_12042025_01_07_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4bd3728abfe0a5fd9c3b9f4bafdd8d9.jpg","text":"TemporaryFile(/tmp/multipartBody4834941345429369595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426353274,"filename":"image_12042025_01_06_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93b97f473b7cf1def22b46f188c841d0.jpg","text":"TemporaryFile(/tmp/multipartBody2406350734320544695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426353274,"filename":"image_12042025_01_06_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7b5edf89550de31b0b58a1226d9b8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2386161999921274468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426353274,"filename":"image_12042025_01_07_05_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352070677","file1":"1352070604","file0":"1352070587","file4":"1352070727","file5":"1352070749","file3":"1352070707"},"map_files_photo_id_array":[{"photo_id":"1352070749","filename":"file5"},{"photo_id":"1352070677","filename":"file2"},{"photo_id":"1352070727","filename":"file4"},{"photo_id":"1352070604","filename":"file1"},{"photo_id":"1352070587","filename":"file0"},{"photo_id":"1352070707","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352070604":["hashtag1","hashtag2"]},{"1352070727":["hashtag1","hashtag2"]},{"1352070749":["hashtag1","hashtag2"]},{"1352070677":["hashtag1","hashtag2"]},{"1352070587":["hashtag1","hashtag2"]},{"1352070707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352070604, 1352070727, 1352070749, 1352070677, 1352070587, 1352070707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.714179039001465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:52:32.944978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_36_10461.jpg', '/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_45_9359.jpg', '/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_55_10373.jpg', '/home/pi/Desktop/images/12042025/01/07/image_12042025_01_08_06_10465.jpg', '/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_15_9474.jpg', '/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_26_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_36_10461.jpg
/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_45_9359.jpg
/home/pi/Desktop/images/12042025/01/07/image_12042025_01_07_55_10373.jpg
/home/pi/Desktop/images/12042025/01/07/image_12042025_01_08_06_10465.jpg
/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_15_9474.jpg
/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_26_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352070858","1352070846","1352070855","1352070863","1352070842","1352070850"],"photo_ids_order":["1352070842","1352070846","1352070850","1352070855","1352070858","1352070863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6a43277f63cdd7b5a1affaa02d3cacc.jpg","text":"TemporaryFile(/tmp/multipartBody9039350718578079940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426413508,"filename":"image_12042025_01_08_15_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3409f9291f4a683b08d262e30b96b55.jpg","text":"TemporaryFile(/tmp/multipartBody8120817131716406573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426413508,"filename":"image_12042025_01_07_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39637268003bf3059d3cf0d7999ac0f4.jpg","text":"TemporaryFile(/tmp/multipartBody3648889673082304537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426413508,"filename":"image_12042025_01_08_06_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32bfe4808e29cf8798923d6a5ddaf72d.jpg","text":"TemporaryFile(/tmp/multipartBody5001279973324663146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426413508,"filename":"image_12042025_01_08_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd671d5045104434468068ee31882a3c.jpg","text":"TemporaryFile(/tmp/multipartBody6237404893425240419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426413508,"filename":"image_12042025_01_07_36_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09be4f8e8f4e6f7bb100f22bdeb5d3e8.jpg","text":"TemporaryFile(/tmp/multipartBody3900322151281688561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426413508,"filename":"image_12042025_01_07_55_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352070850","file1":"1352070846","file0":"1352070842","file4":"1352070858","file5":"1352070863","file3":"1352070855"},"map_files_photo_id_array":[{"photo_id":"1352070863","filename":"file5"},{"photo_id":"1352070850","filename":"file2"},{"photo_id":"1352070858","filename":"file4"},{"photo_id":"1352070846","filename":"file1"},{"photo_id":"1352070842","filename":"file0"},{"photo_id":"1352070855","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352070858":["hashtag1","hashtag2"]},{"1352070846":["hashtag1","hashtag2"]},{"1352070855":["hashtag1","hashtag2"]},{"1352070863":["hashtag1","hashtag2"]},{"1352070842":["hashtag1","hashtag2"]},{"1352070850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352070858, 1352070846, 1352070855, 1352070863, 1352070842, 1352070850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85066604614258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:53:33.311727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_35_9357.jpg', '/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_45_10455.jpg', '/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_55_9377.jpg', '/home/pi/Desktop/images/12042025/01/08/image_12042025_01_09_05_10468.jpg', '/home/pi/Desktop/images/12042025/01/09/image_12042025_01_09_16_10416.jpg', '/home/pi/Desktop/images/12042025/01/09/image_12042025_01_09_25_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_35_9357.jpg
/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_45_10455.jpg
/home/pi/Desktop/images/12042025/01/08/image_12042025_01_08_55_9377.jpg
/home/pi/Desktop/images/12042025/01/08/image_12042025_01_09_05_10468.jpg
/home/pi/Desktop/images/12042025/01/09/image_12042025_01_09_16_10416.jpg
/home/pi/Desktop/images/12042025/01/09/image_12042025_01_09_25_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352070940","1352070948","1352070933","1352070936","1352070944","1352070952"],"photo_ids_order":["1352070933","1352070936","1352070940","1352070944","1352070948","1352070952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b48a502644adad8009849f06b71dd5f2.jpg","text":"TemporaryFile(/tmp/multipartBody2152771103498923129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426473861,"filename":"image_12042025_01_08_55_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e73e7e0c135d27cfdeaeb972b2f654c6.jpg","text":"TemporaryFile(/tmp/multipartBody7390044694223611466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426473861,"filename":"image_12042025_01_09_16_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b74fb9c3f2bdb0f88ae00a356595b83.jpg","text":"TemporaryFile(/tmp/multipartBody4739608445185238459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426473861,"filename":"image_12042025_01_08_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8752be0e6b502619c291bfe8cbfd808d.jpg","text":"TemporaryFile(/tmp/multipartBody6330099583412566857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426473861,"filename":"image_12042025_01_08_45_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e60ff50a8a8e192f2888860b08c698b7.jpg","text":"TemporaryFile(/tmp/multipartBody1500929130356235067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426473861,"filename":"image_12042025_01_09_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88c9ed6b0ddf33d29678241fe6d88823.jpg","text":"TemporaryFile(/tmp/multipartBody5976328103240243371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426473861,"filename":"image_12042025_01_09_25_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352070940","file1":"1352070936","file0":"1352070933","file4":"1352070948","file5":"1352070952","file3":"1352070944"},"map_files_photo_id_array":[{"photo_id":"1352070952","filename":"file5"},{"photo_id":"1352070940","filename":"file2"},{"photo_id":"1352070948","filename":"file4"},{"photo_id":"1352070936","filename":"file1"},{"photo_id":"1352070933","filename":"file0"},{"photo_id":"1352070944","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352070940":["hashtag1","hashtag2"]},{"1352070948":["hashtag1","hashtag2"]},{"1352070933":["hashtag1","hashtag2"]},{"1352070936":["hashtag1","hashtag2"]},{"1352070944":["hashtag1","hashtag2"]},{"1352070952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352070940, 1352070948, 1352070933, 1352070936, 1352070944, 1352070952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1713171005249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:54:32.356617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/09/image_12042025_01_09_45_9370.jpg', '/home/pi/Desktop/images/12042025/01/09/image_12042025_01_09_55_10452.jpg', '/home/pi/Desktop/images/12042025/01/09/image_12042025_01_10_05_9386.jpg', '/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_15_10380.jpg', '/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_35_9361.jpg', '/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_45_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/09/image_12042025_01_09_45_9370.jpg
/home/pi/Desktop/images/12042025/01/09/image_12042025_01_09_55_10452.jpg
/home/pi/Desktop/images/12042025/01/09/image_12042025_01_10_05_9386.jpg
/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_15_10380.jpg
/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_35_9361.jpg
/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_45_10492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352071182","1352070978","1352071046","1352070968","1352071112","1352070973"],"photo_ids_order":["1352070968","1352070973","1352070978","1352071046","1352071112","1352071182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e38d1040835ce74fae551655c3ccf1b.jpg","text":"TemporaryFile(/tmp/multipartBody2600758941115413513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426532910,"filename":"image_12042025_01_10_45_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ae5bee9c0cc556658f4ea4829cca86e.jpg","text":"TemporaryFile(/tmp/multipartBody3551902758547747726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426532910,"filename":"image_12042025_01_10_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc9e1ebefe389bb4051d9127cfe126f5.jpg","text":"TemporaryFile(/tmp/multipartBody6861361485734784374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426532910,"filename":"image_12042025_01_10_15_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6e48f129cd594a8f51ea0ce7da0b384.jpg","text":"TemporaryFile(/tmp/multipartBody3497968538573819038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426532910,"filename":"image_12042025_01_09_45_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10684f72a4b87e263dab29c33a188c9a.jpg","text":"TemporaryFile(/tmp/multipartBody5720299537547128956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426532910,"filename":"image_12042025_01_10_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68e0b4bb2ba75f65adeb5ed87d2f3bfd.jpg","text":"TemporaryFile(/tmp/multipartBody5659778547665411739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426532910,"filename":"image_12042025_01_09_55_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352070978","file1":"1352070973","file0":"1352070968","file4":"1352071112","file5":"1352071182","file3":"1352071046"},"map_files_photo_id_array":[{"photo_id":"1352071182","filename":"file5"},{"photo_id":"1352070978","filename":"file2"},{"photo_id":"1352071112","filename":"file4"},{"photo_id":"1352070973","filename":"file1"},{"photo_id":"1352070968","filename":"file0"},{"photo_id":"1352071046","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352071182":["hashtag1","hashtag2"]},{"1352070978":["hashtag1","hashtag2"]},{"1352071046":["hashtag1","hashtag2"]},{"1352070968":["hashtag1","hashtag2"]},{"1352071112":["hashtag1","hashtag2"]},{"1352070973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352071182, 1352070978, 1352071046, 1352070968, 1352071112, 1352070973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.681253671646118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:55:32.566779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_56_10349.jpg', '/home/pi/Desktop/images/12042025/01/10/image_12042025_01_11_05_9353.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_15_10467.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_25_9342.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_35_10440.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_46_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_56_10349.jpg
/home/pi/Desktop/images/12042025/01/10/image_12042025_01_11_05_9353.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_15_10467.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_25_9342.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_35_10440.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_46_10449.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46636152267456055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 04:55:42.646061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_56_10349.jpg', '/home/pi/Desktop/images/12042025/01/10/image_12042025_01_11_05_9353.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_15_10467.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_25_9342.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_35_10440.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_46_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/10/image_12042025_01_10_56_10349.jpg
/home/pi/Desktop/images/12042025/01/10/image_12042025_01_11_05_9353.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_15_10467.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_25_9342.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_35_10440.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_46_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352071315","1352071268","1352071273","1352071276","1352071264","1352071252"],"photo_ids_order":["1352071252","1352071264","1352071268","1352071273","1352071276","1352071315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aae9a7dcbdec7168ef3d983ff76a765e.jpg","text":"TemporaryFile(/tmp/multipartBody4877826819634695762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426603105,"filename":"image_12042025_01_11_46_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e8b3bb9c16f35d25f7a019e8ba98b18.jpg","text":"TemporaryFile(/tmp/multipartBody674136762933002769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426603105,"filename":"image_12042025_01_11_15_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b6fe654d428079643ac52612ddfd64b.jpg","text":"TemporaryFile(/tmp/multipartBody3001323084900602229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426603105,"filename":"image_12042025_01_11_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66d6c55de6455e63e3770618f8468cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3732770482168968865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426603105,"filename":"image_12042025_01_11_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5af2aefe43eda016aeded42d603ffa52.jpg","text":"TemporaryFile(/tmp/multipartBody2506427131902695047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426603105,"filename":"image_12042025_01_11_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a90e76a549ae2b381fc641c4ff11da5f.jpg","text":"TemporaryFile(/tmp/multipartBody1873405453966838637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426603105,"filename":"image_12042025_01_10_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352071268","file1":"1352071264","file0":"1352071252","file4":"1352071276","file5":"1352071315","file3":"1352071273"},"map_files_photo_id_array":[{"photo_id":"1352071315","filename":"file5"},{"photo_id":"1352071268","filename":"file2"},{"photo_id":"1352071276","filename":"file4"},{"photo_id":"1352071264","filename":"file1"},{"photo_id":"1352071252","filename":"file0"},{"photo_id":"1352071273","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352071315":["hashtag1","hashtag2"]},{"1352071268":["hashtag1","hashtag2"]},{"1352071273":["hashtag1","hashtag2"]},{"1352071276":["hashtag1","hashtag2"]},{"1352071264":["hashtag1","hashtag2"]},{"1352071252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352071315, 1352071268, 1352071273, 1352071276, 1352071264, 1352071252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17230439186096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:56:32.769401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_55_9348.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_12_05_10454.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_15_9366.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_25_10527.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_35_9374.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_45_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_55_9348.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_12_05_10454.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_15_9366.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_25_10527.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_35_9374.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_45_10406.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47768330574035645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 04:56:42.911298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_55_9348.jpg', '/home/pi/Desktop/images/12042025/01/11/image_12042025_01_12_05_10454.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_15_9366.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_25_10527.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_35_9374.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_45_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_11_55_9348.jpg
/home/pi/Desktop/images/12042025/01/11/image_12042025_01_12_05_10454.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_15_9366.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_25_10527.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_35_9374.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_45_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352071350","1352071332","1352071329","1352071344","1352071346","1352071348"],"photo_ids_order":["1352071329","1352071332","1352071344","1352071346","1352071348","1352071350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e3dded332282162593e9fe8339a71a4.jpg","text":"TemporaryFile(/tmp/multipartBody1480052927645944205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426663379,"filename":"image_12042025_01_12_45_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/609f3a8feb321a8889cf8c9196fa4cac.jpg","text":"TemporaryFile(/tmp/multipartBody5164558404118095004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426663379,"filename":"image_12042025_01_12_05_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b819d2717918ad7067bb184891ab0fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7865373757126065355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426663379,"filename":"image_12042025_01_11_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2d6b7b8b07e94d1a78c449d00137429.jpg","text":"TemporaryFile(/tmp/multipartBody4998963141799112145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426663379,"filename":"image_12042025_01_12_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ae081382bebfc28196e18b8eb9091c2.jpg","text":"TemporaryFile(/tmp/multipartBody3028107776244496959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426663379,"filename":"image_12042025_01_12_25_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/872ca2bffbe0ae19760c8e4d2e783573.jpg","text":"TemporaryFile(/tmp/multipartBody2813193590002825114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426663379,"filename":"image_12042025_01_12_35_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352071344","file1":"1352071332","file0":"1352071329","file4":"1352071348","file5":"1352071350","file3":"1352071346"},"map_files_photo_id_array":[{"photo_id":"1352071350","filename":"file5"},{"photo_id":"1352071344","filename":"file2"},{"photo_id":"1352071348","filename":"file4"},{"photo_id":"1352071332","filename":"file1"},{"photo_id":"1352071329","filename":"file0"},{"photo_id":"1352071346","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352071350":["hashtag1","hashtag2"]},{"1352071332":["hashtag1","hashtag2"]},{"1352071329":["hashtag1","hashtag2"]},{"1352071344":["hashtag1","hashtag2"]},{"1352071346":["hashtag1","hashtag2"]},{"1352071348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352071350, 1352071332, 1352071329, 1352071344, 1352071346, 1352071348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.729816913604736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 04:57:33.054183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_56_10344.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_13_05_9361.jpg', '/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_15_10449.jpg', '/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_26_10356.jpg', '/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_35_9356.jpg', '/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_46_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_56_10344.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_13_05_9361.jpg
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_15_10449.jpg
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_26_10356.jpg
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_35_9356.jpg
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_46_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 04:59:03.722815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_56_10344.jpg', '/home/pi/Desktop/images/12042025/01/12/image_12042025_01_13_05_9361.jpg', '/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_15_10449.jpg', '/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_26_10356.jpg', '/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_35_9356.jpg', '/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_46_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_12_56_10344.jpg
/home/pi/Desktop/images/12042025/01/12/image_12042025_01_13_05_9361.jpg
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_15_10449.jpg
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_26_10356.jpg
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_35_9356.jpg
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_13_46_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352071482","1352071408","1352071425","1352071463","1352071418","1352071432"],"photo_ids_order":["1352071408","1352071418","1352071425","1352071432","1352071463","1352071482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d6d38d1afd8770068d2309ab2e989ee.jpg","text":"TemporaryFile(/tmp/multipartBody8155923254856296424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426804273,"filename":"image_12042025_01_13_46_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be5f6cd483acbf1ca5464142d31b670b.jpg","text":"TemporaryFile(/tmp/multipartBody7936023537534696006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426804273,"filename":"image_12042025_01_12_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e77829ec37d766033e122ff0b1dccd7d.jpg","text":"TemporaryFile(/tmp/multipartBody227772141987724338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426804273,"filename":"image_12042025_01_13_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/093eb202728f918bd19b044478c8b215.jpg","text":"TemporaryFile(/tmp/multipartBody1730347483287864248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426804273,"filename":"image_12042025_01_13_35_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a7cb0623447658143aef62e56a75143.jpg","text":"TemporaryFile(/tmp/multipartBody2499794505019504599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426804273,"filename":"image_12042025_01_13_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/522f0381aabef6c8b415f5202d141e32.jpg","text":"TemporaryFile(/tmp/multipartBody8773355641587744904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426804273,"filename":"image_12042025_01_13_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352071425","file1":"1352071418","file0":"1352071408","file4":"1352071463","file5":"1352071482","file3":"1352071432"},"map_files_photo_id_array":[{"photo_id":"1352071482","filename":"file5"},{"photo_id":"1352071425","filename":"file2"},{"photo_id":"1352071463","filename":"file4"},{"photo_id":"1352071418","filename":"file1"},{"photo_id":"1352071408","filename":"file0"},{"photo_id":"1352071432","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352071482":["hashtag1","hashtag2"]},{"1352071408":["hashtag1","hashtag2"]},{"1352071425":["hashtag1","hashtag2"]},{"1352071463":["hashtag1","hashtag2"]},{"1352071418":["hashtag1","hashtag2"]},{"1352071432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352071482, 1352071408, 1352071425, 1352071463, 1352071418, 1352071432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.552197217941284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:00:32.796729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/13/image_12042025_01_14_05_10381.jpg', '/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_16_10370.jpg', '/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_25_9367.jpg', '/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_35_10415.jpg', '/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_45_9383.jpg', '/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_55_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/13/image_12042025_01_14_05_10381.jpg
/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_16_10370.jpg
/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_25_9367.jpg
/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_35_10415.jpg
/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_45_9383.jpg
/home/pi/Desktop/images/12042025/01/14/image_12042025_01_14_55_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352071513","1352071521","1352071515","1352071518","1352071544","1352071525"],"photo_ids_order":["1352071513","1352071515","1352071518","1352071521","1352071525","1352071544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31593388b3fbe1fe55259668e0c94f18.jpg","text":"TemporaryFile(/tmp/multipartBody4300106454626255298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426893395,"filename":"image_12042025_01_14_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfe1bfb71334c9f2fe5b636ea8780daa.jpg","text":"TemporaryFile(/tmp/multipartBody2214865990018374649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426893395,"filename":"image_12042025_01_14_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23e4ee0a9b438368a8805e0f78661a0a.jpg","text":"TemporaryFile(/tmp/multipartBody5937406205019732053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426893395,"filename":"image_12042025_01_14_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76050f8f4d857b55e4c410c8e5ef7d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3419286035246590813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426893395,"filename":"image_12042025_01_14_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd3c41433678921208997805b35cce63.jpg","text":"TemporaryFile(/tmp/multipartBody5888081139341803741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426893395,"filename":"image_12042025_01_14_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c451caf13c1af89536d1ee6ffc1fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody1047647545636261197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426893395,"filename":"image_12042025_01_14_45_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352071518","file1":"1352071515","file0":"1352071513","file4":"1352071525","file5":"1352071544","file3":"1352071521"},"map_files_photo_id_array":[{"photo_id":"1352071544","filename":"file5"},{"photo_id":"1352071518","filename":"file2"},{"photo_id":"1352071525","filename":"file4"},{"photo_id":"1352071515","filename":"file1"},{"photo_id":"1352071513","filename":"file0"},{"photo_id":"1352071521","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352071513":["hashtag1","hashtag2"]},{"1352071521":["hashtag1","hashtag2"]},{"1352071515":["hashtag1","hashtag2"]},{"1352071518":["hashtag1","hashtag2"]},{"1352071544":["hashtag1","hashtag2"]},{"1352071525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352071513, 1352071521, 1352071515, 1352071518, 1352071544, 1352071525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39683270454407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:01:32.936847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/14/image_12042025_01_15_06_10387.jpg', '/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_15_9361.jpg', '/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_25_10418.jpg', '/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_35_9384.jpg', '/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_45_10473.jpg', '/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_56_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/14/image_12042025_01_15_06_10387.jpg
/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_15_9361.jpg
/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_25_10418.jpg
/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_35_9384.jpg
/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_45_10473.jpg
/home/pi/Desktop/images/12042025/01/15/image_12042025_01_15_56_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352071772","1352071952","1352071847","1352071916","1352071882","1352071808"],"photo_ids_order":["1352071772","1352071808","1352071847","1352071882","1352071916","1352071952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3eabbcb64c127a62c87f8f55a6bbf964.jpg","text":"TemporaryFile(/tmp/multipartBody4591343498320742553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426953483,"filename":"image_12042025_01_15_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1030d3c9e1e152c5b7567b0dfd317a5.jpg","text":"TemporaryFile(/tmp/multipartBody2605013111798335911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426953483,"filename":"image_12042025_01_15_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3b9f91eb0b5cdec56cb5c10b8213c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8027144050811911930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426953483,"filename":"image_12042025_01_15_25_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64b0d611265aee1eae3d6a3fa603817b.jpg","text":"TemporaryFile(/tmp/multipartBody1215566549739699744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426953483,"filename":"image_12042025_01_15_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dad10b18eaf0925e8eab9c43e5f35487.jpg","text":"TemporaryFile(/tmp/multipartBody6750933543485320355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426953483,"filename":"image_12042025_01_15_35_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0e128b2de8a50145ab662474de4678d.jpg","text":"TemporaryFile(/tmp/multipartBody7531978537917755644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744426953483,"filename":"image_12042025_01_15_15_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352071847","file1":"1352071808","file0":"1352071772","file4":"1352071916","file5":"1352071952","file3":"1352071882"},"map_files_photo_id_array":[{"photo_id":"1352071952","filename":"file5"},{"photo_id":"1352071847","filename":"file2"},{"photo_id":"1352071916","filename":"file4"},{"photo_id":"1352071808","filename":"file1"},{"photo_id":"1352071772","filename":"file0"},{"photo_id":"1352071882","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352071772":["hashtag1","hashtag2"]},{"1352071952":["hashtag1","hashtag2"]},{"1352071847":["hashtag1","hashtag2"]},{"1352071916":["hashtag1","hashtag2"]},{"1352071882":["hashtag1","hashtag2"]},{"1352071808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352071772, 1352071952, 1352071847, 1352071916, 1352071882, 1352071808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7472140789032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:02:32.166312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/15/image_12042025_01_16_05_9369.jpg', '/home/pi/Desktop/images/12042025/01/16/image_12042025_01_16_35_10414.jpg', '/home/pi/Desktop/images/12042025/01/16/image_12042025_01_16_46_10379.jpg', '/home/pi/Desktop/images/12042025/01/16/image_12042025_01_16_55_9369.jpg', '/home/pi/Desktop/images/12042025/01/16/image_12042025_01_17_05_10455.jpg', '/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_15_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/15/image_12042025_01_16_05_9369.jpg
/home/pi/Desktop/images/12042025/01/16/image_12042025_01_16_35_10414.jpg
/home/pi/Desktop/images/12042025/01/16/image_12042025_01_16_46_10379.jpg
/home/pi/Desktop/images/12042025/01/16/image_12042025_01_16_55_9369.jpg
/home/pi/Desktop/images/12042025/01/16/image_12042025_01_17_05_10455.jpg
/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_15_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352072133","1352072106","1352072222","1352072159","1352072293","1352072190"],"photo_ids_order":["1352072106","1352072133","1352072159","1352072190","1352072222","1352072293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/292712792a07f5e46990d3e9c582e3f2.jpg","text":"TemporaryFile(/tmp/multipartBody1321010711321154083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427012710,"filename":"image_12042025_01_16_35_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d659b8c61a48d0e1952e790c13a592a2.jpg","text":"TemporaryFile(/tmp/multipartBody6089046385959101273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427012710,"filename":"image_12042025_01_16_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20d36147a40676accf3cfb58de648278.jpg","text":"TemporaryFile(/tmp/multipartBody7073189969206234384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427012710,"filename":"image_12042025_01_17_05_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b0bd7edae86f86d17c33e240c02562c.jpg","text":"TemporaryFile(/tmp/multipartBody2571410353198132262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427012710,"filename":"image_12042025_01_16_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8702d5949bbb5d2de73e4b5afa9a2daa.jpg","text":"TemporaryFile(/tmp/multipartBody847567850272926399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427012710,"filename":"image_12042025_01_17_15_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5d0ea5ad72a6860d546e1d0a4f6997e.jpg","text":"TemporaryFile(/tmp/multipartBody5859065821726783300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427012710,"filename":"image_12042025_01_16_55_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352072159","file1":"1352072133","file0":"1352072106","file4":"1352072222","file5":"1352072293","file3":"1352072190"},"map_files_photo_id_array":[{"photo_id":"1352072293","filename":"file5"},{"photo_id":"1352072159","filename":"file2"},{"photo_id":"1352072222","filename":"file4"},{"photo_id":"1352072133","filename":"file1"},{"photo_id":"1352072106","filename":"file0"},{"photo_id":"1352072190","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352072133":["hashtag1","hashtag2"]},{"1352072106":["hashtag1","hashtag2"]},{"1352072222":["hashtag1","hashtag2"]},{"1352072159":["hashtag1","hashtag2"]},{"1352072293":["hashtag1","hashtag2"]},{"1352072190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352072133, 1352072106, 1352072222, 1352072159, 1352072293, 1352072190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46144723892212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:03:32.499131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_25_10382.jpg', '/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_36_10361.jpg', '/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_45_9348.jpg', '/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_55_10381.jpg', '/home/pi/Desktop/images/12042025/01/17/image_12042025_01_18_06_10378.jpg', '/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_15_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_25_10382.jpg
/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_36_10361.jpg
/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_45_9348.jpg
/home/pi/Desktop/images/12042025/01/17/image_12042025_01_17_55_10381.jpg
/home/pi/Desktop/images/12042025/01/17/image_12042025_01_18_06_10378.jpg
/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_15_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352072658","1352072582","1352072606","1352072557","1352072629","1352072518"],"photo_ids_order":["1352072518","1352072557","1352072582","1352072606","1352072629","1352072658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c48afa0763a38a4f404a8c81a05c6e28.jpg","text":"TemporaryFile(/tmp/multipartBody3946807306187792755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427073028,"filename":"image_12042025_01_18_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94c7b3fd9ebc699708fb37a69b319054.jpg","text":"TemporaryFile(/tmp/multipartBody6550517242731502299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427073028,"filename":"image_12042025_01_17_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7acd716850440d74cda5f37560d9ac34.jpg","text":"TemporaryFile(/tmp/multipartBody3856890210152989038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427073028,"filename":"image_12042025_01_17_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cd4811b3e2930793e4e3ac8abdeeb0d.jpg","text":"TemporaryFile(/tmp/multipartBody7811240157523490777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427073028,"filename":"image_12042025_01_17_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f03730f750b9f04ca1dedeec33155ba.jpg","text":"TemporaryFile(/tmp/multipartBody1162841433910734665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427073028,"filename":"image_12042025_01_18_06_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8392eae823051c5be5804c10a75cdff.jpg","text":"TemporaryFile(/tmp/multipartBody5857891687247321015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427073028,"filename":"image_12042025_01_17_25_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352072582","file1":"1352072557","file0":"1352072518","file4":"1352072629","file5":"1352072658","file3":"1352072606"},"map_files_photo_id_array":[{"photo_id":"1352072658","filename":"file5"},{"photo_id":"1352072582","filename":"file2"},{"photo_id":"1352072629","filename":"file4"},{"photo_id":"1352072557","filename":"file1"},{"photo_id":"1352072518","filename":"file0"},{"photo_id":"1352072606","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352072658":["hashtag1","hashtag2"]},{"1352072582":["hashtag1","hashtag2"]},{"1352072606":["hashtag1","hashtag2"]},{"1352072557":["hashtag1","hashtag2"]},{"1352072629":["hashtag1","hashtag2"]},{"1352072518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352072658, 1352072582, 1352072606, 1352072557, 1352072629, 1352072518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.29565238952637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:04:32.688079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_26_10410.jpg', '/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_35_9398.jpg', '/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_45_10491.jpg', '/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_55_9352.jpg', '/home/pi/Desktop/images/12042025/01/18/image_12042025_01_19_05_10439.jpg', '/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_16_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_26_10410.jpg
/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_35_9398.jpg
/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_45_10491.jpg
/home/pi/Desktop/images/12042025/01/18/image_12042025_01_18_55_9352.jpg
/home/pi/Desktop/images/12042025/01/18/image_12042025_01_19_05_10439.jpg
/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_16_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352072841","1352072805","1352072777","1352072899","1352072830","1352072871"],"photo_ids_order":["1352072777","1352072805","1352072830","1352072841","1352072871","1352072899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15de83ce882e65ceacfc3fdf6c85eb05.jpg","text":"TemporaryFile(/tmp/multipartBody5599819831139698079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427133243,"filename":"image_12042025_01_18_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb506d8f48caab17e680287b4c9c4160.jpg","text":"TemporaryFile(/tmp/multipartBody917460735974946063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427133243,"filename":"image_12042025_01_18_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5b48c216939688ccd2611931407afaa.jpg","text":"TemporaryFile(/tmp/multipartBody1580392613222683793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427133243,"filename":"image_12042025_01_18_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d92348fe6c4fefa893252aaf0e829704.jpg","text":"TemporaryFile(/tmp/multipartBody5030910569737082121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427133243,"filename":"image_12042025_01_19_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fecf05eedd15383ae07a6f83cce9b0bb.jpg","text":"TemporaryFile(/tmp/multipartBody3603402141570060121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427133243,"filename":"image_12042025_01_18_45_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea7463281d9c412ebb93e9eaf472e383.jpg","text":"TemporaryFile(/tmp/multipartBody197926198791802060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427133243,"filename":"image_12042025_01_19_05_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352072830","file1":"1352072805","file0":"1352072777","file4":"1352072871","file5":"1352072899","file3":"1352072841"},"map_files_photo_id_array":[{"photo_id":"1352072899","filename":"file5"},{"photo_id":"1352072830","filename":"file2"},{"photo_id":"1352072871","filename":"file4"},{"photo_id":"1352072805","filename":"file1"},{"photo_id":"1352072777","filename":"file0"},{"photo_id":"1352072841","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352072841":["hashtag1","hashtag2"]},{"1352072805":["hashtag1","hashtag2"]},{"1352072777":["hashtag1","hashtag2"]},{"1352072899":["hashtag1","hashtag2"]},{"1352072830":["hashtag1","hashtag2"]},{"1352072871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352072841, 1352072805, 1352072777, 1352072899, 1352072830, 1352072871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.294411420822144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:05:32.899030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_25_9365.jpg', '/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_35_10462.jpg', '/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_45_9385.jpg', '/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_55_10454.jpg', '/home/pi/Desktop/images/12042025/01/19/image_12042025_01_20_06_10375.jpg', '/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_15_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_25_9365.jpg
/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_35_10462.jpg
/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_45_9385.jpg
/home/pi/Desktop/images/12042025/01/19/image_12042025_01_19_55_10454.jpg
/home/pi/Desktop/images/12042025/01/19/image_12042025_01_20_06_10375.jpg
/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_15_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352073479","1352073277","1352073343","1352073559","1352073405","1352073213"],"photo_ids_order":["1352073213","1352073277","1352073343","1352073405","1352073479","1352073559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0a4c9cd33e7611e69a8eb46a829f545.jpg","text":"TemporaryFile(/tmp/multipartBody2914907867262299443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427193452,"filename":"image_12042025_01_20_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa8a782152bb7cf9c75f4c08b12a37c3.jpg","text":"TemporaryFile(/tmp/multipartBody949921331029211177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427193452,"filename":"image_12042025_01_19_35_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a87641ece260b6157c396110501cb52.jpg","text":"TemporaryFile(/tmp/multipartBody2356943474607297723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427193452,"filename":"image_12042025_01_19_45_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aacf24698fd446b4b07f7c39ac541275.jpg","text":"TemporaryFile(/tmp/multipartBody4448702744342052966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427193452,"filename":"image_12042025_01_20_15_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aff901ea049e40e503dd85742a0def19.jpg","text":"TemporaryFile(/tmp/multipartBody5824416002224515098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427193452,"filename":"image_12042025_01_19_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c16d9f48fc5084a25070d16e111239cb.jpg","text":"TemporaryFile(/tmp/multipartBody3280086694889034320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427193452,"filename":"image_12042025_01_19_25_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352073343","file1":"1352073277","file0":"1352073213","file4":"1352073479","file5":"1352073559","file3":"1352073405"},"map_files_photo_id_array":[{"photo_id":"1352073559","filename":"file5"},{"photo_id":"1352073343","filename":"file2"},{"photo_id":"1352073479","filename":"file4"},{"photo_id":"1352073277","filename":"file1"},{"photo_id":"1352073213","filename":"file0"},{"photo_id":"1352073405","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352073479":["hashtag1","hashtag2"]},{"1352073277":["hashtag1","hashtag2"]},{"1352073343":["hashtag1","hashtag2"]},{"1352073559":["hashtag1","hashtag2"]},{"1352073405":["hashtag1","hashtag2"]},{"1352073213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352073479, 1352073277, 1352073343, 1352073559, 1352073405, 1352073213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13901352882385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:06:33.040593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_25_10480.jpg', '/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_35_9364.jpg', '/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_45_10411.jpg', '/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_56_10343.jpg', '/home/pi/Desktop/images/12042025/01/20/image_12042025_01_21_05_9360.jpg', '/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_15_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_25_10480.jpg
/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_35_9364.jpg
/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_45_10411.jpg
/home/pi/Desktop/images/12042025/01/20/image_12042025_01_20_56_10343.jpg
/home/pi/Desktop/images/12042025/01/20/image_12042025_01_21_05_9360.jpg
/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_15_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352074223","1352074403","1352074174","1352074345","1352074296","1352074263"],"photo_ids_order":["1352074174","1352074223","1352074263","1352074296","1352074345","1352074403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f052e5a0e2d153957ee8526ffc3424c0.jpg","text":"TemporaryFile(/tmp/multipartBody8520465665371731283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427253605,"filename":"image_12042025_01_20_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ea33229d6ac231879066e0341f62751.jpg","text":"TemporaryFile(/tmp/multipartBody7979744300773515889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427253605,"filename":"image_12042025_01_21_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfba23a1a8bacf2e574ecccf0f7a4211.jpg","text":"TemporaryFile(/tmp/multipartBody1596125127356928109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427253605,"filename":"image_12042025_01_20_25_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8dbd408e1b992e0c5d3e10d0c9f51c15.jpg","text":"TemporaryFile(/tmp/multipartBody8991449606046370608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427253605,"filename":"image_12042025_01_21_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af6a6b119937ed7cecc6d916ee5275ee.jpg","text":"TemporaryFile(/tmp/multipartBody4149394676396196204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427253605,"filename":"image_12042025_01_20_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49caa9b73bc2d946bab8d6ff93f216ea.jpg","text":"TemporaryFile(/tmp/multipartBody8093381248901513993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427253605,"filename":"image_12042025_01_20_45_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352074263","file1":"1352074223","file0":"1352074174","file4":"1352074345","file5":"1352074403","file3":"1352074296"},"map_files_photo_id_array":[{"photo_id":"1352074403","filename":"file5"},{"photo_id":"1352074263","filename":"file2"},{"photo_id":"1352074345","filename":"file4"},{"photo_id":"1352074223","filename":"file1"},{"photo_id":"1352074174","filename":"file0"},{"photo_id":"1352074296","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352074223":["hashtag1","hashtag2"]},{"1352074403":["hashtag1","hashtag2"]},{"1352074174":["hashtag1","hashtag2"]},{"1352074345":["hashtag1","hashtag2"]},{"1352074296":["hashtag1","hashtag2"]},{"1352074263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352074223, 1352074403, 1352074174, 1352074345, 1352074296, 1352074263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.94757056236267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:07:32.492300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_25_9401.jpg', '/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_35_10487.jpg', '/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_46_10380.jpg', '/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_55_9371.jpg', '/home/pi/Desktop/images/12042025/01/21/image_12042025_01_22_05_10360.jpg', '/home/pi/Desktop/images/12042025/01/22/image_12042025_01_22_16_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_25_9401.jpg
/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_35_10487.jpg
/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_46_10380.jpg
/home/pi/Desktop/images/12042025/01/21/image_12042025_01_21_55_9371.jpg
/home/pi/Desktop/images/12042025/01/21/image_12042025_01_22_05_10360.jpg
/home/pi/Desktop/images/12042025/01/22/image_12042025_01_22_16_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352075326","1352075050","1352075235","1352075498","1352075564","1352075393"],"photo_ids_order":["1352075050","1352075235","1352075326","1352075393","1352075498","1352075564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53fadb295130f93004ab696d36ea37f4.jpg","text":"TemporaryFile(/tmp/multipartBody2033895476745613853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427313043,"filename":"image_12042025_01_21_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/003eb10db2ea3039dbd8891c9e3c6b54.jpg","text":"TemporaryFile(/tmp/multipartBody7145167343340501152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427313043,"filename":"image_12042025_01_21_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d8985da506c4d35e1cc3e73a53b24b7.jpg","text":"TemporaryFile(/tmp/multipartBody4476135788092657812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427313043,"filename":"image_12042025_01_21_35_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/555b3bc6b8694279cf4e0bdedd888a89.jpg","text":"TemporaryFile(/tmp/multipartBody6464063729788566393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427313043,"filename":"image_12042025_01_22_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d29f38772b59891b631f62d126d464dd.jpg","text":"TemporaryFile(/tmp/multipartBody383517467656146042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427313043,"filename":"image_12042025_01_22_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be06d7006edd8ea2e9c705e3b44673b7.jpg","text":"TemporaryFile(/tmp/multipartBody4025291044716675723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427313043,"filename":"image_12042025_01_21_55_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352075326","file1":"1352075235","file0":"1352075050","file4":"1352075498","file5":"1352075564","file3":"1352075393"},"map_files_photo_id_array":[{"photo_id":"1352075564","filename":"file5"},{"photo_id":"1352075326","filename":"file2"},{"photo_id":"1352075498","filename":"file4"},{"photo_id":"1352075235","filename":"file1"},{"photo_id":"1352075050","filename":"file0"},{"photo_id":"1352075393","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352075326":["hashtag1","hashtag2"]},{"1352075050":["hashtag1","hashtag2"]},{"1352075235":["hashtag1","hashtag2"]},{"1352075498":["hashtag1","hashtag2"]},{"1352075564":["hashtag1","hashtag2"]},{"1352075393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352075326, 1352075050, 1352075235, 1352075498, 1352075564, 1352075393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.895657539367676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:08:32.684198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/22/image_12042025_01_22_25_9382.jpg', '/home/pi/Desktop/images/12042025/01/22/image_12042025_01_22_55_10436.jpg', '/home/pi/Desktop/images/12042025/01/22/image_12042025_01_23_06_10374.jpg', '/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_15_9429.jpg', '/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_26_10458.jpg', '/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_35_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/22/image_12042025_01_22_25_9382.jpg
/home/pi/Desktop/images/12042025/01/22/image_12042025_01_22_55_10436.jpg
/home/pi/Desktop/images/12042025/01/22/image_12042025_01_23_06_10374.jpg
/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_15_9429.jpg
/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_26_10458.jpg
/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_35_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352076427","1352076237","1352076150","1352076027","1352076108","1352076343"],"photo_ids_order":["1352076027","1352076108","1352076150","1352076237","1352076343","1352076427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a97342df8bf655b866b98c225a6908e.jpg","text":"TemporaryFile(/tmp/multipartBody5331769848806258941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427373259,"filename":"image_12042025_01_23_35_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d3780eb7ca26f56bfffec04efba5f34.jpg","text":"TemporaryFile(/tmp/multipartBody8474825467921872227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427373259,"filename":"image_12042025_01_23_15_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c3b36919b97ed388e43bd780a23918d.jpg","text":"TemporaryFile(/tmp/multipartBody9102457068497851162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427373259,"filename":"image_12042025_01_23_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9708f58a7e052ce43b72d9cc486a47e.jpg","text":"TemporaryFile(/tmp/multipartBody8700512398470727691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427373259,"filename":"image_12042025_01_22_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e730ee119a933b263257ea54d5d33e1.jpg","text":"TemporaryFile(/tmp/multipartBody5446085880026914718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427373259,"filename":"image_12042025_01_22_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/508916b0db198825d65425a2d1811ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7123965253045618714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427373259,"filename":"image_12042025_01_23_26_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352076150","file1":"1352076108","file0":"1352076027","file4":"1352076343","file5":"1352076427","file3":"1352076237"},"map_files_photo_id_array":[{"photo_id":"1352076427","filename":"file5"},{"photo_id":"1352076150","filename":"file2"},{"photo_id":"1352076343","filename":"file4"},{"photo_id":"1352076108","filename":"file1"},{"photo_id":"1352076027","filename":"file0"},{"photo_id":"1352076237","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352076427":["hashtag1","hashtag2"]},{"1352076237":["hashtag1","hashtag2"]},{"1352076150":["hashtag1","hashtag2"]},{"1352076027":["hashtag1","hashtag2"]},{"1352076108":["hashtag1","hashtag2"]},{"1352076343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352076427, 1352076237, 1352076150, 1352076027, 1352076108, 1352076343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31776714324951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:09:33.035283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_45_10379.jpg', '/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_55_9460.jpg', '/home/pi/Desktop/images/12042025/01/23/image_12042025_01_24_05_10370.jpg', '/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_16_10418.jpg', '/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_25_9362.jpg', '/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_35_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_45_10379.jpg
/home/pi/Desktop/images/12042025/01/23/image_12042025_01_23_55_9460.jpg
/home/pi/Desktop/images/12042025/01/23/image_12042025_01_24_05_10370.jpg
/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_16_10418.jpg
/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_25_9362.jpg
/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_35_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352077289","1352077178","1352077418","1352076956","1352077491","1352077083"],"photo_ids_order":["1352076956","1352077083","1352077178","1352077289","1352077418","1352077491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80872314ba97d1f5f01cfaa26dcc17c6.jpg","text":"TemporaryFile(/tmp/multipartBody3678922940818085128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427433584,"filename":"image_12042025_01_24_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7fe736daf50b076dd84e6563fba4bc8.jpg","text":"TemporaryFile(/tmp/multipartBody1846309650732145452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427433584,"filename":"image_12042025_01_24_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f00a5cabea87610d249d9fcee84206a1.jpg","text":"TemporaryFile(/tmp/multipartBody3162039101377933683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427433584,"filename":"image_12042025_01_24_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25b2b43dff3aa572e31bc68d501856f4.jpg","text":"TemporaryFile(/tmp/multipartBody5326176400244929861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427433584,"filename":"image_12042025_01_23_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/767a16ec01748dee5ec906d4af23ba36.jpg","text":"TemporaryFile(/tmp/multipartBody2755104055544532241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427433584,"filename":"image_12042025_01_24_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3d739da2d8094a8c00217450b9d888d.jpg","text":"TemporaryFile(/tmp/multipartBody430330471605406138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427433584,"filename":"image_12042025_01_23_55_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352077178","file1":"1352077083","file0":"1352076956","file4":"1352077418","file5":"1352077491","file3":"1352077289"},"map_files_photo_id_array":[{"photo_id":"1352077491","filename":"file5"},{"photo_id":"1352077178","filename":"file2"},{"photo_id":"1352077418","filename":"file4"},{"photo_id":"1352077083","filename":"file1"},{"photo_id":"1352076956","filename":"file0"},{"photo_id":"1352077289","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352077289":["hashtag1","hashtag2"]},{"1352077178":["hashtag1","hashtag2"]},{"1352077418":["hashtag1","hashtag2"]},{"1352076956":["hashtag1","hashtag2"]},{"1352077491":["hashtag1","hashtag2"]},{"1352077083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352077289, 1352077178, 1352077418, 1352076956, 1352077491, 1352077083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48940682411194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:10:33.173053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_46_10370.jpg', '/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_55_9358.jpg', '/home/pi/Desktop/images/12042025/01/24/image_12042025_01_25_05_10367.jpg', '/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_15_9368.jpg', '/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_25_10379.jpg', '/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_36_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_46_10370.jpg
/home/pi/Desktop/images/12042025/01/24/image_12042025_01_24_55_9358.jpg
/home/pi/Desktop/images/12042025/01/24/image_12042025_01_25_05_10367.jpg
/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_15_9368.jpg
/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_25_10379.jpg
/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_36_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352078351","1352078078","1352078170","1352078266","1352078152","1352078401"],"photo_ids_order":["1352078078","1352078152","1352078170","1352078266","1352078351","1352078401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e777d89ba2a81b35648025466aeb190a.jpg","text":"TemporaryFile(/tmp/multipartBody6382520759312441910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427493709,"filename":"image_12042025_01_25_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8de6b0a3ac92b98afcffad52d1c673d8.jpg","text":"TemporaryFile(/tmp/multipartBody1407070456752854644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427493709,"filename":"image_12042025_01_24_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a0ed7c6ca8df1b84d57fe04a6721fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8780489190868084955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427493709,"filename":"image_12042025_01_25_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f56a0c9de1cb074de9e4f42d2b2852e.jpg","text":"TemporaryFile(/tmp/multipartBody4246450539205406019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427493709,"filename":"image_12042025_01_25_15_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10f5945f4a5be9d697604b8b3c725ef1.jpg","text":"TemporaryFile(/tmp/multipartBody3760687229814344994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427493709,"filename":"image_12042025_01_24_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/799e4ac92466077e8ed20b33a6a1a70a.jpg","text":"TemporaryFile(/tmp/multipartBody6910337696004818923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427493709,"filename":"image_12042025_01_25_36_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352078170","file1":"1352078152","file0":"1352078078","file4":"1352078351","file5":"1352078401","file3":"1352078266"},"map_files_photo_id_array":[{"photo_id":"1352078401","filename":"file5"},{"photo_id":"1352078170","filename":"file2"},{"photo_id":"1352078351","filename":"file4"},{"photo_id":"1352078152","filename":"file1"},{"photo_id":"1352078078","filename":"file0"},{"photo_id":"1352078266","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352078351":["hashtag1","hashtag2"]},{"1352078078":["hashtag1","hashtag2"]},{"1352078170":["hashtag1","hashtag2"]},{"1352078266":["hashtag1","hashtag2"]},{"1352078152":["hashtag1","hashtag2"]},{"1352078401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352078351, 1352078078, 1352078170, 1352078266, 1352078152, 1352078401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.92057251930237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:11:32.291443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_45_9391.jpg', '/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_55_10444.jpg', '/home/pi/Desktop/images/12042025/01/25/image_12042025_01_26_06_10375.jpg', '/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_15_9378.jpg', '/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_26_10487.jpg', '/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_35_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_45_9391.jpg
/home/pi/Desktop/images/12042025/01/25/image_12042025_01_25_55_10444.jpg
/home/pi/Desktop/images/12042025/01/25/image_12042025_01_26_06_10375.jpg
/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_15_9378.jpg
/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_26_10487.jpg
/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_35_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352079056","1352078696","1352078965","1352078857","1352078923","1352078787"],"photo_ids_order":["1352078696","1352078787","1352078857","1352078923","1352078965","1352079056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad4d19beb7c3e675f288c7e0b669e3af.jpg","text":"TemporaryFile(/tmp/multipartBody5709226287958785382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427552838,"filename":"image_12042025_01_26_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11bb2b700966d50c2140df984ee4a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7120274543412988687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427552838,"filename":"image_12042025_01_25_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c8f56239d2925cc09bf6d7f6eda51f2.jpg","text":"TemporaryFile(/tmp/multipartBody4690791895797323160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427552838,"filename":"image_12042025_01_26_26_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfe29000e44e9e3419df3e56bdc23caa.jpg","text":"TemporaryFile(/tmp/multipartBody6652760226033797440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427552838,"filename":"image_12042025_01_26_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b97a6c4d4d3541122efbf5465a7a5c71.jpg","text":"TemporaryFile(/tmp/multipartBody4955945476780525446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427552838,"filename":"image_12042025_01_26_15_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be99d244ef77cf757f0e50d4b2f524b8.jpg","text":"TemporaryFile(/tmp/multipartBody2932120247365076351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427552838,"filename":"image_12042025_01_25_55_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352078857","file1":"1352078787","file0":"1352078696","file4":"1352078965","file5":"1352079056","file3":"1352078923"},"map_files_photo_id_array":[{"photo_id":"1352079056","filename":"file5"},{"photo_id":"1352078857","filename":"file2"},{"photo_id":"1352078965","filename":"file4"},{"photo_id":"1352078787","filename":"file1"},{"photo_id":"1352078696","filename":"file0"},{"photo_id":"1352078923","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352079056":["hashtag1","hashtag2"]},{"1352078696":["hashtag1","hashtag2"]},{"1352078965":["hashtag1","hashtag2"]},{"1352078857":["hashtag1","hashtag2"]},{"1352078923":["hashtag1","hashtag2"]},{"1352078787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352079056, 1352078696, 1352078965, 1352078857, 1352078923, 1352078787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51260852813721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:12:32.688428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_45_10369.jpg', '/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_56_10373.jpg', '/home/pi/Desktop/images/12042025/01/26/image_12042025_01_27_05_9409.jpg', '/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_16_10494.jpg', '/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_25_9382.jpg', '/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_35_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_45_10369.jpg
/home/pi/Desktop/images/12042025/01/26/image_12042025_01_26_56_10373.jpg
/home/pi/Desktop/images/12042025/01/26/image_12042025_01_27_05_9409.jpg
/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_16_10494.jpg
/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_25_9382.jpg
/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_35_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352079596","1352079554","1352079425","1352079632","1352079503","1352079582"],"photo_ids_order":["1352079425","1352079503","1352079554","1352079582","1352079596","1352079632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a481372ae24ff4e538a525544273a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6033147541622722429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427613241,"filename":"image_12042025_01_27_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2102dfcd2d444bbb9e7fbcffc0562dc5.jpg","text":"TemporaryFile(/tmp/multipartBody966322587348207018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427613241,"filename":"image_12042025_01_27_05_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08449cbed5d5232dcbd793e23f651565.jpg","text":"TemporaryFile(/tmp/multipartBody1238867736522389332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427613241,"filename":"image_12042025_01_26_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d2edf41077ad280cff2899fb4e7b524.jpg","text":"TemporaryFile(/tmp/multipartBody6490988400798939634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427613241,"filename":"image_12042025_01_27_35_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee1f41e7700ee4c36c0b747f46ae1db1.jpg","text":"TemporaryFile(/tmp/multipartBody9049179790814362647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427613241,"filename":"image_12042025_01_26_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66722756dabaeba9edbb594dcddcfc02.jpg","text":"TemporaryFile(/tmp/multipartBody4341773303035099831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427613241,"filename":"image_12042025_01_27_16_10494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352079554","file1":"1352079503","file0":"1352079425","file4":"1352079596","file5":"1352079632","file3":"1352079582"},"map_files_photo_id_array":[{"photo_id":"1352079632","filename":"file5"},{"photo_id":"1352079554","filename":"file2"},{"photo_id":"1352079596","filename":"file4"},{"photo_id":"1352079503","filename":"file1"},{"photo_id":"1352079425","filename":"file0"},{"photo_id":"1352079582","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352079596":["hashtag1","hashtag2"]},{"1352079554":["hashtag1","hashtag2"]},{"1352079425":["hashtag1","hashtag2"]},{"1352079632":["hashtag1","hashtag2"]},{"1352079503":["hashtag1","hashtag2"]},{"1352079582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352079596, 1352079554, 1352079425, 1352079632, 1352079503, 1352079582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29908990859985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:13:32.909126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_45_9357.jpg', '/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_55_10468.jpg', '/home/pi/Desktop/images/12042025/01/27/image_12042025_01_28_06_10379.jpg', '/home/pi/Desktop/images/12042025/01/28/image_12042025_01_28_35_9400.jpg', '/home/pi/Desktop/images/12042025/01/28/image_12042025_01_28_45_10447.jpg', '/home/pi/Desktop/images/12042025/01/29/image_12042025_01_29_15_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_45_9357.jpg
/home/pi/Desktop/images/12042025/01/27/image_12042025_01_27_55_10468.jpg
/home/pi/Desktop/images/12042025/01/27/image_12042025_01_28_06_10379.jpg
/home/pi/Desktop/images/12042025/01/28/image_12042025_01_28_35_9400.jpg
/home/pi/Desktop/images/12042025/01/28/image_12042025_01_28_45_10447.jpg
/home/pi/Desktop/images/12042025/01/29/image_12042025_01_29_15_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352080085","1352080136","1352079964","1352080057","1352080030","1352079896"],"photo_ids_order":["1352079896","1352079964","1352080030","1352080057","1352080085","1352080136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1de0b68597b1eddda41118c2f49ef09.jpg","text":"TemporaryFile(/tmp/multipartBody4067042193574835851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427673434,"filename":"image_12042025_01_28_45_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28b612a19e918a7362863e40e66270be.jpg","text":"TemporaryFile(/tmp/multipartBody1200290640679573501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427673434,"filename":"image_12042025_01_29_15_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e24bb41196410a04064f1038baf53d2a.jpg","text":"TemporaryFile(/tmp/multipartBody6660559784296433570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427673434,"filename":"image_12042025_01_27_55_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a2a7eeada9e551b83e6fc797340301d.jpg","text":"TemporaryFile(/tmp/multipartBody8900719556942788829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427673434,"filename":"image_12042025_01_28_35_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8768e141e0ac7919094ae4bdeb216cba.jpg","text":"TemporaryFile(/tmp/multipartBody7387998897764944097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427673434,"filename":"image_12042025_01_28_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6834e5d988331f7f96b86623a0d000bc.jpg","text":"TemporaryFile(/tmp/multipartBody1363161854631367162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427673434,"filename":"image_12042025_01_27_45_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352080030","file1":"1352079964","file0":"1352079896","file4":"1352080085","file5":"1352080136","file3":"1352080057"},"map_files_photo_id_array":[{"photo_id":"1352080136","filename":"file5"},{"photo_id":"1352080030","filename":"file2"},{"photo_id":"1352080085","filename":"file4"},{"photo_id":"1352079964","filename":"file1"},{"photo_id":"1352079896","filename":"file0"},{"photo_id":"1352080057","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352080085":["hashtag1","hashtag2"]},{"1352080136":["hashtag1","hashtag2"]},{"1352079964":["hashtag1","hashtag2"]},{"1352080057":["hashtag1","hashtag2"]},{"1352080030":["hashtag1","hashtag2"]},{"1352079896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352080085, 1352080136, 1352079964, 1352080057, 1352080030, 1352079896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.425877809524536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:14:33.043583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/29/image_12042025_01_29_35_10373.jpg', '/home/pi/Desktop/images/12042025/01/29/image_12042025_01_29_46_10389.jpg', '/home/pi/Desktop/images/12042025/01/29/image_12042025_01_29_55_9353.jpg', '/home/pi/Desktop/images/12042025/01/29/image_12042025_01_30_05_10401.jpg', '/home/pi/Desktop/images/12042025/01/30/image_12042025_01_30_16_10368.jpg', '/home/pi/Desktop/images/12042025/01/30/image_12042025_01_30_25_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/29/image_12042025_01_29_35_10373.jpg
/home/pi/Desktop/images/12042025/01/29/image_12042025_01_29_46_10389.jpg
/home/pi/Desktop/images/12042025/01/29/image_12042025_01_29_55_9353.jpg
/home/pi/Desktop/images/12042025/01/29/image_12042025_01_30_05_10401.jpg
/home/pi/Desktop/images/12042025/01/30/image_12042025_01_30_16_10368.jpg
/home/pi/Desktop/images/12042025/01/30/image_12042025_01_30_25_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352080512","1352080338","1352080559","1352080604","1352080402","1352080467"],"photo_ids_order":["1352080338","1352080402","1352080467","1352080512","1352080559","1352080604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ae841135f57e8a2a700c6d43b517e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6941008711509732672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427733506,"filename":"image_12042025_01_30_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e0e7fd70c0d2a0fa12f6f2a6fea70f7.jpg","text":"TemporaryFile(/tmp/multipartBody7988637664294360132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427733506,"filename":"image_12042025_01_29_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e85a6d2a5c5189e465ffb14e000f9198.jpg","text":"TemporaryFile(/tmp/multipartBody8019873137597967889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427733506,"filename":"image_12042025_01_30_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/768dc088e0f496aae1f31611d852466f.jpg","text":"TemporaryFile(/tmp/multipartBody8046801302659295482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427733506,"filename":"image_12042025_01_30_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee8eb867a55bb0fc3aec4da533a69718.jpg","text":"TemporaryFile(/tmp/multipartBody7073314498485123576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427733506,"filename":"image_12042025_01_29_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53d054f18b15f4f1e023adef3a85bd6a.jpg","text":"TemporaryFile(/tmp/multipartBody3995285949123064010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427733506,"filename":"image_12042025_01_29_55_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352080467","file1":"1352080402","file0":"1352080338","file4":"1352080559","file5":"1352080604","file3":"1352080512"},"map_files_photo_id_array":[{"photo_id":"1352080604","filename":"file5"},{"photo_id":"1352080467","filename":"file2"},{"photo_id":"1352080559","filename":"file4"},{"photo_id":"1352080402","filename":"file1"},{"photo_id":"1352080338","filename":"file0"},{"photo_id":"1352080512","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352080512":["hashtag1","hashtag2"]},{"1352080338":["hashtag1","hashtag2"]},{"1352080559":["hashtag1","hashtag2"]},{"1352080604":["hashtag1","hashtag2"]},{"1352080402":["hashtag1","hashtag2"]},{"1352080467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352080512, 1352080338, 1352080559, 1352080604, 1352080402, 1352080467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58013916015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:15:32.247592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/30/image_12042025_01_30_45_9375.jpg', '/home/pi/Desktop/images/12042025/01/30/image_12042025_01_30_55_10369.jpg', '/home/pi/Desktop/images/12042025/01/31/image_12042025_01_31_15_9413.jpg', '/home/pi/Desktop/images/12042025/01/31/image_12042025_01_31_36_10382.jpg', '/home/pi/Desktop/images/12042025/01/31/image_12042025_01_31_45_9480.jpg', '/home/pi/Desktop/images/12042025/01/31/image_12042025_01_31_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/30/image_12042025_01_30_45_9375.jpg
/home/pi/Desktop/images/12042025/01/30/image_12042025_01_30_55_10369.jpg
/home/pi/Desktop/images/12042025/01/31/image_12042025_01_31_15_9413.jpg
/home/pi/Desktop/images/12042025/01/31/image_12042025_01_31_36_10382.jpg
/home/pi/Desktop/images/12042025/01/31/image_12042025_01_31_45_9480.jpg
/home/pi/Desktop/images/12042025/01/31/image_12042025_01_31_56_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352081129","1352081173","1352081335","1352081317","1352081286","1352081226"],"photo_ids_order":["1352081129","1352081173","1352081226","1352081286","1352081317","1352081335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44fc987efeb07e6765ca7a058b0fc6a6.jpg","text":"TemporaryFile(/tmp/multipartBody6131584318855011823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427792719,"filename":"image_12042025_01_30_45_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6eec63ad876b0d9b5136a5cbbc49c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6276594485637492230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427792719,"filename":"image_12042025_01_30_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19ebe90f34133c795071cad76d49e413.jpg","text":"TemporaryFile(/tmp/multipartBody1157611205192439072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427792719,"filename":"image_12042025_01_31_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/696fe904c5107cbb12cb37c38b371baa.jpg","text":"TemporaryFile(/tmp/multipartBody6669445458720946167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427792719,"filename":"image_12042025_01_31_45_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7899a3f76bbaaa9f970ae336a7661226.jpg","text":"TemporaryFile(/tmp/multipartBody6231110594979820875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427792719,"filename":"image_12042025_01_31_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de968d628da8f80425502a07a25d3929.jpg","text":"TemporaryFile(/tmp/multipartBody8378030575722673205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427792719,"filename":"image_12042025_01_31_15_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352081226","file1":"1352081173","file0":"1352081129","file4":"1352081317","file5":"1352081335","file3":"1352081286"},"map_files_photo_id_array":[{"photo_id":"1352081335","filename":"file5"},{"photo_id":"1352081226","filename":"file2"},{"photo_id":"1352081317","filename":"file4"},{"photo_id":"1352081173","filename":"file1"},{"photo_id":"1352081129","filename":"file0"},{"photo_id":"1352081286","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352081129":["hashtag1","hashtag2"]},{"1352081173":["hashtag1","hashtag2"]},{"1352081335":["hashtag1","hashtag2"]},{"1352081317":["hashtag1","hashtag2"]},{"1352081286":["hashtag1","hashtag2"]},{"1352081226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352081129, 1352081173, 1352081335, 1352081317, 1352081286, 1352081226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07695913314819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:16:32.459074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/31/image_12042025_01_32_05_9431.jpg', '/home/pi/Desktop/images/12042025/01/32/image_12042025_01_32_15_10380.jpg', '/home/pi/Desktop/images/12042025/01/32/image_12042025_01_32_35_9347.jpg', '/home/pi/Desktop/images/12042025/01/32/image_12042025_01_32_46_10497.jpg', '/home/pi/Desktop/images/12042025/01/32/image_12042025_01_33_05_10434.jpg', '/home/pi/Desktop/images/12042025/01/33/image_12042025_01_33_15_9478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/31/image_12042025_01_32_05_9431.jpg
/home/pi/Desktop/images/12042025/01/32/image_12042025_01_32_15_10380.jpg
/home/pi/Desktop/images/12042025/01/32/image_12042025_01_32_35_9347.jpg
/home/pi/Desktop/images/12042025/01/32/image_12042025_01_32_46_10497.jpg
/home/pi/Desktop/images/12042025/01/32/image_12042025_01_33_05_10434.jpg
/home/pi/Desktop/images/12042025/01/33/image_12042025_01_33_15_9478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352081657","1352081615","1352081522","1352081587","1352081581","1352081487"],"photo_ids_order":["1352081487","1352081522","1352081581","1352081587","1352081615","1352081657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c285cddcfcbfb09667f234231b0578df.jpg","text":"TemporaryFile(/tmp/multipartBody693250305017646208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427852935,"filename":"image_12042025_01_33_15_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7d939e64e947ffa7bc00151fb2ded5b.jpg","text":"TemporaryFile(/tmp/multipartBody8303687632736461556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427852935,"filename":"image_12042025_01_33_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7eee636ca449ecef5574b2900c3c0b3.jpg","text":"TemporaryFile(/tmp/multipartBody8299205387617493451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427852935,"filename":"image_12042025_01_32_15_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/797a03c2037eef7b04035e919faf005f.jpg","text":"TemporaryFile(/tmp/multipartBody5300474632736879926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427852935,"filename":"image_12042025_01_32_46_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97dc181a0c489965e42ea1ec1182241a.jpg","text":"TemporaryFile(/tmp/multipartBody5315969876208688496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427852935,"filename":"image_12042025_01_32_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d39960239d96f3b6c56c1eb4409ff5a.jpg","text":"TemporaryFile(/tmp/multipartBody5758242128067424453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427852935,"filename":"image_12042025_01_32_05_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352081581","file1":"1352081522","file0":"1352081487","file4":"1352081615","file5":"1352081657","file3":"1352081587"},"map_files_photo_id_array":[{"photo_id":"1352081657","filename":"file5"},{"photo_id":"1352081581","filename":"file2"},{"photo_id":"1352081615","filename":"file4"},{"photo_id":"1352081522","filename":"file1"},{"photo_id":"1352081487","filename":"file0"},{"photo_id":"1352081587","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352081657":["hashtag1","hashtag2"]},{"1352081615":["hashtag1","hashtag2"]},{"1352081522":["hashtag1","hashtag2"]},{"1352081587":["hashtag1","hashtag2"]},{"1352081581":["hashtag1","hashtag2"]},{"1352081487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352081657, 1352081615, 1352081522, 1352081587, 1352081581, 1352081487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95589065551758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:17:32.558838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/33/image_12042025_01_33_25_10526.jpg', '/home/pi/Desktop/images/12042025/01/33/image_12042025_01_33_35_9466.jpg', '/home/pi/Desktop/images/12042025/01/33/image_12042025_01_33_45_10487.jpg', '/home/pi/Desktop/images/12042025/01/33/image_12042025_01_34_05_10477.jpg', '/home/pi/Desktop/images/12042025/01/34/image_12042025_01_34_35_10485.jpg', '/home/pi/Desktop/images/12042025/01/34/image_12042025_01_34_45_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/33/image_12042025_01_33_25_10526.jpg
/home/pi/Desktop/images/12042025/01/33/image_12042025_01_33_35_9466.jpg
/home/pi/Desktop/images/12042025/01/33/image_12042025_01_33_45_10487.jpg
/home/pi/Desktop/images/12042025/01/33/image_12042025_01_34_05_10477.jpg
/home/pi/Desktop/images/12042025/01/34/image_12042025_01_34_35_10485.jpg
/home/pi/Desktop/images/12042025/01/34/image_12042025_01_34_45_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352081945","1352081852","1352081877","1352082003","1352081978","1352081901"],"photo_ids_order":["1352081852","1352081877","1352081901","1352081945","1352081978","1352082003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b53e9b08dbb1bc3078a2294f11a9e50.jpg","text":"TemporaryFile(/tmp/multipartBody2776376695514868293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427913022,"filename":"image_12042025_01_34_05_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6c64c6a2c4eb345b45d2f73b885f40a.jpg","text":"TemporaryFile(/tmp/multipartBody5826170848314357430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427913022,"filename":"image_12042025_01_33_25_10526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62ec0fb13ecd350836a4ff8bca5b2826.jpg","text":"TemporaryFile(/tmp/multipartBody3213901289805679199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427913022,"filename":"image_12042025_01_33_35_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e4bdc37dd9aa87ef5b7620f0b1bbd91.jpg","text":"TemporaryFile(/tmp/multipartBody1853337610024829515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427913022,"filename":"image_12042025_01_34_45_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f9f1d4149a190dd504f69d66c00785f.jpg","text":"TemporaryFile(/tmp/multipartBody1147789299356720336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427913022,"filename":"image_12042025_01_34_35_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d41483a98c0aef3ae869549a9aca462.jpg","text":"TemporaryFile(/tmp/multipartBody6794491150574186629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427913022,"filename":"image_12042025_01_33_45_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352081901","file1":"1352081877","file0":"1352081852","file4":"1352081978","file5":"1352082003","file3":"1352081945"},"map_files_photo_id_array":[{"photo_id":"1352082003","filename":"file5"},{"photo_id":"1352081901","filename":"file2"},{"photo_id":"1352081978","filename":"file4"},{"photo_id":"1352081877","filename":"file1"},{"photo_id":"1352081852","filename":"file0"},{"photo_id":"1352081945","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352081945":["hashtag1","hashtag2"]},{"1352081852":["hashtag1","hashtag2"]},{"1352081877":["hashtag1","hashtag2"]},{"1352082003":["hashtag1","hashtag2"]},{"1352081978":["hashtag1","hashtag2"]},{"1352081901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352081945, 1352081852, 1352081877, 1352082003, 1352081978, 1352081901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21940064430237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:18:32.820986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/34/image_12042025_01_34_55_10395.jpg', '/home/pi/Desktop/images/12042025/01/35/image_12042025_01_35_15_9375.jpg', '/home/pi/Desktop/images/12042025/01/35/image_12042025_01_35_25_10386.jpg', '/home/pi/Desktop/images/12042025/01/35/image_12042025_01_35_35_9376.jpg', '/home/pi/Desktop/images/12042025/01/35/image_12042025_01_35_45_10439.jpg', '/home/pi/Desktop/images/12042025/01/36/image_12042025_01_36_46_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/34/image_12042025_01_34_55_10395.jpg
/home/pi/Desktop/images/12042025/01/35/image_12042025_01_35_15_9375.jpg
/home/pi/Desktop/images/12042025/01/35/image_12042025_01_35_25_10386.jpg
/home/pi/Desktop/images/12042025/01/35/image_12042025_01_35_35_9376.jpg
/home/pi/Desktop/images/12042025/01/35/image_12042025_01_35_45_10439.jpg
/home/pi/Desktop/images/12042025/01/36/image_12042025_01_36_46_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352082351","1352082468","1352082603","1352082395","1352082296","1352082554"],"photo_ids_order":["1352082296","1352082351","1352082395","1352082468","1352082554","1352082603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d96b9de09c8afe75f9542329a08b8af5.jpg","text":"TemporaryFile(/tmp/multipartBody441159718402581921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427973286,"filename":"image_12042025_01_35_15_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f524817dcb19ab5c1729ea9a8e82f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2734516656012040136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427973286,"filename":"image_12042025_01_35_35_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4006ef815d6f28c19b1b8350ca94840c.jpg","text":"TemporaryFile(/tmp/multipartBody1783402120004041504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427973286,"filename":"image_12042025_01_36_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/588a1ddb7c5fd0d84d5b4be84e2a684c.jpg","text":"TemporaryFile(/tmp/multipartBody4957313851417783610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427973286,"filename":"image_12042025_01_35_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f6a85ab985b4dda9dacc4e2ef51cc3d.jpg","text":"TemporaryFile(/tmp/multipartBody1738079511527631512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427973286,"filename":"image_12042025_01_34_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cdbfc1d6f102327636d4566799871a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7283147550261396503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744427973286,"filename":"image_12042025_01_35_45_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352082395","file1":"1352082351","file0":"1352082296","file4":"1352082554","file5":"1352082603","file3":"1352082468"},"map_files_photo_id_array":[{"photo_id":"1352082603","filename":"file5"},{"photo_id":"1352082395","filename":"file2"},{"photo_id":"1352082554","filename":"file4"},{"photo_id":"1352082351","filename":"file1"},{"photo_id":"1352082296","filename":"file0"},{"photo_id":"1352082468","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352082351":["hashtag1","hashtag2"]},{"1352082468":["hashtag1","hashtag2"]},{"1352082603":["hashtag1","hashtag2"]},{"1352082395":["hashtag1","hashtag2"]},{"1352082296":["hashtag1","hashtag2"]},{"1352082554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352082351, 1352082468, 1352082603, 1352082395, 1352082296, 1352082554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63663291931152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:19:33.082196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/36/image_12042025_01_36_55_9354.jpg', '/home/pi/Desktop/images/12042025/01/36/image_12042025_01_37_05_10369.jpg', '/home/pi/Desktop/images/12042025/01/37/image_12042025_01_37_16_10365.jpg', '/home/pi/Desktop/images/12042025/01/37/image_12042025_01_37_36_10384.jpg', '/home/pi/Desktop/images/12042025/01/37/image_12042025_01_37_45_9370.jpg', '/home/pi/Desktop/images/12042025/01/37/image_12042025_01_37_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/36/image_12042025_01_36_55_9354.jpg
/home/pi/Desktop/images/12042025/01/36/image_12042025_01_37_05_10369.jpg
/home/pi/Desktop/images/12042025/01/37/image_12042025_01_37_16_10365.jpg
/home/pi/Desktop/images/12042025/01/37/image_12042025_01_37_36_10384.jpg
/home/pi/Desktop/images/12042025/01/37/image_12042025_01_37_45_9370.jpg
/home/pi/Desktop/images/12042025/01/37/image_12042025_01_37_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352082902","1352082883","1352082811","1352082881","1352082834","1352082866"],"photo_ids_order":["1352082811","1352082834","1352082866","1352082881","1352082883","1352082902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17f00ea2220edc05a036ace70e5a16fd.jpg","text":"TemporaryFile(/tmp/multipartBody1994195813042141442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428033543,"filename":"image_12042025_01_37_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/feda584cb9a4fc423056cb46b3b3a5a4.jpg","text":"TemporaryFile(/tmp/multipartBody7770019997578934399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428033543,"filename":"image_12042025_01_37_45_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23783d4a82180f129238c392353d8fde.jpg","text":"TemporaryFile(/tmp/multipartBody3142258291811659450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428033543,"filename":"image_12042025_01_36_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f479c3e2bfc5073f9a48d8a669d90d1c.jpg","text":"TemporaryFile(/tmp/multipartBody7828695945752091479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428033543,"filename":"image_12042025_01_37_36_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c31cf862113050f5d0be1a29ab7959e.jpg","text":"TemporaryFile(/tmp/multipartBody8446508916245484482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428033543,"filename":"image_12042025_01_37_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b318f57dd313edc69de7953095e28a5.jpg","text":"TemporaryFile(/tmp/multipartBody7667759070284250437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428033543,"filename":"image_12042025_01_37_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352082866","file1":"1352082834","file0":"1352082811","file4":"1352082883","file5":"1352082902","file3":"1352082881"},"map_files_photo_id_array":[{"photo_id":"1352082902","filename":"file5"},{"photo_id":"1352082866","filename":"file2"},{"photo_id":"1352082883","filename":"file4"},{"photo_id":"1352082834","filename":"file1"},{"photo_id":"1352082811","filename":"file0"},{"photo_id":"1352082881","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352082902":["hashtag1","hashtag2"]},{"1352082883":["hashtag1","hashtag2"]},{"1352082811":["hashtag1","hashtag2"]},{"1352082881":["hashtag1","hashtag2"]},{"1352082834":["hashtag1","hashtag2"]},{"1352082866":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352082902, 1352082883, 1352082811, 1352082881, 1352082834, 1352082866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37108063697815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:20:32.366975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/37/image_12042025_01_38_06_10351.jpg', '/home/pi/Desktop/images/12042025/01/38/image_12042025_01_38_15_9483.jpg', '/home/pi/Desktop/images/12042025/01/38/image_12042025_01_38_35_9347.jpg', '/home/pi/Desktop/images/12042025/01/38/image_12042025_01_38_45_10403.jpg', '/home/pi/Desktop/images/12042025/01/38/image_12042025_01_38_56_10368.jpg', '/home/pi/Desktop/images/12042025/01/38/image_12042025_01_39_05_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/37/image_12042025_01_38_06_10351.jpg
/home/pi/Desktop/images/12042025/01/38/image_12042025_01_38_15_9483.jpg
/home/pi/Desktop/images/12042025/01/38/image_12042025_01_38_35_9347.jpg
/home/pi/Desktop/images/12042025/01/38/image_12042025_01_38_45_10403.jpg
/home/pi/Desktop/images/12042025/01/38/image_12042025_01_38_56_10368.jpg
/home/pi/Desktop/images/12042025/01/38/image_12042025_01_39_05_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352082994","1352082976","1352083023","1352083032","1352083031","1352083004"],"photo_ids_order":["1352082976","1352082994","1352083004","1352083023","1352083031","1352083032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60828771b595294cde3a9ea7488c2506.jpg","text":"TemporaryFile(/tmp/multipartBody2133222408772534619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428092846,"filename":"image_12042025_01_38_15_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9d15c71acdd78af0c57839197164122.jpg","text":"TemporaryFile(/tmp/multipartBody6339740339430240667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428092846,"filename":"image_12042025_01_38_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/387d786eb055067371ac90e0d0b4e43e.jpg","text":"TemporaryFile(/tmp/multipartBody1917885909545162952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428092846,"filename":"image_12042025_01_38_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5cd6da5801b3ad1998ab47f3dfe4874.jpg","text":"TemporaryFile(/tmp/multipartBody6786119621093409928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428092846,"filename":"image_12042025_01_39_05_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e75910e743c71c398d0012556ffde22d.jpg","text":"TemporaryFile(/tmp/multipartBody1591982012061447107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428092846,"filename":"image_12042025_01_38_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8bd34f07390de4fb3e3d33132aeec08.jpg","text":"TemporaryFile(/tmp/multipartBody4879971061247040499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428092846,"filename":"image_12042025_01_38_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352083004","file1":"1352082994","file0":"1352082976","file4":"1352083031","file5":"1352083032","file3":"1352083023"},"map_files_photo_id_array":[{"photo_id":"1352083032","filename":"file5"},{"photo_id":"1352083004","filename":"file2"},{"photo_id":"1352083031","filename":"file4"},{"photo_id":"1352082994","filename":"file1"},{"photo_id":"1352082976","filename":"file0"},{"photo_id":"1352083023","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352082994":["hashtag1","hashtag2"]},{"1352082976":["hashtag1","hashtag2"]},{"1352083023":["hashtag1","hashtag2"]},{"1352083032":["hashtag1","hashtag2"]},{"1352083031":["hashtag1","hashtag2"]},{"1352083004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352082994, 1352082976, 1352083023, 1352083032, 1352083031, 1352083004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0414924621582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:21:32.507986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_15_10386.jpg', '/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_25_9341.jpg', '/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_35_10442.jpg', '/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_46_10444.jpg', '/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_55_9407.jpg', '/home/pi/Desktop/images/12042025/01/39/image_12042025_01_40_06_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_15_10386.jpg
/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_25_9341.jpg
/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_35_10442.jpg
/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_46_10444.jpg
/home/pi/Desktop/images/12042025/01/39/image_12042025_01_39_55_9407.jpg
/home/pi/Desktop/images/12042025/01/39/image_12042025_01_40_06_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352083294","1352083327","1352083231","1352083310","1352083279","1352083217"],"photo_ids_order":["1352083217","1352083231","1352083279","1352083294","1352083310","1352083327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/585ab9b1b1b36923244ae2ce18d4b9f0.jpg","text":"TemporaryFile(/tmp/multipartBody7286020734405789643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428153005,"filename":"image_12042025_01_39_46_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b9ede11e47a85581ef04d7b267618b4.jpg","text":"TemporaryFile(/tmp/multipartBody2820765547468785342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428153005,"filename":"image_12042025_01_40_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88044db809fb62f40090326a53ea396f.jpg","text":"TemporaryFile(/tmp/multipartBody8601181401575008462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428153005,"filename":"image_12042025_01_39_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5030c21e68aa17c273f5abf155d09ea.jpg","text":"TemporaryFile(/tmp/multipartBody4547936432958712526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428153005,"filename":"image_12042025_01_39_55_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f701b4d68c0d3c103e80316f3e28310.jpg","text":"TemporaryFile(/tmp/multipartBody362440438357157181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428153005,"filename":"image_12042025_01_39_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bdde90994906469d812338768b5f1e2.jpg","text":"TemporaryFile(/tmp/multipartBody427965418600127358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428153005,"filename":"image_12042025_01_39_15_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352083279","file1":"1352083231","file0":"1352083217","file4":"1352083310","file5":"1352083327","file3":"1352083294"},"map_files_photo_id_array":[{"photo_id":"1352083327","filename":"file5"},{"photo_id":"1352083279","filename":"file2"},{"photo_id":"1352083310","filename":"file4"},{"photo_id":"1352083231","filename":"file1"},{"photo_id":"1352083217","filename":"file0"},{"photo_id":"1352083294","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352083294":["hashtag1","hashtag2"]},{"1352083327":["hashtag1","hashtag2"]},{"1352083231":["hashtag1","hashtag2"]},{"1352083310":["hashtag1","hashtag2"]},{"1352083279":["hashtag1","hashtag2"]},{"1352083217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352083294, 1352083327, 1352083231, 1352083310, 1352083279, 1352083217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26481747627258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:22:32.751146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/40/image_12042025_01_40_15_9446.jpg', '/home/pi/Desktop/images/12042025/01/40/image_12042025_01_41_05_9373.jpg', '/home/pi/Desktop/images/12042025/01/41/image_12042025_01_41_15_10403.jpg', '/home/pi/Desktop/images/12042025/01/41/image_12042025_01_41_25_9358.jpg', '/home/pi/Desktop/images/12042025/01/41/image_12042025_01_41_46_10409.jpg', '/home/pi/Desktop/images/12042025/01/41/image_12042025_01_41_55_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/40/image_12042025_01_40_15_9446.jpg
/home/pi/Desktop/images/12042025/01/40/image_12042025_01_41_05_9373.jpg
/home/pi/Desktop/images/12042025/01/41/image_12042025_01_41_15_10403.jpg
/home/pi/Desktop/images/12042025/01/41/image_12042025_01_41_25_9358.jpg
/home/pi/Desktop/images/12042025/01/41/image_12042025_01_41_46_10409.jpg
/home/pi/Desktop/images/12042025/01/41/image_12042025_01_41_55_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352083723","1352084270","1352084135","1352083682","1352083946","1352083607"],"photo_ids_order":["1352083607","1352083682","1352083723","1352083946","1352084135","1352084270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/706e698aa1d48c9040cdb14bfdcb5122.jpg","text":"TemporaryFile(/tmp/multipartBody8229968250841413347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428213215,"filename":"image_12042025_01_41_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a32952d6b412c3ad32f9200d81082428.jpg","text":"TemporaryFile(/tmp/multipartBody3716551167569388289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428213215,"filename":"image_12042025_01_41_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1396a8a46061e84f550fbaae4c9d8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6366607994439009072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428213215,"filename":"image_12042025_01_41_46_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4665d138fc234b1ee4f935b88825a43c.jpg","text":"TemporaryFile(/tmp/multipartBody2398006874658836061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428213215,"filename":"image_12042025_01_41_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7615ecdfbdca254fa9945b77ed569d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4591555407875090551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428213215,"filename":"image_12042025_01_41_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d9fd257f223a55b028f1995b147debd.jpg","text":"TemporaryFile(/tmp/multipartBody5819197829004192555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428213215,"filename":"image_12042025_01_40_15_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352083723","file1":"1352083682","file0":"1352083607","file4":"1352084135","file5":"1352084270","file3":"1352083946"},"map_files_photo_id_array":[{"photo_id":"1352084270","filename":"file5"},{"photo_id":"1352083723","filename":"file2"},{"photo_id":"1352084135","filename":"file4"},{"photo_id":"1352083682","filename":"file1"},{"photo_id":"1352083607","filename":"file0"},{"photo_id":"1352083946","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352083723":["hashtag1","hashtag2"]},{"1352084270":["hashtag1","hashtag2"]},{"1352084135":["hashtag1","hashtag2"]},{"1352083682":["hashtag1","hashtag2"]},{"1352083946":["hashtag1","hashtag2"]},{"1352083607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352083723, 1352084270, 1352084135, 1352083682, 1352083946, 1352083607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.1072735786438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:23:33.062249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/41/image_12042025_01_42_05_10445.jpg', '/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_15_9374.jpg', '/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_25_10444.jpg', '/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_36_10380.jpg', '/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_45_9365.jpg', '/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_55_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/41/image_12042025_01_42_05_10445.jpg
/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_15_9374.jpg
/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_25_10444.jpg
/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_36_10380.jpg
/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_45_9365.jpg
/home/pi/Desktop/images/12042025/01/42/image_12042025_01_42_55_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352084527","1352084757","1352084559","1352084636","1352084686","1352084470"],"photo_ids_order":["1352084470","1352084527","1352084559","1352084636","1352084686","1352084757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd8406189f14f26f0a0b5555a3e391ff.jpg","text":"TemporaryFile(/tmp/multipartBody8865256734157458694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428273541,"filename":"image_12042025_01_42_15_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad2028d913c87133ccd491e1d6cf3f21.jpg","text":"TemporaryFile(/tmp/multipartBody1415050204192041580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428273541,"filename":"image_12042025_01_42_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96c2d023a30049feb27f1f7b592a5c42.jpg","text":"TemporaryFile(/tmp/multipartBody2980829257937877772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428273541,"filename":"image_12042025_01_42_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1804680923d40f9eecaa5d9848046cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3959739091874298306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428273541,"filename":"image_12042025_01_42_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a5b4a360b1ece30cdc9cb4c38eea46e.jpg","text":"TemporaryFile(/tmp/multipartBody8202706826359308511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428273541,"filename":"image_12042025_01_42_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a77515ada95dc39b29eef6791d63e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4035081321801774280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428273541,"filename":"image_12042025_01_42_05_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352084559","file1":"1352084527","file0":"1352084470","file4":"1352084686","file5":"1352084757","file3":"1352084636"},"map_files_photo_id_array":[{"photo_id":"1352084757","filename":"file5"},{"photo_id":"1352084559","filename":"file2"},{"photo_id":"1352084686","filename":"file4"},{"photo_id":"1352084527","filename":"file1"},{"photo_id":"1352084470","filename":"file0"},{"photo_id":"1352084636","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352084527":["hashtag1","hashtag2"]},{"1352084757":["hashtag1","hashtag2"]},{"1352084559":["hashtag1","hashtag2"]},{"1352084636":["hashtag1","hashtag2"]},{"1352084686":["hashtag1","hashtag2"]},{"1352084470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352084527, 1352084757, 1352084559, 1352084636, 1352084686, 1352084470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52870774269104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:24:32.164581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/43/image_12042025_01_43_25_9439.jpg', '/home/pi/Desktop/images/12042025/01/43/image_12042025_01_43_35_10452.jpg', '/home/pi/Desktop/images/12042025/01/43/image_12042025_01_43_46_10429.jpg', '/home/pi/Desktop/images/12042025/01/43/image_12042025_01_43_55_9364.jpg', '/home/pi/Desktop/images/12042025/01/44/image_12042025_01_44_15_9356.jpg', '/home/pi/Desktop/images/12042025/01/44/image_12042025_01_44_25_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/43/image_12042025_01_43_25_9439.jpg
/home/pi/Desktop/images/12042025/01/43/image_12042025_01_43_35_10452.jpg
/home/pi/Desktop/images/12042025/01/43/image_12042025_01_43_46_10429.jpg
/home/pi/Desktop/images/12042025/01/43/image_12042025_01_43_55_9364.jpg
/home/pi/Desktop/images/12042025/01/44/image_12042025_01_44_15_9356.jpg
/home/pi/Desktop/images/12042025/01/44/image_12042025_01_44_25_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352085147","1352085177","1352085204","1352085221","1352085323","1352085301"],"photo_ids_order":["1352085147","1352085177","1352085204","1352085221","1352085301","1352085323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30c1bba31757a41eabd6a866699510c1.jpg","text":"TemporaryFile(/tmp/multipartBody6967275047548651365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428332647,"filename":"image_12042025_01_43_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89335d21238fbe0c5774e9fa688b8c32.jpg","text":"TemporaryFile(/tmp/multipartBody1573560988668937587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428332647,"filename":"image_12042025_01_43_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce5feb44baffc5232b6675175f6df967.jpg","text":"TemporaryFile(/tmp/multipartBody9034350890629728424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428332647,"filename":"image_12042025_01_43_46_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c8be62608e1c86aaf7a926b08516cde.jpg","text":"TemporaryFile(/tmp/multipartBody7654028277565898276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428332647,"filename":"image_12042025_01_43_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/097c3b0849b1922af0cb60e781b1885d.jpg","text":"TemporaryFile(/tmp/multipartBody5335445690482940098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428332647,"filename":"image_12042025_01_44_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/151ec93e577b7ed8379c26a6bbbc8cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4243732751688006642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428332647,"filename":"image_12042025_01_44_15_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352085204","file1":"1352085177","file0":"1352085147","file4":"1352085301","file5":"1352085323","file3":"1352085221"},"map_files_photo_id_array":[{"photo_id":"1352085323","filename":"file5"},{"photo_id":"1352085204","filename":"file2"},{"photo_id":"1352085301","filename":"file4"},{"photo_id":"1352085177","filename":"file1"},{"photo_id":"1352085147","filename":"file0"},{"photo_id":"1352085221","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352085147":["hashtag1","hashtag2"]},{"1352085177":["hashtag1","hashtag2"]},{"1352085204":["hashtag1","hashtag2"]},{"1352085221":["hashtag1","hashtag2"]},{"1352085323":["hashtag1","hashtag2"]},{"1352085301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352085147, 1352085177, 1352085204, 1352085221, 1352085323, 1352085301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.203096866607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:25:32.373876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/44/image_12042025_01_44_36_10374.jpg', '/home/pi/Desktop/images/12042025/01/44/image_12042025_01_44_45_9351.jpg', '/home/pi/Desktop/images/12042025/01/44/image_12042025_01_45_05_9450.jpg', '/home/pi/Desktop/images/12042025/01/45/image_12042025_01_45_35_9382.jpg', '/home/pi/Desktop/images/12042025/01/45/image_12042025_01_45_46_10457.jpg', '/home/pi/Desktop/images/12042025/01/45/image_12042025_01_45_55_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/44/image_12042025_01_44_36_10374.jpg
/home/pi/Desktop/images/12042025/01/44/image_12042025_01_44_45_9351.jpg
/home/pi/Desktop/images/12042025/01/44/image_12042025_01_45_05_9450.jpg
/home/pi/Desktop/images/12042025/01/45/image_12042025_01_45_35_9382.jpg
/home/pi/Desktop/images/12042025/01/45/image_12042025_01_45_46_10457.jpg
/home/pi/Desktop/images/12042025/01/45/image_12042025_01_45_55_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352085735","1352085918","1352085828","1352085874","1352085676","1352085798"],"photo_ids_order":["1352085676","1352085735","1352085798","1352085828","1352085874","1352085918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c176e2face6e50bd990ac08028479e3.jpg","text":"TemporaryFile(/tmp/multipartBody6088691720736020328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428392838,"filename":"image_12042025_01_44_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd1950d9c8f92f90a5fc86de5601891f.jpg","text":"TemporaryFile(/tmp/multipartBody5851424856413039242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428392838,"filename":"image_12042025_01_45_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1019c5fe84784cd9c6986bf332a2def9.jpg","text":"TemporaryFile(/tmp/multipartBody6873770337862712842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428392838,"filename":"image_12042025_01_45_35_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/832781ee55aaaa960a67ac32b282bf7d.jpg","text":"TemporaryFile(/tmp/multipartBody6547806694585826324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428392838,"filename":"image_12042025_01_45_46_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fe0f952fb912617911ab6d1541ffd93.jpg","text":"TemporaryFile(/tmp/multipartBody4201373824518120506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428392838,"filename":"image_12042025_01_44_36_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9196796e9af48243d1e61f1a5a14f2b5.jpg","text":"TemporaryFile(/tmp/multipartBody8899598935780885295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428392838,"filename":"image_12042025_01_45_05_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352085798","file1":"1352085735","file0":"1352085676","file4":"1352085874","file5":"1352085918","file3":"1352085828"},"map_files_photo_id_array":[{"photo_id":"1352085918","filename":"file5"},{"photo_id":"1352085798","filename":"file2"},{"photo_id":"1352085874","filename":"file4"},{"photo_id":"1352085735","filename":"file1"},{"photo_id":"1352085676","filename":"file0"},{"photo_id":"1352085828","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352085735":["hashtag1","hashtag2"]},{"1352085918":["hashtag1","hashtag2"]},{"1352085828":["hashtag1","hashtag2"]},{"1352085874":["hashtag1","hashtag2"]},{"1352085676":["hashtag1","hashtag2"]},{"1352085798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352085735, 1352085918, 1352085828, 1352085874, 1352085676, 1352085798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.32697296142578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:26:32.583485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/46/image_12042025_01_46_25_10412.jpg', '/home/pi/Desktop/images/12042025/01/46/image_12042025_01_46_36_10409.jpg', '/home/pi/Desktop/images/12042025/01/47/image_12042025_01_47_26_10370.jpg', '/home/pi/Desktop/images/12042025/01/47/image_12042025_01_47_35_9389.jpg', '/home/pi/Desktop/images/12042025/01/47/image_12042025_01_47_45_10375.jpg', '/home/pi/Desktop/images/12042025/01/47/image_12042025_01_48_05_10497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/46/image_12042025_01_46_25_10412.jpg
/home/pi/Desktop/images/12042025/01/46/image_12042025_01_46_36_10409.jpg
/home/pi/Desktop/images/12042025/01/47/image_12042025_01_47_26_10370.jpg
/home/pi/Desktop/images/12042025/01/47/image_12042025_01_47_35_9389.jpg
/home/pi/Desktop/images/12042025/01/47/image_12042025_01_47_45_10375.jpg
/home/pi/Desktop/images/12042025/01/47/image_12042025_01_48_05_10497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352086199","1352086238","1352086297","1352086135","1352086341","1352086263"],"photo_ids_order":["1352086135","1352086199","1352086238","1352086263","1352086297","1352086341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/056445a02c2921feab682cf1fe884778.jpg","text":"TemporaryFile(/tmp/multipartBody1995505161455481286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428453068,"filename":"image_12042025_01_46_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b601477a36c815bfec8fbd4b0b7d073.jpg","text":"TemporaryFile(/tmp/multipartBody2916143847255084706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428453068,"filename":"image_12042025_01_47_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2657d5e275db3d0e8a99d611442e6af7.jpg","text":"TemporaryFile(/tmp/multipartBody3224528648344147024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428453068,"filename":"image_12042025_01_47_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0717a2daa8e6ec03baba8e51b081af3.jpg","text":"TemporaryFile(/tmp/multipartBody5375307767398425941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428453068,"filename":"image_12042025_01_46_25_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48ca29be88847beb12b8fcef50853498.jpg","text":"TemporaryFile(/tmp/multipartBody2619652178894139365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428453068,"filename":"image_12042025_01_48_05_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9052f7425f29d076a6a2edb4bc26dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody7682057771992033478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428453068,"filename":"image_12042025_01_47_35_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352086238","file1":"1352086199","file0":"1352086135","file4":"1352086297","file5":"1352086341","file3":"1352086263"},"map_files_photo_id_array":[{"photo_id":"1352086341","filename":"file5"},{"photo_id":"1352086238","filename":"file2"},{"photo_id":"1352086297","filename":"file4"},{"photo_id":"1352086199","filename":"file1"},{"photo_id":"1352086135","filename":"file0"},{"photo_id":"1352086263","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352086199":["hashtag1","hashtag2"]},{"1352086238":["hashtag1","hashtag2"]},{"1352086297":["hashtag1","hashtag2"]},{"1352086135":["hashtag1","hashtag2"]},{"1352086341":["hashtag1","hashtag2"]},{"1352086263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352086199, 1352086238, 1352086297, 1352086135, 1352086341, 1352086263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54348635673523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:27:32.704813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/48/image_12042025_01_48_15_9408.jpg', '/home/pi/Desktop/images/12042025/01/48/image_12042025_01_48_36_10419.jpg', '/home/pi/Desktop/images/12042025/01/48/image_12042025_01_48_45_9361.jpg', '/home/pi/Desktop/images/12042025/01/48/image_12042025_01_49_05_9372.jpg', '/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_15_10468.jpg', '/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_25_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/48/image_12042025_01_48_15_9408.jpg
/home/pi/Desktop/images/12042025/01/48/image_12042025_01_48_36_10419.jpg
/home/pi/Desktop/images/12042025/01/48/image_12042025_01_48_45_9361.jpg
/home/pi/Desktop/images/12042025/01/48/image_12042025_01_49_05_9372.jpg
/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_15_10468.jpg
/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_25_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352086487","1352086574","1352086511","1352086597","1352086497","1352086542"],"photo_ids_order":["1352086487","1352086497","1352086511","1352086542","1352086574","1352086597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd8a98674cf6104e39f7401e46ac4386.jpg","text":"TemporaryFile(/tmp/multipartBody6847665589020993865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428513186,"filename":"image_12042025_01_48_15_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d25aa5cdfea5bbeb999c1f1fc6367643.jpg","text":"TemporaryFile(/tmp/multipartBody6033119499870670100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428513186,"filename":"image_12042025_01_50_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b23117b219d2b4d638d850004a201ed.jpg","text":"TemporaryFile(/tmp/multipartBody2354656817473783761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428513186,"filename":"image_12042025_01_48_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e570bb4ad6c0323a5a76cc2d3aa64c30.jpg","text":"TemporaryFile(/tmp/multipartBody6688271714791589791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428513186,"filename":"image_12042025_01_50_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26f6e78a492fb2878d8e542df0a9f3ed.jpg","text":"TemporaryFile(/tmp/multipartBody1457805150172224814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428513186,"filename":"image_12042025_01_48_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e12c853770d873fe760e2356742e2ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3548512345477698224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428513186,"filename":"image_12042025_01_49_05_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352086511","file1":"1352086497","file0":"1352086487","file4":"1352086574","file5":"1352086597","file3":"1352086542"},"map_files_photo_id_array":[{"photo_id":"1352086597","filename":"file5"},{"photo_id":"1352086511","filename":"file2"},{"photo_id":"1352086574","filename":"file4"},{"photo_id":"1352086497","filename":"file1"},{"photo_id":"1352086487","filename":"file0"},{"photo_id":"1352086542","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352086487":["hashtag1","hashtag2"]},{"1352086574":["hashtag1","hashtag2"]},{"1352086511":["hashtag1","hashtag2"]},{"1352086597":["hashtag1","hashtag2"]},{"1352086497":["hashtag1","hashtag2"]},{"1352086542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352086487, 1352086574, 1352086511, 1352086597, 1352086497, 1352086542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29021859169006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:28:32.955376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_35_10438.jpg', '/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_46_10406.jpg', '/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_55_9359.jpg', '/home/pi/Desktop/images/12042025/01/50/image_12042025_01_51_06_10464.jpg', '/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_15_9373.jpg', '/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_25_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_35_10438.jpg
/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_46_10406.jpg
/home/pi/Desktop/images/12042025/01/50/image_12042025_01_50_55_9359.jpg
/home/pi/Desktop/images/12042025/01/50/image_12042025_01_51_06_10464.jpg
/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_15_9373.jpg
/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_25_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352086996","1352086984","1352086963","1352086969","1352087037","1352087052"],"photo_ids_order":["1352086963","1352086969","1352086984","1352086996","1352087037","1352087052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44864bd022dc8ea3c3fa96e373a91766.jpg","text":"TemporaryFile(/tmp/multipartBody5886818531518076551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428573424,"filename":"image_12042025_01_51_06_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c0a934ac8e0372557f29a8a3961a982.jpg","text":"TemporaryFile(/tmp/multipartBody170195237931346829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428573424,"filename":"image_12042025_01_50_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d631f11b4654c63d6da59861521b7389.jpg","text":"TemporaryFile(/tmp/multipartBody4655174284023620009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428573424,"filename":"image_12042025_01_50_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a9aeb6bd49f419de7bda8f75f389a3a.jpg","text":"TemporaryFile(/tmp/multipartBody6440924037524083577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428573424,"filename":"image_12042025_01_50_46_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34dab2cae4de2ad59020fab1a4d846a9.jpg","text":"TemporaryFile(/tmp/multipartBody6199476394917760315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428573424,"filename":"image_12042025_01_51_15_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/832f49d8afa228209e5cb6e8d6a58845.jpg","text":"TemporaryFile(/tmp/multipartBody4613796174056297853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428573424,"filename":"image_12042025_01_51_25_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352086984","file1":"1352086969","file0":"1352086963","file4":"1352087037","file5":"1352087052","file3":"1352086996"},"map_files_photo_id_array":[{"photo_id":"1352087052","filename":"file5"},{"photo_id":"1352086984","filename":"file2"},{"photo_id":"1352087037","filename":"file4"},{"photo_id":"1352086969","filename":"file1"},{"photo_id":"1352086963","filename":"file0"},{"photo_id":"1352086996","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352086996":["hashtag1","hashtag2"]},{"1352086984":["hashtag1","hashtag2"]},{"1352086963":["hashtag1","hashtag2"]},{"1352086969":["hashtag1","hashtag2"]},{"1352087037":["hashtag1","hashtag2"]},{"1352087052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352086996, 1352086984, 1352086963, 1352086969, 1352087037, 1352087052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51710844039917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:29:32.160228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_36_10345.jpg', '/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_45_9370.jpg', '/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_56_10416.jpg', '/home/pi/Desktop/images/12042025/01/51/image_12042025_01_52_05_9367.jpg', '/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_15_10390.jpg', '/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_36_10345.jpg
/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_45_9370.jpg
/home/pi/Desktop/images/12042025/01/51/image_12042025_01_51_56_10416.jpg
/home/pi/Desktop/images/12042025/01/51/image_12042025_01_52_05_9367.jpg
/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_15_10390.jpg
/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_26_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352087233","1352087428","1352087385","1352087280","1352087208","1352087264"],"photo_ids_order":["1352087208","1352087233","1352087264","1352087280","1352087385","1352087428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f61187db6dccec5af1eb15ec2f908bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1868297739058336373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428632643,"filename":"image_12042025_01_51_45_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93e371d3f4960dabdb7d88125955aefd.jpg","text":"TemporaryFile(/tmp/multipartBody880344315153751756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428632643,"filename":"image_12042025_01_52_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f32ec838cb5fdf70a4c097be7429a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2441561407128813355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428632643,"filename":"image_12042025_01_52_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/574292aee1829344b7b6fe1e61eaa06a.jpg","text":"TemporaryFile(/tmp/multipartBody6911233372485825094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428632643,"filename":"image_12042025_01_52_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8547cd876e3348d93ec68038644c4a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3290786619462826798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428632643,"filename":"image_12042025_01_51_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87f200781e4fdc830b81cb8561ce456d.jpg","text":"TemporaryFile(/tmp/multipartBody8805106559692978562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428632643,"filename":"image_12042025_01_51_56_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352087264","file1":"1352087233","file0":"1352087208","file4":"1352087385","file5":"1352087428","file3":"1352087280"},"map_files_photo_id_array":[{"photo_id":"1352087428","filename":"file5"},{"photo_id":"1352087264","filename":"file2"},{"photo_id":"1352087385","filename":"file4"},{"photo_id":"1352087233","filename":"file1"},{"photo_id":"1352087208","filename":"file0"},{"photo_id":"1352087280","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352087233":["hashtag1","hashtag2"]},{"1352087428":["hashtag1","hashtag2"]},{"1352087385":["hashtag1","hashtag2"]},{"1352087280":["hashtag1","hashtag2"]},{"1352087208":["hashtag1","hashtag2"]},{"1352087264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352087233, 1352087428, 1352087385, 1352087280, 1352087208, 1352087264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.650203466415405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:30:32.329824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_35_9364.jpg', '/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_45_10480.jpg', '/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_55_9378.jpg', '/home/pi/Desktop/images/12042025/01/52/image_12042025_01_53_05_10484.jpg', '/home/pi/Desktop/images/12042025/01/53/image_12042025_01_53_16_10349.jpg', '/home/pi/Desktop/images/12042025/01/53/image_12042025_01_53_25_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_35_9364.jpg
/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_45_10480.jpg
/home/pi/Desktop/images/12042025/01/52/image_12042025_01_52_55_9378.jpg
/home/pi/Desktop/images/12042025/01/52/image_12042025_01_53_05_10484.jpg
/home/pi/Desktop/images/12042025/01/53/image_12042025_01_53_16_10349.jpg
/home/pi/Desktop/images/12042025/01/53/image_12042025_01_53_25_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352087639","1352087665","1352087603","1352087731","1352087713","1352087571"],"photo_ids_order":["1352087571","1352087603","1352087639","1352087665","1352087713","1352087731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5700b1706d7e8ce32041a2187323d29e.jpg","text":"TemporaryFile(/tmp/multipartBody4586054190955749276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428692807,"filename":"image_12042025_01_52_55_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab12d6e29b949e427d3974006d3cdb43.jpg","text":"TemporaryFile(/tmp/multipartBody6528081657981125321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428692807,"filename":"image_12042025_01_53_05_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6b4f76d1a23cd8fd3c9b9681186d5f9.jpg","text":"TemporaryFile(/tmp/multipartBody5742323732756852544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428692807,"filename":"image_12042025_01_52_45_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7edba4a8b54c698cd032276d0b297e9b.jpg","text":"TemporaryFile(/tmp/multipartBody339122959031866916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428692807,"filename":"image_12042025_01_53_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63c32bae2ef2c5f17042d90baf05a08a.jpg","text":"TemporaryFile(/tmp/multipartBody7578155537327060241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428692807,"filename":"image_12042025_01_53_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a595ad670dd487d477eb10d8c2cbbd6a.jpg","text":"TemporaryFile(/tmp/multipartBody6697055894573484537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428692807,"filename":"image_12042025_01_52_35_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352087639","file1":"1352087603","file0":"1352087571","file4":"1352087713","file5":"1352087731","file3":"1352087665"},"map_files_photo_id_array":[{"photo_id":"1352087731","filename":"file5"},{"photo_id":"1352087639","filename":"file2"},{"photo_id":"1352087713","filename":"file4"},{"photo_id":"1352087603","filename":"file1"},{"photo_id":"1352087571","filename":"file0"},{"photo_id":"1352087665","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352087639":["hashtag1","hashtag2"]},{"1352087665":["hashtag1","hashtag2"]},{"1352087603":["hashtag1","hashtag2"]},{"1352087731":["hashtag1","hashtag2"]},{"1352087713":["hashtag1","hashtag2"]},{"1352087571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352087639, 1352087665, 1352087603, 1352087731, 1352087713, 1352087571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.41662287712097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:31:32.545222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/53/image_12042025_01_53_35_10441.jpg', '/home/pi/Desktop/images/12042025/01/53/image_12042025_01_53_45_9402.jpg', '/home/pi/Desktop/images/12042025/01/53/image_12042025_01_54_06_10372.jpg', '/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_15_9355.jpg', '/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_25_10375.jpg', '/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_35_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/53/image_12042025_01_53_35_10441.jpg
/home/pi/Desktop/images/12042025/01/53/image_12042025_01_53_45_9402.jpg
/home/pi/Desktop/images/12042025/01/53/image_12042025_01_54_06_10372.jpg
/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_15_9355.jpg
/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_25_10375.jpg
/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_35_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352087876","1352087926","1352087917","1352087952","1352087901","1352087852"],"photo_ids_order":["1352087852","1352087876","1352087901","1352087917","1352087926","1352087952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08b5a6b733ab89fba6df5f1224160a9e.jpg","text":"TemporaryFile(/tmp/multipartBody5180414575793424917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428753011,"filename":"image_12042025_01_53_45_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77dd7a0d52891e633b00035196d3e054.jpg","text":"TemporaryFile(/tmp/multipartBody7500798586851835521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428753011,"filename":"image_12042025_01_54_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9bb1855bc8d98098495b58b3ea342676.jpg","text":"TemporaryFile(/tmp/multipartBody4031420290629691153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428753011,"filename":"image_12042025_01_54_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e469d4a54906cbd5180cafc8d46c40d.jpg","text":"TemporaryFile(/tmp/multipartBody3436882525992933387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428753011,"filename":"image_12042025_01_54_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8d3cf52edcedb246638634d3e8d16e6.jpg","text":"TemporaryFile(/tmp/multipartBody7836416977187925853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428753011,"filename":"image_12042025_01_54_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7dcf82b36f8e579214fdf337af184578.jpg","text":"TemporaryFile(/tmp/multipartBody1321682782707772407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428753011,"filename":"image_12042025_01_53_35_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352087901","file1":"1352087876","file0":"1352087852","file4":"1352087926","file5":"1352087952","file3":"1352087917"},"map_files_photo_id_array":[{"photo_id":"1352087952","filename":"file5"},{"photo_id":"1352087901","filename":"file2"},{"photo_id":"1352087926","filename":"file4"},{"photo_id":"1352087876","filename":"file1"},{"photo_id":"1352087852","filename":"file0"},{"photo_id":"1352087917","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352087876":["hashtag1","hashtag2"]},{"1352087926":["hashtag1","hashtag2"]},{"1352087917":["hashtag1","hashtag2"]},{"1352087952":["hashtag1","hashtag2"]},{"1352087901":["hashtag1","hashtag2"]},{"1352087852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352087876, 1352087926, 1352087917, 1352087952, 1352087901, 1352087852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.391294956207275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:32:32.913341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_45_10566.jpg', '/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_56_10354.jpg', '/home/pi/Desktop/images/12042025/01/54/image_12042025_01_55_05_9481.jpg', '/home/pi/Desktop/images/12042025/01/55/image_12042025_01_55_25_9345.jpg', '/home/pi/Desktop/images/12042025/01/55/image_12042025_01_55_35_10451.jpg', '/home/pi/Desktop/images/12042025/01/55/image_12042025_01_55_45_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_45_10566.jpg
/home/pi/Desktop/images/12042025/01/54/image_12042025_01_54_56_10354.jpg
/home/pi/Desktop/images/12042025/01/54/image_12042025_01_55_05_9481.jpg
/home/pi/Desktop/images/12042025/01/55/image_12042025_01_55_25_9345.jpg
/home/pi/Desktop/images/12042025/01/55/image_12042025_01_55_35_10451.jpg
/home/pi/Desktop/images/12042025/01/55/image_12042025_01_55_45_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352088137","1352088070","1352088069","1352088098","1352088146","1352088074"],"photo_ids_order":["1352088069","1352088070","1352088074","1352088098","1352088137","1352088146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d55ea1817ea1ce96b125546c5c25ad48.jpg","text":"TemporaryFile(/tmp/multipartBody4505936289276410269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428813390,"filename":"image_12042025_01_55_35_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee6bc4643b3dd4210ff93d913d348cea.jpg","text":"TemporaryFile(/tmp/multipartBody5773925650707640945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428813390,"filename":"image_12042025_01_54_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9bc53c72f31c83ca6441fa4c3deb0204.jpg","text":"TemporaryFile(/tmp/multipartBody657734992481739013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428813390,"filename":"image_12042025_01_54_45_10566.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/295c4a3115dcf9138833e1287d3a8e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4799520339344098700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428813390,"filename":"image_12042025_01_55_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8611f73872822ad405f6bc28614bfb73.jpg","text":"TemporaryFile(/tmp/multipartBody6997878672331090326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428813390,"filename":"image_12042025_01_55_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8cee7dae1a30267a790350c5f02cf3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1131279863011556593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428813390,"filename":"image_12042025_01_55_05_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352088074","file1":"1352088070","file0":"1352088069","file4":"1352088137","file5":"1352088146","file3":"1352088098"},"map_files_photo_id_array":[{"photo_id":"1352088146","filename":"file5"},{"photo_id":"1352088074","filename":"file2"},{"photo_id":"1352088137","filename":"file4"},{"photo_id":"1352088070","filename":"file1"},{"photo_id":"1352088069","filename":"file0"},{"photo_id":"1352088098","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352088137":["hashtag1","hashtag2"]},{"1352088070":["hashtag1","hashtag2"]},{"1352088069":["hashtag1","hashtag2"]},{"1352088098":["hashtag1","hashtag2"]},{"1352088146":["hashtag1","hashtag2"]},{"1352088074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352088137, 1352088070, 1352088069, 1352088098, 1352088146, 1352088074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82152843475342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:33:32.969858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/55/image_12042025_01_55_55_10459.jpg', '/home/pi/Desktop/images/12042025/01/55/image_12042025_01_56_06_10362.jpg', '/home/pi/Desktop/images/12042025/01/56/image_12042025_01_56_15_9363.jpg', '/home/pi/Desktop/images/12042025/01/56/image_12042025_01_56_25_10370.jpg', '/home/pi/Desktop/images/12042025/01/56/image_12042025_01_57_05_9365.jpg', '/home/pi/Desktop/images/12042025/01/57/image_12042025_01_57_15_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/55/image_12042025_01_55_55_10459.jpg
/home/pi/Desktop/images/12042025/01/55/image_12042025_01_56_06_10362.jpg
/home/pi/Desktop/images/12042025/01/56/image_12042025_01_56_15_9363.jpg
/home/pi/Desktop/images/12042025/01/56/image_12042025_01_56_25_10370.jpg
/home/pi/Desktop/images/12042025/01/56/image_12042025_01_57_05_9365.jpg
/home/pi/Desktop/images/12042025/01/57/image_12042025_01_57_15_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352088205","1352088214","1352088208","1352088202","1352088210","1352088212"],"photo_ids_order":["1352088202","1352088205","1352088208","1352088210","1352088212","1352088214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a71a6520a0472b32fde7b23fdc450375.jpg","text":"TemporaryFile(/tmp/multipartBody8014611966295613243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428873454,"filename":"image_12042025_01_56_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1844a30ab6633b97f1d9214f94c36c48.jpg","text":"TemporaryFile(/tmp/multipartBody7490444712768835000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428873454,"filename":"image_12042025_01_57_15_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4c89fe25b3350b35a92d9c0afc3959f.jpg","text":"TemporaryFile(/tmp/multipartBody844664271376780379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428873454,"filename":"image_12042025_01_56_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/562f59bb81899295e2d4ea95f5efc2e5.jpg","text":"TemporaryFile(/tmp/multipartBody8574717204957945456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428873454,"filename":"image_12042025_01_55_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6316365469e175eff75da0ed63d287ab.jpg","text":"TemporaryFile(/tmp/multipartBody6355144809166199897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428873454,"filename":"image_12042025_01_56_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e8c7c2b7c46f2bd92865ecb85789811.jpg","text":"TemporaryFile(/tmp/multipartBody8258887408141945852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428873454,"filename":"image_12042025_01_57_05_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352088208","file1":"1352088205","file0":"1352088202","file4":"1352088212","file5":"1352088214","file3":"1352088210"},"map_files_photo_id_array":[{"photo_id":"1352088214","filename":"file5"},{"photo_id":"1352088208","filename":"file2"},{"photo_id":"1352088212","filename":"file4"},{"photo_id":"1352088205","filename":"file1"},{"photo_id":"1352088202","filename":"file0"},{"photo_id":"1352088210","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352088205":["hashtag1","hashtag2"]},{"1352088214":["hashtag1","hashtag2"]},{"1352088208":["hashtag1","hashtag2"]},{"1352088202":["hashtag1","hashtag2"]},{"1352088210":["hashtag1","hashtag2"]},{"1352088212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352088205, 1352088214, 1352088208, 1352088202, 1352088210, 1352088212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12507939338684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:34:32.173954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/57/image_12042025_01_57_26_10406.jpg', '/home/pi/Desktop/images/12042025/01/57/image_12042025_01_57_46_10434.jpg', '/home/pi/Desktop/images/12042025/01/57/image_12042025_01_57_55_9459.jpg', '/home/pi/Desktop/images/12042025/01/57/image_12042025_01_58_05_10460.jpg', '/home/pi/Desktop/images/12042025/01/58/image_12042025_01_58_25_10428.jpg', '/home/pi/Desktop/images/12042025/01/58/image_12042025_01_58_36_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/57/image_12042025_01_57_26_10406.jpg
/home/pi/Desktop/images/12042025/01/57/image_12042025_01_57_46_10434.jpg
/home/pi/Desktop/images/12042025/01/57/image_12042025_01_57_55_9459.jpg
/home/pi/Desktop/images/12042025/01/57/image_12042025_01_58_05_10460.jpg
/home/pi/Desktop/images/12042025/01/58/image_12042025_01_58_25_10428.jpg
/home/pi/Desktop/images/12042025/01/58/image_12042025_01_58_36_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352088379","1352088421","1352088396","1352088483","1352088452","1352088353"],"photo_ids_order":["1352088353","1352088379","1352088396","1352088421","1352088452","1352088483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a35231ffcfa90d7d2f2ebf10b1f6aed.jpg","text":"TemporaryFile(/tmp/multipartBody7581705082924425846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428932656,"filename":"image_12042025_01_57_46_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d41af6c49dd5e5c60262fce8bfa2bf1d.jpg","text":"TemporaryFile(/tmp/multipartBody6197267121787919826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428932656,"filename":"image_12042025_01_58_05_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/990ce2fe8aa1862c73099e089f4b2227.jpg","text":"TemporaryFile(/tmp/multipartBody8947021748266851698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428932656,"filename":"image_12042025_01_57_55_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1b09e99c4fb3b28a5257cc6f135a3cb.jpg","text":"TemporaryFile(/tmp/multipartBody4052912413412940132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428932656,"filename":"image_12042025_01_58_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d62d61fa428283c65507848d4e0c5c05.jpg","text":"TemporaryFile(/tmp/multipartBody8669729725551211665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428932656,"filename":"image_12042025_01_58_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39e64a7d4c4e03ef12e8d1524522c819.jpg","text":"TemporaryFile(/tmp/multipartBody6085850949236787718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428932656,"filename":"image_12042025_01_57_26_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352088396","file1":"1352088379","file0":"1352088353","file4":"1352088452","file5":"1352088483","file3":"1352088421"},"map_files_photo_id_array":[{"photo_id":"1352088483","filename":"file5"},{"photo_id":"1352088396","filename":"file2"},{"photo_id":"1352088452","filename":"file4"},{"photo_id":"1352088379","filename":"file1"},{"photo_id":"1352088353","filename":"file0"},{"photo_id":"1352088421","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352088379":["hashtag1","hashtag2"]},{"1352088421":["hashtag1","hashtag2"]},{"1352088396":["hashtag1","hashtag2"]},{"1352088483":["hashtag1","hashtag2"]},{"1352088452":["hashtag1","hashtag2"]},{"1352088353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352088379, 1352088421, 1352088396, 1352088483, 1352088452, 1352088353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.955472469329834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:35:32.464550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/01/58/image_12042025_01_58_45_9441.jpg', '/home/pi/Desktop/images/12042025/01/58/image_12042025_01_58_55_10433.jpg', '/home/pi/Desktop/images/12042025/01/58/image_12042025_01_59_05_9364.jpg', '/home/pi/Desktop/images/12042025/01/59/image_12042025_01_59_25_9386.jpg', '/home/pi/Desktop/images/12042025/01/59/image_12042025_01_59_35_10592.jpg', '/home/pi/Desktop/images/12042025/01/59/image_12042025_01_59_55_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/01/58/image_12042025_01_58_45_9441.jpg
/home/pi/Desktop/images/12042025/01/58/image_12042025_01_58_55_10433.jpg
/home/pi/Desktop/images/12042025/01/58/image_12042025_01_59_05_9364.jpg
/home/pi/Desktop/images/12042025/01/59/image_12042025_01_59_25_9386.jpg
/home/pi/Desktop/images/12042025/01/59/image_12042025_01_59_35_10592.jpg
/home/pi/Desktop/images/12042025/01/59/image_12042025_01_59_55_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352088682","1352088670","1352088673","1352088667","1352088677","1352088680"],"photo_ids_order":["1352088667","1352088670","1352088673","1352088677","1352088680","1352088682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/831072b9cbf9ebec918543a0f070b4cc.jpg","text":"TemporaryFile(/tmp/multipartBody5122076984085833243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428992937,"filename":"image_12042025_01_59_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4203914732cdc5ad53f6cf0a5e279689.jpg","text":"TemporaryFile(/tmp/multipartBody5944338333088406369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428992937,"filename":"image_12042025_01_58_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a87822a3af40b9889b8b4820a235f48d.jpg","text":"TemporaryFile(/tmp/multipartBody4430330750359129640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428992937,"filename":"image_12042025_01_59_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff5855f200e97f640854d302b39a0caf.jpg","text":"TemporaryFile(/tmp/multipartBody1410889319266912240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428992937,"filename":"image_12042025_01_58_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd53a78e40847ac7b4c5de346afc0174.jpg","text":"TemporaryFile(/tmp/multipartBody5049037705090589779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428992937,"filename":"image_12042025_01_59_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8192ac1916c9d73d96ec711a2587d99.jpg","text":"TemporaryFile(/tmp/multipartBody5003068484857618790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744428992937,"filename":"image_12042025_01_59_35_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352088673","file1":"1352088670","file0":"1352088667","file4":"1352088680","file5":"1352088682","file3":"1352088677"},"map_files_photo_id_array":[{"photo_id":"1352088682","filename":"file5"},{"photo_id":"1352088673","filename":"file2"},{"photo_id":"1352088680","filename":"file4"},{"photo_id":"1352088670","filename":"file1"},{"photo_id":"1352088667","filename":"file0"},{"photo_id":"1352088677","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352088682":["hashtag1","hashtag2"]},{"1352088670":["hashtag1","hashtag2"]},{"1352088673":["hashtag1","hashtag2"]},{"1352088667":["hashtag1","hashtag2"]},{"1352088677":["hashtag1","hashtag2"]},{"1352088680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352088682, 1352088670, 1352088673, 1352088667, 1352088677, 1352088680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.526564598083496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:36:32.675211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_14_10081.jpg', '/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_24_10392.jpg', '/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_35_10439.jpg', '/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_44_9382.jpg', '/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_55_10386.jpg', '/home/pi/Desktop/images/12042025/02/01/image_12042025_02_02_04_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_14_10081.jpg
/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_24_10392.jpg
/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_35_10439.jpg
/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_44_9382.jpg
/home/pi/Desktop/images/12042025/02/01/image_12042025_02_01_55_10386.jpg
/home/pi/Desktop/images/12042025/02/01/image_12042025_02_02_04_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352088778","1352088751","1352088730","1352088777","1352088735","1352088750"],"photo_ids_order":["1352088730","1352088735","1352088750","1352088751","1352088777","1352088778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/377cdf867c1553fde6a3e3bc27ac5180.jpg","text":"TemporaryFile(/tmp/multipartBody1892951809966901941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429053145,"filename":"image_12042025_02_02_04_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92e2305a05c350064cd528eb1abe5532.jpg","text":"TemporaryFile(/tmp/multipartBody5644149638103405313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429053145,"filename":"image_12042025_02_01_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3502d5c202fd1137e89f2e6889afd74d.jpg","text":"TemporaryFile(/tmp/multipartBody8455901045402807058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429053145,"filename":"image_12042025_02_01_14_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ddb391215fc50b40a6cfddd1980e9e0.jpg","text":"TemporaryFile(/tmp/multipartBody741743987719650194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429053145,"filename":"image_12042025_02_01_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96f6352a43b721c335b7d2c1f162cfe1.jpg","text":"TemporaryFile(/tmp/multipartBody6838318198882663762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429053145,"filename":"image_12042025_02_01_24_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e566330645a470f38df45fd6cbce82a6.jpg","text":"TemporaryFile(/tmp/multipartBody3705271222565914187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429053145,"filename":"image_12042025_02_01_35_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352088750","file1":"1352088735","file0":"1352088730","file4":"1352088777","file5":"1352088778","file3":"1352088751"},"map_files_photo_id_array":[{"photo_id":"1352088778","filename":"file5"},{"photo_id":"1352088750","filename":"file2"},{"photo_id":"1352088777","filename":"file4"},{"photo_id":"1352088735","filename":"file1"},{"photo_id":"1352088730","filename":"file0"},{"photo_id":"1352088751","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352088778":["hashtag1","hashtag2"]},{"1352088751":["hashtag1","hashtag2"]},{"1352088730":["hashtag1","hashtag2"]},{"1352088777":["hashtag1","hashtag2"]},{"1352088735":["hashtag1","hashtag2"]},{"1352088750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352088778, 1352088751, 1352088730, 1352088777, 1352088735, 1352088750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37990069389343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:37:32.889752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_14_10506.jpg', '/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_25_10387.jpg', '/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_34_9476.jpg', '/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_45_10365.jpg', '/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_54_9369.jpg', '/home/pi/Desktop/images/12042025/02/02/image_12042025_02_03_04_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_14_10506.jpg
/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_25_10387.jpg
/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_34_9476.jpg
/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_45_10365.jpg
/home/pi/Desktop/images/12042025/02/02/image_12042025_02_02_54_9369.jpg
/home/pi/Desktop/images/12042025/02/02/image_12042025_02_03_04_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352088787","1352088796","1352088784","1352088797","1352088791","1352088799"],"photo_ids_order":["1352088784","1352088787","1352088791","1352088796","1352088797","1352088799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffd72c33a232a80b326126a8579809c3.jpg","text":"TemporaryFile(/tmp/multipartBody5669049989112524059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429113360,"filename":"image_12042025_02_02_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/775e5fadc0da2d80f66b8ecda5264474.jpg","text":"TemporaryFile(/tmp/multipartBody598855542650271159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429113360,"filename":"image_12042025_02_02_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e54781fc643147fc0eb2d05d69527b59.jpg","text":"TemporaryFile(/tmp/multipartBody8128192694138574172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429113360,"filename":"image_12042025_02_02_14_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80df5b81af64d39fd0fa9baac559ea5a.jpg","text":"TemporaryFile(/tmp/multipartBody1438293133270537605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429113360,"filename":"image_12042025_02_02_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b8c54ac9f0217602d08ad0b80bcd6dc.jpg","text":"TemporaryFile(/tmp/multipartBody5504993028069484760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429113360,"filename":"image_12042025_02_02_34_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea81e3639f5442262f4ca9ed2f6b4099.jpg","text":"TemporaryFile(/tmp/multipartBody1488485132281836803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429113360,"filename":"image_12042025_02_03_04_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352088791","file1":"1352088787","file0":"1352088784","file4":"1352088797","file5":"1352088799","file3":"1352088796"},"map_files_photo_id_array":[{"photo_id":"1352088799","filename":"file5"},{"photo_id":"1352088791","filename":"file2"},{"photo_id":"1352088797","filename":"file4"},{"photo_id":"1352088787","filename":"file1"},{"photo_id":"1352088784","filename":"file0"},{"photo_id":"1352088796","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352088787":["hashtag1","hashtag2"]},{"1352088796":["hashtag1","hashtag2"]},{"1352088784":["hashtag1","hashtag2"]},{"1352088797":["hashtag1","hashtag2"]},{"1352088791":["hashtag1","hashtag2"]},{"1352088799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352088787, 1352088796, 1352088784, 1352088797, 1352088791, 1352088799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43679428100586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:38:32.461979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/03/image_12042025_02_03_15_10386.jpg', '/home/pi/Desktop/images/12042025/02/03/image_12042025_02_03_35_10376.jpg', '/home/pi/Desktop/images/12042025/02/03/image_12042025_02_03_44_9383.jpg', '/home/pi/Desktop/images/12042025/02/03/image_12042025_02_03_54_10455.jpg', '/home/pi/Desktop/images/12042025/02/03/image_12042025_02_04_04_9367.jpg', '/home/pi/Desktop/images/12042025/02/04/image_12042025_02_04_14_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/03/image_12042025_02_03_15_10386.jpg
/home/pi/Desktop/images/12042025/02/03/image_12042025_02_03_35_10376.jpg
/home/pi/Desktop/images/12042025/02/03/image_12042025_02_03_44_9383.jpg
/home/pi/Desktop/images/12042025/02/03/image_12042025_02_03_54_10455.jpg
/home/pi/Desktop/images/12042025/02/03/image_12042025_02_04_04_9367.jpg
/home/pi/Desktop/images/12042025/02/04/image_12042025_02_04_14_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352088902","1352088856","1352088924","1352088912","1352088881","1352088926"],"photo_ids_order":["1352088856","1352088881","1352088902","1352088912","1352088924","1352088926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c52d600bffaa991ad55e868ff8cab12a.jpg","text":"TemporaryFile(/tmp/multipartBody8706092456545904970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429172933,"filename":"image_12042025_02_03_44_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47421f45cddb163ed2f4f542216a374d.jpg","text":"TemporaryFile(/tmp/multipartBody2282905151912302849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429172933,"filename":"image_12042025_02_03_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f51153c8b9780b636b74d65ceca1f17.jpg","text":"TemporaryFile(/tmp/multipartBody7783522262057484101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429172933,"filename":"image_12042025_02_04_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb8b23e39342bdc9d87250c837ba78ba.jpg","text":"TemporaryFile(/tmp/multipartBody879418933115004350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429172933,"filename":"image_12042025_02_03_54_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d31aa0118a6a036115e6bffd0e4e63fa.jpg","text":"TemporaryFile(/tmp/multipartBody2936703387441055549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429172933,"filename":"image_12042025_02_03_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8da078286bc3284f97abcaf6d8097b52.jpg","text":"TemporaryFile(/tmp/multipartBody8549158023088863828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429172933,"filename":"image_12042025_02_04_14_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352088902","file1":"1352088881","file0":"1352088856","file4":"1352088924","file5":"1352088926","file3":"1352088912"},"map_files_photo_id_array":[{"photo_id":"1352088926","filename":"file5"},{"photo_id":"1352088902","filename":"file2"},{"photo_id":"1352088924","filename":"file4"},{"photo_id":"1352088881","filename":"file1"},{"photo_id":"1352088856","filename":"file0"},{"photo_id":"1352088912","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352088902":["hashtag1","hashtag2"]},{"1352088856":["hashtag1","hashtag2"]},{"1352088924":["hashtag1","hashtag2"]},{"1352088912":["hashtag1","hashtag2"]},{"1352088881":["hashtag1","hashtag2"]},{"1352088926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352088902, 1352088856, 1352088924, 1352088912, 1352088881, 1352088926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.168439865112305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:39:32.666179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/04/image_12042025_02_04_34_9435.jpg', '/home/pi/Desktop/images/12042025/02/04/image_12042025_02_04_45_10430.jpg', '/home/pi/Desktop/images/12042025/02/04/image_12042025_02_04_54_9362.jpg', '/home/pi/Desktop/images/12042025/02/04/image_12042025_02_05_04_10439.jpg', '/home/pi/Desktop/images/12042025/02/05/image_12042025_02_05_15_10384.jpg', '/home/pi/Desktop/images/12042025/02/05/image_12042025_02_05_24_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/04/image_12042025_02_04_34_9435.jpg
/home/pi/Desktop/images/12042025/02/04/image_12042025_02_04_45_10430.jpg
/home/pi/Desktop/images/12042025/02/04/image_12042025_02_04_54_9362.jpg
/home/pi/Desktop/images/12042025/02/04/image_12042025_02_05_04_10439.jpg
/home/pi/Desktop/images/12042025/02/05/image_12042025_02_05_15_10384.jpg
/home/pi/Desktop/images/12042025/02/05/image_12042025_02_05_24_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089111","1352089197","1352089097","1352089085","1352089177","1352089121"],"photo_ids_order":["1352089085","1352089097","1352089111","1352089121","1352089177","1352089197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/83620596bb8550074cf0a891382d613c.jpg","text":"TemporaryFile(/tmp/multipartBody4809614966226516390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429233131,"filename":"image_12042025_02_04_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abc21ef972444ab707999ffc3b6e905f.jpg","text":"TemporaryFile(/tmp/multipartBody7107498536918911497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429233131,"filename":"image_12042025_02_05_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/662816d5d3676af3e281cac529b9a432.jpg","text":"TemporaryFile(/tmp/multipartBody5125659016866904239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429233131,"filename":"image_12042025_02_04_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/086f70d2b5b6789422101515f9de13b4.jpg","text":"TemporaryFile(/tmp/multipartBody4754061497678007316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429233131,"filename":"image_12042025_02_04_34_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c04fa1afa95887b9ee5245586489dac1.jpg","text":"TemporaryFile(/tmp/multipartBody3549457402057930128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429233131,"filename":"image_12042025_02_05_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ce29339f739d2132a5c54ca934eb7cd.jpg","text":"TemporaryFile(/tmp/multipartBody3493883498766961986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429233131,"filename":"image_12042025_02_05_04_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089111","file1":"1352089097","file0":"1352089085","file4":"1352089177","file5":"1352089197","file3":"1352089121"},"map_files_photo_id_array":[{"photo_id":"1352089197","filename":"file5"},{"photo_id":"1352089111","filename":"file2"},{"photo_id":"1352089177","filename":"file4"},{"photo_id":"1352089097","filename":"file1"},{"photo_id":"1352089085","filename":"file0"},{"photo_id":"1352089121","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352089111":["hashtag1","hashtag2"]},{"1352089197":["hashtag1","hashtag2"]},{"1352089097":["hashtag1","hashtag2"]},{"1352089085":["hashtag1","hashtag2"]},{"1352089177":["hashtag1","hashtag2"]},{"1352089121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352089111, 1352089197, 1352089097, 1352089085, 1352089177, 1352089121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70247292518616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:40:32.775408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/05/image_12042025_02_05_34_10357.jpg', '/home/pi/Desktop/images/12042025/02/05/image_12042025_02_05_44_9377.jpg', '/home/pi/Desktop/images/12042025/02/05/image_12042025_02_06_05_10361.jpg', '/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_14_9368.jpg', '/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_24_10465.jpg', '/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_34_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/05/image_12042025_02_05_34_10357.jpg
/home/pi/Desktop/images/12042025/02/05/image_12042025_02_05_44_9377.jpg
/home/pi/Desktop/images/12042025/02/05/image_12042025_02_06_05_10361.jpg
/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_14_9368.jpg
/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_24_10465.jpg
/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_34_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089267","1352089269","1352089263","1352089271","1352089274","1352089264"],"photo_ids_order":["1352089263","1352089264","1352089267","1352089269","1352089271","1352089274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d34b258dc02bff8f35f5f37c46eddce.jpg","text":"TemporaryFile(/tmp/multipartBody8090137782927348924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429293252,"filename":"image_12042025_02_06_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fd3936dc886c05c2a91dd5f4ed9d94c.jpg","text":"TemporaryFile(/tmp/multipartBody2653125287644436148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429293252,"filename":"image_12042025_02_06_14_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c4021122309f73efb7750fb80e71d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2975973674782587548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429293252,"filename":"image_12042025_02_05_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e07c8a0a41921c1f65001b49f3e631f.jpg","text":"TemporaryFile(/tmp/multipartBody7287540782887085834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429293252,"filename":"image_12042025_02_06_24_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a56342a5dda75713bfcd1e1c77da68b8.jpg","text":"TemporaryFile(/tmp/multipartBody7038581095330498625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429293252,"filename":"image_12042025_02_06_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ae1cbf337186074ce6f6e1d6234f4b4.jpg","text":"TemporaryFile(/tmp/multipartBody1832523460070259686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429293252,"filename":"image_12042025_02_05_44_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089267","file1":"1352089264","file0":"1352089263","file4":"1352089271","file5":"1352089274","file3":"1352089269"},"map_files_photo_id_array":[{"photo_id":"1352089274","filename":"file5"},{"photo_id":"1352089267","filename":"file2"},{"photo_id":"1352089271","filename":"file4"},{"photo_id":"1352089264","filename":"file1"},{"photo_id":"1352089263","filename":"file0"},{"photo_id":"1352089269","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352089267":["hashtag1","hashtag2"]},{"1352089269":["hashtag1","hashtag2"]},{"1352089263":["hashtag1","hashtag2"]},{"1352089271":["hashtag1","hashtag2"]},{"1352089274":["hashtag1","hashtag2"]},{"1352089264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352089267, 1352089269, 1352089263, 1352089271, 1352089274, 1352089264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98913860321045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:41:33.039420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_44_10414.jpg', '/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_55_10443.jpg', '/home/pi/Desktop/images/12042025/02/06/image_12042025_02_07_04_9369.jpg', '/home/pi/Desktop/images/12042025/02/07/image_12042025_02_07_14_10387.jpg', '/home/pi/Desktop/images/12042025/02/07/image_12042025_02_07_25_10363.jpg', '/home/pi/Desktop/images/12042025/02/07/image_12042025_02_07_34_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_44_10414.jpg
/home/pi/Desktop/images/12042025/02/06/image_12042025_02_06_55_10443.jpg
/home/pi/Desktop/images/12042025/02/06/image_12042025_02_07_04_9369.jpg
/home/pi/Desktop/images/12042025/02/07/image_12042025_02_07_14_10387.jpg
/home/pi/Desktop/images/12042025/02/07/image_12042025_02_07_25_10363.jpg
/home/pi/Desktop/images/12042025/02/07/image_12042025_02_07_34_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089288","1352089296","1352089290","1352089292","1352089286","1352089294"],"photo_ids_order":["1352089286","1352089288","1352089290","1352089292","1352089294","1352089296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6515bfcef6a0f48cbbdfdd6436969707.jpg","text":"TemporaryFile(/tmp/multipartBody6689143007088815440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429353509,"filename":"image_12042025_02_06_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/450219e7e99e11b981ce7322250bdd6d.jpg","text":"TemporaryFile(/tmp/multipartBody4354023782145053429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429353509,"filename":"image_12042025_02_07_34_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b2b99b22be0ba1c94c04e4d12ca8a87.jpg","text":"TemporaryFile(/tmp/multipartBody4303607657316928509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429353509,"filename":"image_12042025_02_07_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9b5808fcbbd02323b0125b79dc131a7.jpg","text":"TemporaryFile(/tmp/multipartBody4948778702187088547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429353509,"filename":"image_12042025_02_07_14_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9743f3458c085f62743240b4c9850f00.jpg","text":"TemporaryFile(/tmp/multipartBody3132986592430578487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429353509,"filename":"image_12042025_02_06_44_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c38a5b32503fa30fdd04e501214d17d5.jpg","text":"TemporaryFile(/tmp/multipartBody6541767695088915664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429353509,"filename":"image_12042025_02_07_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089290","file1":"1352089288","file0":"1352089286","file4":"1352089294","file5":"1352089296","file3":"1352089292"},"map_files_photo_id_array":[{"photo_id":"1352089296","filename":"file5"},{"photo_id":"1352089290","filename":"file2"},{"photo_id":"1352089294","filename":"file4"},{"photo_id":"1352089288","filename":"file1"},{"photo_id":"1352089286","filename":"file0"},{"photo_id":"1352089292","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352089288":["hashtag1","hashtag2"]},{"1352089296":["hashtag1","hashtag2"]},{"1352089290":["hashtag1","hashtag2"]},{"1352089292":["hashtag1","hashtag2"]},{"1352089286":["hashtag1","hashtag2"]},{"1352089294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352089288, 1352089296, 1352089290, 1352089292, 1352089286, 1352089294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80702805519104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:42:32.189919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/07/image_12042025_02_07_54_9358.jpg', '/home/pi/Desktop/images/12042025/02/07/image_12042025_02_08_04_10380.jpg', '/home/pi/Desktop/images/12042025/02/08/image_12042025_02_08_54_10433.jpg', '/home/pi/Desktop/images/12042025/02/08/image_12042025_02_09_05_10357.jpg', '/home/pi/Desktop/images/12042025/02/09/image_12042025_02_09_14_9368.jpg', '/home/pi/Desktop/images/12042025/02/09/image_12042025_02_09_24_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/07/image_12042025_02_07_54_9358.jpg
/home/pi/Desktop/images/12042025/02/07/image_12042025_02_08_04_10380.jpg
/home/pi/Desktop/images/12042025/02/08/image_12042025_02_08_54_10433.jpg
/home/pi/Desktop/images/12042025/02/08/image_12042025_02_09_05_10357.jpg
/home/pi/Desktop/images/12042025/02/09/image_12042025_02_09_14_9368.jpg
/home/pi/Desktop/images/12042025/02/09/image_12042025_02_09_24_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089327","1352089332","1352089326","1352089329","1352089337","1352089331"],"photo_ids_order":["1352089326","1352089327","1352089329","1352089331","1352089332","1352089337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78cacd3e5cc9e8a80c1af9d1bcf415a5.jpg","text":"TemporaryFile(/tmp/multipartBody1702509027535051355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429412672,"filename":"image_12042025_02_08_04_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d20161ba53e54dbcf695ca15dbf0fd40.jpg","text":"TemporaryFile(/tmp/multipartBody1968471463869818692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429412672,"filename":"image_12042025_02_09_14_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8706bb411da51fc26f804797f6d10f1.jpg","text":"TemporaryFile(/tmp/multipartBody1614091784675170116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429412672,"filename":"image_12042025_02_07_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ed64a21bf1099cce47b27fd5be2a871.jpg","text":"TemporaryFile(/tmp/multipartBody5670651132011517033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429412672,"filename":"image_12042025_02_08_54_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54d6e7c1a6bc1e6b5b29cd3a3db7b9bd.jpg","text":"TemporaryFile(/tmp/multipartBody4319323239937565734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429412672,"filename":"image_12042025_02_09_24_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/597188489532448160dcadf8f195c55f.jpg","text":"TemporaryFile(/tmp/multipartBody174660476763947889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429412672,"filename":"image_12042025_02_09_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089329","file1":"1352089327","file0":"1352089326","file4":"1352089332","file5":"1352089337","file3":"1352089331"},"map_files_photo_id_array":[{"photo_id":"1352089337","filename":"file5"},{"photo_id":"1352089329","filename":"file2"},{"photo_id":"1352089332","filename":"file4"},{"photo_id":"1352089327","filename":"file1"},{"photo_id":"1352089326","filename":"file0"},{"photo_id":"1352089331","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352089327":["hashtag1","hashtag2"]},{"1352089332":["hashtag1","hashtag2"]},{"1352089326":["hashtag1","hashtag2"]},{"1352089329":["hashtag1","hashtag2"]},{"1352089337":["hashtag1","hashtag2"]},{"1352089331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352089327, 1352089332, 1352089326, 1352089329, 1352089337, 1352089331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96259927749634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:43:32.360364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/09/image_12042025_02_09_34_9360.jpg', '/home/pi/Desktop/images/12042025/02/09/image_12042025_02_09_55_10378.jpg', '/home/pi/Desktop/images/12042025/02/09/image_12042025_02_10_04_9364.jpg', '/home/pi/Desktop/images/12042025/02/10/image_12042025_02_10_14_10418.jpg', '/home/pi/Desktop/images/12042025/02/10/image_12042025_02_10_24_9383.jpg', '/home/pi/Desktop/images/12042025/02/10/image_12042025_02_10_34_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/09/image_12042025_02_09_34_9360.jpg
/home/pi/Desktop/images/12042025/02/09/image_12042025_02_09_55_10378.jpg
/home/pi/Desktop/images/12042025/02/09/image_12042025_02_10_04_9364.jpg
/home/pi/Desktop/images/12042025/02/10/image_12042025_02_10_14_10418.jpg
/home/pi/Desktop/images/12042025/02/10/image_12042025_02_10_24_9383.jpg
/home/pi/Desktop/images/12042025/02/10/image_12042025_02_10_34_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089360","1352089362","1352089356","1352089353","1352089352","1352089358"],"photo_ids_order":["1352089352","1352089353","1352089356","1352089358","1352089360","1352089362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5615819dbf26cecdc1daa90c664ea5b.jpg","text":"TemporaryFile(/tmp/multipartBody1531210523547278228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429472845,"filename":"image_12042025_02_10_24_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/499291a22bbecaf07b2c7e189a4390ad.jpg","text":"TemporaryFile(/tmp/multipartBody4879907930039751828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429472845,"filename":"image_12042025_02_10_34_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/028b4f8b08eb14d8a64146af339d50ea.jpg","text":"TemporaryFile(/tmp/multipartBody9092642576107923437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429472845,"filename":"image_12042025_02_10_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd204e95483f7257c427bbb1f556f0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6669068866802854714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429472845,"filename":"image_12042025_02_09_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2a564c5b2c7b1db82738360e16f66c1.jpg","text":"TemporaryFile(/tmp/multipartBody5168111140654402799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429472845,"filename":"image_12042025_02_09_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ebca7baa832c0e976ba9c9d539eaffb.jpg","text":"TemporaryFile(/tmp/multipartBody1022313465772136420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429472845,"filename":"image_12042025_02_10_14_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089356","file1":"1352089353","file0":"1352089352","file4":"1352089360","file5":"1352089362","file3":"1352089358"},"map_files_photo_id_array":[{"photo_id":"1352089362","filename":"file5"},{"photo_id":"1352089356","filename":"file2"},{"photo_id":"1352089360","filename":"file4"},{"photo_id":"1352089353","filename":"file1"},{"photo_id":"1352089352","filename":"file0"},{"photo_id":"1352089358","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352089360":["hashtag1","hashtag2"]},{"1352089362":["hashtag1","hashtag2"]},{"1352089356":["hashtag1","hashtag2"]},{"1352089353":["hashtag1","hashtag2"]},{"1352089352":["hashtag1","hashtag2"]},{"1352089358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352089360, 1352089362, 1352089356, 1352089353, 1352089352, 1352089358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.011268615722656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:44:32.687004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/10/image_12042025_02_10_45_10378.jpg', '/home/pi/Desktop/images/12042025/02/10/image_12042025_02_11_04_10467.jpg', '/home/pi/Desktop/images/12042025/02/11/image_12042025_02_11_14_9351.jpg', '/home/pi/Desktop/images/12042025/02/11/image_12042025_02_11_24_10436.jpg', '/home/pi/Desktop/images/12042025/02/11/image_12042025_02_11_35_10397.jpg', '/home/pi/Desktop/images/12042025/02/11/image_12042025_02_11_44_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/10/image_12042025_02_10_45_10378.jpg
/home/pi/Desktop/images/12042025/02/10/image_12042025_02_11_04_10467.jpg
/home/pi/Desktop/images/12042025/02/11/image_12042025_02_11_14_9351.jpg
/home/pi/Desktop/images/12042025/02/11/image_12042025_02_11_24_10436.jpg
/home/pi/Desktop/images/12042025/02/11/image_12042025_02_11_35_10397.jpg
/home/pi/Desktop/images/12042025/02/11/image_12042025_02_11_44_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089471","1352089481","1352089478","1352089463","1352089475","1352089480"],"photo_ids_order":["1352089463","1352089471","1352089475","1352089478","1352089480","1352089481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e159d1ab18de7a5b56fdd033cf56ab90.jpg","text":"TemporaryFile(/tmp/multipartBody8960167532118753091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429533720,"filename":"image_12042025_02_11_04_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ce1bc84afa1b15b89ee821d5b5537e3.jpg","text":"TemporaryFile(/tmp/multipartBody9144397862122007179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429533720,"filename":"image_12042025_02_11_44_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6e49521a3483f28490e1bf4318b1897.jpg","text":"TemporaryFile(/tmp/multipartBody6887791637483813884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429533720,"filename":"image_12042025_02_11_24_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2b0f1137cd50d2f8b98bcaa56bd8c0f.jpg","text":"TemporaryFile(/tmp/multipartBody6144744346017679630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429533720,"filename":"image_12042025_02_10_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cab9757839a896d1375f2c8f5578515e.jpg","text":"TemporaryFile(/tmp/multipartBody8939270401504622492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429533720,"filename":"image_12042025_02_11_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a805276373242fc451f5d0094746e71a.jpg","text":"TemporaryFile(/tmp/multipartBody600935558727745220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429533720,"filename":"image_12042025_02_11_35_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089475","file1":"1352089471","file0":"1352089463","file4":"1352089480","file5":"1352089481","file3":"1352089478"},"map_files_photo_id_array":[{"photo_id":"1352089481","filename":"file5"},{"photo_id":"1352089475","filename":"file2"},{"photo_id":"1352089480","filename":"file4"},{"photo_id":"1352089471","filename":"file1"},{"photo_id":"1352089463","filename":"file0"},{"photo_id":"1352089478","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352089471":["hashtag1","hashtag2"]},{"1352089481":["hashtag1","hashtag2"]},{"1352089478":["hashtag1","hashtag2"]},{"1352089463":["hashtag1","hashtag2"]},{"1352089475":["hashtag1","hashtag2"]},{"1352089480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352089471, 1352089481, 1352089478, 1352089463, 1352089475, 1352089480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.32745146751404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:45:32.795897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_14_10397.jpg', '/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_25_10467.jpg', '/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_34_9372.jpg', '/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_45_10415.jpg', '/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_54_9359.jpg', '/home/pi/Desktop/images/12042025/02/13/image_12042025_02_13_24_9499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_14_10397.jpg
/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_25_10467.jpg
/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_34_9372.jpg
/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_45_10415.jpg
/home/pi/Desktop/images/12042025/02/12/image_12042025_02_12_54_9359.jpg
/home/pi/Desktop/images/12042025/02/13/image_12042025_02_13_24_9499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089572","1352089581","1352089583","1352089574","1352089585","1352089576"],"photo_ids_order":["1352089572","1352089574","1352089576","1352089581","1352089583","1352089585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7c550e91c3785f3f10cec4703a6491a.jpg","text":"TemporaryFile(/tmp/multipartBody7261367416269650671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429593266,"filename":"image_12042025_02_12_14_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/915f4e950a6ac2b34f96d38afd8e7d57.jpg","text":"TemporaryFile(/tmp/multipartBody8010589941711931054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429593266,"filename":"image_12042025_02_12_45_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41808530f9faf697da14c40105717a47.jpg","text":"TemporaryFile(/tmp/multipartBody7301344546005847585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429593266,"filename":"image_12042025_02_12_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d55ae22c80f1638952ad8f58545ccb8c.jpg","text":"TemporaryFile(/tmp/multipartBody7749488037360999479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429593266,"filename":"image_12042025_02_12_25_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d748bed0a43af0bf99342d7411929d2.jpg","text":"TemporaryFile(/tmp/multipartBody778846361652102910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429593266,"filename":"image_12042025_02_13_24_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb8fa5787fcfb72d862fb6417bf857c1.jpg","text":"TemporaryFile(/tmp/multipartBody3412707496890417355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429593266,"filename":"image_12042025_02_12_34_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089576","file1":"1352089574","file0":"1352089572","file4":"1352089583","file5":"1352089585","file3":"1352089581"},"map_files_photo_id_array":[{"photo_id":"1352089585","filename":"file5"},{"photo_id":"1352089576","filename":"file2"},{"photo_id":"1352089583","filename":"file4"},{"photo_id":"1352089574","filename":"file1"},{"photo_id":"1352089572","filename":"file0"},{"photo_id":"1352089581","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352089572":["hashtag1","hashtag2"]},{"1352089581":["hashtag1","hashtag2"]},{"1352089583":["hashtag1","hashtag2"]},{"1352089574":["hashtag1","hashtag2"]},{"1352089585":["hashtag1","hashtag2"]},{"1352089576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352089572, 1352089581, 1352089583, 1352089574, 1352089585, 1352089576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42882776260376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:46:33.082582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/13/image_12042025_02_13_44_9431.jpg', '/home/pi/Desktop/images/12042025/02/13/image_12042025_02_13_55_10750.jpg', '/home/pi/Desktop/images/12042025/02/13/image_12042025_02_14_04_9369.jpg', '/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_15_10448.jpg', '/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_24_9421.jpg', '/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_34_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/13/image_12042025_02_13_44_9431.jpg
/home/pi/Desktop/images/12042025/02/13/image_12042025_02_13_55_10750.jpg
/home/pi/Desktop/images/12042025/02/13/image_12042025_02_14_04_9369.jpg
/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_15_10448.jpg
/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_24_9421.jpg
/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_34_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352089678","1352089627","1352089590","1352089625","1352089649","1352089622"],"photo_ids_order":["1352089590","1352089622","1352089625","1352089627","1352089649","1352089678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03983749e9bda70c13d213fa019c62d3.jpg","text":"TemporaryFile(/tmp/multipartBody5494851128600738345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429653742,"filename":"image_12042025_02_14_34_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e32f8ad806e08de74393b0af8c076eb5.jpg","text":"TemporaryFile(/tmp/multipartBody365356927798867894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429653742,"filename":"image_12042025_02_14_15_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26f5740e3f31de6d5de062e99befcdda.jpg","text":"TemporaryFile(/tmp/multipartBody8285711986065089958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429653742,"filename":"image_12042025_02_13_44_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f945bc85b701295fb4b4b75ce399b31.jpg","text":"TemporaryFile(/tmp/multipartBody9035319859996058438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429653742,"filename":"image_12042025_02_14_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e171af5ea4c902e9860756da9f2ed0a9.jpg","text":"TemporaryFile(/tmp/multipartBody2593200293269363749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429653742,"filename":"image_12042025_02_14_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fa86a1a5c5c8a3a27b2aa5946ae88f6.jpg","text":"TemporaryFile(/tmp/multipartBody3392421140847859850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429653742,"filename":"image_12042025_02_13_55_10750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089625","file1":"1352089622","file0":"1352089590","file4":"1352089649","file5":"1352089678","file3":"1352089627"},"map_files_photo_id_array":[{"photo_id":"1352089678","filename":"file5"},{"photo_id":"1352089625","filename":"file2"},{"photo_id":"1352089649","filename":"file4"},{"photo_id":"1352089622","filename":"file1"},{"photo_id":"1352089590","filename":"file0"},{"photo_id":"1352089627","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352089678":["hashtag1","hashtag2"]},{"1352089627":["hashtag1","hashtag2"]},{"1352089590":["hashtag1","hashtag2"]},{"1352089625":["hashtag1","hashtag2"]},{"1352089649":["hashtag1","hashtag2"]},{"1352089622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352089678, 1352089627, 1352089590, 1352089625, 1352089649, 1352089622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.890161752700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:47:32.177610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_45_10384.jpg', '/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_54_9463.jpg', '/home/pi/Desktop/images/12042025/02/14/image_12042025_02_15_05_10350.jpg', '/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_14_9374.jpg', '/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_24_10392.jpg', '/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_35_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_45_10384.jpg
/home/pi/Desktop/images/12042025/02/14/image_12042025_02_14_54_9463.jpg
/home/pi/Desktop/images/12042025/02/14/image_12042025_02_15_05_10350.jpg
/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_14_9374.jpg
/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_24_10392.jpg
/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_35_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352090105","1352089933","1352089932","1352090070","1352089955","1352089904"],"photo_ids_order":["1352089904","1352089932","1352089933","1352089955","1352090070","1352090105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d1bc0630f86f1961bfdf38442409129.jpg","text":"TemporaryFile(/tmp/multipartBody880773482109942701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429712668,"filename":"image_12042025_02_15_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e13b62736dacfe8e5cba039330fdbb01.jpg","text":"TemporaryFile(/tmp/multipartBody595216459971469640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429712668,"filename":"image_12042025_02_15_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a4922ba76d40040cbef3c3b553aa345.jpg","text":"TemporaryFile(/tmp/multipartBody7791087547407922511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429712668,"filename":"image_12042025_02_14_54_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ceba08d6b4cd6fd8598a243fbea35b7.jpg","text":"TemporaryFile(/tmp/multipartBody1390942021470366047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429712668,"filename":"image_12042025_02_15_24_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7aca65ffd416858ee65b63d193181384.jpg","text":"TemporaryFile(/tmp/multipartBody4254307349826616440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429712668,"filename":"image_12042025_02_15_14_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5df4e5234356ae2dad8358275693feb8.jpg","text":"TemporaryFile(/tmp/multipartBody6180962945985800955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429712668,"filename":"image_12042025_02_14_45_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352089933","file1":"1352089932","file0":"1352089904","file4":"1352090070","file5":"1352090105","file3":"1352089955"},"map_files_photo_id_array":[{"photo_id":"1352090105","filename":"file5"},{"photo_id":"1352089933","filename":"file2"},{"photo_id":"1352090070","filename":"file4"},{"photo_id":"1352089932","filename":"file1"},{"photo_id":"1352089904","filename":"file0"},{"photo_id":"1352089955","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352090105":["hashtag1","hashtag2"]},{"1352089933":["hashtag1","hashtag2"]},{"1352089932":["hashtag1","hashtag2"]},{"1352090070":["hashtag1","hashtag2"]},{"1352089955":["hashtag1","hashtag2"]},{"1352089904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352090105, 1352089933, 1352089932, 1352090070, 1352089955, 1352089904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.0394914150238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 05:48:42.500294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_44_9479.jpg', '/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_55_10363.jpg', '/home/pi/Desktop/images/12042025/02/15/image_12042025_02_16_04_9388.jpg', '/home/pi/Desktop/images/12042025/02/16/image_12042025_02_16_14_10375.jpg', '/home/pi/Desktop/images/12042025/02/16/image_12042025_02_16_25_10379.jpg', '/home/pi/Desktop/images/12042025/02/16/image_12042025_02_17_04_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_44_9479.jpg
/home/pi/Desktop/images/12042025/02/15/image_12042025_02_15_55_10363.jpg
/home/pi/Desktop/images/12042025/02/15/image_12042025_02_16_04_9388.jpg
/home/pi/Desktop/images/12042025/02/16/image_12042025_02_16_14_10375.jpg
/home/pi/Desktop/images/12042025/02/16/image_12042025_02_16_25_10379.jpg
/home/pi/Desktop/images/12042025/02/16/image_12042025_02_17_04_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352090225","1352090334","1352090331","1352090282","1352090171","1352090234"],"photo_ids_order":["1352090171","1352090225","1352090234","1352090282","1352090331","1352090334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ccd9e2f044d5cf3148e66bd5b4004a8.jpg","text":"TemporaryFile(/tmp/multipartBody5820324891179242924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429783195,"filename":"image_12042025_02_15_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a9f5939936aef18e54a99732cdc4af5.jpg","text":"TemporaryFile(/tmp/multipartBody1122355364712958567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429783195,"filename":"image_12042025_02_17_04_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/237442ef8e514dd19aa0e2c864dbd26c.jpg","text":"TemporaryFile(/tmp/multipartBody1742807243395485567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429783195,"filename":"image_12042025_02_16_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32f18529156e3c5b7b8c9626d3cbc076.jpg","text":"TemporaryFile(/tmp/multipartBody2669133571580707065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429783195,"filename":"image_12042025_02_16_14_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f36ac35f568c4fb8ea92fa0c56ffc58f.jpg","text":"TemporaryFile(/tmp/multipartBody8022145679345778240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429783195,"filename":"image_12042025_02_15_44_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f728c414f7fa34431b5872e8770fefc7.jpg","text":"TemporaryFile(/tmp/multipartBody4569492432982332071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429783195,"filename":"image_12042025_02_16_04_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352090234","file1":"1352090225","file0":"1352090171","file4":"1352090331","file5":"1352090334","file3":"1352090282"},"map_files_photo_id_array":[{"photo_id":"1352090334","filename":"file5"},{"photo_id":"1352090234","filename":"file2"},{"photo_id":"1352090331","filename":"file4"},{"photo_id":"1352090225","filename":"file1"},{"photo_id":"1352090171","filename":"file0"},{"photo_id":"1352090282","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352090225":["hashtag1","hashtag2"]},{"1352090334":["hashtag1","hashtag2"]},{"1352090331":["hashtag1","hashtag2"]},{"1352090282":["hashtag1","hashtag2"]},{"1352090171":["hashtag1","hashtag2"]},{"1352090234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352090225, 1352090334, 1352090331, 1352090282, 1352090171, 1352090234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 186.53982377052307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:51:52.402475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/17/image_12042025_02_17_24_9364.jpg', '/home/pi/Desktop/images/12042025/02/17/image_12042025_02_17_34_10376.jpg', '/home/pi/Desktop/images/12042025/02/17/image_12042025_02_17_45_10376.jpg', '/home/pi/Desktop/images/12042025/02/17/image_12042025_02_17_54_9488.jpg', '/home/pi/Desktop/images/12042025/02/17/image_12042025_02_18_05_10388.jpg', '/home/pi/Desktop/images/12042025/02/18/image_12042025_02_18_24_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/17/image_12042025_02_17_24_9364.jpg
/home/pi/Desktop/images/12042025/02/17/image_12042025_02_17_34_10376.jpg
/home/pi/Desktop/images/12042025/02/17/image_12042025_02_17_45_10376.jpg
/home/pi/Desktop/images/12042025/02/17/image_12042025_02_17_54_9488.jpg
/home/pi/Desktop/images/12042025/02/17/image_12042025_02_18_05_10388.jpg
/home/pi/Desktop/images/12042025/02/18/image_12042025_02_18_24_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352090516","1352090485","1352090689","1352090542","1352090652","1352090502"],"photo_ids_order":["1352090485","1352090502","1352090516","1352090542","1352090652","1352090689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce0551ae3f7ec883df1cd4b6b4fc4f40.jpg","text":"TemporaryFile(/tmp/multipartBody1092346335967472708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429972873,"filename":"image_12042025_02_17_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/535ad899c601636370db532e3016a129.jpg","text":"TemporaryFile(/tmp/multipartBody3432129796693283919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429972873,"filename":"image_12042025_02_17_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b251be8977f84203ac36a54ba3dfb78c.jpg","text":"TemporaryFile(/tmp/multipartBody2928978516252673721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429972873,"filename":"image_12042025_02_18_24_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2eb179e624215a37c08a02f87e271b9c.jpg","text":"TemporaryFile(/tmp/multipartBody9222165264734829796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429972873,"filename":"image_12042025_02_17_54_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c6633f87e223a292e5ce5c522567f11.jpg","text":"TemporaryFile(/tmp/multipartBody4865848487141097896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429972873,"filename":"image_12042025_02_18_05_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92bc6a37e319e4954243399e625d91fd.jpg","text":"TemporaryFile(/tmp/multipartBody2668924543199823419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744429972873,"filename":"image_12042025_02_17_34_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352090516","file1":"1352090502","file0":"1352090485","file4":"1352090652","file5":"1352090689","file3":"1352090542"},"map_files_photo_id_array":[{"photo_id":"1352090689","filename":"file5"},{"photo_id":"1352090516","filename":"file2"},{"photo_id":"1352090652","filename":"file4"},{"photo_id":"1352090502","filename":"file1"},{"photo_id":"1352090485","filename":"file0"},{"photo_id":"1352090542","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352090516":["hashtag1","hashtag2"]},{"1352090485":["hashtag1","hashtag2"]},{"1352090689":["hashtag1","hashtag2"]},{"1352090542":["hashtag1","hashtag2"]},{"1352090652":["hashtag1","hashtag2"]},{"1352090502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352090516, 1352090485, 1352090689, 1352090542, 1352090652, 1352090502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.90930676460266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 05:52:42.654548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/18/image_12042025_02_18_44_10559.jpg', '/home/pi/Desktop/images/12042025/02/18/image_12042025_02_18_55_10375.jpg', '/home/pi/Desktop/images/12042025/02/18/image_12042025_02_19_04_9457.jpg', '/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_15_10442.jpg', '/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_24_9376.jpg', '/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_34_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/18/image_12042025_02_18_44_10559.jpg
/home/pi/Desktop/images/12042025/02/18/image_12042025_02_18_55_10375.jpg
/home/pi/Desktop/images/12042025/02/18/image_12042025_02_19_04_9457.jpg
/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_15_10442.jpg
/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_24_9376.jpg
/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_34_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352090764","1352090734","1352090724","1352090748","1352090759","1352090726"],"photo_ids_order":["1352090724","1352090726","1352090734","1352090748","1352090759","1352090764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/419656e9eeaf7518b77edec6eb70e9f3.jpg","text":"TemporaryFile(/tmp/multipartBody72436808497395389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430023119,"filename":"image_12042025_02_19_34_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a1fd7ebef55479c8acfee0df5b97c11.jpg","text":"TemporaryFile(/tmp/multipartBody5086952593678715202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430023119,"filename":"image_12042025_02_19_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5587aad37fcfdf0379ca339c0b926b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5704256731446284913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430023119,"filename":"image_12042025_02_18_44_10559.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e476edde292b6b5e5b8fcc23ff18215.jpg","text":"TemporaryFile(/tmp/multipartBody4438924141015646482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430023119,"filename":"image_12042025_02_19_15_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a8ee9a704733d5b223ccc9d44d838ec.jpg","text":"TemporaryFile(/tmp/multipartBody4974089219547091440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430023119,"filename":"image_12042025_02_19_24_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6245e1a091fda3446fd8e48cf9b4bfaf.jpg","text":"TemporaryFile(/tmp/multipartBody1422296637303248232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430023119,"filename":"image_12042025_02_18_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352090734","file1":"1352090726","file0":"1352090724","file4":"1352090759","file5":"1352090764","file3":"1352090748"},"map_files_photo_id_array":[{"photo_id":"1352090764","filename":"file5"},{"photo_id":"1352090734","filename":"file2"},{"photo_id":"1352090759","filename":"file4"},{"photo_id":"1352090726","filename":"file1"},{"photo_id":"1352090724","filename":"file0"},{"photo_id":"1352090748","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352090764":["hashtag1","hashtag2"]},{"1352090734":["hashtag1","hashtag2"]},{"1352090724":["hashtag1","hashtag2"]},{"1352090748":["hashtag1","hashtag2"]},{"1352090759":["hashtag1","hashtag2"]},{"1352090726":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352090764, 1352090734, 1352090724, 1352090748, 1352090759, 1352090726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.256659507751465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:53:32.763962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_45_10374.jpg', '/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_54_9447.jpg', '/home/pi/Desktop/images/12042025/02/20/image_12042025_02_20_14_9386.jpg', '/home/pi/Desktop/images/12042025/02/20/image_12042025_02_20_25_10458.jpg', '/home/pi/Desktop/images/12042025/02/20/image_12042025_02_20_44_10379.jpg', '/home/pi/Desktop/images/12042025/02/20/image_12042025_02_20_55_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_45_10374.jpg
/home/pi/Desktop/images/12042025/02/19/image_12042025_02_19_54_9447.jpg
/home/pi/Desktop/images/12042025/02/20/image_12042025_02_20_14_9386.jpg
/home/pi/Desktop/images/12042025/02/20/image_12042025_02_20_25_10458.jpg
/home/pi/Desktop/images/12042025/02/20/image_12042025_02_20_44_10379.jpg
/home/pi/Desktop/images/12042025/02/20/image_12042025_02_20_55_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352090776","1352090887","1352090830","1352090803","1352090862","1352090774"],"photo_ids_order":["1352090774","1352090776","1352090803","1352090830","1352090862","1352090887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/879cd1495084878981a9ad898307b298.jpg","text":"TemporaryFile(/tmp/multipartBody1371863411135076900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430073225,"filename":"image_12042025_02_19_54_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed10463bdc96c3f80bc10ce685c482c6.jpg","text":"TemporaryFile(/tmp/multipartBody5813529846947782880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430073225,"filename":"image_12042025_02_20_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43ddb37df16eeb992783e85fec8f5cd5.jpg","text":"TemporaryFile(/tmp/multipartBody996869633145535872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430073225,"filename":"image_12042025_02_20_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/024af6326b342053aae6e54a14388da1.jpg","text":"TemporaryFile(/tmp/multipartBody341022294151266592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430073225,"filename":"image_12042025_02_20_14_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb3cf27dcd6586fb9b6fca96d82058b0.jpg","text":"TemporaryFile(/tmp/multipartBody7675313778489542548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430073225,"filename":"image_12042025_02_20_44_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf85204447f16be89b28e9957f7f4cec.jpg","text":"TemporaryFile(/tmp/multipartBody3160790781485241133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430073225,"filename":"image_12042025_02_19_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352090803","file1":"1352090776","file0":"1352090774","file4":"1352090862","file5":"1352090887","file3":"1352090830"},"map_files_photo_id_array":[{"photo_id":"1352090887","filename":"file5"},{"photo_id":"1352090803","filename":"file2"},{"photo_id":"1352090862","filename":"file4"},{"photo_id":"1352090776","filename":"file1"},{"photo_id":"1352090774","filename":"file0"},{"photo_id":"1352090830","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352090776":["hashtag1","hashtag2"]},{"1352090887":["hashtag1","hashtag2"]},{"1352090830":["hashtag1","hashtag2"]},{"1352090803":["hashtag1","hashtag2"]},{"1352090862":["hashtag1","hashtag2"]},{"1352090774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352090776, 1352090887, 1352090830, 1352090803, 1352090862, 1352090774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67563271522522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:54:32.994223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/20/image_12042025_02_21_04_9354.jpg', '/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_14_10383.jpg', '/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_24_9426.jpg', '/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_34_10448.jpg', '/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_45_10477.jpg', '/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_54_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/20/image_12042025_02_21_04_9354.jpg
/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_14_10383.jpg
/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_24_9426.jpg
/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_34_10448.jpg
/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_45_10477.jpg
/home/pi/Desktop/images/12042025/02/21/image_12042025_02_21_54_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352091346","1352091297","1352091249","1352091318","1352091272","1352091230"],"photo_ids_order":["1352091230","1352091249","1352091272","1352091297","1352091318","1352091346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7bd6507457d21c67a485f3b23fc9f676.jpg","text":"TemporaryFile(/tmp/multipartBody4478771949978612739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430133463,"filename":"image_12042025_02_21_54_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d63ee988fc3a39e1a93f17c6d446dfb.jpg","text":"TemporaryFile(/tmp/multipartBody2573060497897278241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430133463,"filename":"image_12042025_02_21_34_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/faa7ed6c1b7b177b2cd113bdae905a86.jpg","text":"TemporaryFile(/tmp/multipartBody1669646546285319019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430133463,"filename":"image_12042025_02_21_14_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/caadd022aba0d1849a35a9769d813a30.jpg","text":"TemporaryFile(/tmp/multipartBody8280927748565759263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430133463,"filename":"image_12042025_02_21_45_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/328475d722db85604190e96a5ded0414.jpg","text":"TemporaryFile(/tmp/multipartBody4763335468811927233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430133463,"filename":"image_12042025_02_21_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86f8c3de977388c99fd6689c4d312795.jpg","text":"TemporaryFile(/tmp/multipartBody1440606814152539702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430133463,"filename":"image_12042025_02_21_04_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352091272","file1":"1352091249","file0":"1352091230","file4":"1352091318","file5":"1352091346","file3":"1352091297"},"map_files_photo_id_array":[{"photo_id":"1352091346","filename":"file5"},{"photo_id":"1352091272","filename":"file2"},{"photo_id":"1352091318","filename":"file4"},{"photo_id":"1352091249","filename":"file1"},{"photo_id":"1352091230","filename":"file0"},{"photo_id":"1352091297","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352091346":["hashtag1","hashtag2"]},{"1352091297":["hashtag1","hashtag2"]},{"1352091249":["hashtag1","hashtag2"]},{"1352091318":["hashtag1","hashtag2"]},{"1352091272":["hashtag1","hashtag2"]},{"1352091230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352091346, 1352091297, 1352091249, 1352091318, 1352091272, 1352091230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.179423332214355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:55:33.177257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/21/image_12042025_02_22_05_10380.jpg', '/home/pi/Desktop/images/12042025/02/22/image_12042025_02_22_14_9396.jpg', '/home/pi/Desktop/images/12042025/02/22/image_12042025_02_22_24_10420.jpg', '/home/pi/Desktop/images/12042025/02/22/image_12042025_02_22_34_9438.jpg', '/home/pi/Desktop/images/12042025/02/22/image_12042025_02_22_55_10373.jpg', '/home/pi/Desktop/images/12042025/02/23/image_12042025_02_23_15_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/21/image_12042025_02_22_05_10380.jpg
/home/pi/Desktop/images/12042025/02/22/image_12042025_02_22_14_9396.jpg
/home/pi/Desktop/images/12042025/02/22/image_12042025_02_22_24_10420.jpg
/home/pi/Desktop/images/12042025/02/22/image_12042025_02_22_34_9438.jpg
/home/pi/Desktop/images/12042025/02/22/image_12042025_02_22_55_10373.jpg
/home/pi/Desktop/images/12042025/02/23/image_12042025_02_23_15_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352091376","1352091375","1352091372","1352091369","1352091371","1352091367"],"photo_ids_order":["1352091367","1352091369","1352091371","1352091372","1352091375","1352091376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8b36158cfc107e679c7c8a87cd70435.jpg","text":"TemporaryFile(/tmp/multipartBody3764479013131744841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430193642,"filename":"image_12042025_02_23_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfd4495aca15421e55b643be8d1a2ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6023570063869376904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430193642,"filename":"image_12042025_02_22_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16cac040467ca0e9987e34ea8af13b18.jpg","text":"TemporaryFile(/tmp/multipartBody3908783787621366261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430193642,"filename":"image_12042025_02_22_34_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/245bc12317dd48f4d35abad85d2a2af9.jpg","text":"TemporaryFile(/tmp/multipartBody3798781074570469017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430193642,"filename":"image_12042025_02_22_14_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/596984a2cdddacf6a8a61d68c047861a.jpg","text":"TemporaryFile(/tmp/multipartBody7388086259563019061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430193642,"filename":"image_12042025_02_22_24_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2122087f2a8db5e60169fc7332ab848.jpg","text":"TemporaryFile(/tmp/multipartBody7437027962407439018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430193642,"filename":"image_12042025_02_22_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352091371","file1":"1352091369","file0":"1352091367","file4":"1352091375","file5":"1352091376","file3":"1352091372"},"map_files_photo_id_array":[{"photo_id":"1352091376","filename":"file5"},{"photo_id":"1352091371","filename":"file2"},{"photo_id":"1352091375","filename":"file4"},{"photo_id":"1352091369","filename":"file1"},{"photo_id":"1352091367","filename":"file0"},{"photo_id":"1352091372","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352091376":["hashtag1","hashtag2"]},{"1352091375":["hashtag1","hashtag2"]},{"1352091372":["hashtag1","hashtag2"]},{"1352091369":["hashtag1","hashtag2"]},{"1352091371":["hashtag1","hashtag2"]},{"1352091367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352091376, 1352091375, 1352091372, 1352091369, 1352091371, 1352091367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20665788650513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:56:32.297273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/23/image_12042025_02_23_34_10472.jpg', '/home/pi/Desktop/images/12042025/02/23/image_12042025_02_23_45_10372.jpg', '/home/pi/Desktop/images/12042025/02/23/image_12042025_02_23_54_9478.jpg', '/home/pi/Desktop/images/12042025/02/23/image_12042025_02_24_05_10386.jpg', '/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_24_10384.jpg', '/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/23/image_12042025_02_23_34_10472.jpg
/home/pi/Desktop/images/12042025/02/23/image_12042025_02_23_45_10372.jpg
/home/pi/Desktop/images/12042025/02/23/image_12042025_02_23_54_9478.jpg
/home/pi/Desktop/images/12042025/02/23/image_12042025_02_24_05_10386.jpg
/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_24_10384.jpg
/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_35_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352091469","1352091421","1352091444","1352091491","1352091398","1352091518"],"photo_ids_order":["1352091398","1352091421","1352091444","1352091469","1352091491","1352091518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce224651e33ddd499fa5dcd687fa208a.jpg","text":"TemporaryFile(/tmp/multipartBody5424820210307423726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430252762,"filename":"image_12042025_02_24_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d63b2aacfb6987a87042430689654a2.jpg","text":"TemporaryFile(/tmp/multipartBody8548551276737804213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430252762,"filename":"image_12042025_02_23_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f002c2d6c628daed8dded20c5d22efad.jpg","text":"TemporaryFile(/tmp/multipartBody7664309453827772159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430252762,"filename":"image_12042025_02_23_54_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1daa2797147760129b97170a80622402.jpg","text":"TemporaryFile(/tmp/multipartBody5057727990360866121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430252762,"filename":"image_12042025_02_24_24_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bca106cbcfe2179469e7178f90b5724e.jpg","text":"TemporaryFile(/tmp/multipartBody56203164653330777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430252762,"filename":"image_12042025_02_23_34_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4844f5a1cd1c2a9d8c31f923e4d7c3f7.jpg","text":"TemporaryFile(/tmp/multipartBody5131761423678669898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430252762,"filename":"image_12042025_02_24_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352091444","file1":"1352091421","file0":"1352091398","file4":"1352091491","file5":"1352091518","file3":"1352091469"},"map_files_photo_id_array":[{"photo_id":"1352091518","filename":"file5"},{"photo_id":"1352091444","filename":"file2"},{"photo_id":"1352091491","filename":"file4"},{"photo_id":"1352091421","filename":"file1"},{"photo_id":"1352091398","filename":"file0"},{"photo_id":"1352091469","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352091469":["hashtag1","hashtag2"]},{"1352091421":["hashtag1","hashtag2"]},{"1352091444":["hashtag1","hashtag2"]},{"1352091491":["hashtag1","hashtag2"]},{"1352091398":["hashtag1","hashtag2"]},{"1352091518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352091469, 1352091421, 1352091444, 1352091491, 1352091398, 1352091518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14928150177002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 05:57:32.485093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_44_9358.jpg', '/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_55_10404.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_14_10499.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_24_9465.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_34_10423.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_54_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_44_9358.jpg
/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_55_10404.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_14_10499.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_24_9465.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_34_10423.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_54_9366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3940556049346924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 05:57:42.524339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_44_9358.jpg', '/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_55_10404.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_14_10499.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_24_9465.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_34_10423.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_54_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_44_9358.jpg
/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_55_10404.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_14_10499.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_24_9465.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_34_10423.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_54_9366.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 05:59:04.606143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_44_9358.jpg', '/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_55_10404.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_14_10499.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_24_9465.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_34_10423.jpg', '/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_54_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_44_9358.jpg
/home/pi/Desktop/images/12042025/02/24/image_12042025_02_24_55_10404.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_14_10499.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_24_9465.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_34_10423.jpg
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_25_54_9366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352092254","1352092277","1352092337","1352092396","1352092313","1352092369"],"photo_ids_order":["1352092254","1352092277","1352092313","1352092337","1352092369","1352092396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c918ce40ed11f6eb18c56c25c1d5aacd.jpg","text":"TemporaryFile(/tmp/multipartBody3958476879757341298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430405280,"filename":"image_12042025_02_24_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe421f386c9004c51fd05745309f94f0.jpg","text":"TemporaryFile(/tmp/multipartBody6744390718336804997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430405280,"filename":"image_12042025_02_24_55_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0364a05adfe5468d576dbd4b8adb17f2.jpg","text":"TemporaryFile(/tmp/multipartBody2402055040586922220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430405280,"filename":"image_12042025_02_25_24_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/726ad2d4fb9e6e4334cef0be92c065b0.jpg","text":"TemporaryFile(/tmp/multipartBody325260634997430158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430405280,"filename":"image_12042025_02_25_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cb3e6078ae7fd9031f50c7dea025954.jpg","text":"TemporaryFile(/tmp/multipartBody5662278889487425358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430405280,"filename":"image_12042025_02_25_14_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c5e9f5c87f00318fd6b63f9d42da46b.jpg","text":"TemporaryFile(/tmp/multipartBody8879349208618153552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430405280,"filename":"image_12042025_02_25_34_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352092313","file1":"1352092277","file0":"1352092254","file4":"1352092369","file5":"1352092396","file3":"1352092337"},"map_files_photo_id_array":[{"photo_id":"1352092396","filename":"file5"},{"photo_id":"1352092313","filename":"file2"},{"photo_id":"1352092369","filename":"file4"},{"photo_id":"1352092277","filename":"file1"},{"photo_id":"1352092254","filename":"file0"},{"photo_id":"1352092337","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352092254":["hashtag1","hashtag2"]},{"1352092277":["hashtag1","hashtag2"]},{"1352092337":["hashtag1","hashtag2"]},{"1352092396":["hashtag1","hashtag2"]},{"1352092313":["hashtag1","hashtag2"]},{"1352092369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352092254, 1352092277, 1352092337, 1352092396, 1352092313, 1352092369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8887619972229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 05:59:43.160099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/25/image_12042025_02_26_04_10445.jpg', '/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_14_9361.jpg', '/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_24_10496.jpg', '/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_35_10436.jpg', '/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_44_9363.jpg', '/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_55_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/25/image_12042025_02_26_04_10445.jpg
/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_14_9361.jpg
/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_24_10496.jpg
/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_35_10436.jpg
/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_44_9363.jpg
/home/pi/Desktop/images/12042025/02/26/image_12042025_02_26_55_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352092773","1352092484","1352092670","1352092553","1352092727","1352092624"],"photo_ids_order":["1352092484","1352092553","1352092624","1352092670","1352092727","1352092773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8054f69c71a20a7ce09511cd196df54e.jpg","text":"TemporaryFile(/tmp/multipartBody7015918774126258659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430443625,"filename":"image_12042025_02_26_55_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56926f19af0dbd4277e98d8ba4eae5ce.jpg","text":"TemporaryFile(/tmp/multipartBody7934895359230581430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430443625,"filename":"image_12042025_02_26_04_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/003ae9a8b619fc0aaf8bf38f9a10941d.jpg","text":"TemporaryFile(/tmp/multipartBody3808275914296347072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430443625,"filename":"image_12042025_02_26_35_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9a2b46ddc09b1ff6864ab522b330ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8357849272314337418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430443625,"filename":"image_12042025_02_26_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47a36797466bd85d242cfa435728e374.jpg","text":"TemporaryFile(/tmp/multipartBody452040390519268041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430443625,"filename":"image_12042025_02_26_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/555aa1d4a18f90e8e2919eae90d22da4.jpg","text":"TemporaryFile(/tmp/multipartBody8127008807049468214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430443625,"filename":"image_12042025_02_26_24_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352092624","file1":"1352092553","file0":"1352092484","file4":"1352092727","file5":"1352092773","file3":"1352092670"},"map_files_photo_id_array":[{"photo_id":"1352092773","filename":"file5"},{"photo_id":"1352092624","filename":"file2"},{"photo_id":"1352092727","filename":"file4"},{"photo_id":"1352092553","filename":"file1"},{"photo_id":"1352092484","filename":"file0"},{"photo_id":"1352092670","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352092773":["hashtag1","hashtag2"]},{"1352092484":["hashtag1","hashtag2"]},{"1352092670":["hashtag1","hashtag2"]},{"1352092553":["hashtag1","hashtag2"]},{"1352092727":["hashtag1","hashtag2"]},{"1352092624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352092773, 1352092484, 1352092670, 1352092553, 1352092727, 1352092624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.65399098396301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:00:52.238683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/26/image_12042025_02_27_04_9443.jpg', '/home/pi/Desktop/images/12042025/02/27/image_12042025_02_27_14_10432.jpg', '/home/pi/Desktop/images/12042025/02/27/image_12042025_02_27_25_10392.jpg', '/home/pi/Desktop/images/12042025/02/27/image_12042025_02_27_34_9466.jpg', '/home/pi/Desktop/images/12042025/02/27/image_12042025_02_27_54_9373.jpg', '/home/pi/Desktop/images/12042025/02/27/image_12042025_02_28_05_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/26/image_12042025_02_27_04_9443.jpg
/home/pi/Desktop/images/12042025/02/27/image_12042025_02_27_14_10432.jpg
/home/pi/Desktop/images/12042025/02/27/image_12042025_02_27_25_10392.jpg
/home/pi/Desktop/images/12042025/02/27/image_12042025_02_27_34_9466.jpg
/home/pi/Desktop/images/12042025/02/27/image_12042025_02_27_54_9373.jpg
/home/pi/Desktop/images/12042025/02/27/image_12042025_02_28_05_10413.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352093127","1352093177","1352092923","1352093026","1352092969","1352093076"],"photo_ids_order":["1352092923","1352092969","1352093026","1352093076","1352093127","1352093177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea5779dd0ed7653bb7f7b092318337a0.jpg","text":"TemporaryFile(/tmp/multipartBody5062355737439545006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430512723,"filename":"image_12042025_02_27_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17a42487072341a8a7bd4e82d6f45899.jpg","text":"TemporaryFile(/tmp/multipartBody286066900041533300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430512723,"filename":"image_12042025_02_28_05_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38b1eb1d5d24e4b3f7f59107cb2f1262.jpg","text":"TemporaryFile(/tmp/multipartBody2200927182148593802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430512723,"filename":"image_12042025_02_27_04_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c57d3be1fb84584cd2afb0b0f3bbdaa.jpg","text":"TemporaryFile(/tmp/multipartBody7367953774092150656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430512723,"filename":"image_12042025_02_27_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/781c09d955ce8d3f5fb6a6350040e4c1.jpg","text":"TemporaryFile(/tmp/multipartBody1736821654094394702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430512723,"filename":"image_12042025_02_27_14_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/344f739474c5fd72d7e317aa38df3b78.jpg","text":"TemporaryFile(/tmp/multipartBody347211456348903307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430512723,"filename":"image_12042025_02_27_34_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352093026","file1":"1352092969","file0":"1352092923","file4":"1352093127","file5":"1352093177","file3":"1352093076"},"map_files_photo_id_array":[{"photo_id":"1352093177","filename":"file5"},{"photo_id":"1352093026","filename":"file2"},{"photo_id":"1352093127","filename":"file4"},{"photo_id":"1352092969","filename":"file1"},{"photo_id":"1352092923","filename":"file0"},{"photo_id":"1352093076","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352093127":["hashtag1","hashtag2"]},{"1352093177":["hashtag1","hashtag2"]},{"1352092923":["hashtag1","hashtag2"]},{"1352093026":["hashtag1","hashtag2"]},{"1352092969":["hashtag1","hashtag2"]},{"1352093076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352093127, 1352093177, 1352092923, 1352093026, 1352092969, 1352093076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.314552307128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:01:32.396689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/28/image_12042025_02_28_14_9367.jpg', '/home/pi/Desktop/images/12042025/02/28/image_12042025_02_28_24_10421.jpg', '/home/pi/Desktop/images/12042025/02/28/image_12042025_02_28_35_10413.jpg', '/home/pi/Desktop/images/12042025/02/28/image_12042025_02_28_44_9354.jpg', '/home/pi/Desktop/images/12042025/02/28/image_12042025_02_29_05_10390.jpg', '/home/pi/Desktop/images/12042025/02/29/image_12042025_02_29_25_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/28/image_12042025_02_28_14_9367.jpg
/home/pi/Desktop/images/12042025/02/28/image_12042025_02_28_24_10421.jpg
/home/pi/Desktop/images/12042025/02/28/image_12042025_02_28_35_10413.jpg
/home/pi/Desktop/images/12042025/02/28/image_12042025_02_28_44_9354.jpg
/home/pi/Desktop/images/12042025/02/28/image_12042025_02_29_05_10390.jpg
/home/pi/Desktop/images/12042025/02/29/image_12042025_02_29_25_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352093748","1352093510","1352093429","1352093668","1352093332","1352093589"],"photo_ids_order":["1352093332","1352093429","1352093510","1352093589","1352093668","1352093748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/545b4301dd6ad930cf5f976320f72d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3234754454520307816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430552986,"filename":"image_12042025_02_29_25_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e80a10b8ec45c2b75db61797b3c30910.jpg","text":"TemporaryFile(/tmp/multipartBody5369702530862314056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430552986,"filename":"image_12042025_02_28_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8566b8a18e03ca498033a8340acb2607.jpg","text":"TemporaryFile(/tmp/multipartBody5016016615940969269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430552986,"filename":"image_12042025_02_28_24_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f853c7930b5cf6429ba9fcbb9aa193af.jpg","text":"TemporaryFile(/tmp/multipartBody4387043047968834195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430552986,"filename":"image_12042025_02_29_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be5c9a65bde344cc1b2075804dce54a4.jpg","text":"TemporaryFile(/tmp/multipartBody5885094718943714973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430552986,"filename":"image_12042025_02_28_14_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56f25ef37bd23b9fcb447fc50161798f.jpg","text":"TemporaryFile(/tmp/multipartBody43055472421934176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430552986,"filename":"image_12042025_02_28_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352093510","file1":"1352093429","file0":"1352093332","file4":"1352093668","file5":"1352093748","file3":"1352093589"},"map_files_photo_id_array":[{"photo_id":"1352093748","filename":"file5"},{"photo_id":"1352093510","filename":"file2"},{"photo_id":"1352093668","filename":"file4"},{"photo_id":"1352093429","filename":"file1"},{"photo_id":"1352093332","filename":"file0"},{"photo_id":"1352093589","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352093748":["hashtag1","hashtag2"]},{"1352093510":["hashtag1","hashtag2"]},{"1352093429":["hashtag1","hashtag2"]},{"1352093668":["hashtag1","hashtag2"]},{"1352093332":["hashtag1","hashtag2"]},{"1352093589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352093748, 1352093510, 1352093429, 1352093668, 1352093332, 1352093589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7684223651886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:02:32.652013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/29/image_12042025_02_29_34_9358.jpg', '/home/pi/Desktop/images/12042025/02/29/image_12042025_02_29_44_10393.jpg', '/home/pi/Desktop/images/12042025/02/29/image_12042025_02_29_54_9402.jpg', '/home/pi/Desktop/images/12042025/02/29/image_12042025_02_30_04_10453.jpg', '/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_15_10455.jpg', '/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_24_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/29/image_12042025_02_29_34_9358.jpg
/home/pi/Desktop/images/12042025/02/29/image_12042025_02_29_44_10393.jpg
/home/pi/Desktop/images/12042025/02/29/image_12042025_02_29_54_9402.jpg
/home/pi/Desktop/images/12042025/02/29/image_12042025_02_30_04_10453.jpg
/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_15_10455.jpg
/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_24_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352094200","1352094101","1352094274","1352094253","1352094145","1352094351"],"photo_ids_order":["1352094101","1352094145","1352094200","1352094253","1352094274","1352094351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70df37b217dd0c2c576cfb1891651cac.jpg","text":"TemporaryFile(/tmp/multipartBody8607402755426382771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430613114,"filename":"image_12042025_02_29_54_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91f30409fa91cf29e22b79766f85a3a1.jpg","text":"TemporaryFile(/tmp/multipartBody5494478835875738490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430613114,"filename":"image_12042025_02_29_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c7f4ee1858b8e48a156b1dcab346e1d.jpg","text":"TemporaryFile(/tmp/multipartBody8017478547692386051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430613114,"filename":"image_12042025_02_30_15_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/baee447d26b5ec187b0e56f5d244f834.jpg","text":"TemporaryFile(/tmp/multipartBody3947913727869775313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430613114,"filename":"image_12042025_02_30_04_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d26a873731408dd68763f012864f6fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8109011501296865323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430613114,"filename":"image_12042025_02_29_44_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62cc1e4d70068db05bd68245b0a85285.jpg","text":"TemporaryFile(/tmp/multipartBody8923667414012387305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430613114,"filename":"image_12042025_02_30_24_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352094200","file1":"1352094145","file0":"1352094101","file4":"1352094274","file5":"1352094351","file3":"1352094253"},"map_files_photo_id_array":[{"photo_id":"1352094351","filename":"file5"},{"photo_id":"1352094200","filename":"file2"},{"photo_id":"1352094274","filename":"file4"},{"photo_id":"1352094145","filename":"file1"},{"photo_id":"1352094101","filename":"file0"},{"photo_id":"1352094253","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352094200":["hashtag1","hashtag2"]},{"1352094101":["hashtag1","hashtag2"]},{"1352094274":["hashtag1","hashtag2"]},{"1352094253":["hashtag1","hashtag2"]},{"1352094145":["hashtag1","hashtag2"]},{"1352094351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352094200, 1352094101, 1352094274, 1352094253, 1352094145, 1352094351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37930417060852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:03:32.894213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_35_10372.jpg', '/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_44_9366.jpg', '/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_54_10413.jpg', '/home/pi/Desktop/images/12042025/02/30/image_12042025_02_31_05_10364.jpg', '/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_14_9363.jpg', '/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_24_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_35_10372.jpg
/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_44_9366.jpg
/home/pi/Desktop/images/12042025/02/30/image_12042025_02_30_54_10413.jpg
/home/pi/Desktop/images/12042025/02/30/image_12042025_02_31_05_10364.jpg
/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_14_9363.jpg
/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_24_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352095058","1352094761","1352095006","1352094958","1352094891","1352094819"],"photo_ids_order":["1352094761","1352094819","1352094891","1352094958","1352095006","1352095058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b92e095b5708e404b0514755773ac0c5.jpg","text":"TemporaryFile(/tmp/multipartBody2589036133765174928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430673362,"filename":"image_12042025_02_31_24_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba64728749e67777320416c6c1378967.jpg","text":"TemporaryFile(/tmp/multipartBody5012877894846975726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430673362,"filename":"image_12042025_02_30_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e74165b421f43d80106c3e747183766.jpg","text":"TemporaryFile(/tmp/multipartBody7478362142113590255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430673362,"filename":"image_12042025_02_31_14_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea090754edb62e9a3b39462cbc8258b4.jpg","text":"TemporaryFile(/tmp/multipartBody1947932884254819425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430673362,"filename":"image_12042025_02_31_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8dcd2255fb9ed5ea52e80a1a4c62b2de.jpg","text":"TemporaryFile(/tmp/multipartBody7798675336391469035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430673362,"filename":"image_12042025_02_30_54_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a95b6fa6ba7a7547372c126c2b0c94c.jpg","text":"TemporaryFile(/tmp/multipartBody1139873135807068921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430673362,"filename":"image_12042025_02_30_44_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352094891","file1":"1352094819","file0":"1352094761","file4":"1352095006","file5":"1352095058","file3":"1352094958"},"map_files_photo_id_array":[{"photo_id":"1352095058","filename":"file5"},{"photo_id":"1352094891","filename":"file2"},{"photo_id":"1352095006","filename":"file4"},{"photo_id":"1352094819","filename":"file1"},{"photo_id":"1352094761","filename":"file0"},{"photo_id":"1352094958","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352095058":["hashtag1","hashtag2"]},{"1352094761":["hashtag1","hashtag2"]},{"1352095006":["hashtag1","hashtag2"]},{"1352094958":["hashtag1","hashtag2"]},{"1352094891":["hashtag1","hashtag2"]},{"1352094819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352095058, 1352094761, 1352095006, 1352094958, 1352094891, 1352094819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78653812408447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:04:32.990811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_34_9350.jpg', '/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_44_10481.jpg', '/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_55_10398.jpg', '/home/pi/Desktop/images/12042025/02/31/image_12042025_02_32_04_9347.jpg', '/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_15_10432.jpg', '/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_24_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_34_9350.jpg
/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_44_10481.jpg
/home/pi/Desktop/images/12042025/02/31/image_12042025_02_31_55_10398.jpg
/home/pi/Desktop/images/12042025/02/31/image_12042025_02_32_04_9347.jpg
/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_15_10432.jpg
/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_24_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352095400","1352095486","1352095430","1352095564","1352095470","1352095506"],"photo_ids_order":["1352095400","1352095430","1352095470","1352095486","1352095506","1352095564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76330a35c668ed230d4569dd0a9dae0a.jpg","text":"TemporaryFile(/tmp/multipartBody2555636130576858355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430733452,"filename":"image_12042025_02_31_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f20c155184ec074d20540b9b0650fcc6.jpg","text":"TemporaryFile(/tmp/multipartBody5286013370061880714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430733452,"filename":"image_12042025_02_32_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e21ae0d1b4e36ed7049f210607ab890f.jpg","text":"TemporaryFile(/tmp/multipartBody4931258421390382792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430733452,"filename":"image_12042025_02_31_44_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/794323e7baaf881d4eb1719f55404f16.jpg","text":"TemporaryFile(/tmp/multipartBody3222240781098240406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430733452,"filename":"image_12042025_02_32_24_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e6cbf1c01a5739590c04125d1b4a54b.jpg","text":"TemporaryFile(/tmp/multipartBody514186829781987521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430733452,"filename":"image_12042025_02_31_55_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ea0fac599014effbbf092d90ff62389.jpg","text":"TemporaryFile(/tmp/multipartBody2539566569878354992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430733452,"filename":"image_12042025_02_32_15_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352095470","file1":"1352095430","file0":"1352095400","file4":"1352095506","file5":"1352095564","file3":"1352095486"},"map_files_photo_id_array":[{"photo_id":"1352095564","filename":"file5"},{"photo_id":"1352095470","filename":"file2"},{"photo_id":"1352095506","filename":"file4"},{"photo_id":"1352095430","filename":"file1"},{"photo_id":"1352095400","filename":"file0"},{"photo_id":"1352095486","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352095400":["hashtag1","hashtag2"]},{"1352095486":["hashtag1","hashtag2"]},{"1352095430":["hashtag1","hashtag2"]},{"1352095564":["hashtag1","hashtag2"]},{"1352095470":["hashtag1","hashtag2"]},{"1352095506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352095400, 1352095486, 1352095430, 1352095564, 1352095470, 1352095506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93187928199768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:05:32.099806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_34_10405.jpg', '/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_45_10428.jpg', '/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_54_9352.jpg', '/home/pi/Desktop/images/12042025/02/32/image_12042025_02_33_05_10458.jpg', '/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_14_9433.jpg', '/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_24_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_34_10405.jpg
/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_45_10428.jpg
/home/pi/Desktop/images/12042025/02/32/image_12042025_02_32_54_9352.jpg
/home/pi/Desktop/images/12042025/02/32/image_12042025_02_33_05_10458.jpg
/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_14_9433.jpg
/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_24_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352095901","1352096004","1352095971","1352096078","1352095827","1352096147"],"photo_ids_order":["1352095827","1352095901","1352095971","1352096004","1352096078","1352096147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e7c58c08fa5dd4a7942a088503aa9ae.jpg","text":"TemporaryFile(/tmp/multipartBody5701571300713128621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430792562,"filename":"image_12042025_02_32_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a72cef5395d2632fa7ad13bae36446f.jpg","text":"TemporaryFile(/tmp/multipartBody1497265561014819333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430792562,"filename":"image_12042025_02_33_05_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cd84473f91446da3f35e8f25b4da400.jpg","text":"TemporaryFile(/tmp/multipartBody1168620356865322033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430792562,"filename":"image_12042025_02_32_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c009557e907d885b4311d2e1236ceae.jpg","text":"TemporaryFile(/tmp/multipartBody5059287826882946556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430792562,"filename":"image_12042025_02_33_14_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fac7e701c07f8ad3fa6b0fcfb623314f.jpg","text":"TemporaryFile(/tmp/multipartBody7276874052337961014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430792562,"filename":"image_12042025_02_32_34_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/794f0d3cb1ea5a0531898cea15a36fd3.jpg","text":"TemporaryFile(/tmp/multipartBody3148285018998168048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430792562,"filename":"image_12042025_02_33_24_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352095971","file1":"1352095901","file0":"1352095827","file4":"1352096078","file5":"1352096147","file3":"1352096004"},"map_files_photo_id_array":[{"photo_id":"1352096147","filename":"file5"},{"photo_id":"1352095971","filename":"file2"},{"photo_id":"1352096078","filename":"file4"},{"photo_id":"1352095901","filename":"file1"},{"photo_id":"1352095827","filename":"file0"},{"photo_id":"1352096004","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352095901":["hashtag1","hashtag2"]},{"1352096004":["hashtag1","hashtag2"]},{"1352095971":["hashtag1","hashtag2"]},{"1352096078":["hashtag1","hashtag2"]},{"1352095827":["hashtag1","hashtag2"]},{"1352096147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352095901, 1352096004, 1352095971, 1352096078, 1352095827, 1352096147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.877474308013916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:06:32.948224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_35_10368.jpg', '/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_44_9369.jpg', '/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_55_10380.jpg', '/home/pi/Desktop/images/12042025/02/34/image_12042025_02_34_14_10469.jpg', '/home/pi/Desktop/images/12042025/02/34/image_12042025_02_34_25_10388.jpg', '/home/pi/Desktop/images/12042025/02/34/image_12042025_02_34_34_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_35_10368.jpg
/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_44_9369.jpg
/home/pi/Desktop/images/12042025/02/33/image_12042025_02_33_55_10380.jpg
/home/pi/Desktop/images/12042025/02/34/image_12042025_02_34_14_10469.jpg
/home/pi/Desktop/images/12042025/02/34/image_12042025_02_34_25_10388.jpg
/home/pi/Desktop/images/12042025/02/34/image_12042025_02_34_34_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352096980","1352096857","1352096815","1352096716","1352097006","1352096927"],"photo_ids_order":["1352096716","1352096815","1352096857","1352096927","1352096980","1352097006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be5a0c0bdeda24abf9d5114d2f0d586e.jpg","text":"TemporaryFile(/tmp/multipartBody8828020160010240556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430853441,"filename":"image_12042025_02_34_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac041c968fbac4ee5cb68655739ef36f.jpg","text":"TemporaryFile(/tmp/multipartBody2811317928149313920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430853441,"filename":"image_12042025_02_33_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dad8eca386260f080410eced63c987ac.jpg","text":"TemporaryFile(/tmp/multipartBody8266074302488122382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430853441,"filename":"image_12042025_02_33_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/805cc24fc09b52152ee08b20f7b206f5.jpg","text":"TemporaryFile(/tmp/multipartBody9034354988391225773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430853441,"filename":"image_12042025_02_33_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6b7a54575b47d742badf9270e371dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7013666818265551506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430853441,"filename":"image_12042025_02_34_34_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19da8177429e615bb39c784d72daec83.jpg","text":"TemporaryFile(/tmp/multipartBody1732966222038109210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430853441,"filename":"image_12042025_02_34_14_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352096857","file1":"1352096815","file0":"1352096716","file4":"1352096980","file5":"1352097006","file3":"1352096927"},"map_files_photo_id_array":[{"photo_id":"1352097006","filename":"file5"},{"photo_id":"1352096857","filename":"file2"},{"photo_id":"1352096980","filename":"file4"},{"photo_id":"1352096815","filename":"file1"},{"photo_id":"1352096716","filename":"file0"},{"photo_id":"1352096927","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352096980":["hashtag1","hashtag2"]},{"1352096857":["hashtag1","hashtag2"]},{"1352096815":["hashtag1","hashtag2"]},{"1352096716":["hashtag1","hashtag2"]},{"1352097006":["hashtag1","hashtag2"]},{"1352096927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352096980, 1352096857, 1352096815, 1352096716, 1352097006, 1352096927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34207367897034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:07:32.331307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/34/image_12042025_02_34_54_9397.jpg', '/home/pi/Desktop/images/12042025/02/34/image_12042025_02_35_04_10434.jpg', '/home/pi/Desktop/images/12042025/02/35/image_12042025_02_35_14_9358.jpg', '/home/pi/Desktop/images/12042025/02/35/image_12042025_02_35_35_10376.jpg', '/home/pi/Desktop/images/12042025/02/35/image_12042025_02_35_44_9425.jpg', '/home/pi/Desktop/images/12042025/02/35/image_12042025_02_35_55_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/34/image_12042025_02_34_54_9397.jpg
/home/pi/Desktop/images/12042025/02/34/image_12042025_02_35_04_10434.jpg
/home/pi/Desktop/images/12042025/02/35/image_12042025_02_35_14_9358.jpg
/home/pi/Desktop/images/12042025/02/35/image_12042025_02_35_35_10376.jpg
/home/pi/Desktop/images/12042025/02/35/image_12042025_02_35_44_9425.jpg
/home/pi/Desktop/images/12042025/02/35/image_12042025_02_35_55_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352097325","1352097593","1352097467","1352097518","1352097577","1352097289"],"photo_ids_order":["1352097289","1352097325","1352097467","1352097518","1352097577","1352097593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a80254e7ff8a0f1cb74799afd06ff84.jpg","text":"TemporaryFile(/tmp/multipartBody591118690792911624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430912801,"filename":"image_12042025_02_35_04_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e0344c5c23dcdb7396ccbbee6ec0505.jpg","text":"TemporaryFile(/tmp/multipartBody402101675233300626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430912801,"filename":"image_12042025_02_35_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3b823ea0c52647efba0d7ad6c4e18e2.jpg","text":"TemporaryFile(/tmp/multipartBody3642462076016009387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430912801,"filename":"image_12042025_02_35_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e75c48684ec4dd601b94d410f46680b1.jpg","text":"TemporaryFile(/tmp/multipartBody1146260754262704073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430912801,"filename":"image_12042025_02_35_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1fdcbdcf97d998b92213fec1583fedd8.jpg","text":"TemporaryFile(/tmp/multipartBody1391627221830247371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430912801,"filename":"image_12042025_02_35_44_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a85309cb0fdd0ee4151e39a377dc553.jpg","text":"TemporaryFile(/tmp/multipartBody4621816059858814484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430912801,"filename":"image_12042025_02_34_54_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352097467","file1":"1352097325","file0":"1352097289","file4":"1352097577","file5":"1352097593","file3":"1352097518"},"map_files_photo_id_array":[{"photo_id":"1352097593","filename":"file5"},{"photo_id":"1352097467","filename":"file2"},{"photo_id":"1352097577","filename":"file4"},{"photo_id":"1352097325","filename":"file1"},{"photo_id":"1352097289","filename":"file0"},{"photo_id":"1352097518","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352097325":["hashtag1","hashtag2"]},{"1352097593":["hashtag1","hashtag2"]},{"1352097467":["hashtag1","hashtag2"]},{"1352097518":["hashtag1","hashtag2"]},{"1352097577":["hashtag1","hashtag2"]},{"1352097289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352097325, 1352097593, 1352097467, 1352097518, 1352097577, 1352097289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24041509628296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:08:32.387963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_15_10526.jpg', '/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_24_9443.jpg', '/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_34_10408.jpg', '/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_45_10359.jpg', '/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_54_9356.jpg', '/home/pi/Desktop/images/12042025/02/36/image_12042025_02_37_04_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_15_10526.jpg
/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_24_9443.jpg
/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_34_10408.jpg
/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_45_10359.jpg
/home/pi/Desktop/images/12042025/02/36/image_12042025_02_36_54_9356.jpg
/home/pi/Desktop/images/12042025/02/36/image_12042025_02_37_04_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352097963","1352097966","1352097933","1352097953","1352097970","1352097955"],"photo_ids_order":["1352097933","1352097953","1352097955","1352097963","1352097966","1352097970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1962a4b2df766b2bb5db698fba7a6ceb.jpg","text":"TemporaryFile(/tmp/multipartBody1874071443970477894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430972856,"filename":"image_12042025_02_36_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a89df77b15baa345ad519e1b8023de2.jpg","text":"TemporaryFile(/tmp/multipartBody8701881060048902117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430972856,"filename":"image_12042025_02_36_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/184bc5198416aa5ca82437c587057295.jpg","text":"TemporaryFile(/tmp/multipartBody2132770836193823975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430972856,"filename":"image_12042025_02_36_15_10526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35c4b8ad861130731e56381e8240ca01.jpg","text":"TemporaryFile(/tmp/multipartBody6489166627024210221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430972856,"filename":"image_12042025_02_36_24_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7a0b38653a30e8930e74e880807d16f.jpg","text":"TemporaryFile(/tmp/multipartBody6335277519046239660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430972856,"filename":"image_12042025_02_37_04_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92b5a146e6e9b6bc0c4e226048a66ce1.jpg","text":"TemporaryFile(/tmp/multipartBody453951470270714975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744430972856,"filename":"image_12042025_02_36_34_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352097955","file1":"1352097953","file0":"1352097933","file4":"1352097966","file5":"1352097970","file3":"1352097963"},"map_files_photo_id_array":[{"photo_id":"1352097970","filename":"file5"},{"photo_id":"1352097955","filename":"file2"},{"photo_id":"1352097966","filename":"file4"},{"photo_id":"1352097953","filename":"file1"},{"photo_id":"1352097933","filename":"file0"},{"photo_id":"1352097963","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352097963":["hashtag1","hashtag2"]},{"1352097966":["hashtag1","hashtag2"]},{"1352097933":["hashtag1","hashtag2"]},{"1352097953":["hashtag1","hashtag2"]},{"1352097970":["hashtag1","hashtag2"]},{"1352097955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352097963, 1352097966, 1352097933, 1352097953, 1352097970, 1352097955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92406749725342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:09:32.478311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_14_9361.jpg', '/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_24_10444.jpg', '/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_35_10387.jpg', '/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_44_9365.jpg', '/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_54_10406.jpg', '/home/pi/Desktop/images/12042025/02/37/image_12042025_02_38_05_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_14_9361.jpg
/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_24_10444.jpg
/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_35_10387.jpg
/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_44_9365.jpg
/home/pi/Desktop/images/12042025/02/37/image_12042025_02_37_54_10406.jpg
/home/pi/Desktop/images/12042025/02/37/image_12042025_02_38_05_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352098029","1352097992","1352098007","1352098001","1352098033","1352098057"],"photo_ids_order":["1352097992","1352098001","1352098007","1352098029","1352098033","1352098057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4db2b960b6692d62e16e6b5d9bbfd675.jpg","text":"TemporaryFile(/tmp/multipartBody6642309665185466112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431032944,"filename":"image_12042025_02_37_44_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9370111b96e4b628069923c39ac10d2.jpg","text":"TemporaryFile(/tmp/multipartBody2599490152142743610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431032944,"filename":"image_12042025_02_37_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6120bf523c2ed16dc36f43972e259757.jpg","text":"TemporaryFile(/tmp/multipartBody4888808351523800558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431032944,"filename":"image_12042025_02_37_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13f8ce1343968c7ae6cca7e92a47e024.jpg","text":"TemporaryFile(/tmp/multipartBody2674087981047591905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431032944,"filename":"image_12042025_02_37_24_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c4b42654f067eeb2a2133b2ea1f901d.jpg","text":"TemporaryFile(/tmp/multipartBody8807967229083912787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431032944,"filename":"image_12042025_02_37_54_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df30b003b7d36199ce8d55263b95d02e.jpg","text":"TemporaryFile(/tmp/multipartBody7230011239247452643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431032944,"filename":"image_12042025_02_38_05_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352098007","file1":"1352098001","file0":"1352097992","file4":"1352098033","file5":"1352098057","file3":"1352098029"},"map_files_photo_id_array":[{"photo_id":"1352098057","filename":"file5"},{"photo_id":"1352098007","filename":"file2"},{"photo_id":"1352098033","filename":"file4"},{"photo_id":"1352098001","filename":"file1"},{"photo_id":"1352097992","filename":"file0"},{"photo_id":"1352098029","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352098029":["hashtag1","hashtag2"]},{"1352097992":["hashtag1","hashtag2"]},{"1352098007":["hashtag1","hashtag2"]},{"1352098001":["hashtag1","hashtag2"]},{"1352098033":["hashtag1","hashtag2"]},{"1352098057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352098029, 1352097992, 1352098007, 1352098001, 1352098033, 1352098057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48182511329651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:10:32.705910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_14_9469.jpg', '/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_25_10380.jpg', '/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_34_9365.jpg', '/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_45_10472.jpg', '/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_54_9444.jpg', '/home/pi/Desktop/images/12042025/02/38/image_12042025_02_39_04_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_14_9469.jpg
/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_25_10380.jpg
/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_34_9365.jpg
/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_45_10472.jpg
/home/pi/Desktop/images/12042025/02/38/image_12042025_02_38_54_9444.jpg
/home/pi/Desktop/images/12042025/02/38/image_12042025_02_39_04_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352098338","1352098364","1352098388","1352098313","1352098403","1352098285"],"photo_ids_order":["1352098285","1352098313","1352098338","1352098364","1352098388","1352098403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/949cb2e4ca496e7d6965a06321c99b0f.jpg","text":"TemporaryFile(/tmp/multipartBody96017664642141729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431093181,"filename":"image_12042025_02_38_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47c60afd3472d1cb80b51cb9fd9ffadc.jpg","text":"TemporaryFile(/tmp/multipartBody2473797425412310697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431093181,"filename":"image_12042025_02_38_45_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58121189981e59026cb86526d9dd0fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3854903283685669433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431093181,"filename":"image_12042025_02_38_54_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba683b162976c52b3b07ff734ae8fced.jpg","text":"TemporaryFile(/tmp/multipartBody4664806646826929265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431093181,"filename":"image_12042025_02_38_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef4cc4ec06dbab632615b3ecacaaa40f.jpg","text":"TemporaryFile(/tmp/multipartBody5230080959418253927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431093181,"filename":"image_12042025_02_39_04_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94c8a1850dca6287311b76f4d4718dad.jpg","text":"TemporaryFile(/tmp/multipartBody6613590287744589140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431093181,"filename":"image_12042025_02_38_14_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352098338","file1":"1352098313","file0":"1352098285","file4":"1352098388","file5":"1352098403","file3":"1352098364"},"map_files_photo_id_array":[{"photo_id":"1352098403","filename":"file5"},{"photo_id":"1352098338","filename":"file2"},{"photo_id":"1352098388","filename":"file4"},{"photo_id":"1352098313","filename":"file1"},{"photo_id":"1352098285","filename":"file0"},{"photo_id":"1352098364","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352098338":["hashtag1","hashtag2"]},{"1352098364":["hashtag1","hashtag2"]},{"1352098388":["hashtag1","hashtag2"]},{"1352098313":["hashtag1","hashtag2"]},{"1352098403":["hashtag1","hashtag2"]},{"1352098285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352098338, 1352098364, 1352098388, 1352098313, 1352098403, 1352098285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60769820213318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:11:32.926454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_15_10382.jpg', '/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_24_9423.jpg', '/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_35_10366.jpg', '/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_44_9364.jpg', '/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_54_10378.jpg', '/home/pi/Desktop/images/12042025/02/40/image_12042025_02_40_14_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_15_10382.jpg
/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_24_9423.jpg
/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_35_10366.jpg
/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_44_9364.jpg
/home/pi/Desktop/images/12042025/02/39/image_12042025_02_39_54_10378.jpg
/home/pi/Desktop/images/12042025/02/40/image_12042025_02_40_14_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352098602","1352098610","1352098613","1352098607","1352098505","1352098576"],"photo_ids_order":["1352098505","1352098576","1352098602","1352098607","1352098610","1352098613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5683244d6bedea09bfece7f109de8ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2487893001612465658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431153522,"filename":"image_12042025_02_39_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/407f2fce7e6021963a8b021f219f504d.jpg","text":"TemporaryFile(/tmp/multipartBody6129489233249095820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431153522,"filename":"image_12042025_02_39_54_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e621aef27ff88f9d251546c5d0187412.jpg","text":"TemporaryFile(/tmp/multipartBody7567075712949264468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431153522,"filename":"image_12042025_02_40_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3edc1b7429bc3b7bea77b4736023b5bb.jpg","text":"TemporaryFile(/tmp/multipartBody4011217190587849857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431153522,"filename":"image_12042025_02_39_44_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc37b5cfe382a7a30b431f300627a8bc.jpg","text":"TemporaryFile(/tmp/multipartBody2062462830545582560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431153522,"filename":"image_12042025_02_39_15_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f7a12c3ee63e33e5d04ac43bbb59e47.jpg","text":"TemporaryFile(/tmp/multipartBody3428490165910553162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431153522,"filename":"image_12042025_02_39_24_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352098602","file1":"1352098576","file0":"1352098505","file4":"1352098610","file5":"1352098613","file3":"1352098607"},"map_files_photo_id_array":[{"photo_id":"1352098613","filename":"file5"},{"photo_id":"1352098602","filename":"file2"},{"photo_id":"1352098610","filename":"file4"},{"photo_id":"1352098576","filename":"file1"},{"photo_id":"1352098505","filename":"file0"},{"photo_id":"1352098607","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352098602":["hashtag1","hashtag2"]},{"1352098610":["hashtag1","hashtag2"]},{"1352098613":["hashtag1","hashtag2"]},{"1352098607":["hashtag1","hashtag2"]},{"1352098505":["hashtag1","hashtag2"]},{"1352098576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352098602, 1352098610, 1352098613, 1352098607, 1352098505, 1352098576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.464706897735596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:12:33.081906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/40/image_12042025_02_40_35_10365.jpg', '/home/pi/Desktop/images/12042025/02/40/image_12042025_02_41_04_9374.jpg', '/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_14_10408.jpg', '/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_25_10366.jpg', '/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_34_9427.jpg', '/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_45_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/40/image_12042025_02_40_35_10365.jpg
/home/pi/Desktop/images/12042025/02/40/image_12042025_02_41_04_9374.jpg
/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_14_10408.jpg
/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_25_10366.jpg
/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_34_9427.jpg
/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_45_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352098659","1352098688","1352098661","1352098655","1352098751","1352098696"],"photo_ids_order":["1352098655","1352098659","1352098661","1352098688","1352098696","1352098751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ee743a25d50a9bebc6b8f216e5b5a62.jpg","text":"TemporaryFile(/tmp/multipartBody1025788359109006543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431213567,"filename":"image_12042025_02_41_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52891bf11201d34e47d20b60c295293b.jpg","text":"TemporaryFile(/tmp/multipartBody2483186323435160203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431213567,"filename":"image_12042025_02_41_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdd56bd024d9f0d2525ac7a689501b30.jpg","text":"TemporaryFile(/tmp/multipartBody3962063120203539681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431213567,"filename":"image_12042025_02_41_14_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a634c6869d67e98f9e11fca3a0fd240d.jpg","text":"TemporaryFile(/tmp/multipartBody3577212938736929142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431213567,"filename":"image_12042025_02_40_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52835226778a1cfc122db278bd66d190.jpg","text":"TemporaryFile(/tmp/multipartBody258425396060004164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431213567,"filename":"image_12042025_02_41_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1d752cea9e5691d97bd3dbfcea815bc.jpg","text":"TemporaryFile(/tmp/multipartBody5781468878219401043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431213567,"filename":"image_12042025_02_41_34_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352098661","file1":"1352098659","file0":"1352098655","file4":"1352098696","file5":"1352098751","file3":"1352098688"},"map_files_photo_id_array":[{"photo_id":"1352098751","filename":"file5"},{"photo_id":"1352098661","filename":"file2"},{"photo_id":"1352098696","filename":"file4"},{"photo_id":"1352098659","filename":"file1"},{"photo_id":"1352098655","filename":"file0"},{"photo_id":"1352098688","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352098659":["hashtag1","hashtag2"]},{"1352098688":["hashtag1","hashtag2"]},{"1352098661":["hashtag1","hashtag2"]},{"1352098655":["hashtag1","hashtag2"]},{"1352098751":["hashtag1","hashtag2"]},{"1352098696":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352098659, 1352098688, 1352098661, 1352098655, 1352098751, 1352098696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.830440521240234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:13:32.259042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_54_9363.jpg', '/home/pi/Desktop/images/12042025/02/41/image_12042025_02_42_04_10468.jpg', '/home/pi/Desktop/images/12042025/02/42/image_12042025_02_42_14_9343.jpg', '/home/pi/Desktop/images/12042025/02/42/image_12042025_02_42_24_10509.jpg', '/home/pi/Desktop/images/12042025/02/42/image_12042025_02_42_44_9430.jpg', '/home/pi/Desktop/images/12042025/02/42/image_12042025_02_42_55_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/41/image_12042025_02_41_54_9363.jpg
/home/pi/Desktop/images/12042025/02/41/image_12042025_02_42_04_10468.jpg
/home/pi/Desktop/images/12042025/02/42/image_12042025_02_42_14_9343.jpg
/home/pi/Desktop/images/12042025/02/42/image_12042025_02_42_24_10509.jpg
/home/pi/Desktop/images/12042025/02/42/image_12042025_02_42_44_9430.jpg
/home/pi/Desktop/images/12042025/02/42/image_12042025_02_42_55_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352099325","1352099084","1352099011","1352099134","1352098948","1352099253"],"photo_ids_order":["1352098948","1352099011","1352099084","1352099134","1352099253","1352099325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19b888088efda182a85f43e84e5c9c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3381227291575456023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431272740,"filename":"image_12042025_02_42_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20156f3d03f10cb5c34a8ec4f636de73.jpg","text":"TemporaryFile(/tmp/multipartBody8316291004181218133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431272740,"filename":"image_12042025_02_42_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d307b0dddd175a3edc1ec68e12757493.jpg","text":"TemporaryFile(/tmp/multipartBody2041992983449034837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431272740,"filename":"image_12042025_02_42_04_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f204688cabf1ca9daa62b2ca6b343bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1292569695601975234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431272740,"filename":"image_12042025_02_42_24_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd804ab2f7b7e0293ed142d42553c0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5876111458188197884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431272740,"filename":"image_12042025_02_41_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0ca06d81c8f783ac897b991038ffc1a.jpg","text":"TemporaryFile(/tmp/multipartBody907863816431905326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431272740,"filename":"image_12042025_02_42_44_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352099084","file1":"1352099011","file0":"1352098948","file4":"1352099253","file5":"1352099325","file3":"1352099134"},"map_files_photo_id_array":[{"photo_id":"1352099325","filename":"file5"},{"photo_id":"1352099084","filename":"file2"},{"photo_id":"1352099253","filename":"file4"},{"photo_id":"1352099011","filename":"file1"},{"photo_id":"1352098948","filename":"file0"},{"photo_id":"1352099134","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352099325":["hashtag1","hashtag2"]},{"1352099084":["hashtag1","hashtag2"]},{"1352099011":["hashtag1","hashtag2"]},{"1352099134":["hashtag1","hashtag2"]},{"1352098948":["hashtag1","hashtag2"]},{"1352099253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352099325, 1352099084, 1352099011, 1352099134, 1352098948, 1352099253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.332218170166016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:14:32.373709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/42/image_12042025_02_43_04_9406.jpg', '/home/pi/Desktop/images/12042025/02/43/image_12042025_02_43_14_10388.jpg', '/home/pi/Desktop/images/12042025/02/43/image_12042025_02_43_34_9470.jpg', '/home/pi/Desktop/images/12042025/02/43/image_12042025_02_43_45_10381.jpg', '/home/pi/Desktop/images/12042025/02/43/image_12042025_02_43_54_9390.jpg', '/home/pi/Desktop/images/12042025/02/43/image_12042025_02_44_04_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/42/image_12042025_02_43_04_9406.jpg
/home/pi/Desktop/images/12042025/02/43/image_12042025_02_43_14_10388.jpg
/home/pi/Desktop/images/12042025/02/43/image_12042025_02_43_34_9470.jpg
/home/pi/Desktop/images/12042025/02/43/image_12042025_02_43_45_10381.jpg
/home/pi/Desktop/images/12042025/02/43/image_12042025_02_43_54_9390.jpg
/home/pi/Desktop/images/12042025/02/43/image_12042025_02_44_04_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352099975","1352100085","1352100237","1352100171","1352100045","1352099911"],"photo_ids_order":["1352099911","1352099975","1352100045","1352100085","1352100171","1352100237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f94dc5165eb90acc0c22490a58773bb.jpg","text":"TemporaryFile(/tmp/multipartBody3356380387975919161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431332859,"filename":"image_12042025_02_43_14_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d64037e88103a745463b886c88021e29.jpg","text":"TemporaryFile(/tmp/multipartBody863406503426691210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431332859,"filename":"image_12042025_02_43_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31b0a4365a16484c1465270628707e16.jpg","text":"TemporaryFile(/tmp/multipartBody6342874620605374460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431332859,"filename":"image_12042025_02_44_04_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55eba91c22e0789228d9fb907a7766d3.jpg","text":"TemporaryFile(/tmp/multipartBody566872395446681658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431332859,"filename":"image_12042025_02_43_54_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b3d7447f3aa8f10690520f13ea2f856.jpg","text":"TemporaryFile(/tmp/multipartBody8312602719051626885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431332859,"filename":"image_12042025_02_43_34_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6aac8782aa6010491a165b01e3442013.jpg","text":"TemporaryFile(/tmp/multipartBody2742210783997137428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431332859,"filename":"image_12042025_02_43_04_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352100045","file1":"1352099975","file0":"1352099911","file4":"1352100171","file5":"1352100237","file3":"1352100085"},"map_files_photo_id_array":[{"photo_id":"1352100237","filename":"file5"},{"photo_id":"1352100045","filename":"file2"},{"photo_id":"1352100171","filename":"file4"},{"photo_id":"1352099975","filename":"file1"},{"photo_id":"1352099911","filename":"file0"},{"photo_id":"1352100085","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352099975":["hashtag1","hashtag2"]},{"1352100085":["hashtag1","hashtag2"]},{"1352100237":["hashtag1","hashtag2"]},{"1352100171":["hashtag1","hashtag2"]},{"1352100045":["hashtag1","hashtag2"]},{"1352099911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352099975, 1352100085, 1352100237, 1352100171, 1352100045, 1352099911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.863423109054565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:15:32.499851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_14_9349.jpg', '/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_24_10470.jpg', '/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_35_10382.jpg', '/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_44_9462.jpg', '/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_55_10466.jpg', '/home/pi/Desktop/images/12042025/02/44/image_12042025_02_45_04_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_14_9349.jpg
/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_24_10470.jpg
/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_35_10382.jpg
/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_44_9462.jpg
/home/pi/Desktop/images/12042025/02/44/image_12042025_02_44_55_10466.jpg
/home/pi/Desktop/images/12042025/02/44/image_12042025_02_45_04_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352101279","1352101191","1352100987","1352100894","1352101356","1352101104"],"photo_ids_order":["1352100894","1352100987","1352101104","1352101191","1352101279","1352101356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b86ed1fe7851555c42814d384a1f85f.jpg","text":"TemporaryFile(/tmp/multipartBody3366052274880488527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431392966,"filename":"image_12042025_02_44_55_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ed2edccd22d0e783f84415c5768d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7208921384565167114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431392966,"filename":"image_12042025_02_44_44_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d07202380a1111b377e9dd8a98a6b64.jpg","text":"TemporaryFile(/tmp/multipartBody7878217915103844559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431392966,"filename":"image_12042025_02_44_24_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abf15f96e399ea7c4d366c2cf8aad7e9.jpg","text":"TemporaryFile(/tmp/multipartBody5348379375589058241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431392966,"filename":"image_12042025_02_44_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92b88810663e77f92136acffef39df1d.jpg","text":"TemporaryFile(/tmp/multipartBody4528751931855301832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431392966,"filename":"image_12042025_02_45_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8db5df8e77caf2128be16a6dc986dee0.jpg","text":"TemporaryFile(/tmp/multipartBody5609198720777610274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431392966,"filename":"image_12042025_02_44_35_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352101104","file1":"1352100987","file0":"1352100894","file4":"1352101279","file5":"1352101356","file3":"1352101191"},"map_files_photo_id_array":[{"photo_id":"1352101356","filename":"file5"},{"photo_id":"1352101104","filename":"file2"},{"photo_id":"1352101279","filename":"file4"},{"photo_id":"1352100987","filename":"file1"},{"photo_id":"1352100894","filename":"file0"},{"photo_id":"1352101191","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352101279":["hashtag1","hashtag2"]},{"1352101191":["hashtag1","hashtag2"]},{"1352100987":["hashtag1","hashtag2"]},{"1352100894":["hashtag1","hashtag2"]},{"1352101356":["hashtag1","hashtag2"]},{"1352101104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352101279, 1352101191, 1352100987, 1352100894, 1352101356, 1352101104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43958830833435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:16:32.872313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_14_10457.jpg', '/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_24_9442.jpg', '/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_34_10424.jpg', '/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_45_10376.jpg', '/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_54_9385.jpg', '/home/pi/Desktop/images/12042025/02/45/image_12042025_02_46_05_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_14_10457.jpg
/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_24_9442.jpg
/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_34_10424.jpg
/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_45_10376.jpg
/home/pi/Desktop/images/12042025/02/45/image_12042025_02_45_54_9385.jpg
/home/pi/Desktop/images/12042025/02/45/image_12042025_02_46_05_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352101770","1352101794","1352101881","1352101875","1352101827","1352101850"],"photo_ids_order":["1352101770","1352101794","1352101827","1352101850","1352101875","1352101881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6c65a817e179b944ad5e43247087873.jpg","text":"TemporaryFile(/tmp/multipartBody1879154263336592343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431453342,"filename":"image_12042025_02_45_14_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b25de43f5abdcba2850253bfc5cdba9.jpg","text":"TemporaryFile(/tmp/multipartBody7755930403771710994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431453342,"filename":"image_12042025_02_45_24_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdb6f401ec67cffaab4821dac0204745.jpg","text":"TemporaryFile(/tmp/multipartBody4698364787785732622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431453342,"filename":"image_12042025_02_46_05_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b480f563a2d8be6bde23220426834c3.jpg","text":"TemporaryFile(/tmp/multipartBody4838496658239061024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431453342,"filename":"image_12042025_02_45_54_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e63292752750bb4541f91c2de307e297.jpg","text":"TemporaryFile(/tmp/multipartBody5282144255464518118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431453342,"filename":"image_12042025_02_45_34_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a189aad54209d8551e9eb529f1e18fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6520968168947767041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431453342,"filename":"image_12042025_02_45_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352101827","file1":"1352101794","file0":"1352101770","file4":"1352101875","file5":"1352101881","file3":"1352101850"},"map_files_photo_id_array":[{"photo_id":"1352101881","filename":"file5"},{"photo_id":"1352101827","filename":"file2"},{"photo_id":"1352101875","filename":"file4"},{"photo_id":"1352101794","filename":"file1"},{"photo_id":"1352101770","filename":"file0"},{"photo_id":"1352101850","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352101770":["hashtag1","hashtag2"]},{"1352101794":["hashtag1","hashtag2"]},{"1352101881":["hashtag1","hashtag2"]},{"1352101875":["hashtag1","hashtag2"]},{"1352101827":["hashtag1","hashtag2"]},{"1352101850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352101770, 1352101794, 1352101881, 1352101875, 1352101827, 1352101850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60219120979309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:17:33.131083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_14_9361.jpg', '/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_24_10463.jpg', '/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_35_10383.jpg', '/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_44_9373.jpg', '/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_55_10386.jpg', '/home/pi/Desktop/images/12042025/02/46/image_12042025_02_47_04_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_14_9361.jpg
/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_24_10463.jpg
/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_35_10383.jpg
/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_44_9373.jpg
/home/pi/Desktop/images/12042025/02/46/image_12042025_02_46_55_10386.jpg
/home/pi/Desktop/images/12042025/02/46/image_12042025_02_47_04_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352102227","1352102176","1352102142","1352102120","1352102201","1352102095"],"photo_ids_order":["1352102095","1352102120","1352102142","1352102176","1352102201","1352102227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ec427d0c6d3da4d955cf22d78e3caa2.jpg","text":"TemporaryFile(/tmp/multipartBody3592647892849700409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431513602,"filename":"image_12042025_02_47_04_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/421e5efc7e46aac5722c3cafeb38e888.jpg","text":"TemporaryFile(/tmp/multipartBody3518489879567219210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431513602,"filename":"image_12042025_02_46_44_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ee5cf8dc96d7c1f3211ebb0491d3609.jpg","text":"TemporaryFile(/tmp/multipartBody8690111528976984152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431513602,"filename":"image_12042025_02_46_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d81eb821b53f2ef64282e38225b57492.jpg","text":"TemporaryFile(/tmp/multipartBody5506862704126960920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431513602,"filename":"image_12042025_02_46_24_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/398ac318f8182febdfd2e1c2fb919249.jpg","text":"TemporaryFile(/tmp/multipartBody7207187316187898923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431513602,"filename":"image_12042025_02_46_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce68f3ec71fdc712129a4440cea25f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6444079254036992524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431513602,"filename":"image_12042025_02_46_14_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352102142","file1":"1352102120","file0":"1352102095","file4":"1352102201","file5":"1352102227","file3":"1352102176"},"map_files_photo_id_array":[{"photo_id":"1352102227","filename":"file5"},{"photo_id":"1352102142","filename":"file2"},{"photo_id":"1352102201","filename":"file4"},{"photo_id":"1352102120","filename":"file1"},{"photo_id":"1352102095","filename":"file0"},{"photo_id":"1352102176","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352102227":["hashtag1","hashtag2"]},{"1352102176":["hashtag1","hashtag2"]},{"1352102142":["hashtag1","hashtag2"]},{"1352102120":["hashtag1","hashtag2"]},{"1352102201":["hashtag1","hashtag2"]},{"1352102095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352102227, 1352102176, 1352102142, 1352102120, 1352102201, 1352102095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35634255409241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:18:32.123549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_15_10771.jpg', '/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_24_9373.jpg', '/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_34_10360.jpg', '/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_44_9386.jpg', '/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_54_10446.jpg', '/home/pi/Desktop/images/12042025/02/47/image_12042025_02_48_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_15_10771.jpg
/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_24_9373.jpg
/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_34_10360.jpg
/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_44_9386.jpg
/home/pi/Desktop/images/12042025/02/47/image_12042025_02_47_54_10446.jpg
/home/pi/Desktop/images/12042025/02/47/image_12042025_02_48_05_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352102644","1352102530","1352102503","1352102454","1352102578","1352102479"],"photo_ids_order":["1352102454","1352102479","1352102503","1352102530","1352102578","1352102644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c16f5d5bc3cecf0a411211eef65e7378.jpg","text":"TemporaryFile(/tmp/multipartBody3748013017292535228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431572612,"filename":"image_12042025_02_48_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c28116131077de817e6e3732788773d3.jpg","text":"TemporaryFile(/tmp/multipartBody6392303646751899898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431572612,"filename":"image_12042025_02_47_44_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fe7b6db05312f63eda8fe8ba9d9d435.jpg","text":"TemporaryFile(/tmp/multipartBody5401145831513712420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431572612,"filename":"image_12042025_02_47_34_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e867f2f8f1b6313ee76809efa2e9997f.jpg","text":"TemporaryFile(/tmp/multipartBody4571075140991670557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431572612,"filename":"image_12042025_02_47_15_10771.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ce98feb2f43a539ccc395e23f3c11b4.jpg","text":"TemporaryFile(/tmp/multipartBody7088931945288518084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431572612,"filename":"image_12042025_02_47_54_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7328bc4a123094f1c7a22bd22ba36d45.jpg","text":"TemporaryFile(/tmp/multipartBody9190262631347684214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431572612,"filename":"image_12042025_02_47_24_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352102503","file1":"1352102479","file0":"1352102454","file4":"1352102578","file5":"1352102644","file3":"1352102530"},"map_files_photo_id_array":[{"photo_id":"1352102644","filename":"file5"},{"photo_id":"1352102503","filename":"file2"},{"photo_id":"1352102578","filename":"file4"},{"photo_id":"1352102479","filename":"file1"},{"photo_id":"1352102454","filename":"file0"},{"photo_id":"1352102530","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352102644":["hashtag1","hashtag2"]},{"1352102530":["hashtag1","hashtag2"]},{"1352102503":["hashtag1","hashtag2"]},{"1352102454":["hashtag1","hashtag2"]},{"1352102578":["hashtag1","hashtag2"]},{"1352102479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352102644, 1352102530, 1352102503, 1352102454, 1352102578, 1352102479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1528058052063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:19:32.498179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_14_9353.jpg', '/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_24_10402.jpg', '/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_34_9421.jpg', '/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_44_10484.jpg', '/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_55_10371.jpg', '/home/pi/Desktop/images/12042025/02/48/image_12042025_02_49_04_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_14_9353.jpg
/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_24_10402.jpg
/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_34_9421.jpg
/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_44_10484.jpg
/home/pi/Desktop/images/12042025/02/48/image_12042025_02_48_55_10371.jpg
/home/pi/Desktop/images/12042025/02/48/image_12042025_02_49_04_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352103270","1352103258","1352103300","1352103163","1352103244","1352103297"],"photo_ids_order":["1352103163","1352103244","1352103258","1352103270","1352103297","1352103300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f7f6238419ecdbd27034f229f3a6eb0.jpg","text":"TemporaryFile(/tmp/multipartBody319000486509828622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431632964,"filename":"image_12042025_02_48_44_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12cf7b98c07cb096395935a91401d6c8.jpg","text":"TemporaryFile(/tmp/multipartBody2785970538361924010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431632964,"filename":"image_12042025_02_48_34_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f06a86aea634fe0ba098d7b0959b39f9.jpg","text":"TemporaryFile(/tmp/multipartBody8038557855023160213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431632964,"filename":"image_12042025_02_49_04_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/260ed780a5b7bd0d80b489861717fee7.jpg","text":"TemporaryFile(/tmp/multipartBody3968000231021919472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431632964,"filename":"image_12042025_02_48_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b33b2712d0dfd8e156c770aa2d25ebad.jpg","text":"TemporaryFile(/tmp/multipartBody1784383598345239459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431632964,"filename":"image_12042025_02_48_24_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a128c200422b97035aa217fff633cc69.jpg","text":"TemporaryFile(/tmp/multipartBody5086030887012195274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431632964,"filename":"image_12042025_02_48_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352103258","file1":"1352103244","file0":"1352103163","file4":"1352103297","file5":"1352103300","file3":"1352103270"},"map_files_photo_id_array":[{"photo_id":"1352103300","filename":"file5"},{"photo_id":"1352103258","filename":"file2"},{"photo_id":"1352103297","filename":"file4"},{"photo_id":"1352103244","filename":"file1"},{"photo_id":"1352103163","filename":"file0"},{"photo_id":"1352103270","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352103270":["hashtag1","hashtag2"]},{"1352103258":["hashtag1","hashtag2"]},{"1352103300":["hashtag1","hashtag2"]},{"1352103163":["hashtag1","hashtag2"]},{"1352103244":["hashtag1","hashtag2"]},{"1352103297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352103270, 1352103258, 1352103300, 1352103163, 1352103244, 1352103297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.405635356903076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 06:20:42.590569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/49/image_12042025_02_49_15_10462.jpg', '/home/pi/Desktop/images/12042025/02/49/image_12042025_02_49_34_10451.jpg', '/home/pi/Desktop/images/12042025/02/49/image_12042025_02_49_45_10455.jpg', '/home/pi/Desktop/images/12042025/02/49/image_12042025_02_49_54_9447.jpg', '/home/pi/Desktop/images/12042025/02/49/image_12042025_02_50_05_10363.jpg', '/home/pi/Desktop/images/12042025/02/50/image_12042025_02_50_14_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/49/image_12042025_02_49_15_10462.jpg
/home/pi/Desktop/images/12042025/02/49/image_12042025_02_49_34_10451.jpg
/home/pi/Desktop/images/12042025/02/49/image_12042025_02_49_45_10455.jpg
/home/pi/Desktop/images/12042025/02/49/image_12042025_02_49_54_9447.jpg
/home/pi/Desktop/images/12042025/02/49/image_12042025_02_50_05_10363.jpg
/home/pi/Desktop/images/12042025/02/50/image_12042025_02_50_14_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352103483","1352103387","1352103569","1352103365","1352103616","1352103430"],"photo_ids_order":["1352103365","1352103387","1352103430","1352103483","1352103569","1352103616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/650487ddbbb12be5c4b46d2c6e1988bc.jpg","text":"TemporaryFile(/tmp/multipartBody2733815161958643786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431703067,"filename":"image_12042025_02_49_54_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59020855798ddd2759a73cde452d586b.jpg","text":"TemporaryFile(/tmp/multipartBody8131586559440993028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431703067,"filename":"image_12042025_02_49_34_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbfdd715d1d3460df6f0da558f7bc699.jpg","text":"TemporaryFile(/tmp/multipartBody6241546284750010443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431703067,"filename":"image_12042025_02_50_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35c62e29d6c3de51fbaf3e02999df66f.jpg","text":"TemporaryFile(/tmp/multipartBody8275224861327695356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431703067,"filename":"image_12042025_02_49_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7561feb72f647dd893e86b720be929b1.jpg","text":"TemporaryFile(/tmp/multipartBody5052032891420148601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431703067,"filename":"image_12042025_02_50_14_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2e99972c223fdc0a3b0716b7a3cdb55.jpg","text":"TemporaryFile(/tmp/multipartBody6854149922544585073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431703067,"filename":"image_12042025_02_49_45_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352103430","file1":"1352103387","file0":"1352103365","file4":"1352103569","file5":"1352103616","file3":"1352103483"},"map_files_photo_id_array":[{"photo_id":"1352103616","filename":"file5"},{"photo_id":"1352103430","filename":"file2"},{"photo_id":"1352103569","filename":"file4"},{"photo_id":"1352103387","filename":"file1"},{"photo_id":"1352103365","filename":"file0"},{"photo_id":"1352103483","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352103483":["hashtag1","hashtag2"]},{"1352103387":["hashtag1","hashtag2"]},{"1352103569":["hashtag1","hashtag2"]},{"1352103365":["hashtag1","hashtag2"]},{"1352103616":["hashtag1","hashtag2"]},{"1352103430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352103483, 1352103387, 1352103569, 1352103365, 1352103616, 1352103430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9569525718689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:21:32.855997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/50/image_12042025_02_50_24_10423.jpg', '/home/pi/Desktop/images/12042025/02/50/image_12042025_02_50_34_9424.jpg', '/home/pi/Desktop/images/12042025/02/50/image_12042025_02_50_55_10427.jpg', '/home/pi/Desktop/images/12042025/02/50/image_12042025_02_51_04_9341.jpg', '/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_15_10439.jpg', '/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_24_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/50/image_12042025_02_50_24_10423.jpg
/home/pi/Desktop/images/12042025/02/50/image_12042025_02_50_34_9424.jpg
/home/pi/Desktop/images/12042025/02/50/image_12042025_02_50_55_10427.jpg
/home/pi/Desktop/images/12042025/02/50/image_12042025_02_51_04_9341.jpg
/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_15_10439.jpg
/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_24_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352103840","1352103791","1352103785","1352103911","1352103796","1352103999"],"photo_ids_order":["1352103785","1352103791","1352103796","1352103840","1352103911","1352103999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91e79e269d763a5c6009c89becc58c13.jpg","text":"TemporaryFile(/tmp/multipartBody506766687057240738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431753333,"filename":"image_12042025_02_51_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0aa6070ae962db441a730e1888f44f2.jpg","text":"TemporaryFile(/tmp/multipartBody5820719400496384833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431753333,"filename":"image_12042025_02_50_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d2637ae33fa38bb70c5de2c7e7b15cc.jpg","text":"TemporaryFile(/tmp/multipartBody6107406115957213254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431753333,"filename":"image_12042025_02_50_24_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/01e9f49f0713c2291eb233dc02896892.jpg","text":"TemporaryFile(/tmp/multipartBody3508263208036258912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431753333,"filename":"image_12042025_02_51_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70c7b6628714cfc99fdec9cd60d3b883.jpg","text":"TemporaryFile(/tmp/multipartBody459906036069128651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431753333,"filename":"image_12042025_02_50_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47117788f99b4bc315d9dd32632ccdfe.jpg","text":"TemporaryFile(/tmp/multipartBody2782256817124016628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431753333,"filename":"image_12042025_02_51_24_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352103796","file1":"1352103791","file0":"1352103785","file4":"1352103911","file5":"1352103999","file3":"1352103840"},"map_files_photo_id_array":[{"photo_id":"1352103999","filename":"file5"},{"photo_id":"1352103796","filename":"file2"},{"photo_id":"1352103911","filename":"file4"},{"photo_id":"1352103791","filename":"file1"},{"photo_id":"1352103785","filename":"file0"},{"photo_id":"1352103840","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352103840":["hashtag1","hashtag2"]},{"1352103791":["hashtag1","hashtag2"]},{"1352103785":["hashtag1","hashtag2"]},{"1352103911":["hashtag1","hashtag2"]},{"1352103796":["hashtag1","hashtag2"]},{"1352103999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352103840, 1352103791, 1352103785, 1352103911, 1352103796, 1352103999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.429792165756226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:22:33.155041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_34_10439.jpg', '/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_45_10372.jpg', '/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_54_9374.jpg', '/home/pi/Desktop/images/12042025/02/51/image_12042025_02_52_04_10386.jpg', '/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_14_9364.jpg', '/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_24_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_34_10439.jpg
/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_45_10372.jpg
/home/pi/Desktop/images/12042025/02/51/image_12042025_02_51_54_9374.jpg
/home/pi/Desktop/images/12042025/02/51/image_12042025_02_52_04_10386.jpg
/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_14_9364.jpg
/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_24_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352104215","1352104208","1352104217","1352104219","1352104176","1352104173"],"photo_ids_order":["1352104173","1352104176","1352104208","1352104215","1352104217","1352104219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e587c151e6c88278419dc915e26f1033.jpg","text":"TemporaryFile(/tmp/multipartBody5452014316670455038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431813641,"filename":"image_12042025_02_52_04_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4affbcead7a0bfe0328feaa1b84423d6.jpg","text":"TemporaryFile(/tmp/multipartBody4693694588946818975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431813641,"filename":"image_12042025_02_51_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddf5c5319f01e48b6fa83bf2bde776f7.jpg","text":"TemporaryFile(/tmp/multipartBody4970283621240880813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431813641,"filename":"image_12042025_02_52_14_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b284798973a6d1e332e6b107fdaaf0a.jpg","text":"TemporaryFile(/tmp/multipartBody4873437852101885709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431813641,"filename":"image_12042025_02_52_24_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b016f3081a0fc478ab5e42b528f65e31.jpg","text":"TemporaryFile(/tmp/multipartBody2910266845592054475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431813641,"filename":"image_12042025_02_51_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53282347ffbdac5bcea1bf399f99b9ae.jpg","text":"TemporaryFile(/tmp/multipartBody1156846014535151786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431813641,"filename":"image_12042025_02_51_34_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352104208","file1":"1352104176","file0":"1352104173","file4":"1352104217","file5":"1352104219","file3":"1352104215"},"map_files_photo_id_array":[{"photo_id":"1352104219","filename":"file5"},{"photo_id":"1352104208","filename":"file2"},{"photo_id":"1352104217","filename":"file4"},{"photo_id":"1352104176","filename":"file1"},{"photo_id":"1352104173","filename":"file0"},{"photo_id":"1352104215","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352104215":["hashtag1","hashtag2"]},{"1352104208":["hashtag1","hashtag2"]},{"1352104217":["hashtag1","hashtag2"]},{"1352104219":["hashtag1","hashtag2"]},{"1352104176":["hashtag1","hashtag2"]},{"1352104173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352104215, 1352104208, 1352104217, 1352104219, 1352104176, 1352104173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08969593048096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:23:32.208228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_35_10393.jpg', '/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_44_9404.jpg', '/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_55_10435.jpg', '/home/pi/Desktop/images/12042025/02/52/image_12042025_02_53_04_9377.jpg', '/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_14_10414.jpg', '/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_35_10393.jpg
/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_44_9404.jpg
/home/pi/Desktop/images/12042025/02/52/image_12042025_02_52_55_10435.jpg
/home/pi/Desktop/images/12042025/02/52/image_12042025_02_53_04_9377.jpg
/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_14_10414.jpg
/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_25_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352104328","1352104307","1352104285","1352104270","1352104303","1352104362"],"photo_ids_order":["1352104270","1352104285","1352104303","1352104307","1352104328","1352104362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db06320bce4b076f6bd1a14f700a05e3.jpg","text":"TemporaryFile(/tmp/multipartBody8764838095839343881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431872686,"filename":"image_12042025_02_53_14_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3192337370bcc6c611aec32be52c242.jpg","text":"TemporaryFile(/tmp/multipartBody8401498238660684862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431872686,"filename":"image_12042025_02_53_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68aaa62fcd0d076fa2b2db0c451a4b42.jpg","text":"TemporaryFile(/tmp/multipartBody3378010425161716696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431872686,"filename":"image_12042025_02_52_44_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/644812c8544dbf3816b5338a67af9f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3343600977962591605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431872686,"filename":"image_12042025_02_52_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c53212c8f8abfb885e08266c61df0de.jpg","text":"TemporaryFile(/tmp/multipartBody5714710106729499659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431872686,"filename":"image_12042025_02_52_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/366d04d3da6383ec541911acd0373850.jpg","text":"TemporaryFile(/tmp/multipartBody608625598912299558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431872686,"filename":"image_12042025_02_53_25_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352104303","file1":"1352104285","file0":"1352104270","file4":"1352104328","file5":"1352104362","file3":"1352104307"},"map_files_photo_id_array":[{"photo_id":"1352104362","filename":"file5"},{"photo_id":"1352104303","filename":"file2"},{"photo_id":"1352104328","filename":"file4"},{"photo_id":"1352104285","filename":"file1"},{"photo_id":"1352104270","filename":"file0"},{"photo_id":"1352104307","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352104328":["hashtag1","hashtag2"]},{"1352104307":["hashtag1","hashtag2"]},{"1352104285":["hashtag1","hashtag2"]},{"1352104270":["hashtag1","hashtag2"]},{"1352104303":["hashtag1","hashtag2"]},{"1352104362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352104328, 1352104307, 1352104285, 1352104270, 1352104303, 1352104362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85849976539612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:24:32.539648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_34_9356.jpg', '/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_45_10458.jpg', '/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_54_9417.jpg', '/home/pi/Desktop/images/12042025/02/53/image_12042025_02_54_04_10461.jpg', '/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_15_10379.jpg', '/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_24_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_34_9356.jpg
/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_45_10458.jpg
/home/pi/Desktop/images/12042025/02/53/image_12042025_02_53_54_9417.jpg
/home/pi/Desktop/images/12042025/02/53/image_12042025_02_54_04_10461.jpg
/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_15_10379.jpg
/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_24_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352104644","1352104548","1352104620","1352104667","1352104574","1352104597"],"photo_ids_order":["1352104548","1352104574","1352104597","1352104620","1352104644","1352104667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bf394229a4f5c89c8715e96a70887ae.jpg","text":"TemporaryFile(/tmp/multipartBody7515188741045791617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431933017,"filename":"image_12042025_02_54_15_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe077d2fbb0809381067a3e322155f51.jpg","text":"TemporaryFile(/tmp/multipartBody1877763750941868679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431933017,"filename":"image_12042025_02_53_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87501173e8446d880e077ae3e883e832.jpg","text":"TemporaryFile(/tmp/multipartBody884234640571035808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431933017,"filename":"image_12042025_02_54_04_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53cbd5db47be1b9908e582d77a5bd83d.jpg","text":"TemporaryFile(/tmp/multipartBody8824763414276602808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431933017,"filename":"image_12042025_02_54_24_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f9380051edf886bd5750d9c3c76389c.jpg","text":"TemporaryFile(/tmp/multipartBody8903255918791993060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431933017,"filename":"image_12042025_02_53_45_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85ff8b267633b43dc98d9984101655bc.jpg","text":"TemporaryFile(/tmp/multipartBody755504409083584386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431933017,"filename":"image_12042025_02_53_54_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352104597","file1":"1352104574","file0":"1352104548","file4":"1352104644","file5":"1352104667","file3":"1352104620"},"map_files_photo_id_array":[{"photo_id":"1352104667","filename":"file5"},{"photo_id":"1352104597","filename":"file2"},{"photo_id":"1352104644","filename":"file4"},{"photo_id":"1352104574","filename":"file1"},{"photo_id":"1352104548","filename":"file0"},{"photo_id":"1352104620","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352104644":["hashtag1","hashtag2"]},{"1352104548":["hashtag1","hashtag2"]},{"1352104620":["hashtag1","hashtag2"]},{"1352104667":["hashtag1","hashtag2"]},{"1352104574":["hashtag1","hashtag2"]},{"1352104597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352104644, 1352104548, 1352104620, 1352104667, 1352104574, 1352104597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77260231971741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:25:32.703677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_35_10440.jpg', '/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_44_9373.jpg', '/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_54_10456.jpg', '/home/pi/Desktop/images/12042025/02/54/image_12042025_02_55_05_10360.jpg', '/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_14_9356.jpg', '/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_25_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_35_10440.jpg
/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_44_9373.jpg
/home/pi/Desktop/images/12042025/02/54/image_12042025_02_54_54_10456.jpg
/home/pi/Desktop/images/12042025/02/54/image_12042025_02_55_05_10360.jpg
/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_14_9356.jpg
/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_25_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352104905","1352104996","1352104948","1352104864","1352104890","1352104971"],"photo_ids_order":["1352104864","1352104890","1352104905","1352104948","1352104971","1352104996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/867c69c65ed596e1c52e80d1dd17f714.jpg","text":"TemporaryFile(/tmp/multipartBody795120623435398162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431993170,"filename":"image_12042025_02_54_54_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec176adca2ad4dac3b24b8e1ce5e9a72.jpg","text":"TemporaryFile(/tmp/multipartBody4863550160674383927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431993170,"filename":"image_12042025_02_55_25_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e531d8e042fc1d7175da0bce3b331fa2.jpg","text":"TemporaryFile(/tmp/multipartBody8169838292490317723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431993170,"filename":"image_12042025_02_55_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37810fc5016df5cc8842d8595f3440a6.jpg","text":"TemporaryFile(/tmp/multipartBody9199730911754671829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431993170,"filename":"image_12042025_02_54_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/282e087d0a5763e989e0a915df37e09d.jpg","text":"TemporaryFile(/tmp/multipartBody3645176318560389154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431993170,"filename":"image_12042025_02_54_44_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cda61236a86f0ca5cd06c883ec0e194.jpg","text":"TemporaryFile(/tmp/multipartBody4390426351752863177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744431993170,"filename":"image_12042025_02_55_14_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352104905","file1":"1352104890","file0":"1352104864","file4":"1352104971","file5":"1352104996","file3":"1352104948"},"map_files_photo_id_array":[{"photo_id":"1352104996","filename":"file5"},{"photo_id":"1352104905","filename":"file2"},{"photo_id":"1352104971","filename":"file4"},{"photo_id":"1352104890","filename":"file1"},{"photo_id":"1352104864","filename":"file0"},{"photo_id":"1352104948","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352104905":["hashtag1","hashtag2"]},{"1352104996":["hashtag1","hashtag2"]},{"1352104948":["hashtag1","hashtag2"]},{"1352104864":["hashtag1","hashtag2"]},{"1352104890":["hashtag1","hashtag2"]},{"1352104971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352104905, 1352104996, 1352104948, 1352104864, 1352104890, 1352104971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71513032913208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:26:32.898949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_34_9352.jpg', '/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_44_10468.jpg', '/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_55_10377.jpg', '/home/pi/Desktop/images/12042025/02/55/image_12042025_02_56_04_9442.jpg', '/home/pi/Desktop/images/12042025/02/56/image_12042025_02_56_15_10403.jpg', '/home/pi/Desktop/images/12042025/02/56/image_12042025_02_56_24_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_34_9352.jpg
/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_44_10468.jpg
/home/pi/Desktop/images/12042025/02/55/image_12042025_02_55_55_10377.jpg
/home/pi/Desktop/images/12042025/02/55/image_12042025_02_56_04_9442.jpg
/home/pi/Desktop/images/12042025/02/56/image_12042025_02_56_15_10403.jpg
/home/pi/Desktop/images/12042025/02/56/image_12042025_02_56_24_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352105171","1352105216","1352105194","1352105239","1352105149","1352105259"],"photo_ids_order":["1352105149","1352105171","1352105194","1352105216","1352105239","1352105259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5e1731a60b184d859bf3fa92d8ffaef.jpg","text":"TemporaryFile(/tmp/multipartBody911028116299061917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432053375,"filename":"image_12042025_02_55_44_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/adafe0bdfa2a6ff9fa2f2df588d7fc39.jpg","text":"TemporaryFile(/tmp/multipartBody3625087644713067656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432053375,"filename":"image_12042025_02_56_04_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae262f39318019f68371bff01b4bc542.jpg","text":"TemporaryFile(/tmp/multipartBody1047572025053962895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432053375,"filename":"image_12042025_02_55_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/edf0995fd395b538497437ac64769862.jpg","text":"TemporaryFile(/tmp/multipartBody927108027891950815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432053375,"filename":"image_12042025_02_56_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07ff7389c140d36d772ce9cdae575f53.jpg","text":"TemporaryFile(/tmp/multipartBody4459286084554292072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432053375,"filename":"image_12042025_02_55_34_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9545ff305cca7496d2cf902fd2310505.jpg","text":"TemporaryFile(/tmp/multipartBody3632306825037707399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432053375,"filename":"image_12042025_02_56_24_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352105194","file1":"1352105171","file0":"1352105149","file4":"1352105239","file5":"1352105259","file3":"1352105216"},"map_files_photo_id_array":[{"photo_id":"1352105259","filename":"file5"},{"photo_id":"1352105194","filename":"file2"},{"photo_id":"1352105239","filename":"file4"},{"photo_id":"1352105171","filename":"file1"},{"photo_id":"1352105149","filename":"file0"},{"photo_id":"1352105216","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352105171":["hashtag1","hashtag2"]},{"1352105216":["hashtag1","hashtag2"]},{"1352105194":["hashtag1","hashtag2"]},{"1352105239":["hashtag1","hashtag2"]},{"1352105149":["hashtag1","hashtag2"]},{"1352105259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352105171, 1352105216, 1352105194, 1352105239, 1352105149, 1352105259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9244167804718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:27:33.081304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/56/image_12042025_02_56_34_10373.jpg', '/home/pi/Desktop/images/12042025/02/56/image_12042025_02_56_45_10375.jpg', '/home/pi/Desktop/images/12042025/02/56/image_12042025_02_57_04_10367.jpg', '/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_14_9384.jpg', '/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_24_10461.jpg', '/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_35_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/56/image_12042025_02_56_34_10373.jpg
/home/pi/Desktop/images/12042025/02/56/image_12042025_02_56_45_10375.jpg
/home/pi/Desktop/images/12042025/02/56/image_12042025_02_57_04_10367.jpg
/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_14_9384.jpg
/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_24_10461.jpg
/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_35_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352105316","1352105351","1352105327","1352105300","1352105377","1352105302"],"photo_ids_order":["1352105300","1352105302","1352105316","1352105327","1352105351","1352105377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2437a2a3688bef00546c3718c1817e78.jpg","text":"TemporaryFile(/tmp/multipartBody6652700394896122462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432113562,"filename":"image_12042025_02_57_04_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1c2b5d232d7e87b27c2dd4b8d5f91d1.jpg","text":"TemporaryFile(/tmp/multipartBody8317015318954073268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432113562,"filename":"image_12042025_02_57_24_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75653f01eb81d72cb4a02f05fb281bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1476161287667973909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432113562,"filename":"image_12042025_02_57_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49b036b1858405598c21b1fc553143fe.jpg","text":"TemporaryFile(/tmp/multipartBody5612314658695398554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432113562,"filename":"image_12042025_02_56_34_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2eb86162ecedc172a0610e8db4d25064.jpg","text":"TemporaryFile(/tmp/multipartBody4797520676061618445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432113562,"filename":"image_12042025_02_57_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1c4fa9647b99f41adb440d625fbbc08.jpg","text":"TemporaryFile(/tmp/multipartBody8551876536662753061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432113562,"filename":"image_12042025_02_56_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352105316","file1":"1352105302","file0":"1352105300","file4":"1352105351","file5":"1352105377","file3":"1352105327"},"map_files_photo_id_array":[{"photo_id":"1352105377","filename":"file5"},{"photo_id":"1352105316","filename":"file2"},{"photo_id":"1352105351","filename":"file4"},{"photo_id":"1352105302","filename":"file1"},{"photo_id":"1352105300","filename":"file0"},{"photo_id":"1352105327","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352105316":["hashtag1","hashtag2"]},{"1352105351":["hashtag1","hashtag2"]},{"1352105327":["hashtag1","hashtag2"]},{"1352105300":["hashtag1","hashtag2"]},{"1352105377":["hashtag1","hashtag2"]},{"1352105302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352105316, 1352105351, 1352105327, 1352105300, 1352105377, 1352105302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.731831550598145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:28:32.274178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_44_9355.jpg', '/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_54_10387.jpg', '/home/pi/Desktop/images/12042025/02/57/image_12042025_02_58_04_9417.jpg', '/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_14_10421.jpg', '/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_25_10432.jpg', '/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_34_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_44_9355.jpg
/home/pi/Desktop/images/12042025/02/57/image_12042025_02_57_54_10387.jpg
/home/pi/Desktop/images/12042025/02/57/image_12042025_02_58_04_9417.jpg
/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_14_10421.jpg
/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_25_10432.jpg
/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_34_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352105714","1352105779","1352105734","1352105806","1352105757","1352105556"],"photo_ids_order":["1352105556","1352105714","1352105734","1352105757","1352105779","1352105806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b3003aaa08dd7874214fc62fd8ec3bf.jpg","text":"TemporaryFile(/tmp/multipartBody3761465623396914104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432172763,"filename":"image_12042025_02_57_54_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9de00c74448d9e3a0452c25b3458b50.jpg","text":"TemporaryFile(/tmp/multipartBody7792357412272593783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432172763,"filename":"image_12042025_02_58_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/409aa0b04f363523e4e6b29e17d32145.jpg","text":"TemporaryFile(/tmp/multipartBody6307536819618489387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432172763,"filename":"image_12042025_02_58_04_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e948fbea9fa5ce2c063f77d217789ae.jpg","text":"TemporaryFile(/tmp/multipartBody1625594000108288322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432172763,"filename":"image_12042025_02_58_34_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/990743c381f46816f8c124ee792dceb1.jpg","text":"TemporaryFile(/tmp/multipartBody1371691468279768885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432172763,"filename":"image_12042025_02_58_14_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c6635ba47a17b3247157f36e01136a1.jpg","text":"TemporaryFile(/tmp/multipartBody5747296051875515504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432172763,"filename":"image_12042025_02_57_44_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352105734","file1":"1352105714","file0":"1352105556","file4":"1352105779","file5":"1352105806","file3":"1352105757"},"map_files_photo_id_array":[{"photo_id":"1352105806","filename":"file5"},{"photo_id":"1352105734","filename":"file2"},{"photo_id":"1352105779","filename":"file4"},{"photo_id":"1352105714","filename":"file1"},{"photo_id":"1352105556","filename":"file0"},{"photo_id":"1352105757","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352105714":["hashtag1","hashtag2"]},{"1352105779":["hashtag1","hashtag2"]},{"1352105734":["hashtag1","hashtag2"]},{"1352105806":["hashtag1","hashtag2"]},{"1352105757":["hashtag1","hashtag2"]},{"1352105556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352105714, 1352105779, 1352105734, 1352105806, 1352105757, 1352105556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.366355657577515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:29:32.536490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_45_10384.jpg', '/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_54_9361.jpg', '/home/pi/Desktop/images/12042025/02/59/image_12042025_02_59_15_10436.jpg', '/home/pi/Desktop/images/12042025/02/59/image_12042025_02_59_24_9377.jpg', '/home/pi/Desktop/images/12042025/02/59/image_12042025_02_59_35_10365.jpg', '/home/pi/Desktop/images/12042025/02/59/image_12042025_02_59_44_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_45_10384.jpg
/home/pi/Desktop/images/12042025/02/58/image_12042025_02_58_54_9361.jpg
/home/pi/Desktop/images/12042025/02/59/image_12042025_02_59_15_10436.jpg
/home/pi/Desktop/images/12042025/02/59/image_12042025_02_59_24_9377.jpg
/home/pi/Desktop/images/12042025/02/59/image_12042025_02_59_35_10365.jpg
/home/pi/Desktop/images/12042025/02/59/image_12042025_02_59_44_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352106055","1352106034","1352106037","1352105979","1352106015","1352105891"],"photo_ids_order":["1352105891","1352105979","1352106015","1352106034","1352106037","1352106055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/655c66b9711352549e74be9272346b6b.jpg","text":"TemporaryFile(/tmp/multipartBody237388315236115538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432233015,"filename":"image_12042025_02_59_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/271af8a1aff72d9db5022b8a76961f25.jpg","text":"TemporaryFile(/tmp/multipartBody878722197842421036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432233015,"filename":"image_12042025_02_59_24_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44be4d2f178a605826a874aa87675ef1.jpg","text":"TemporaryFile(/tmp/multipartBody8345056652561697854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432233015,"filename":"image_12042025_02_59_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1df520dbd69cb19c2d4d9dcb6d6f391.jpg","text":"TemporaryFile(/tmp/multipartBody3908634642286679120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432233015,"filename":"image_12042025_02_58_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a70e0c66e4ff3decf9e261e54e7be3e.jpg","text":"TemporaryFile(/tmp/multipartBody2668600876397879687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432233015,"filename":"image_12042025_02_59_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/342bc0a6d182d056c988a5749b2e8a07.jpg","text":"TemporaryFile(/tmp/multipartBody3997390226014201556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432233015,"filename":"image_12042025_02_58_45_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352106015","file1":"1352105979","file0":"1352105891","file4":"1352106037","file5":"1352106055","file3":"1352106034"},"map_files_photo_id_array":[{"photo_id":"1352106055","filename":"file5"},{"photo_id":"1352106015","filename":"file2"},{"photo_id":"1352106037","filename":"file4"},{"photo_id":"1352105979","filename":"file1"},{"photo_id":"1352105891","filename":"file0"},{"photo_id":"1352106034","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352106055":["hashtag1","hashtag2"]},{"1352106034":["hashtag1","hashtag2"]},{"1352106037":["hashtag1","hashtag2"]},{"1352105979":["hashtag1","hashtag2"]},{"1352106015":["hashtag1","hashtag2"]},{"1352105891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352106055, 1352106034, 1352106037, 1352105979, 1352106015, 1352105891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.42137837409973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:30:32.739706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/01/image_12042025_03_01_15_10085.jpg', '/home/pi/Desktop/images/12042025/03/01/image_12042025_03_01_25_10390.jpg', '/home/pi/Desktop/images/12042025/03/01/image_12042025_03_01_35_10445.jpg', '/home/pi/Desktop/images/12042025/03/01/image_12042025_03_01_45_9386.jpg', '/home/pi/Desktop/images/12042025/03/01/image_12042025_03_02_04_9377.jpg', '/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_15_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/01/image_12042025_03_01_15_10085.jpg
/home/pi/Desktop/images/12042025/03/01/image_12042025_03_01_25_10390.jpg
/home/pi/Desktop/images/12042025/03/01/image_12042025_03_01_35_10445.jpg
/home/pi/Desktop/images/12042025/03/01/image_12042025_03_01_45_9386.jpg
/home/pi/Desktop/images/12042025/03/01/image_12042025_03_02_04_9377.jpg
/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_15_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352106160","1352106097","1352106145","1352106249","1352106309","1352106126"],"photo_ids_order":["1352106097","1352106126","1352106145","1352106160","1352106249","1352106309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12e92d1c460bd878dd64b2693cbf4ba1.jpg","text":"TemporaryFile(/tmp/multipartBody8635756420421519423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432293216,"filename":"image_12042025_03_01_45_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d654a2654868d19faa8de73a428682e.jpg","text":"TemporaryFile(/tmp/multipartBody3023429236865734993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432293216,"filename":"image_12042025_03_01_15_10085.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d6fdd85435f7d4d6270732783b21c01.jpg","text":"TemporaryFile(/tmp/multipartBody5487000418947085856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432293216,"filename":"image_12042025_03_01_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a4eb1adce4a8120953e0fa5fe997015.jpg","text":"TemporaryFile(/tmp/multipartBody4773892128907268809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432293216,"filename":"image_12042025_03_02_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a65e4a2cdb7e11c42681d2fce2478160.jpg","text":"TemporaryFile(/tmp/multipartBody6929668103614791961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432293216,"filename":"image_12042025_03_02_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6610c84668a2283a288c7d45e551ecae.jpg","text":"TemporaryFile(/tmp/multipartBody3926521539112056125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432293216,"filename":"image_12042025_03_01_25_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352106145","file1":"1352106126","file0":"1352106097","file4":"1352106249","file5":"1352106309","file3":"1352106160"},"map_files_photo_id_array":[{"photo_id":"1352106309","filename":"file5"},{"photo_id":"1352106145","filename":"file2"},{"photo_id":"1352106249","filename":"file4"},{"photo_id":"1352106126","filename":"file1"},{"photo_id":"1352106097","filename":"file0"},{"photo_id":"1352106160","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352106160":["hashtag1","hashtag2"]},{"1352106097":["hashtag1","hashtag2"]},{"1352106145":["hashtag1","hashtag2"]},{"1352106249":["hashtag1","hashtag2"]},{"1352106309":["hashtag1","hashtag2"]},{"1352106126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352106160, 1352106097, 1352106145, 1352106249, 1352106309, 1352106126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44461631774902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:31:32.878643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_25_10399.jpg', '/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_35_9431.jpg', '/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_45_10367.jpg', '/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_55_9428.jpg', '/home/pi/Desktop/images/12042025/03/02/image_12042025_03_03_05_10371.jpg', '/home/pi/Desktop/images/12042025/03/03/image_12042025_03_03_15_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_25_10399.jpg
/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_35_9431.jpg
/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_45_10367.jpg
/home/pi/Desktop/images/12042025/03/02/image_12042025_03_02_55_9428.jpg
/home/pi/Desktop/images/12042025/03/02/image_12042025_03_03_05_10371.jpg
/home/pi/Desktop/images/12042025/03/03/image_12042025_03_03_15_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352106452","1352106402","1352106405","1352106395","1352106380","1352106437"],"photo_ids_order":["1352106380","1352106395","1352106402","1352106405","1352106437","1352106452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/967c5a891349cf0f0a06229f88a5f73e.jpg","text":"TemporaryFile(/tmp/multipartBody1901161523437637965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432353345,"filename":"image_12042025_03_03_15_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da647159d034af5cac133b49c974d357.jpg","text":"TemporaryFile(/tmp/multipartBody564396106566436298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432353345,"filename":"image_12042025_03_02_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/187504f0cb7698357c0be0cc243ef4cb.jpg","text":"TemporaryFile(/tmp/multipartBody955322573230341615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432353345,"filename":"image_12042025_03_02_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a49ba31c80eb19d73628822e62d7d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8277174994331038463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432353345,"filename":"image_12042025_03_02_35_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69f15c1b4b2dc7392b19e6490e21d2df.jpg","text":"TemporaryFile(/tmp/multipartBody5712696663502804069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432353345,"filename":"image_12042025_03_02_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/800eadb635d6b8a6750cc6a3b03ff92d.jpg","text":"TemporaryFile(/tmp/multipartBody6585657802795981576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432353345,"filename":"image_12042025_03_03_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352106402","file1":"1352106395","file0":"1352106380","file4":"1352106437","file5":"1352106452","file3":"1352106405"},"map_files_photo_id_array":[{"photo_id":"1352106452","filename":"file5"},{"photo_id":"1352106402","filename":"file2"},{"photo_id":"1352106437","filename":"file4"},{"photo_id":"1352106395","filename":"file1"},{"photo_id":"1352106380","filename":"file0"},{"photo_id":"1352106405","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352106452":["hashtag1","hashtag2"]},{"1352106402":["hashtag1","hashtag2"]},{"1352106405":["hashtag1","hashtag2"]},{"1352106395":["hashtag1","hashtag2"]},{"1352106380":["hashtag1","hashtag2"]},{"1352106437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352106452, 1352106402, 1352106405, 1352106395, 1352106380, 1352106437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.162273645401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:32:33.189925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/03/image_12042025_03_03_35_10373.jpg', '/home/pi/Desktop/images/12042025/03/03/image_12042025_03_04_05_10470.jpg', '/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_15_9402.jpg', '/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_25_10375.jpg', '/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_35_9379.jpg', '/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/03/image_12042025_03_03_35_10373.jpg
/home/pi/Desktop/images/12042025/03/03/image_12042025_03_04_05_10470.jpg
/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_15_9402.jpg
/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_25_10375.jpg
/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_35_9379.jpg
/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_45_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352106598","1352106589","1352106601","1352106604","1352106594","1352106584"],"photo_ids_order":["1352106584","1352106589","1352106594","1352106598","1352106601","1352106604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abcd96e908c69dc930cf048b78776278.jpg","text":"TemporaryFile(/tmp/multipartBody8802836569324982512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432413675,"filename":"image_12042025_03_04_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c17333df0ab88bb10360844ed5f5c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4807691181471036639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432413675,"filename":"image_12042025_03_04_05_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ffade18462493bc076469a3401eda18.jpg","text":"TemporaryFile(/tmp/multipartBody1439424167459324498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432413675,"filename":"image_12042025_03_04_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab4d32a562c11f22f18c06211f760740.jpg","text":"TemporaryFile(/tmp/multipartBody2875061460328532924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432413675,"filename":"image_12042025_03_04_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f644d5ee010e9d24533e839ae35163f.jpg","text":"TemporaryFile(/tmp/multipartBody4861693591763826635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432413675,"filename":"image_12042025_03_04_15_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af98e107498d81ec76984e3a421f7d52.jpg","text":"TemporaryFile(/tmp/multipartBody9058076940354353550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432413675,"filename":"image_12042025_03_03_35_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352106594","file1":"1352106589","file0":"1352106584","file4":"1352106601","file5":"1352106604","file3":"1352106598"},"map_files_photo_id_array":[{"photo_id":"1352106604","filename":"file5"},{"photo_id":"1352106594","filename":"file2"},{"photo_id":"1352106601","filename":"file4"},{"photo_id":"1352106589","filename":"file1"},{"photo_id":"1352106584","filename":"file0"},{"photo_id":"1352106598","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352106598":["hashtag1","hashtag2"]},{"1352106589":["hashtag1","hashtag2"]},{"1352106601":["hashtag1","hashtag2"]},{"1352106604":["hashtag1","hashtag2"]},{"1352106594":["hashtag1","hashtag2"]},{"1352106584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352106598, 1352106589, 1352106601, 1352106604, 1352106594, 1352106584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4167206287384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:33:32.163531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_55_10420.jpg', '/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_15_10420.jpg', '/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_25_9449.jpg', '/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_35_10425.jpg', '/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_45_10461.jpg', '/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_55_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/04/image_12042025_03_04_55_10420.jpg
/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_15_10420.jpg
/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_25_9449.jpg
/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_35_10425.jpg
/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_45_10461.jpg
/home/pi/Desktop/images/12042025/03/05/image_12042025_03_05_55_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352106713","1352106691","1352106754","1352106687","1352106729","1352106708"],"photo_ids_order":["1352106687","1352106691","1352106708","1352106713","1352106729","1352106754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ccfbd2d2186d6c713b07562d0c1b1c2.jpg","text":"TemporaryFile(/tmp/multipartBody3857006120746039944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432472647,"filename":"image_12042025_03_05_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/590df5b1df4e6858a203c7eebbcd10a8.jpg","text":"TemporaryFile(/tmp/multipartBody8832515457799213086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432472647,"filename":"image_12042025_03_05_15_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/915ffb2bc60b4bc22c1896dd2aab53c1.jpg","text":"TemporaryFile(/tmp/multipartBody7109792326340631510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432472647,"filename":"image_12042025_03_05_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eba869cbe3e9915ae04109b3c47ca05b.jpg","text":"TemporaryFile(/tmp/multipartBody8448321630013007913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432472647,"filename":"image_12042025_03_04_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc65daeca64c5a23fcbc5b0f189dca0b.jpg","text":"TemporaryFile(/tmp/multipartBody7054640501358037483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432472647,"filename":"image_12042025_03_05_45_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a446696c70f878b70ceb29eeec474ab8.jpg","text":"TemporaryFile(/tmp/multipartBody102385775747820873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432472647,"filename":"image_12042025_03_05_25_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352106708","file1":"1352106691","file0":"1352106687","file4":"1352106729","file5":"1352106754","file3":"1352106713"},"map_files_photo_id_array":[{"photo_id":"1352106754","filename":"file5"},{"photo_id":"1352106708","filename":"file2"},{"photo_id":"1352106729","filename":"file4"},{"photo_id":"1352106691","filename":"file1"},{"photo_id":"1352106687","filename":"file0"},{"photo_id":"1352106713","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352106713":["hashtag1","hashtag2"]},{"1352106691":["hashtag1","hashtag2"]},{"1352106754":["hashtag1","hashtag2"]},{"1352106687":["hashtag1","hashtag2"]},{"1352106729":["hashtag1","hashtag2"]},{"1352106708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352106713, 1352106691, 1352106754, 1352106687, 1352106729, 1352106708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20727300643921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:34:32.504910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/05/image_12042025_03_06_05_10378.jpg', '/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_15_9440.jpg', '/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_25_10451.jpg', '/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_34_9411.jpg', '/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_45_10424.jpg', '/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_55_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/05/image_12042025_03_06_05_10378.jpg
/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_15_9440.jpg
/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_25_10451.jpg
/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_34_9411.jpg
/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_45_10424.jpg
/home/pi/Desktop/images/12042025/03/06/image_12042025_03_06_55_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352106830","1352106823","1352106826","1352106820","1352106817","1352106831"],"photo_ids_order":["1352106817","1352106820","1352106823","1352106826","1352106830","1352106831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9044e5f92353938f135e376ebb83204a.jpg","text":"TemporaryFile(/tmp/multipartBody1157805525266407474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432532992,"filename":"image_12042025_03_06_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c40f0bf6720232bb5263553a52c7dfdd.jpg","text":"TemporaryFile(/tmp/multipartBody6264309158755609064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432532992,"filename":"image_12042025_03_06_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29bfea461cb9333e00e1b97be19103a6.jpg","text":"TemporaryFile(/tmp/multipartBody4023563668598623817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432532992,"filename":"image_12042025_03_06_34_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d03f9395f40a19606be560e3d0f7d79f.jpg","text":"TemporaryFile(/tmp/multipartBody1006250132532605353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432532992,"filename":"image_12042025_03_06_15_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e40b4b6f569c2204482ce7b5badb0cdc.jpg","text":"TemporaryFile(/tmp/multipartBody345245110523132348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432532992,"filename":"image_12042025_03_06_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/675939143abdfb456d8fecc1ed5600c6.jpg","text":"TemporaryFile(/tmp/multipartBody9068968582723935521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432532992,"filename":"image_12042025_03_06_55_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352106823","file1":"1352106820","file0":"1352106817","file4":"1352106830","file5":"1352106831","file3":"1352106826"},"map_files_photo_id_array":[{"photo_id":"1352106831","filename":"file5"},{"photo_id":"1352106823","filename":"file2"},{"photo_id":"1352106830","filename":"file4"},{"photo_id":"1352106820","filename":"file1"},{"photo_id":"1352106817","filename":"file0"},{"photo_id":"1352106826","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352106830":["hashtag1","hashtag2"]},{"1352106823":["hashtag1","hashtag2"]},{"1352106826":["hashtag1","hashtag2"]},{"1352106820":["hashtag1","hashtag2"]},{"1352106817":["hashtag1","hashtag2"]},{"1352106831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352106830, 1352106823, 1352106826, 1352106820, 1352106817, 1352106831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75160598754883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:35:32.791195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/06/image_12042025_03_07_05_9366.jpg', '/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_15_10377.jpg', '/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_24_9437.jpg', '/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_35_10426.jpg', '/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_45_10454.jpg', '/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_55_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/06/image_12042025_03_07_05_9366.jpg
/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_15_10377.jpg
/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_24_9437.jpg
/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_35_10426.jpg
/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_45_10454.jpg
/home/pi/Desktop/images/12042025/03/07/image_12042025_03_07_55_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352106929","1352106967","1352106970","1352106951","1352106918","1352106965"],"photo_ids_order":["1352106918","1352106929","1352106951","1352106965","1352106967","1352106970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4f9e9dc9737fb513be3b0ef35207b97.jpg","text":"TemporaryFile(/tmp/multipartBody2475141525781338566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432593278,"filename":"image_12042025_03_07_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86adb5511fbe3205b7076a4b2eb1ec70.jpg","text":"TemporaryFile(/tmp/multipartBody5720904516445996538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432593278,"filename":"image_12042025_03_07_45_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80108bc797b09aa44c2d59b5806a1fb6.jpg","text":"TemporaryFile(/tmp/multipartBody5528025713991300063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432593278,"filename":"image_12042025_03_07_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf37015d4bad5a25a9888a24b57336e6.jpg","text":"TemporaryFile(/tmp/multipartBody4175553273263355490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432593278,"filename":"image_12042025_03_07_24_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a7a545763307c38279ae38206b212cc.jpg","text":"TemporaryFile(/tmp/multipartBody8212634373425553046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432593278,"filename":"image_12042025_03_07_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c78e1b7494cff003bb348a7fd1c3b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4371022101368864727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432593278,"filename":"image_12042025_03_07_35_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352106951","file1":"1352106929","file0":"1352106918","file4":"1352106967","file5":"1352106970","file3":"1352106965"},"map_files_photo_id_array":[{"photo_id":"1352106970","filename":"file5"},{"photo_id":"1352106951","filename":"file2"},{"photo_id":"1352106967","filename":"file4"},{"photo_id":"1352106929","filename":"file1"},{"photo_id":"1352106918","filename":"file0"},{"photo_id":"1352106965","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352106929":["hashtag1","hashtag2"]},{"1352106967":["hashtag1","hashtag2"]},{"1352106970":["hashtag1","hashtag2"]},{"1352106951":["hashtag1","hashtag2"]},{"1352106918":["hashtag1","hashtag2"]},{"1352106965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352106929, 1352106967, 1352106970, 1352106951, 1352106918, 1352106965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87302112579346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:36:32.892036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/07/image_12042025_03_08_05_10378.jpg', '/home/pi/Desktop/images/12042025/03/08/image_12042025_03_08_14_9361.jpg', '/home/pi/Desktop/images/12042025/03/08/image_12042025_03_08_25_10437.jpg', '/home/pi/Desktop/images/12042025/03/08/image_12042025_03_08_45_9379.jpg', '/home/pi/Desktop/images/12042025/03/08/image_12042025_03_08_55_10437.jpg', '/home/pi/Desktop/images/12042025/03/08/image_12042025_03_09_05_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/07/image_12042025_03_08_05_10378.jpg
/home/pi/Desktop/images/12042025/03/08/image_12042025_03_08_14_9361.jpg
/home/pi/Desktop/images/12042025/03/08/image_12042025_03_08_25_10437.jpg
/home/pi/Desktop/images/12042025/03/08/image_12042025_03_08_45_9379.jpg
/home/pi/Desktop/images/12042025/03/08/image_12042025_03_08_55_10437.jpg
/home/pi/Desktop/images/12042025/03/08/image_12042025_03_09_05_9470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352107202","1352107174","1352107138","1352107095","1352107278","1352107229"],"photo_ids_order":["1352107095","1352107138","1352107174","1352107202","1352107229","1352107278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef112e896e1f0151575456de6ef05602.jpg","text":"TemporaryFile(/tmp/multipartBody6936542414027922190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432653370,"filename":"image_12042025_03_08_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0910ddb9727e3e4bdbf1aacc6accbda4.jpg","text":"TemporaryFile(/tmp/multipartBody3955226433437945377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432653370,"filename":"image_12042025_03_08_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e44f5940d1f0f866eda331f9e65a33d.jpg","text":"TemporaryFile(/tmp/multipartBody2538371384282011081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432653370,"filename":"image_12042025_03_08_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5653130aba3295128866e1be01bd13f.jpg","text":"TemporaryFile(/tmp/multipartBody5213269170504988510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432653370,"filename":"image_12042025_03_08_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b24e679cd16d0bd277b8141d722bba1.jpg","text":"TemporaryFile(/tmp/multipartBody7952477057130575683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432653370,"filename":"image_12042025_03_09_05_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1488cc13e98867537e570974f49d8ca4.jpg","text":"TemporaryFile(/tmp/multipartBody5106308889317955760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432653370,"filename":"image_12042025_03_08_55_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352107174","file1":"1352107138","file0":"1352107095","file4":"1352107229","file5":"1352107278","file3":"1352107202"},"map_files_photo_id_array":[{"photo_id":"1352107278","filename":"file5"},{"photo_id":"1352107174","filename":"file2"},{"photo_id":"1352107229","filename":"file4"},{"photo_id":"1352107138","filename":"file1"},{"photo_id":"1352107095","filename":"file0"},{"photo_id":"1352107202","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352107202":["hashtag1","hashtag2"]},{"1352107174":["hashtag1","hashtag2"]},{"1352107138":["hashtag1","hashtag2"]},{"1352107095":["hashtag1","hashtag2"]},{"1352107278":["hashtag1","hashtag2"]},{"1352107229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352107202, 1352107174, 1352107138, 1352107095, 1352107278, 1352107229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.911253929138184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:37:33.032080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_15_10376.jpg', '/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_25_10378.jpg', '/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_35_9357.jpg', '/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_45_10365.jpg', '/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_55_10369.jpg', '/home/pi/Desktop/images/12042025/03/09/image_12042025_03_10_05_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_15_10376.jpg
/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_25_10378.jpg
/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_35_9357.jpg
/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_45_10365.jpg
/home/pi/Desktop/images/12042025/03/09/image_12042025_03_09_55_10369.jpg
/home/pi/Desktop/images/12042025/03/09/image_12042025_03_10_05_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352107777","1352107666","1352107799","1352107679","1352107751","1352107721"],"photo_ids_order":["1352107666","1352107679","1352107721","1352107751","1352107777","1352107799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52c28ca10d8e42cae0388f7c62cc8759.jpg","text":"TemporaryFile(/tmp/multipartBody392450975145333472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432713582,"filename":"image_12042025_03_09_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76fc58e129a372ba68a05ae47d506e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8533397410205974880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432713582,"filename":"image_12042025_03_09_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c99506c70f477a96d146506d6cf4605.jpg","text":"TemporaryFile(/tmp/multipartBody7211406381396215054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432713582,"filename":"image_12042025_03_10_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5545858c49ef86d5ca3c4f126897ce58.jpg","text":"TemporaryFile(/tmp/multipartBody5027965728559967651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432713582,"filename":"image_12042025_03_09_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4952185c33d5081014c8aa1fe8df7974.jpg","text":"TemporaryFile(/tmp/multipartBody5393710268647698411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432713582,"filename":"image_12042025_03_09_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8c7ddfaa5acad8993179f85d7c8bc34.jpg","text":"TemporaryFile(/tmp/multipartBody179015031571648483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432713582,"filename":"image_12042025_03_09_35_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352107721","file1":"1352107679","file0":"1352107666","file4":"1352107777","file5":"1352107799","file3":"1352107751"},"map_files_photo_id_array":[{"photo_id":"1352107799","filename":"file5"},{"photo_id":"1352107721","filename":"file2"},{"photo_id":"1352107777","filename":"file4"},{"photo_id":"1352107679","filename":"file1"},{"photo_id":"1352107666","filename":"file0"},{"photo_id":"1352107751","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352107777":["hashtag1","hashtag2"]},{"1352107666":["hashtag1","hashtag2"]},{"1352107799":["hashtag1","hashtag2"]},{"1352107679":["hashtag1","hashtag2"]},{"1352107751":["hashtag1","hashtag2"]},{"1352107721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352107777, 1352107666, 1352107799, 1352107679, 1352107751, 1352107721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.058509826660156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:38:32.287699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_15_10493.jpg', '/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_25_9440.jpg', '/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_35_10367.jpg', '/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_45_9452.jpg', '/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_55_10417.jpg', '/home/pi/Desktop/images/12042025/03/10/image_12042025_03_11_05_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_15_10493.jpg
/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_25_9440.jpg
/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_35_10367.jpg
/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_45_9452.jpg
/home/pi/Desktop/images/12042025/03/10/image_12042025_03_10_55_10417.jpg
/home/pi/Desktop/images/12042025/03/10/image_12042025_03_11_05_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352107974","1352107998","1352108051","1352108089","1352108027","1352108131"],"photo_ids_order":["1352107974","1352107998","1352108027","1352108051","1352108089","1352108131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7865031b880a4ff6668b3fe56cad9930.jpg","text":"TemporaryFile(/tmp/multipartBody2954870881831634135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432772755,"filename":"image_12042025_03_10_15_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c3b75681fc352da2e17355c38b110fd.jpg","text":"TemporaryFile(/tmp/multipartBody6364317864001430232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432772755,"filename":"image_12042025_03_10_25_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e62fafc402996e01d6f2ad906503b11a.jpg","text":"TemporaryFile(/tmp/multipartBody6655549284116766780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432772755,"filename":"image_12042025_03_10_45_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b09739a929ef657cbfb6b12968608e75.jpg","text":"TemporaryFile(/tmp/multipartBody7635424444967226305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432772755,"filename":"image_12042025_03_10_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25db64c2d4e2fed94c215c50423d2f6b.jpg","text":"TemporaryFile(/tmp/multipartBody3134930855693935541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432772755,"filename":"image_12042025_03_10_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f562af657e3d5235f323e7ca4ec34141.jpg","text":"TemporaryFile(/tmp/multipartBody3584237729893657660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432772755,"filename":"image_12042025_03_11_05_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352108027","file1":"1352107998","file0":"1352107974","file4":"1352108089","file5":"1352108131","file3":"1352108051"},"map_files_photo_id_array":[{"photo_id":"1352108131","filename":"file5"},{"photo_id":"1352108027","filename":"file2"},{"photo_id":"1352108089","filename":"file4"},{"photo_id":"1352107998","filename":"file1"},{"photo_id":"1352107974","filename":"file0"},{"photo_id":"1352108051","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352107974":["hashtag1","hashtag2"]},{"1352107998":["hashtag1","hashtag2"]},{"1352108051":["hashtag1","hashtag2"]},{"1352108089":["hashtag1","hashtag2"]},{"1352108027":["hashtag1","hashtag2"]},{"1352108131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352107974, 1352107998, 1352108051, 1352108089, 1352108027, 1352108131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74423170089722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:39:32.483649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_15_9375.jpg', '/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_25_10369.jpg', '/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_35_9410.jpg', '/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_45_10379.jpg', '/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_55_10387.jpg', '/home/pi/Desktop/images/12042025/03/11/image_12042025_03_12_05_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_15_9375.jpg
/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_25_10369.jpg
/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_35_9410.jpg
/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_45_10379.jpg
/home/pi/Desktop/images/12042025/03/11/image_12042025_03_11_55_10387.jpg
/home/pi/Desktop/images/12042025/03/11/image_12042025_03_12_05_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352108452","1352108325","1352108426","1352108348","1352108402","1352108371"],"photo_ids_order":["1352108325","1352108348","1352108371","1352108402","1352108426","1352108452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47d0eac0000f19b1ae07cba4c6721fca.jpg","text":"TemporaryFile(/tmp/multipartBody8122641666325089828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432832979,"filename":"image_12042025_03_12_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd2f54307a612ce0b3e62801c33363f4.jpg","text":"TemporaryFile(/tmp/multipartBody1247477010467268171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432832979,"filename":"image_12042025_03_11_15_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63763ef624ee6761dffc11da84cc028e.jpg","text":"TemporaryFile(/tmp/multipartBody3827872550256792839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432832979,"filename":"image_12042025_03_11_55_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3efa7d0c4e1b3410b65cb981a8203daf.jpg","text":"TemporaryFile(/tmp/multipartBody2980361439773799074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432832979,"filename":"image_12042025_03_11_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d349abbfa9451996bdc0fce7d693ae9.jpg","text":"TemporaryFile(/tmp/multipartBody2400609689421105739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432832979,"filename":"image_12042025_03_11_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec06f5ac3048ba6f4a5d0e87f69b9d31.jpg","text":"TemporaryFile(/tmp/multipartBody2937758840375798035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432832979,"filename":"image_12042025_03_11_35_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352108371","file1":"1352108348","file0":"1352108325","file4":"1352108426","file5":"1352108452","file3":"1352108402"},"map_files_photo_id_array":[{"photo_id":"1352108452","filename":"file5"},{"photo_id":"1352108371","filename":"file2"},{"photo_id":"1352108426","filename":"file4"},{"photo_id":"1352108348","filename":"file1"},{"photo_id":"1352108325","filename":"file0"},{"photo_id":"1352108402","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352108452":["hashtag1","hashtag2"]},{"1352108325":["hashtag1","hashtag2"]},{"1352108426":["hashtag1","hashtag2"]},{"1352108348":["hashtag1","hashtag2"]},{"1352108402":["hashtag1","hashtag2"]},{"1352108371":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352108452, 1352108325, 1352108426, 1352108348, 1352108402, 1352108371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82864260673523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:40:32.716228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_15_10421.jpg', '/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_24_9404.jpg', '/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_35_10380.jpg', '/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_45_10496.jpg', '/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_55_9384.jpg', '/home/pi/Desktop/images/12042025/03/12/image_12042025_03_13_05_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_15_10421.jpg
/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_24_9404.jpg
/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_35_10380.jpg
/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_45_10496.jpg
/home/pi/Desktop/images/12042025/03/12/image_12042025_03_12_55_9384.jpg
/home/pi/Desktop/images/12042025/03/12/image_12042025_03_13_05_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352108469","1352108463","1352108474","1352108471","1352108465","1352108467"],"photo_ids_order":["1352108463","1352108465","1352108467","1352108469","1352108471","1352108474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/871a609029e8b61f552c6d869e1da189.jpg","text":"TemporaryFile(/tmp/multipartBody2578967965358384853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432893190,"filename":"image_12042025_03_12_45_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/411ff6380c67f4e8a84a640ca516de67.jpg","text":"TemporaryFile(/tmp/multipartBody2256283315127348123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432893190,"filename":"image_12042025_03_12_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a62bb03b762d1249db2d73949cc3d1f2.jpg","text":"TemporaryFile(/tmp/multipartBody919929521671208694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432893190,"filename":"image_12042025_03_13_05_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cc3589658eac69d6e6d1fde7d04ce2b.jpg","text":"TemporaryFile(/tmp/multipartBody2785512185717939209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432893190,"filename":"image_12042025_03_12_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba26aa0ebd509921d4b4d80961b94065.jpg","text":"TemporaryFile(/tmp/multipartBody234873506626495149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432893190,"filename":"image_12042025_03_12_24_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c2be40cbe45e833d9f51c9230b6b4ce.jpg","text":"TemporaryFile(/tmp/multipartBody3335275887413551855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432893190,"filename":"image_12042025_03_12_35_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352108467","file1":"1352108465","file0":"1352108463","file4":"1352108471","file5":"1352108474","file3":"1352108469"},"map_files_photo_id_array":[{"photo_id":"1352108474","filename":"file5"},{"photo_id":"1352108467","filename":"file2"},{"photo_id":"1352108471","filename":"file4"},{"photo_id":"1352108465","filename":"file1"},{"photo_id":"1352108463","filename":"file0"},{"photo_id":"1352108469","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352108469":["hashtag1","hashtag2"]},{"1352108463":["hashtag1","hashtag2"]},{"1352108474":["hashtag1","hashtag2"]},{"1352108471":["hashtag1","hashtag2"]},{"1352108465":["hashtag1","hashtag2"]},{"1352108467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352108469, 1352108463, 1352108474, 1352108471, 1352108465, 1352108467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55305218696594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:41:32.946822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_15_9374.jpg', '/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_25_10424.jpg', '/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_35_10363.jpg', '/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_45_9373.jpg', '/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_55_10401.jpg', '/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_15_9374.jpg
/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_25_10424.jpg
/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_35_10363.jpg
/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_45_9373.jpg
/home/pi/Desktop/images/12042025/03/13/image_12042025_03_13_55_10401.jpg
/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352108592","1352108541","1352108489","1352108498","1352108510","1352108659"],"photo_ids_order":["1352108489","1352108498","1352108510","1352108541","1352108592","1352108659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f5eab3839bca3258063df83d4fdd3fea.jpg","text":"TemporaryFile(/tmp/multipartBody7415308852628144868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432953421,"filename":"image_12042025_03_13_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/922a84a77eb9121f1e91075beaa21bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8762605467156984832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432953421,"filename":"image_12042025_03_13_45_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73f99de438d02e95f22ea701503dae33.jpg","text":"TemporaryFile(/tmp/multipartBody184982049687372174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432953421,"filename":"image_12042025_03_13_15_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c228ff83dfc17f51b772dc4889053bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1874492960921853324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432953421,"filename":"image_12042025_03_13_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/087446eb74c2e3580445149917d69adb.jpg","text":"TemporaryFile(/tmp/multipartBody6930261686685779285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432953421,"filename":"image_12042025_03_13_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/832f08d09786666435fd2c96990f0824.jpg","text":"TemporaryFile(/tmp/multipartBody6432478571239421967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744432953421,"filename":"image_12042025_03_14_15_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352108510","file1":"1352108498","file0":"1352108489","file4":"1352108592","file5":"1352108659","file3":"1352108541"},"map_files_photo_id_array":[{"photo_id":"1352108659","filename":"file5"},{"photo_id":"1352108510","filename":"file2"},{"photo_id":"1352108592","filename":"file4"},{"photo_id":"1352108498","filename":"file1"},{"photo_id":"1352108489","filename":"file0"},{"photo_id":"1352108541","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352108592":["hashtag1","hashtag2"]},{"1352108541":["hashtag1","hashtag2"]},{"1352108489":["hashtag1","hashtag2"]},{"1352108498":["hashtag1","hashtag2"]},{"1352108510":["hashtag1","hashtag2"]},{"1352108659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352108592, 1352108541, 1352108489, 1352108498, 1352108510, 1352108659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51246643066406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:42:33.197186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_25_10422.jpg', '/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_35_9454.jpg', '/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_45_10372.jpg', '/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_55_9400.jpg', '/home/pi/Desktop/images/12042025/03/14/image_12042025_03_15_05_10364.jpg', '/home/pi/Desktop/images/12042025/03/15/image_12042025_03_15_15_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_25_10422.jpg
/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_35_9454.jpg
/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_45_10372.jpg
/home/pi/Desktop/images/12042025/03/14/image_12042025_03_14_55_9400.jpg
/home/pi/Desktop/images/12042025/03/14/image_12042025_03_15_05_10364.jpg
/home/pi/Desktop/images/12042025/03/15/image_12042025_03_15_15_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352108850","1352108852","1352108791","1352108848","1352108833","1352108827"],"photo_ids_order":["1352108791","1352108827","1352108833","1352108848","1352108850","1352108852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93b2e38945a39f248b6b683f6b84f012.jpg","text":"TemporaryFile(/tmp/multipartBody5308710177805458892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433013878,"filename":"image_12042025_03_15_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf5b618c940a266ad0bd9a2938d32eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6248636702587627056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433013878,"filename":"image_12042025_03_15_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/81cfaa763159077294191fd6a35d62c3.jpg","text":"TemporaryFile(/tmp/multipartBody7399910208936963377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433013878,"filename":"image_12042025_03_14_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41e0d9dde5f8b2b87e257d713c13961c.jpg","text":"TemporaryFile(/tmp/multipartBody9003011019783804061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433013878,"filename":"image_12042025_03_14_55_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fa9a9d5677a2e1527700ad0b6b26ee3.jpg","text":"TemporaryFile(/tmp/multipartBody583487100288652778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433013878,"filename":"image_12042025_03_14_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e11b7ef5fefd9e8102b13b87dd1e4161.jpg","text":"TemporaryFile(/tmp/multipartBody6161298983147237670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433013878,"filename":"image_12042025_03_14_35_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352108833","file1":"1352108827","file0":"1352108791","file4":"1352108850","file5":"1352108852","file3":"1352108848"},"map_files_photo_id_array":[{"photo_id":"1352108852","filename":"file5"},{"photo_id":"1352108833","filename":"file2"},{"photo_id":"1352108850","filename":"file4"},{"photo_id":"1352108827","filename":"file1"},{"photo_id":"1352108791","filename":"file0"},{"photo_id":"1352108848","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352108850":["hashtag1","hashtag2"]},{"1352108852":["hashtag1","hashtag2"]},{"1352108791":["hashtag1","hashtag2"]},{"1352108848":["hashtag1","hashtag2"]},{"1352108833":["hashtag1","hashtag2"]},{"1352108827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352108850, 1352108852, 1352108791, 1352108848, 1352108833, 1352108827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5200138092041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:43:32.522753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/15/image_12042025_03_15_45_9454.jpg', '/home/pi/Desktop/images/12042025/03/15/image_12042025_03_15_55_10372.jpg', '/home/pi/Desktop/images/12042025/03/15/image_12042025_03_16_05_10362.jpg', '/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_15_9402.jpg', '/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_25_10553.jpg', '/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_35_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/15/image_12042025_03_15_45_9454.jpg
/home/pi/Desktop/images/12042025/03/15/image_12042025_03_15_55_10372.jpg
/home/pi/Desktop/images/12042025/03/15/image_12042025_03_16_05_10362.jpg
/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_15_9402.jpg
/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_25_10553.jpg
/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_35_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352108973","1352108907","1352108916","1352108966","1352108942","1352108909"],"photo_ids_order":["1352108907","1352108909","1352108916","1352108942","1352108966","1352108973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65921f3ad59700dbb4bef2f859cc697d.jpg","text":"TemporaryFile(/tmp/multipartBody8545222344173372973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433073122,"filename":"image_12042025_03_16_35_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d197c73e74dfda7264c539404488770.jpg","text":"TemporaryFile(/tmp/multipartBody4291523503799172736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433073122,"filename":"image_12042025_03_15_45_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e01829327c195ceb1c1fc6f78a12e3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5964376501922587023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433073122,"filename":"image_12042025_03_16_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21e334e1fec48b106648015ae9dca08e.jpg","text":"TemporaryFile(/tmp/multipartBody7913749238124171531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433073122,"filename":"image_12042025_03_16_25_10553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abb7733afe74b998c9f582cba4eea4eb.jpg","text":"TemporaryFile(/tmp/multipartBody8463501551608111310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433073122,"filename":"image_12042025_03_16_15_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9268c7cb25080a161edce4ec38c3675f.jpg","text":"TemporaryFile(/tmp/multipartBody3520259992020689557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433073122,"filename":"image_12042025_03_15_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352108916","file1":"1352108909","file0":"1352108907","file4":"1352108966","file5":"1352108973","file3":"1352108942"},"map_files_photo_id_array":[{"photo_id":"1352108973","filename":"file5"},{"photo_id":"1352108916","filename":"file2"},{"photo_id":"1352108966","filename":"file4"},{"photo_id":"1352108909","filename":"file1"},{"photo_id":"1352108907","filename":"file0"},{"photo_id":"1352108942","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352108973":["hashtag1","hashtag2"]},{"1352108907":["hashtag1","hashtag2"]},{"1352108916":["hashtag1","hashtag2"]},{"1352108966":["hashtag1","hashtag2"]},{"1352108942":["hashtag1","hashtag2"]},{"1352108909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352108973, 1352108907, 1352108916, 1352108966, 1352108942, 1352108909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33186721801758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:44:32.587995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_45_10500.jpg', '/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_55_9364.jpg', '/home/pi/Desktop/images/12042025/03/16/image_12042025_03_17_05_10369.jpg', '/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_14_9431.jpg', '/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_25_10379.jpg', '/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_35_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_45_10500.jpg
/home/pi/Desktop/images/12042025/03/16/image_12042025_03_16_55_9364.jpg
/home/pi/Desktop/images/12042025/03/16/image_12042025_03_17_05_10369.jpg
/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_14_9431.jpg
/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_25_10379.jpg
/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_35_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352109081","1352109054","1352109003","1352109083","1352109065","1352109028"],"photo_ids_order":["1352109003","1352109028","1352109054","1352109065","1352109081","1352109083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/282d6ff7aa6a9762c427f2b91ee35289.jpg","text":"TemporaryFile(/tmp/multipartBody4681615986553078011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433133557,"filename":"image_12042025_03_17_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0da2d8f26eb7976b8aac56bd8fbfd3ef.jpg","text":"TemporaryFile(/tmp/multipartBody5594071655004329436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433133557,"filename":"image_12042025_03_17_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/83abe06162900de65854aa7f1e657116.jpg","text":"TemporaryFile(/tmp/multipartBody9000627805376701107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433133557,"filename":"image_12042025_03_16_45_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/377087c5468b3a32d285e5c59086d54a.jpg","text":"TemporaryFile(/tmp/multipartBody8918612096794599839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433133557,"filename":"image_12042025_03_17_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/781521800a4954cba5d30d89e29814b7.jpg","text":"TemporaryFile(/tmp/multipartBody2934830989861909866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433133557,"filename":"image_12042025_03_17_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ced6233a31b3d4c2d4bd5ea25cb0a736.jpg","text":"TemporaryFile(/tmp/multipartBody2115578107202723799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433133557,"filename":"image_12042025_03_16_55_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352109054","file1":"1352109028","file0":"1352109003","file4":"1352109081","file5":"1352109083","file3":"1352109065"},"map_files_photo_id_array":[{"photo_id":"1352109083","filename":"file5"},{"photo_id":"1352109054","filename":"file2"},{"photo_id":"1352109081","filename":"file4"},{"photo_id":"1352109028","filename":"file1"},{"photo_id":"1352109003","filename":"file0"},{"photo_id":"1352109065","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352109081":["hashtag1","hashtag2"]},{"1352109054":["hashtag1","hashtag2"]},{"1352109003":["hashtag1","hashtag2"]},{"1352109083":["hashtag1","hashtag2"]},{"1352109065":["hashtag1","hashtag2"]},{"1352109028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352109081, 1352109054, 1352109003, 1352109083, 1352109065, 1352109028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26215434074402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:45:32.900732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_45_9382.jpg', '/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_55_10370.jpg', '/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_15_9369.jpg', '/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_25_10380.jpg', '/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_35_9415.jpg', '/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_45_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_45_9382.jpg
/home/pi/Desktop/images/12042025/03/17/image_12042025_03_17_55_10370.jpg
/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_15_9369.jpg
/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_25_10380.jpg
/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_35_9415.jpg
/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_45_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352109135","1352109194","1352109131","1352109187","1352109160","1352109195"],"photo_ids_order":["1352109131","1352109135","1352109160","1352109187","1352109194","1352109195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fad3a596e0846bec8e3c0af986fb46ee.jpg","text":"TemporaryFile(/tmp/multipartBody4789241702778812849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433193395,"filename":"image_12042025_03_17_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f36dd82da4f9da2fbb6bb5bfb1b55d46.jpg","text":"TemporaryFile(/tmp/multipartBody470246238490747083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433193395,"filename":"image_12042025_03_18_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47d0c6efa1925d71eb63b3ad50f59a94.jpg","text":"TemporaryFile(/tmp/multipartBody4930412718129128217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433193395,"filename":"image_12042025_03_17_45_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4880472a17f6d40bd1f968d10e1e0b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5774590840065914532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433193395,"filename":"image_12042025_03_18_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24604297fbc833eeeb4ffefa4a77f97d.jpg","text":"TemporaryFile(/tmp/multipartBody3381298494700211001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433193395,"filename":"image_12042025_03_18_15_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44b49299b7ef9439b8c8d9636de78dba.jpg","text":"TemporaryFile(/tmp/multipartBody1669920767772764103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433193395,"filename":"image_12042025_03_18_45_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352109160","file1":"1352109135","file0":"1352109131","file4":"1352109194","file5":"1352109195","file3":"1352109187"},"map_files_photo_id_array":[{"photo_id":"1352109195","filename":"file5"},{"photo_id":"1352109160","filename":"file2"},{"photo_id":"1352109194","filename":"file4"},{"photo_id":"1352109135","filename":"file1"},{"photo_id":"1352109131","filename":"file0"},{"photo_id":"1352109187","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352109135":["hashtag1","hashtag2"]},{"1352109194":["hashtag1","hashtag2"]},{"1352109131":["hashtag1","hashtag2"]},{"1352109187":["hashtag1","hashtag2"]},{"1352109160":["hashtag1","hashtag2"]},{"1352109195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352109135, 1352109194, 1352109131, 1352109187, 1352109160, 1352109195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56308150291443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:46:32.992946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_55_10376.jpg', '/home/pi/Desktop/images/12042025/03/19/image_12042025_03_19_25_9449.jpg', '/home/pi/Desktop/images/12042025/03/19/image_12042025_03_19_35_10427.jpg', '/home/pi/Desktop/images/12042025/03/19/image_12042025_03_19_45_10401.jpg', '/home/pi/Desktop/images/12042025/03/19/image_12042025_03_19_55_9362.jpg', '/home/pi/Desktop/images/12042025/03/19/image_12042025_03_20_05_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/18/image_12042025_03_18_55_10376.jpg
/home/pi/Desktop/images/12042025/03/19/image_12042025_03_19_25_9449.jpg
/home/pi/Desktop/images/12042025/03/19/image_12042025_03_19_35_10427.jpg
/home/pi/Desktop/images/12042025/03/19/image_12042025_03_19_45_10401.jpg
/home/pi/Desktop/images/12042025/03/19/image_12042025_03_19_55_9362.jpg
/home/pi/Desktop/images/12042025/03/19/image_12042025_03_20_05_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352109315","1352109318","1352109311","1352109317","1352109316","1352109313"],"photo_ids_order":["1352109311","1352109313","1352109315","1352109316","1352109317","1352109318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/340094e56dbdfe32d7a1e0b78f14a6d2.jpg","text":"TemporaryFile(/tmp/multipartBody7260224261246512005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433253472,"filename":"image_12042025_03_19_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/640d0b88325d16a705203648c6842b04.jpg","text":"TemporaryFile(/tmp/multipartBody9050170006779571847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433253472,"filename":"image_12042025_03_20_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/977cde087b073fe4a947de4c5a7f7626.jpg","text":"TemporaryFile(/tmp/multipartBody3458394676601766074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433253472,"filename":"image_12042025_03_18_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1fdc28a6217e4a6fab0e3b5b047b757.jpg","text":"TemporaryFile(/tmp/multipartBody4851329696051608372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433253472,"filename":"image_12042025_03_19_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3250b6ec84476714536bb53750a0494.jpg","text":"TemporaryFile(/tmp/multipartBody3472127991478808214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433253472,"filename":"image_12042025_03_19_45_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c1e76395782f502ff28484f45a4d89d.jpg","text":"TemporaryFile(/tmp/multipartBody1350265996402865507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433253472,"filename":"image_12042025_03_19_25_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352109315","file1":"1352109313","file0":"1352109311","file4":"1352109317","file5":"1352109318","file3":"1352109316"},"map_files_photo_id_array":[{"photo_id":"1352109318","filename":"file5"},{"photo_id":"1352109315","filename":"file2"},{"photo_id":"1352109317","filename":"file4"},{"photo_id":"1352109313","filename":"file1"},{"photo_id":"1352109311","filename":"file0"},{"photo_id":"1352109316","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352109315":["hashtag1","hashtag2"]},{"1352109318":["hashtag1","hashtag2"]},{"1352109311":["hashtag1","hashtag2"]},{"1352109317":["hashtag1","hashtag2"]},{"1352109316":["hashtag1","hashtag2"]},{"1352109313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352109315, 1352109318, 1352109311, 1352109317, 1352109316, 1352109313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70979380607605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:47:32.208083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_14_9392.jpg', '/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_25_10429.jpg', '/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_35_10399.jpg', '/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_45_9367.jpg', '/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_55_10402.jpg', '/home/pi/Desktop/images/12042025/03/20/image_12042025_03_21_05_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_14_9392.jpg
/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_25_10429.jpg
/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_35_10399.jpg
/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_45_9367.jpg
/home/pi/Desktop/images/12042025/03/20/image_12042025_03_20_55_10402.jpg
/home/pi/Desktop/images/12042025/03/20/image_12042025_03_21_05_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352109432","1352109417","1352109410","1352109415","1352109424","1352109412"],"photo_ids_order":["1352109410","1352109412","1352109415","1352109417","1352109424","1352109432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0133379a8cca4ee3beb6814c0e29dbd.jpg","text":"TemporaryFile(/tmp/multipartBody5480404706234680447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433312705,"filename":"image_12042025_03_21_05_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e06863309425b26899c12ad1f9db2099.jpg","text":"TemporaryFile(/tmp/multipartBody5016457897497534958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433312705,"filename":"image_12042025_03_20_45_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4612edbd0da8969fdbbd4ae217e1515b.jpg","text":"TemporaryFile(/tmp/multipartBody281811252253875866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433312705,"filename":"image_12042025_03_20_14_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d28a73ac3de843afcaeef7dbf15ba5b3.jpg","text":"TemporaryFile(/tmp/multipartBody4955645967981011293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433312705,"filename":"image_12042025_03_20_35_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/395341db3fb9b014efba077682130b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6396271296812322927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433312705,"filename":"image_12042025_03_20_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c39c4330de0712c2ee0a5094772e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody1087780814295897180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433312705,"filename":"image_12042025_03_20_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352109415","file1":"1352109412","file0":"1352109410","file4":"1352109424","file5":"1352109432","file3":"1352109417"},"map_files_photo_id_array":[{"photo_id":"1352109432","filename":"file5"},{"photo_id":"1352109415","filename":"file2"},{"photo_id":"1352109424","filename":"file4"},{"photo_id":"1352109412","filename":"file1"},{"photo_id":"1352109410","filename":"file0"},{"photo_id":"1352109417","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352109432":["hashtag1","hashtag2"]},{"1352109417":["hashtag1","hashtag2"]},{"1352109410":["hashtag1","hashtag2"]},{"1352109415":["hashtag1","hashtag2"]},{"1352109424":["hashtag1","hashtag2"]},{"1352109412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352109432, 1352109417, 1352109410, 1352109415, 1352109424, 1352109412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55957531929016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:48:32.318892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_15_10360.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_25_10481.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_35_9426.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_45_10426.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_55_9340.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_22_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_15_10360.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_25_10481.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_35_9426.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_45_10426.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_55_9340.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_22_05_10354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38834524154663086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 06:48:42.401076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_15_10360.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_25_10481.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_35_9426.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_45_10426.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_55_9340.jpg', '/home/pi/Desktop/images/12042025/03/21/image_12042025_03_22_05_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_15_10360.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_25_10481.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_35_9426.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_45_10426.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_21_55_9340.jpg
/home/pi/Desktop/images/12042025/03/21/image_12042025_03_22_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352110194","1352110080","1352110143","1352110026","1352109947","1352110175"],"photo_ids_order":["1352109947","1352110026","1352110080","1352110143","1352110175","1352110194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f0f29b15cbee01a870de29dd2355ed8.jpg","text":"TemporaryFile(/tmp/multipartBody7820127880254683733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433382869,"filename":"image_12042025_03_22_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e89056450856d26a0eb25724ebd92129.jpg","text":"TemporaryFile(/tmp/multipartBody7998380217064520135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433382869,"filename":"image_12042025_03_21_35_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a8e3fe47205a75949ffbef8b3f4bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody1042196158130157455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433382869,"filename":"image_12042025_03_21_45_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf4472b5e8c50efe35eebed05b1fe8d2.jpg","text":"TemporaryFile(/tmp/multipartBody3897141612612621824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433382869,"filename":"image_12042025_03_21_25_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4e27b7f1109c93de46da0b5b1e7d649.jpg","text":"TemporaryFile(/tmp/multipartBody6400399610609377738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433382869,"filename":"image_12042025_03_21_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9da919d90557dac8fc62ec6f3afbf02b.jpg","text":"TemporaryFile(/tmp/multipartBody3398511284991270647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433382869,"filename":"image_12042025_03_21_55_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352110080","file1":"1352110026","file0":"1352109947","file4":"1352110175","file5":"1352110194","file3":"1352110143"},"map_files_photo_id_array":[{"photo_id":"1352110194","filename":"file5"},{"photo_id":"1352110080","filename":"file2"},{"photo_id":"1352110175","filename":"file4"},{"photo_id":"1352110026","filename":"file1"},{"photo_id":"1352109947","filename":"file0"},{"photo_id":"1352110143","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352110194":["hashtag1","hashtag2"]},{"1352110080":["hashtag1","hashtag2"]},{"1352110143":["hashtag1","hashtag2"]},{"1352110026":["hashtag1","hashtag2"]},{"1352109947":["hashtag1","hashtag2"]},{"1352110175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352110194, 1352110080, 1352110143, 1352110026, 1352109947, 1352110175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.313472270965576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:49:32.512145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/22/image_12042025_03_22_25_9423.jpg', '/home/pi/Desktop/images/12042025/03/22/image_12042025_03_22_45_9379.jpg', '/home/pi/Desktop/images/12042025/03/22/image_12042025_03_22_55_10358.jpg', '/home/pi/Desktop/images/12042025/03/22/image_12042025_03_23_05_10360.jpg', '/home/pi/Desktop/images/12042025/03/23/image_12042025_03_23_15_9372.jpg', '/home/pi/Desktop/images/12042025/03/23/image_12042025_03_23_25_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/22/image_12042025_03_22_25_9423.jpg
/home/pi/Desktop/images/12042025/03/22/image_12042025_03_22_45_9379.jpg
/home/pi/Desktop/images/12042025/03/22/image_12042025_03_22_55_10358.jpg
/home/pi/Desktop/images/12042025/03/22/image_12042025_03_23_05_10360.jpg
/home/pi/Desktop/images/12042025/03/23/image_12042025_03_23_15_9372.jpg
/home/pi/Desktop/images/12042025/03/23/image_12042025_03_23_25_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352110365","1352110266","1352110305","1352110256","1352110250","1352110301"],"photo_ids_order":["1352110250","1352110256","1352110266","1352110301","1352110305","1352110365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64086075f5819bcfdb176a6c5b28f6ff.jpg","text":"TemporaryFile(/tmp/multipartBody4849096375585039898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433432978,"filename":"image_12042025_03_23_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84a32c41a1d5c3e22bb71905004032d6.jpg","text":"TemporaryFile(/tmp/multipartBody165164916124064666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433432978,"filename":"image_12042025_03_22_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/805a9950a060093b2331f228b019ec50.jpg","text":"TemporaryFile(/tmp/multipartBody5143319186489985661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433432978,"filename":"image_12042025_03_23_15_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/678788854a93d4940f1eb708434ec5b5.jpg","text":"TemporaryFile(/tmp/multipartBody3899823930806648314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433432978,"filename":"image_12042025_03_22_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e56bdb53d0b5fa05d9d89f2a95d5d676.jpg","text":"TemporaryFile(/tmp/multipartBody3486868848607496324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433432978,"filename":"image_12042025_03_22_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f43f56613ed83467972eb4ccab46919.jpg","text":"TemporaryFile(/tmp/multipartBody7349320110457247135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433432978,"filename":"image_12042025_03_23_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352110266","file1":"1352110256","file0":"1352110250","file4":"1352110305","file5":"1352110365","file3":"1352110301"},"map_files_photo_id_array":[{"photo_id":"1352110365","filename":"file5"},{"photo_id":"1352110266","filename":"file2"},{"photo_id":"1352110305","filename":"file4"},{"photo_id":"1352110256","filename":"file1"},{"photo_id":"1352110250","filename":"file0"},{"photo_id":"1352110301","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352110365":["hashtag1","hashtag2"]},{"1352110266":["hashtag1","hashtag2"]},{"1352110305":["hashtag1","hashtag2"]},{"1352110256":["hashtag1","hashtag2"]},{"1352110250":["hashtag1","hashtag2"]},{"1352110301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352110365, 1352110266, 1352110305, 1352110256, 1352110250, 1352110301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.44550013542175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:50:32.865879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/23/image_12042025_03_23_35_9422.jpg', '/home/pi/Desktop/images/12042025/03/23/image_12042025_03_23_55_10398.jpg', '/home/pi/Desktop/images/12042025/03/23/image_12042025_03_24_05_9356.jpg', '/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_15_10370.jpg', '/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_25_10367.jpg', '/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_35_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/23/image_12042025_03_23_35_9422.jpg
/home/pi/Desktop/images/12042025/03/23/image_12042025_03_23_55_10398.jpg
/home/pi/Desktop/images/12042025/03/23/image_12042025_03_24_05_9356.jpg
/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_15_10370.jpg
/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_25_10367.jpg
/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_35_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352110420","1352110423","1352110417","1352110415","1352110427","1352110409"],"photo_ids_order":["1352110409","1352110415","1352110417","1352110420","1352110423","1352110427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39b6c46f13a7ec2db3cd4351c8907e6d.jpg","text":"TemporaryFile(/tmp/multipartBody1092246917470159094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433493394,"filename":"image_12042025_03_24_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/762c0b995bb8d760a6c929552828bc5d.jpg","text":"TemporaryFile(/tmp/multipartBody2402193713980453420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433493394,"filename":"image_12042025_03_24_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e494e993cbd72e6604bc699a0ee15151.jpg","text":"TemporaryFile(/tmp/multipartBody7878057944850455790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433493394,"filename":"image_12042025_03_24_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af24f3cfcc1f1a7da89395bc5c6a9017.jpg","text":"TemporaryFile(/tmp/multipartBody4890648585192280430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433493394,"filename":"image_12042025_03_23_55_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b15cf1ce51ef9a1fada030f3ef8d658.jpg","text":"TemporaryFile(/tmp/multipartBody6875295821045358244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433493394,"filename":"image_12042025_03_24_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4550c1fdc488569087bbaad37e66b13.jpg","text":"TemporaryFile(/tmp/multipartBody4484378820604399962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433493394,"filename":"image_12042025_03_23_35_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352110417","file1":"1352110415","file0":"1352110409","file4":"1352110423","file5":"1352110427","file3":"1352110420"},"map_files_photo_id_array":[{"photo_id":"1352110427","filename":"file5"},{"photo_id":"1352110417","filename":"file2"},{"photo_id":"1352110423","filename":"file4"},{"photo_id":"1352110415","filename":"file1"},{"photo_id":"1352110409","filename":"file0"},{"photo_id":"1352110420","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352110420":["hashtag1","hashtag2"]},{"1352110423":["hashtag1","hashtag2"]},{"1352110417":["hashtag1","hashtag2"]},{"1352110415":["hashtag1","hashtag2"]},{"1352110427":["hashtag1","hashtag2"]},{"1352110409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352110420, 1352110423, 1352110417, 1352110415, 1352110427, 1352110409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.853625535964966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:51:33.043014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_45_10366.jpg', '/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_55_9369.jpg', '/home/pi/Desktop/images/12042025/03/24/image_12042025_03_25_05_10360.jpg', '/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_15_10424.jpg', '/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_25_9429.jpg', '/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_35_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_45_10366.jpg
/home/pi/Desktop/images/12042025/03/24/image_12042025_03_24_55_9369.jpg
/home/pi/Desktop/images/12042025/03/24/image_12042025_03_25_05_10360.jpg
/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_15_10424.jpg
/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_25_9429.jpg
/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_35_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352110596","1352110623","1352110632","1352110626","1352110634","1352110637"],"photo_ids_order":["1352110596","1352110623","1352110626","1352110632","1352110634","1352110637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/965e3161738561652a152f9ee93922e9.jpg","text":"TemporaryFile(/tmp/multipartBody6012406588968514577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433553519,"filename":"image_12042025_03_24_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11d8e371410effb7e32e1e9054c9bf99.jpg","text":"TemporaryFile(/tmp/multipartBody7743894894867216235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433553519,"filename":"image_12042025_03_24_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70ddff6ab47af9c12faea22dbb57fe41.jpg","text":"TemporaryFile(/tmp/multipartBody3807439805324067704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433553519,"filename":"image_12042025_03_25_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e93c16639428331e37bd0785cea5080.jpg","text":"TemporaryFile(/tmp/multipartBody6204069792750127171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433553519,"filename":"image_12042025_03_25_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b76e48f77059641eb0b58f70e96fdf47.jpg","text":"TemporaryFile(/tmp/multipartBody3395214592757655070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433553519,"filename":"image_12042025_03_25_25_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea57d532d397f5058d647ece75108202.jpg","text":"TemporaryFile(/tmp/multipartBody8838483485482116707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433553519,"filename":"image_12042025_03_25_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352110626","file1":"1352110623","file0":"1352110596","file4":"1352110634","file5":"1352110637","file3":"1352110632"},"map_files_photo_id_array":[{"photo_id":"1352110637","filename":"file5"},{"photo_id":"1352110626","filename":"file2"},{"photo_id":"1352110634","filename":"file4"},{"photo_id":"1352110623","filename":"file1"},{"photo_id":"1352110596","filename":"file0"},{"photo_id":"1352110632","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352110596":["hashtag1","hashtag2"]},{"1352110623":["hashtag1","hashtag2"]},{"1352110632":["hashtag1","hashtag2"]},{"1352110626":["hashtag1","hashtag2"]},{"1352110634":["hashtag1","hashtag2"]},{"1352110637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352110596, 1352110623, 1352110632, 1352110626, 1352110634, 1352110637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.337299823760986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:52:32.274445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_45_9424.jpg', '/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_55_10413.jpg', '/home/pi/Desktop/images/12042025/03/25/image_12042025_03_26_05_10445.jpg', '/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_15_9365.jpg', '/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_25_10549.jpg', '/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_35_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_45_9424.jpg
/home/pi/Desktop/images/12042025/03/25/image_12042025_03_25_55_10413.jpg
/home/pi/Desktop/images/12042025/03/25/image_12042025_03_26_05_10445.jpg
/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_15_9365.jpg
/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_25_10549.jpg
/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_35_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352110653","1352110656","1352110644","1352110640","1352110660","1352110663"],"photo_ids_order":["1352110640","1352110644","1352110653","1352110656","1352110660","1352110663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24ace4f4c319d4ce4b0f5b7da42c49d1.jpg","text":"TemporaryFile(/tmp/multipartBody2608339540085389205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433612753,"filename":"image_12042025_03_26_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa9e81166f85ecd4b597cc625d9afacc.jpg","text":"TemporaryFile(/tmp/multipartBody230259113903769957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433612753,"filename":"image_12042025_03_26_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/053e29fc1cd2421cbfc4c6af9d336669.jpg","text":"TemporaryFile(/tmp/multipartBody1820174909017919377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433612753,"filename":"image_12042025_03_25_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd3598658ebcb2910460dda4a5b5ea6c.jpg","text":"TemporaryFile(/tmp/multipartBody1417831231746140130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433612753,"filename":"image_12042025_03_25_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e86196da7e8a6f5937f7a9e1eaff289.jpg","text":"TemporaryFile(/tmp/multipartBody3070928191866308635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433612753,"filename":"image_12042025_03_26_25_10549.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f27f423a844a5396aa9ec3702f25056b.jpg","text":"TemporaryFile(/tmp/multipartBody5391679789068295676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433612753,"filename":"image_12042025_03_26_35_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352110653","file1":"1352110644","file0":"1352110640","file4":"1352110660","file5":"1352110663","file3":"1352110656"},"map_files_photo_id_array":[{"photo_id":"1352110663","filename":"file5"},{"photo_id":"1352110653","filename":"file2"},{"photo_id":"1352110660","filename":"file4"},{"photo_id":"1352110644","filename":"file1"},{"photo_id":"1352110640","filename":"file0"},{"photo_id":"1352110656","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352110653":["hashtag1","hashtag2"]},{"1352110656":["hashtag1","hashtag2"]},{"1352110644":["hashtag1","hashtag2"]},{"1352110640":["hashtag1","hashtag2"]},{"1352110660":["hashtag1","hashtag2"]},{"1352110663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352110653, 1352110656, 1352110644, 1352110640, 1352110660, 1352110663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.137595891952515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:53:32.590079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_45_10380.jpg', '/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_55_10363.jpg', '/home/pi/Desktop/images/12042025/03/26/image_12042025_03_27_05_9356.jpg', '/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_15_10383.jpg', '/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_25_9422.jpg', '/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_35_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_45_10380.jpg
/home/pi/Desktop/images/12042025/03/26/image_12042025_03_26_55_10363.jpg
/home/pi/Desktop/images/12042025/03/26/image_12042025_03_27_05_9356.jpg
/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_15_10383.jpg
/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_25_9422.jpg
/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_35_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352110752","1352110734","1352110769","1352110760","1352110766","1352110744"],"photo_ids_order":["1352110734","1352110744","1352110752","1352110760","1352110766","1352110769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac94bded0302563a5d4f2a9570c58100.jpg","text":"TemporaryFile(/tmp/multipartBody7801173777962086903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433673062,"filename":"image_12042025_03_27_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6968bde6ea9c3138b0b6dc47075a9830.jpg","text":"TemporaryFile(/tmp/multipartBody8454448314129349601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433673062,"filename":"image_12042025_03_26_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/208e2a13bd6940771601e39d651998d5.jpg","text":"TemporaryFile(/tmp/multipartBody2948560733676745409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433673062,"filename":"image_12042025_03_27_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4458a8c66e771956b659f92b5605ceb.jpg","text":"TemporaryFile(/tmp/multipartBody7754689091166783003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433673062,"filename":"image_12042025_03_27_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99b20eb9d15c3d7d2ea6f4c2e7e8a7ec.jpg","text":"TemporaryFile(/tmp/multipartBody697745535016985401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433673062,"filename":"image_12042025_03_27_25_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9954b41f6ad22242339b03d8eddf544f.jpg","text":"TemporaryFile(/tmp/multipartBody2656875565633687715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433673062,"filename":"image_12042025_03_26_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352110752","file1":"1352110744","file0":"1352110734","file4":"1352110766","file5":"1352110769","file3":"1352110760"},"map_files_photo_id_array":[{"photo_id":"1352110769","filename":"file5"},{"photo_id":"1352110752","filename":"file2"},{"photo_id":"1352110766","filename":"file4"},{"photo_id":"1352110744","filename":"file1"},{"photo_id":"1352110734","filename":"file0"},{"photo_id":"1352110760","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352110752":["hashtag1","hashtag2"]},{"1352110734":["hashtag1","hashtag2"]},{"1352110769":["hashtag1","hashtag2"]},{"1352110760":["hashtag1","hashtag2"]},{"1352110766":["hashtag1","hashtag2"]},{"1352110744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352110752, 1352110734, 1352110769, 1352110760, 1352110766, 1352110744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24647498130798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:54:32.689916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_45_10395.jpg', '/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_55_9348.jpg', '/home/pi/Desktop/images/12042025/03/27/image_12042025_03_28_05_10376.jpg', '/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_15_10373.jpg', '/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_25_9372.jpg', '/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_35_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_45_10395.jpg
/home/pi/Desktop/images/12042025/03/27/image_12042025_03_27_55_9348.jpg
/home/pi/Desktop/images/12042025/03/27/image_12042025_03_28_05_10376.jpg
/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_15_10373.jpg
/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_25_9372.jpg
/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_35_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352110788","1352110842","1352110806","1352110820","1352110817","1352110792"],"photo_ids_order":["1352110788","1352110792","1352110806","1352110817","1352110820","1352110842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/350d58cd2cdb1064dad978c08e09f9dd.jpg","text":"TemporaryFile(/tmp/multipartBody2174565652681330565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433733157,"filename":"image_12042025_03_27_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e440f11342a7ed39752cdb8e0d6d42f.jpg","text":"TemporaryFile(/tmp/multipartBody3467337105349053435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433733157,"filename":"image_12042025_03_28_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0eadc61a798fb240d5da0546dde8b22c.jpg","text":"TemporaryFile(/tmp/multipartBody8162203276272099495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433733157,"filename":"image_12042025_03_28_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d35cc639ccc83224e7a985a41089c313.jpg","text":"TemporaryFile(/tmp/multipartBody3767480956289336848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433733157,"filename":"image_12042025_03_28_25_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f32b4b4ffab685c26874655835fb7cc.jpg","text":"TemporaryFile(/tmp/multipartBody3196213645100089279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433733157,"filename":"image_12042025_03_28_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8193c60da942f9331b29b3630a7b33f6.jpg","text":"TemporaryFile(/tmp/multipartBody586093651171609818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433733157,"filename":"image_12042025_03_27_55_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352110806","file1":"1352110792","file0":"1352110788","file4":"1352110820","file5":"1352110842","file3":"1352110817"},"map_files_photo_id_array":[{"photo_id":"1352110842","filename":"file5"},{"photo_id":"1352110806","filename":"file2"},{"photo_id":"1352110820","filename":"file4"},{"photo_id":"1352110792","filename":"file1"},{"photo_id":"1352110788","filename":"file0"},{"photo_id":"1352110817","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352110788":["hashtag1","hashtag2"]},{"1352110842":["hashtag1","hashtag2"]},{"1352110806":["hashtag1","hashtag2"]},{"1352110820":["hashtag1","hashtag2"]},{"1352110817":["hashtag1","hashtag2"]},{"1352110792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352110788, 1352110842, 1352110806, 1352110820, 1352110817, 1352110792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71278977394104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:55:32.886014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_45_9365.jpg', '/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_55_10374.jpg', '/home/pi/Desktop/images/12042025/03/28/image_12042025_03_29_05_10367.jpg', '/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_15_9350.jpg', '/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_25_10354.jpg', '/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_45_9365.jpg
/home/pi/Desktop/images/12042025/03/28/image_12042025_03_28_55_10374.jpg
/home/pi/Desktop/images/12042025/03/28/image_12042025_03_29_05_10367.jpg
/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_15_9350.jpg
/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_25_10354.jpg
/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352111013","1352110985","1352110892","1352110905","1352110925","1352110936"],"photo_ids_order":["1352110892","1352110905","1352110925","1352110936","1352110985","1352111013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/560e8c0a2dd3f7a87f61e80dedb46559.jpg","text":"TemporaryFile(/tmp/multipartBody6145172543194982603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433793363,"filename":"image_12042025_03_29_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2e04570504cc28202764d387682b6f1.jpg","text":"TemporaryFile(/tmp/multipartBody2757594659380039250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433793363,"filename":"image_12042025_03_29_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/edc9169741bdf914ea848659cb033dab.jpg","text":"TemporaryFile(/tmp/multipartBody3213244599565115402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433793363,"filename":"image_12042025_03_28_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e32d24e6dbc522513c97bd42ac686c58.jpg","text":"TemporaryFile(/tmp/multipartBody5899354137708396304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433793363,"filename":"image_12042025_03_28_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a933fbd869bcdde8c47c0071c86c92ae.jpg","text":"TemporaryFile(/tmp/multipartBody8577262821276313405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433793363,"filename":"image_12042025_03_29_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f580fe908d8b1fe24c89ab2d22a78f1.jpg","text":"TemporaryFile(/tmp/multipartBody905176532871504607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433793363,"filename":"image_12042025_03_29_15_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352110925","file1":"1352110905","file0":"1352110892","file4":"1352110985","file5":"1352111013","file3":"1352110936"},"map_files_photo_id_array":[{"photo_id":"1352111013","filename":"file5"},{"photo_id":"1352110925","filename":"file2"},{"photo_id":"1352110985","filename":"file4"},{"photo_id":"1352110905","filename":"file1"},{"photo_id":"1352110892","filename":"file0"},{"photo_id":"1352110936","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352111013":["hashtag1","hashtag2"]},{"1352110985":["hashtag1","hashtag2"]},{"1352110892":["hashtag1","hashtag2"]},{"1352110905":["hashtag1","hashtag2"]},{"1352110925":["hashtag1","hashtag2"]},{"1352110936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352111013, 1352110985, 1352110892, 1352110905, 1352110925, 1352110936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.042644023895264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:56:33.085186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_45_9384.jpg', '/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_55_10375.jpg', '/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_15_10376.jpg', '/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_25_10375.jpg', '/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_35_9423.jpg', '/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_45_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_45_9384.jpg
/home/pi/Desktop/images/12042025/03/29/image_12042025_03_29_55_10375.jpg
/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_15_10376.jpg
/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_25_10375.jpg
/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_35_9423.jpg
/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_45_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352111079","1352111046","1352111025","1352111021","1352111074","1352111032"],"photo_ids_order":["1352111021","1352111025","1352111032","1352111046","1352111074","1352111079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fb01950a60f0f35f66ad28301fa80a5.jpg","text":"TemporaryFile(/tmp/multipartBody8762756589635027024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433853556,"filename":"image_12042025_03_30_45_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5cde209dea89379252df376922b2321.jpg","text":"TemporaryFile(/tmp/multipartBody3692685157304840471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433853556,"filename":"image_12042025_03_30_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/914c8f60ab0677e6b2a08bb21392f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3107937703620343865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433853556,"filename":"image_12042025_03_29_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77b654f7b9d8b6550d3b569537ba7c00.jpg","text":"TemporaryFile(/tmp/multipartBody4523250782299879028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433853556,"filename":"image_12042025_03_29_45_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eaf7ee1339416ad94f1efadd3e8f54aa.jpg","text":"TemporaryFile(/tmp/multipartBody7399822398967010325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433853556,"filename":"image_12042025_03_30_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50dac7b0fc46b2d8b7738ac22b01d42f.jpg","text":"TemporaryFile(/tmp/multipartBody6018497960653399821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744433853556,"filename":"image_12042025_03_30_15_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352111032","file1":"1352111025","file0":"1352111021","file4":"1352111074","file5":"1352111079","file3":"1352111046"},"map_files_photo_id_array":[{"photo_id":"1352111079","filename":"file5"},{"photo_id":"1352111032","filename":"file2"},{"photo_id":"1352111074","filename":"file4"},{"photo_id":"1352111025","filename":"file1"},{"photo_id":"1352111021","filename":"file0"},{"photo_id":"1352111046","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352111079":["hashtag1","hashtag2"]},{"1352111046":["hashtag1","hashtag2"]},{"1352111025":["hashtag1","hashtag2"]},{"1352111021":["hashtag1","hashtag2"]},{"1352111074":["hashtag1","hashtag2"]},{"1352111032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352111079, 1352111046, 1352111025, 1352111021, 1352111074, 1352111032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85309410095215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 06:57:32.260883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_55_9373.jpg', '/home/pi/Desktop/images/12042025/03/30/image_12042025_03_31_05_10365.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_15_10397.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_25_9438.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_35_10481.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_45_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_55_9373.jpg
/home/pi/Desktop/images/12042025/03/30/image_12042025_03_31_05_10365.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_15_10397.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_25_9438.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_35_10481.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_45_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 06:59:04.385557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_55_9373.jpg', '/home/pi/Desktop/images/12042025/03/30/image_12042025_03_31_05_10365.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_15_10397.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_25_9438.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_35_10481.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_45_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/30/image_12042025_03_30_55_9373.jpg
/home/pi/Desktop/images/12042025/03/30/image_12042025_03_31_05_10365.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_15_10397.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_25_9438.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_35_10481.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_45_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352111640","1352111616","1352111304","1352111477","1352111440","1352111350"],"photo_ids_order":["1352111304","1352111350","1352111440","1352111477","1352111616","1352111640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/836aa09e44809cd150e455c81b56ce64.jpg","text":"TemporaryFile(/tmp/multipartBody8921176352227213375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434005057,"filename":"image_12042025_03_31_45_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be006d0dc6b9af880effb154c19a051b.jpg","text":"TemporaryFile(/tmp/multipartBody5650315481394961731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434005057,"filename":"image_12042025_03_31_35_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0b4d859088606b0c2ca8e476f045f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2883269307541165409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434005057,"filename":"image_12042025_03_30_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45b9c59e97abfb0802a77f7521de4bd6.jpg","text":"TemporaryFile(/tmp/multipartBody5628537127825862973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434005057,"filename":"image_12042025_03_31_25_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bdc65d0f79491e162f9fa91fc87a8a8.jpg","text":"TemporaryFile(/tmp/multipartBody8179600413160833906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434005057,"filename":"image_12042025_03_31_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d83f11adc92a455ae68b089fd3d781e6.jpg","text":"TemporaryFile(/tmp/multipartBody7620825347436282276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434005057,"filename":"image_12042025_03_31_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352111440","file1":"1352111350","file0":"1352111304","file4":"1352111616","file5":"1352111640","file3":"1352111477"},"map_files_photo_id_array":[{"photo_id":"1352111640","filename":"file5"},{"photo_id":"1352111440","filename":"file2"},{"photo_id":"1352111616","filename":"file4"},{"photo_id":"1352111350","filename":"file1"},{"photo_id":"1352111304","filename":"file0"},{"photo_id":"1352111477","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352111640":["hashtag1","hashtag2"]},{"1352111616":["hashtag1","hashtag2"]},{"1352111304":["hashtag1","hashtag2"]},{"1352111477":["hashtag1","hashtag2"]},{"1352111440":["hashtag1","hashtag2"]},{"1352111350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352111640, 1352111616, 1352111304, 1352111477, 1352111440, 1352111350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.6761863231659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:00:33.125284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_55_10382.jpg', '/home/pi/Desktop/images/12042025/03/31/image_12042025_03_32_04_9456.jpg', '/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_15_10365.jpg', '/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_25_10431.jpg', '/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_35_9368.jpg', '/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_31_55_10382.jpg
/home/pi/Desktop/images/12042025/03/31/image_12042025_03_32_04_9456.jpg
/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_15_10365.jpg
/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_25_10431.jpg
/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_35_9368.jpg
/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_45_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352112033","1352111966","1352112209","1352112094","1352112142","1352112288"],"photo_ids_order":["1352111966","1352112033","1352112094","1352112142","1352112209","1352112288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2445c40b9e5fd7ffe7b1fc3b4f2a8977.jpg","text":"TemporaryFile(/tmp/multipartBody5898408400783364113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434093611,"filename":"image_12042025_03_32_04_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf1fbf8aa8540f3c195aa5ede6802531.jpg","text":"TemporaryFile(/tmp/multipartBody7462133600796422779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434093611,"filename":"image_12042025_03_31_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f2eafd17db7d220910e1c8468cd2bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4905822450594897866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434093611,"filename":"image_12042025_03_32_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b7081271e61f6fb4a66afa3fc3b15f9.jpg","text":"TemporaryFile(/tmp/multipartBody8480660905567192942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434093611,"filename":"image_12042025_03_32_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3bc337cb0b1d5b9fdeffecd17c7c561f.jpg","text":"TemporaryFile(/tmp/multipartBody2465837890408241589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434093611,"filename":"image_12042025_03_32_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31e0f856a83636e6c7f5edce4421ab27.jpg","text":"TemporaryFile(/tmp/multipartBody665384007156991758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434093611,"filename":"image_12042025_03_32_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352112094","file1":"1352112033","file0":"1352111966","file4":"1352112209","file5":"1352112288","file3":"1352112142"},"map_files_photo_id_array":[{"photo_id":"1352112288","filename":"file5"},{"photo_id":"1352112094","filename":"file2"},{"photo_id":"1352112209","filename":"file4"},{"photo_id":"1352112033","filename":"file1"},{"photo_id":"1352111966","filename":"file0"},{"photo_id":"1352112142","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352112033":["hashtag1","hashtag2"]},{"1352111966":["hashtag1","hashtag2"]},{"1352112209":["hashtag1","hashtag2"]},{"1352112094":["hashtag1","hashtag2"]},{"1352112142":["hashtag1","hashtag2"]},{"1352112288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352112033, 1352111966, 1352112209, 1352112094, 1352112142, 1352112288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.51996660232544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:01:32.388341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_54_9444.jpg', '/home/pi/Desktop/images/12042025/03/32/image_12042025_03_33_05_10365.jpg', '/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_15_10472.jpg', '/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_25_9394.jpg', '/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_35_10410.jpg', '/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_45_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/32/image_12042025_03_32_54_9444.jpg
/home/pi/Desktop/images/12042025/03/32/image_12042025_03_33_05_10365.jpg
/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_15_10472.jpg
/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_25_9394.jpg
/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_35_10410.jpg
/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_45_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352112516","1352112536","1352112539","1352112568","1352112555","1352112564"],"photo_ids_order":["1352112516","1352112536","1352112539","1352112555","1352112564","1352112568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2071b44f2f5c27cd6e8d7f284c89eb7f.jpg","text":"TemporaryFile(/tmp/multipartBody8707709152766975400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434152864,"filename":"image_12042025_03_32_54_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f4464315506eed2bda4873aa795f125.jpg","text":"TemporaryFile(/tmp/multipartBody1695137339733124230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434152864,"filename":"image_12042025_03_33_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0262e36cea28679bff1603fa7eb132ea.jpg","text":"TemporaryFile(/tmp/multipartBody431608008597077910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434152864,"filename":"image_12042025_03_33_15_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95270544f45913d43b67285e1a90a862.jpg","text":"TemporaryFile(/tmp/multipartBody3745233049504636620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434152864,"filename":"image_12042025_03_33_45_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/943a48ba896048d37e12e66cab3c6dad.jpg","text":"TemporaryFile(/tmp/multipartBody2124642684885255474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434152864,"filename":"image_12042025_03_33_25_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24be35c04a40be2596f09f59a6f46d85.jpg","text":"TemporaryFile(/tmp/multipartBody2556907176992745253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434152864,"filename":"image_12042025_03_33_35_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352112539","file1":"1352112536","file0":"1352112516","file4":"1352112564","file5":"1352112568","file3":"1352112555"},"map_files_photo_id_array":[{"photo_id":"1352112568","filename":"file5"},{"photo_id":"1352112539","filename":"file2"},{"photo_id":"1352112564","filename":"file4"},{"photo_id":"1352112536","filename":"file1"},{"photo_id":"1352112516","filename":"file0"},{"photo_id":"1352112555","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352112516":["hashtag1","hashtag2"]},{"1352112536":["hashtag1","hashtag2"]},{"1352112539":["hashtag1","hashtag2"]},{"1352112568":["hashtag1","hashtag2"]},{"1352112555":["hashtag1","hashtag2"]},{"1352112564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352112516, 1352112536, 1352112539, 1352112568, 1352112555, 1352112564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.11083793640137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:02:32.469544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_55_10406.jpg', '/home/pi/Desktop/images/12042025/03/33/image_12042025_03_34_05_10404.jpg', '/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_15_9368.jpg', '/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_25_10444.jpg', '/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_35_9381.jpg', '/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_45_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/33/image_12042025_03_33_55_10406.jpg
/home/pi/Desktop/images/12042025/03/33/image_12042025_03_34_05_10404.jpg
/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_15_9368.jpg
/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_25_10444.jpg
/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_35_9381.jpg
/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_45_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352112606","1352112603","1352112593","1352112638","1352112586","1352112610"],"photo_ids_order":["1352112586","1352112593","1352112603","1352112606","1352112610","1352112638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0fdda4bad1b3937fdc821ec1cad6023.jpg","text":"TemporaryFile(/tmp/multipartBody686767442298679261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434212942,"filename":"image_12042025_03_34_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/951c384a638c2efd9e7be8cf8fd74b07.jpg","text":"TemporaryFile(/tmp/multipartBody5074583492236844711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434212942,"filename":"image_12042025_03_34_15_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1286054197e2ff84c75a8a16e3d4c9c2.jpg","text":"TemporaryFile(/tmp/multipartBody2348217287452172843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434212942,"filename":"image_12042025_03_34_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0dac23a461a8a3db1e308ace723bf87d.jpg","text":"TemporaryFile(/tmp/multipartBody678938432668829842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434212942,"filename":"image_12042025_03_34_45_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c80e37a45ca8021751dda1d066438271.jpg","text":"TemporaryFile(/tmp/multipartBody7325869576253535897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434212942,"filename":"image_12042025_03_33_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e4c15de1b95ac68e679a70f412d7f75.jpg","text":"TemporaryFile(/tmp/multipartBody8406683461902918555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434212942,"filename":"image_12042025_03_34_35_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352112603","file1":"1352112593","file0":"1352112586","file4":"1352112610","file5":"1352112638","file3":"1352112606"},"map_files_photo_id_array":[{"photo_id":"1352112638","filename":"file5"},{"photo_id":"1352112603","filename":"file2"},{"photo_id":"1352112610","filename":"file4"},{"photo_id":"1352112593","filename":"file1"},{"photo_id":"1352112586","filename":"file0"},{"photo_id":"1352112606","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352112606":["hashtag1","hashtag2"]},{"1352112603":["hashtag1","hashtag2"]},{"1352112593":["hashtag1","hashtag2"]},{"1352112638":["hashtag1","hashtag2"]},{"1352112586":["hashtag1","hashtag2"]},{"1352112610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352112606, 1352112603, 1352112593, 1352112638, 1352112586, 1352112610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06933569908142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:03:32.649131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_55_10445.jpg', '/home/pi/Desktop/images/12042025/03/35/image_12042025_03_35_15_10383.jpg', '/home/pi/Desktop/images/12042025/03/35/image_12042025_03_35_35_10376.jpg', '/home/pi/Desktop/images/12042025/03/35/image_12042025_03_35_45_10450.jpg', '/home/pi/Desktop/images/12042025/03/35/image_12042025_03_35_55_9378.jpg', '/home/pi/Desktop/images/12042025/03/35/image_12042025_03_36_05_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/34/image_12042025_03_34_55_10445.jpg
/home/pi/Desktop/images/12042025/03/35/image_12042025_03_35_15_10383.jpg
/home/pi/Desktop/images/12042025/03/35/image_12042025_03_35_35_10376.jpg
/home/pi/Desktop/images/12042025/03/35/image_12042025_03_35_45_10450.jpg
/home/pi/Desktop/images/12042025/03/35/image_12042025_03_35_55_9378.jpg
/home/pi/Desktop/images/12042025/03/35/image_12042025_03_36_05_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352112912","1352112986","1352112968","1352112990","1352112901","1352112858"],"photo_ids_order":["1352112858","1352112901","1352112912","1352112968","1352112986","1352112990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c79b1ad61f609cc5aabfe88a1883c253.jpg","text":"TemporaryFile(/tmp/multipartBody5645198092471204262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434273139,"filename":"image_12042025_03_35_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c15386a898ca2064c8817fa1bff123d8.jpg","text":"TemporaryFile(/tmp/multipartBody1047741264142340735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434273139,"filename":"image_12042025_03_35_55_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3cb04b003fe13ac7648a0269aaef5c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4403345812584569740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434273139,"filename":"image_12042025_03_35_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/707d7f547a689d23d29ab67a3c383f07.jpg","text":"TemporaryFile(/tmp/multipartBody6878038724558288539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434273139,"filename":"image_12042025_03_36_05_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7c3bcd0a1494ce592e9982f7768cd50.jpg","text":"TemporaryFile(/tmp/multipartBody7067033952664743281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434273139,"filename":"image_12042025_03_35_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98447535e078dce95442634aa8ad6cdf.jpg","text":"TemporaryFile(/tmp/multipartBody5915663930468102108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434273139,"filename":"image_12042025_03_34_55_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352112912","file1":"1352112901","file0":"1352112858","file4":"1352112986","file5":"1352112990","file3":"1352112968"},"map_files_photo_id_array":[{"photo_id":"1352112990","filename":"file5"},{"photo_id":"1352112912","filename":"file2"},{"photo_id":"1352112986","filename":"file4"},{"photo_id":"1352112901","filename":"file1"},{"photo_id":"1352112858","filename":"file0"},{"photo_id":"1352112968","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352112912":["hashtag1","hashtag2"]},{"1352112986":["hashtag1","hashtag2"]},{"1352112968":["hashtag1","hashtag2"]},{"1352112990":["hashtag1","hashtag2"]},{"1352112901":["hashtag1","hashtag2"]},{"1352112858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352112912, 1352112986, 1352112968, 1352112990, 1352112901, 1352112858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43308639526367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:04:32.773824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_15_9341.jpg', '/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_25_10365.jpg', '/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_35_10451.jpg', '/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_45_9360.jpg', '/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_55_10359.jpg', '/home/pi/Desktop/images/12042025/03/36/image_12042025_03_37_05_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_15_9341.jpg
/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_25_10365.jpg
/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_35_10451.jpg
/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_45_9360.jpg
/home/pi/Desktop/images/12042025/03/36/image_12042025_03_36_55_10359.jpg
/home/pi/Desktop/images/12042025/03/36/image_12042025_03_37_05_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352113238","1352113282","1352113351","1352113405","1352113308","1352113370"],"photo_ids_order":["1352113238","1352113282","1352113308","1352113351","1352113370","1352113405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8df6d865b45b2ac0c2b16f29343ea72.jpg","text":"TemporaryFile(/tmp/multipartBody281852353355615129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434333245,"filename":"image_12042025_03_36_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf3aab6c3608ac48d51d89eddfcb671b.jpg","text":"TemporaryFile(/tmp/multipartBody5780872647360105774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434333245,"filename":"image_12042025_03_36_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3ecb1688f3976e31394aedb9d2e3a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8355300673391128033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434333245,"filename":"image_12042025_03_36_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/743062654906885bc5705526587aa89c.jpg","text":"TemporaryFile(/tmp/multipartBody6052351756988424747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434333245,"filename":"image_12042025_03_37_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c40f56b338c43fccd7500d5ab6d645a5.jpg","text":"TemporaryFile(/tmp/multipartBody8752849834719894942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434333245,"filename":"image_12042025_03_36_35_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/479cd24c25fc89e75c642d7785c337ff.jpg","text":"TemporaryFile(/tmp/multipartBody4926070507435248881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434333245,"filename":"image_12042025_03_36_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352113308","file1":"1352113282","file0":"1352113238","file4":"1352113370","file5":"1352113405","file3":"1352113351"},"map_files_photo_id_array":[{"photo_id":"1352113405","filename":"file5"},{"photo_id":"1352113308","filename":"file2"},{"photo_id":"1352113370","filename":"file4"},{"photo_id":"1352113282","filename":"file1"},{"photo_id":"1352113238","filename":"file0"},{"photo_id":"1352113351","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352113238":["hashtag1","hashtag2"]},{"1352113282":["hashtag1","hashtag2"]},{"1352113351":["hashtag1","hashtag2"]},{"1352113405":["hashtag1","hashtag2"]},{"1352113308":["hashtag1","hashtag2"]},{"1352113370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352113238, 1352113282, 1352113351, 1352113405, 1352113308, 1352113370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04237341880798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:05:33.051031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/37/image_12042025_03_37_25_10459.jpg', '/home/pi/Desktop/images/12042025/03/37/image_12042025_03_37_35_9375.jpg', '/home/pi/Desktop/images/12042025/03/37/image_12042025_03_37_45_10358.jpg', '/home/pi/Desktop/images/12042025/03/37/image_12042025_03_37_54_9372.jpg', '/home/pi/Desktop/images/12042025/03/37/image_12042025_03_38_05_10376.jpg', '/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_15_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/37/image_12042025_03_37_25_10459.jpg
/home/pi/Desktop/images/12042025/03/37/image_12042025_03_37_35_9375.jpg
/home/pi/Desktop/images/12042025/03/37/image_12042025_03_37_45_10358.jpg
/home/pi/Desktop/images/12042025/03/37/image_12042025_03_37_54_9372.jpg
/home/pi/Desktop/images/12042025/03/37/image_12042025_03_38_05_10376.jpg
/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_15_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352113664","1352113823","1352113748","1352113618","1352113701","1352113787"],"photo_ids_order":["1352113618","1352113664","1352113701","1352113748","1352113787","1352113823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7a60c321471765a76142128b48291f3.jpg","text":"TemporaryFile(/tmp/multipartBody3770553464634955819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434393543,"filename":"image_12042025_03_37_35_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0eb58d52e9642adfe38fe0af9fa8918.jpg","text":"TemporaryFile(/tmp/multipartBody3614859418186862256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434393543,"filename":"image_12042025_03_38_15_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e99f8b963782e60ebc3cffe89a10b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4384671424300992617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434393543,"filename":"image_12042025_03_37_54_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f52a8088475a7e05596c602912fe0fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7105137746345154638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434393543,"filename":"image_12042025_03_37_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1753021990f973768d09b03cd91711f.jpg","text":"TemporaryFile(/tmp/multipartBody3810102094272929298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434393543,"filename":"image_12042025_03_37_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0a5a789ac2b99a136886c6da02cc501.jpg","text":"TemporaryFile(/tmp/multipartBody7195062156822101613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434393543,"filename":"image_12042025_03_38_05_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352113701","file1":"1352113664","file0":"1352113618","file4":"1352113787","file5":"1352113823","file3":"1352113748"},"map_files_photo_id_array":[{"photo_id":"1352113823","filename":"file5"},{"photo_id":"1352113701","filename":"file2"},{"photo_id":"1352113787","filename":"file4"},{"photo_id":"1352113664","filename":"file1"},{"photo_id":"1352113618","filename":"file0"},{"photo_id":"1352113748","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352113664":["hashtag1","hashtag2"]},{"1352113823":["hashtag1","hashtag2"]},{"1352113748":["hashtag1","hashtag2"]},{"1352113618":["hashtag1","hashtag2"]},{"1352113701":["hashtag1","hashtag2"]},{"1352113787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352113664, 1352113823, 1352113748, 1352113618, 1352113701, 1352113787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45148301124573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:06:32.257497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_25_9364.jpg', '/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_35_10438.jpg', '/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_45_9470.jpg', '/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_55_10417.jpg', '/home/pi/Desktop/images/12042025/03/38/image_12042025_03_39_05_10429.jpg', '/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_15_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_25_9364.jpg
/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_35_10438.jpg
/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_45_9470.jpg
/home/pi/Desktop/images/12042025/03/38/image_12042025_03_38_55_10417.jpg
/home/pi/Desktop/images/12042025/03/38/image_12042025_03_39_05_10429.jpg
/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_15_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352114173","1352114113","1352114023","1352114218","1352114192","1352114147"],"photo_ids_order":["1352114023","1352114113","1352114147","1352114173","1352114192","1352114218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/567452637c62113d307a9ee51d8d98e9.jpg","text":"TemporaryFile(/tmp/multipartBody338540836695762940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434452728,"filename":"image_12042025_03_38_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b556a0eaa787e63a32aa407ed26bcd0d.jpg","text":"TemporaryFile(/tmp/multipartBody167775762677274974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434452728,"filename":"image_12042025_03_38_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a8429a92c84d1d47c93c6092dce52e5.jpg","text":"TemporaryFile(/tmp/multipartBody7105094356380413996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434452728,"filename":"image_12042025_03_38_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab59dbdbbb4c939fbfab68209b1232bd.jpg","text":"TemporaryFile(/tmp/multipartBody577345743581661238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434452728,"filename":"image_12042025_03_39_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a94990fa23285bec64c12553ec66623.jpg","text":"TemporaryFile(/tmp/multipartBody654705438446536865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434452728,"filename":"image_12042025_03_39_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8bdef43f94d0c46bcc043189d5851ec.jpg","text":"TemporaryFile(/tmp/multipartBody4185586743829078671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434452728,"filename":"image_12042025_03_38_45_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352114147","file1":"1352114113","file0":"1352114023","file4":"1352114192","file5":"1352114218","file3":"1352114173"},"map_files_photo_id_array":[{"photo_id":"1352114218","filename":"file5"},{"photo_id":"1352114147","filename":"file2"},{"photo_id":"1352114192","filename":"file4"},{"photo_id":"1352114113","filename":"file1"},{"photo_id":"1352114023","filename":"file0"},{"photo_id":"1352114173","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352114173":["hashtag1","hashtag2"]},{"1352114113":["hashtag1","hashtag2"]},{"1352114023":["hashtag1","hashtag2"]},{"1352114218":["hashtag1","hashtag2"]},{"1352114192":["hashtag1","hashtag2"]},{"1352114147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352114173, 1352114113, 1352114023, 1352114218, 1352114192, 1352114147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.860768795013428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:07:32.439517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_25_10497.jpg', '/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_35_9361.jpg', '/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_45_10452.jpg', '/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_55_9366.jpg', '/home/pi/Desktop/images/12042025/03/39/image_12042025_03_40_05_10414.jpg', '/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_15_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_25_10497.jpg
/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_35_9361.jpg
/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_45_10452.jpg
/home/pi/Desktop/images/12042025/03/39/image_12042025_03_39_55_9366.jpg
/home/pi/Desktop/images/12042025/03/39/image_12042025_03_40_05_10414.jpg
/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_15_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352114497","1352114443","1352114416","1352114553","1352114471","1352114531"],"photo_ids_order":["1352114416","1352114443","1352114471","1352114497","1352114531","1352114553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3798fdb2fe847c5e57a7550abbbb3f04.jpg","text":"TemporaryFile(/tmp/multipartBody3905462288497115599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434512911,"filename":"image_12042025_03_39_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6871b28d17fdc45dad61904c586f6e8b.jpg","text":"TemporaryFile(/tmp/multipartBody1983813646434465712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434512911,"filename":"image_12042025_03_39_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e99de82bc4524cbd21de13b1c43739fc.jpg","text":"TemporaryFile(/tmp/multipartBody8003125932243543251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434512911,"filename":"image_12042025_03_39_25_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c36603ea26fbb083ff83aaacd5b3a44.jpg","text":"TemporaryFile(/tmp/multipartBody7441715400572107406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434512911,"filename":"image_12042025_03_40_15_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0a93bfa3ec9c264a333e450a8a78b74.jpg","text":"TemporaryFile(/tmp/multipartBody7402845128320479214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434512911,"filename":"image_12042025_03_39_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8e01b858304255bcacb8a826fa04fde.jpg","text":"TemporaryFile(/tmp/multipartBody8078472546854743200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434512911,"filename":"image_12042025_03_40_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352114471","file1":"1352114443","file0":"1352114416","file4":"1352114531","file5":"1352114553","file3":"1352114497"},"map_files_photo_id_array":[{"photo_id":"1352114553","filename":"file5"},{"photo_id":"1352114471","filename":"file2"},{"photo_id":"1352114531","filename":"file4"},{"photo_id":"1352114443","filename":"file1"},{"photo_id":"1352114416","filename":"file0"},{"photo_id":"1352114497","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352114497":["hashtag1","hashtag2"]},{"1352114443":["hashtag1","hashtag2"]},{"1352114416":["hashtag1","hashtag2"]},{"1352114553":["hashtag1","hashtag2"]},{"1352114471":["hashtag1","hashtag2"]},{"1352114531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352114497, 1352114443, 1352114416, 1352114553, 1352114471, 1352114531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44053530693054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:08:32.639242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_25_9391.jpg', '/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_35_10372.jpg', '/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_45_9394.jpg', '/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_55_10410.jpg', '/home/pi/Desktop/images/12042025/03/40/image_12042025_03_41_05_10356.jpg', '/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_15_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_25_9391.jpg
/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_35_10372.jpg
/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_45_9394.jpg
/home/pi/Desktop/images/12042025/03/40/image_12042025_03_40_55_10410.jpg
/home/pi/Desktop/images/12042025/03/40/image_12042025_03_41_05_10356.jpg
/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_15_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352114782","1352114857","1352114988","1352115146","1352115149","1352115119"],"photo_ids_order":["1352114782","1352114857","1352114988","1352115119","1352115146","1352115149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b37b40d811dbbd928b3d493a487607d.jpg","text":"TemporaryFile(/tmp/multipartBody4781217233009259321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434573121,"filename":"image_12042025_03_40_25_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f54c4f61c195179e466f3d54564080f.jpg","text":"TemporaryFile(/tmp/multipartBody8694091583373096394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434573121,"filename":"image_12042025_03_40_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ee69ce1213271a11a9786b0a1244f9b.jpg","text":"TemporaryFile(/tmp/multipartBody144705876592658753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434573121,"filename":"image_12042025_03_40_45_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b678fd78b71edb53cbc420a74d2bf186.jpg","text":"TemporaryFile(/tmp/multipartBody8939577065311332131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434573121,"filename":"image_12042025_03_41_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4074f2acf1f4a7f01ab06b34d8acbab4.jpg","text":"TemporaryFile(/tmp/multipartBody8371793114473381020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434573121,"filename":"image_12042025_03_41_15_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a88c0da9d25e4a2b0b367c6cdc067ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2565180101048856248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434573121,"filename":"image_12042025_03_40_55_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352114988","file1":"1352114857","file0":"1352114782","file4":"1352115146","file5":"1352115149","file3":"1352115119"},"map_files_photo_id_array":[{"photo_id":"1352115149","filename":"file5"},{"photo_id":"1352114988","filename":"file2"},{"photo_id":"1352115146","filename":"file4"},{"photo_id":"1352114857","filename":"file1"},{"photo_id":"1352114782","filename":"file0"},{"photo_id":"1352115119","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352114782":["hashtag1","hashtag2"]},{"1352114857":["hashtag1","hashtag2"]},{"1352114988":["hashtag1","hashtag2"]},{"1352115146":["hashtag1","hashtag2"]},{"1352115149":["hashtag1","hashtag2"]},{"1352115119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352114782, 1352114857, 1352114988, 1352115146, 1352115149, 1352115119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38052201271057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:09:32.854476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_25_10376.jpg', '/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_35_9438.jpg', '/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_45_10433.jpg', '/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_55_10435.jpg', '/home/pi/Desktop/images/12042025/03/41/image_12042025_03_42_05_9358.jpg', '/home/pi/Desktop/images/12042025/03/42/image_12042025_03_42_25_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_25_10376.jpg
/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_35_9438.jpg
/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_45_10433.jpg
/home/pi/Desktop/images/12042025/03/41/image_12042025_03_41_55_10435.jpg
/home/pi/Desktop/images/12042025/03/41/image_12042025_03_42_05_9358.jpg
/home/pi/Desktop/images/12042025/03/42/image_12042025_03_42_25_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352115706","1352115928","1352115690","1352115960","1352115952","1352115853"],"photo_ids_order":["1352115690","1352115706","1352115853","1352115928","1352115952","1352115960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5dc54566574f79e370d33eca568aef4.jpg","text":"TemporaryFile(/tmp/multipartBody2348960894607664611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434633332,"filename":"image_12042025_03_41_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/475108f3498280de2294ec127734d06e.jpg","text":"TemporaryFile(/tmp/multipartBody8474386532446633176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434633332,"filename":"image_12042025_03_41_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23bb1627ee73911ff6012f23eb2a280d.jpg","text":"TemporaryFile(/tmp/multipartBody9201541176838795225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434633332,"filename":"image_12042025_03_41_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f3eb76f1d72a800e431330d4bbee2a7.jpg","text":"TemporaryFile(/tmp/multipartBody599787106855562390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434633332,"filename":"image_12042025_03_42_25_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ad005345db465d6efaa2ae73992366f.jpg","text":"TemporaryFile(/tmp/multipartBody5797596833144903345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434633332,"filename":"image_12042025_03_42_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bd4e08d27f730635e2584499dbfee97.jpg","text":"TemporaryFile(/tmp/multipartBody7780170503062619968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434633332,"filename":"image_12042025_03_41_45_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352115853","file1":"1352115706","file0":"1352115690","file4":"1352115952","file5":"1352115960","file3":"1352115928"},"map_files_photo_id_array":[{"photo_id":"1352115960","filename":"file5"},{"photo_id":"1352115853","filename":"file2"},{"photo_id":"1352115952","filename":"file4"},{"photo_id":"1352115706","filename":"file1"},{"photo_id":"1352115690","filename":"file0"},{"photo_id":"1352115928","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352115706":["hashtag1","hashtag2"]},{"1352115928":["hashtag1","hashtag2"]},{"1352115690":["hashtag1","hashtag2"]},{"1352115960":["hashtag1","hashtag2"]},{"1352115952":["hashtag1","hashtag2"]},{"1352115853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352115706, 1352115928, 1352115690, 1352115960, 1352115952, 1352115853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.219172954559326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:10:33.049432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/42/image_12042025_03_42_35_10374.jpg', '/home/pi/Desktop/images/12042025/03/42/image_12042025_03_42_45_10411.jpg', '/home/pi/Desktop/images/12042025/03/42/image_12042025_03_42_55_9371.jpg', '/home/pi/Desktop/images/12042025/03/42/image_12042025_03_43_05_10368.jpg', '/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_15_9467.jpg', '/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/42/image_12042025_03_42_35_10374.jpg
/home/pi/Desktop/images/12042025/03/42/image_12042025_03_42_45_10411.jpg
/home/pi/Desktop/images/12042025/03/42/image_12042025_03_42_55_9371.jpg
/home/pi/Desktop/images/12042025/03/42/image_12042025_03_43_05_10368.jpg
/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_15_9467.jpg
/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352116045","1352116086","1352116088","1352116082","1352116084","1352116048"],"photo_ids_order":["1352116045","1352116048","1352116082","1352116084","1352116086","1352116088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/694eea73a7d04d6ee56d3d748e5e22d8.jpg","text":"TemporaryFile(/tmp/multipartBody4225705064714629940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434693527,"filename":"image_12042025_03_42_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f00ba52ed18a5bef08aa2d342737b898.jpg","text":"TemporaryFile(/tmp/multipartBody1280433715506423667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434693527,"filename":"image_12042025_03_43_15_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30a28bd4bdcf8382cc1a17aea16104bf.jpg","text":"TemporaryFile(/tmp/multipartBody4712702031659502235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434693527,"filename":"image_12042025_03_43_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c07957c5ae72d05e3fa13034a7bbbdb.jpg","text":"TemporaryFile(/tmp/multipartBody3994005205345583304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434693527,"filename":"image_12042025_03_42_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2dabdfad531ec0f2152c991c4ce96388.jpg","text":"TemporaryFile(/tmp/multipartBody7409833690798222984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434693527,"filename":"image_12042025_03_43_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92a5cbf0336253addab2c9fd76ed7577.jpg","text":"TemporaryFile(/tmp/multipartBody679305828492605636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434693527,"filename":"image_12042025_03_42_45_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352116082","file1":"1352116048","file0":"1352116045","file4":"1352116086","file5":"1352116088","file3":"1352116084"},"map_files_photo_id_array":[{"photo_id":"1352116088","filename":"file5"},{"photo_id":"1352116082","filename":"file2"},{"photo_id":"1352116086","filename":"file4"},{"photo_id":"1352116048","filename":"file1"},{"photo_id":"1352116045","filename":"file0"},{"photo_id":"1352116084","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352116045":["hashtag1","hashtag2"]},{"1352116086":["hashtag1","hashtag2"]},{"1352116088":["hashtag1","hashtag2"]},{"1352116082":["hashtag1","hashtag2"]},{"1352116084":["hashtag1","hashtag2"]},{"1352116048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352116045, 1352116086, 1352116088, 1352116082, 1352116084, 1352116048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.334004402160645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:11:32.258328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_35_10448.jpg', '/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_45_9375.jpg', '/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_55_10372.jpg', '/home/pi/Desktop/images/12042025/03/43/image_12042025_03_44_05_9386.jpg', '/home/pi/Desktop/images/12042025/03/44/image_12042025_03_44_15_10371.jpg', '/home/pi/Desktop/images/12042025/03/44/image_12042025_03_44_25_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_35_10448.jpg
/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_45_9375.jpg
/home/pi/Desktop/images/12042025/03/43/image_12042025_03_43_55_10372.jpg
/home/pi/Desktop/images/12042025/03/43/image_12042025_03_44_05_9386.jpg
/home/pi/Desktop/images/12042025/03/44/image_12042025_03_44_15_10371.jpg
/home/pi/Desktop/images/12042025/03/44/image_12042025_03_44_25_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352116389","1352116562","1352116565","1352116568","1352116567","1352116540"],"photo_ids_order":["1352116389","1352116540","1352116562","1352116565","1352116567","1352116568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4b9b40698bbc6b4bcf05ec4d518dfc2.jpg","text":"TemporaryFile(/tmp/multipartBody7277610680476591595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434752725,"filename":"image_12042025_03_43_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc0758f9f94c4b846a79af8f939d7674.jpg","text":"TemporaryFile(/tmp/multipartBody3132578267756278114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434752725,"filename":"image_12042025_03_43_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0d44c2e34eaa29dfed7ddf46ea07cd4.jpg","text":"TemporaryFile(/tmp/multipartBody313826533289184666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434752725,"filename":"image_12042025_03_44_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/878332c49b882c2f42720557fc99edd6.jpg","text":"TemporaryFile(/tmp/multipartBody7181941705589647244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434752725,"filename":"image_12042025_03_44_25_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a4fce7aa85465894df76e1d4156ed67.jpg","text":"TemporaryFile(/tmp/multipartBody8216507415729873545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434752725,"filename":"image_12042025_03_44_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a951627465735f31a783bf4779d5802.jpg","text":"TemporaryFile(/tmp/multipartBody399496327359761875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434752725,"filename":"image_12042025_03_43_45_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352116562","file1":"1352116540","file0":"1352116389","file4":"1352116567","file5":"1352116568","file3":"1352116565"},"map_files_photo_id_array":[{"photo_id":"1352116568","filename":"file5"},{"photo_id":"1352116562","filename":"file2"},{"photo_id":"1352116567","filename":"file4"},{"photo_id":"1352116540","filename":"file1"},{"photo_id":"1352116389","filename":"file0"},{"photo_id":"1352116565","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352116389":["hashtag1","hashtag2"]},{"1352116562":["hashtag1","hashtag2"]},{"1352116565":["hashtag1","hashtag2"]},{"1352116568":["hashtag1","hashtag2"]},{"1352116567":["hashtag1","hashtag2"]},{"1352116540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352116389, 1352116562, 1352116565, 1352116568, 1352116567, 1352116540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5870885848999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:12:32.551370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/44/image_12042025_03_44_45_10383.jpg', '/home/pi/Desktop/images/12042025/03/44/image_12042025_03_45_05_10372.jpg', '/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_15_10529.jpg', '/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_25_9351.jpg', '/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_35_10358.jpg', '/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_44_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/44/image_12042025_03_44_45_10383.jpg
/home/pi/Desktop/images/12042025/03/44/image_12042025_03_45_05_10372.jpg
/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_15_10529.jpg
/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_25_9351.jpg
/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_35_10358.jpg
/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_44_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352116761","1352116757","1352116759","1352116753","1352116756","1352116750"],"photo_ids_order":["1352116750","1352116753","1352116756","1352116757","1352116759","1352116761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e435ebfed067d4f4fea37fa852771d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5138777477702536885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434813026,"filename":"image_12042025_03_45_44_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50f6b67c96f4a1ca9798f68a86051480.jpg","text":"TemporaryFile(/tmp/multipartBody5083278824014431859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434813026,"filename":"image_12042025_03_45_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10f8b69d5d280d8375e6b18daa84eaea.jpg","text":"TemporaryFile(/tmp/multipartBody2371135015471187906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434813026,"filename":"image_12042025_03_45_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d6e09ed427840f086cf5efffeef88db.jpg","text":"TemporaryFile(/tmp/multipartBody1842664266518991395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434813026,"filename":"image_12042025_03_45_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c70b22cdc26947e164a8af2fc31f20d4.jpg","text":"TemporaryFile(/tmp/multipartBody1385051979338779941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434813026,"filename":"image_12042025_03_45_15_10529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/962146ceaa43b13d9b49581722f367d6.jpg","text":"TemporaryFile(/tmp/multipartBody8602049178979765699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434813026,"filename":"image_12042025_03_44_45_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352116756","file1":"1352116753","file0":"1352116750","file4":"1352116759","file5":"1352116761","file3":"1352116757"},"map_files_photo_id_array":[{"photo_id":"1352116761","filename":"file5"},{"photo_id":"1352116756","filename":"file2"},{"photo_id":"1352116759","filename":"file4"},{"photo_id":"1352116753","filename":"file1"},{"photo_id":"1352116750","filename":"file0"},{"photo_id":"1352116757","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352116761":["hashtag1","hashtag2"]},{"1352116757":["hashtag1","hashtag2"]},{"1352116759":["hashtag1","hashtag2"]},{"1352116753":["hashtag1","hashtag2"]},{"1352116756":["hashtag1","hashtag2"]},{"1352116750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352116761, 1352116757, 1352116759, 1352116753, 1352116756, 1352116750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00907754898071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:13:32.668283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_55_10375.jpg', '/home/pi/Desktop/images/12042025/03/45/image_12042025_03_46_05_10414.jpg', '/home/pi/Desktop/images/12042025/03/46/image_12042025_03_46_15_9385.jpg', '/home/pi/Desktop/images/12042025/03/46/image_12042025_03_46_35_9450.jpg', '/home/pi/Desktop/images/12042025/03/46/image_12042025_03_46_45_10431.jpg', '/home/pi/Desktop/images/12042025/03/46/image_12042025_03_46_55_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/45/image_12042025_03_45_55_10375.jpg
/home/pi/Desktop/images/12042025/03/45/image_12042025_03_46_05_10414.jpg
/home/pi/Desktop/images/12042025/03/46/image_12042025_03_46_15_9385.jpg
/home/pi/Desktop/images/12042025/03/46/image_12042025_03_46_35_9450.jpg
/home/pi/Desktop/images/12042025/03/46/image_12042025_03_46_45_10431.jpg
/home/pi/Desktop/images/12042025/03/46/image_12042025_03_46_55_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352116914","1352117102","1352117077","1352116993","1352117047","1352116954"],"photo_ids_order":["1352116914","1352116954","1352116993","1352117047","1352117077","1352117102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d356ab099d96c6a2af79a9946e8941fd.jpg","text":"TemporaryFile(/tmp/multipartBody3785619537179931727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434873144,"filename":"image_12042025_03_45_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ccd503efdf82bf4cafeb151dffc3b3c8.jpg","text":"TemporaryFile(/tmp/multipartBody1475594079234809238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434873144,"filename":"image_12042025_03_46_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0e1d97acdd66aed075e513748b4931d.jpg","text":"TemporaryFile(/tmp/multipartBody8869896029169980859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434873144,"filename":"image_12042025_03_46_45_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fabcc71890842ee54b02e6c85238f5f7.jpg","text":"TemporaryFile(/tmp/multipartBody7850697426908185306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434873144,"filename":"image_12042025_03_46_15_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f455437675acd80eb0f22fa80dbc38d2.jpg","text":"TemporaryFile(/tmp/multipartBody8724037644944547747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434873144,"filename":"image_12042025_03_46_35_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2acd6728ff660d79d88988e7a3e3d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6455714707068428270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434873144,"filename":"image_12042025_03_46_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352116993","file1":"1352116954","file0":"1352116914","file4":"1352117077","file5":"1352117102","file3":"1352117047"},"map_files_photo_id_array":[{"photo_id":"1352117102","filename":"file5"},{"photo_id":"1352116993","filename":"file2"},{"photo_id":"1352117077","filename":"file4"},{"photo_id":"1352116954","filename":"file1"},{"photo_id":"1352116914","filename":"file0"},{"photo_id":"1352117047","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352116914":["hashtag1","hashtag2"]},{"1352117102":["hashtag1","hashtag2"]},{"1352117077":["hashtag1","hashtag2"]},{"1352116993":["hashtag1","hashtag2"]},{"1352117047":["hashtag1","hashtag2"]},{"1352116954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352116914, 1352117102, 1352117077, 1352116993, 1352117047, 1352116954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46449661254883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:14:32.923542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/46/image_12042025_03_47_05_9374.jpg', '/home/pi/Desktop/images/12042025/03/47/image_12042025_03_47_15_10368.jpg', '/home/pi/Desktop/images/12042025/03/47/image_12042025_03_47_25_9426.jpg', '/home/pi/Desktop/images/12042025/03/47/image_12042025_03_47_35_10374.jpg', '/home/pi/Desktop/images/12042025/03/47/image_12042025_03_47_55_9339.jpg', '/home/pi/Desktop/images/12042025/03/47/image_12042025_03_48_05_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/46/image_12042025_03_47_05_9374.jpg
/home/pi/Desktop/images/12042025/03/47/image_12042025_03_47_15_10368.jpg
/home/pi/Desktop/images/12042025/03/47/image_12042025_03_47_25_9426.jpg
/home/pi/Desktop/images/12042025/03/47/image_12042025_03_47_35_10374.jpg
/home/pi/Desktop/images/12042025/03/47/image_12042025_03_47_55_9339.jpg
/home/pi/Desktop/images/12042025/03/47/image_12042025_03_48_05_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352117381","1352117297","1352117342","1352117449","1352117506","1352117598"],"photo_ids_order":["1352117297","1352117342","1352117381","1352117449","1352117506","1352117598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8376fef582ff13b8d7fd5e61fa22ff8.jpg","text":"TemporaryFile(/tmp/multipartBody96555151596564089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434933394,"filename":"image_12042025_03_47_25_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1617bed7c15b69970de47ed8d4da1c5.jpg","text":"TemporaryFile(/tmp/multipartBody6288364498206787535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434933394,"filename":"image_12042025_03_47_05_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e7d641c329bc4dcbbfda05155f220a1.jpg","text":"TemporaryFile(/tmp/multipartBody8255164974798112086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434933394,"filename":"image_12042025_03_47_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de5ad1c3b751734b6447b4b9851918b3.jpg","text":"TemporaryFile(/tmp/multipartBody2607152739150437600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434933394,"filename":"image_12042025_03_47_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8340935c0b3c284a557a0d08429a0954.jpg","text":"TemporaryFile(/tmp/multipartBody704619223095244021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434933394,"filename":"image_12042025_03_47_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b33399672fc10f0a51285f996c1467b7.jpg","text":"TemporaryFile(/tmp/multipartBody1049289378911605244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434933394,"filename":"image_12042025_03_48_05_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352117381","file1":"1352117342","file0":"1352117297","file4":"1352117506","file5":"1352117598","file3":"1352117449"},"map_files_photo_id_array":[{"photo_id":"1352117598","filename":"file5"},{"photo_id":"1352117381","filename":"file2"},{"photo_id":"1352117506","filename":"file4"},{"photo_id":"1352117342","filename":"file1"},{"photo_id":"1352117297","filename":"file0"},{"photo_id":"1352117449","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352117381":["hashtag1","hashtag2"]},{"1352117297":["hashtag1","hashtag2"]},{"1352117342":["hashtag1","hashtag2"]},{"1352117449":["hashtag1","hashtag2"]},{"1352117506":["hashtag1","hashtag2"]},{"1352117598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352117381, 1352117297, 1352117342, 1352117449, 1352117506, 1352117598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36900520324707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:15:33.054571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/48/image_12042025_03_48_25_10419.jpg', '/home/pi/Desktop/images/12042025/03/48/image_12042025_03_48_35_10422.jpg', '/home/pi/Desktop/images/12042025/03/48/image_12042025_03_48_45_9353.jpg', '/home/pi/Desktop/images/12042025/03/48/image_12042025_03_48_55_10358.jpg', '/home/pi/Desktop/images/12042025/03/48/image_12042025_03_49_05_9453.jpg', '/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_15_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/48/image_12042025_03_48_25_10419.jpg
/home/pi/Desktop/images/12042025/03/48/image_12042025_03_48_35_10422.jpg
/home/pi/Desktop/images/12042025/03/48/image_12042025_03_48_45_9353.jpg
/home/pi/Desktop/images/12042025/03/48/image_12042025_03_48_55_10358.jpg
/home/pi/Desktop/images/12042025/03/48/image_12042025_03_49_05_9453.jpg
/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_15_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352118110","1352118391","1352118193","1352118328","1352118267","1352118447"],"photo_ids_order":["1352118110","1352118193","1352118267","1352118328","1352118391","1352118447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e21f1464258a22d01ec3d3be3f6dc5e.jpg","text":"TemporaryFile(/tmp/multipartBody3481590226883741769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434993544,"filename":"image_12042025_03_48_25_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e9463e0ee3c23232929b08bb70517e0.jpg","text":"TemporaryFile(/tmp/multipartBody6007702911218680810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434993544,"filename":"image_12042025_03_49_05_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/934714e64622a8346c7ac3e95e9581ad.jpg","text":"TemporaryFile(/tmp/multipartBody8022491022810731844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434993544,"filename":"image_12042025_03_48_35_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c032faac5fe6322653fdfc61d7456fd.jpg","text":"TemporaryFile(/tmp/multipartBody5413904395082954124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434993544,"filename":"image_12042025_03_48_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09a338126a17deadda2d8d93b6153723.jpg","text":"TemporaryFile(/tmp/multipartBody2288942106890211559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434993544,"filename":"image_12042025_03_48_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bca41f5976d08dcf70dec98a96c306fc.jpg","text":"TemporaryFile(/tmp/multipartBody8272751928085254361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744434993544,"filename":"image_12042025_03_49_15_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352118267","file1":"1352118193","file0":"1352118110","file4":"1352118391","file5":"1352118447","file3":"1352118328"},"map_files_photo_id_array":[{"photo_id":"1352118447","filename":"file5"},{"photo_id":"1352118267","filename":"file2"},{"photo_id":"1352118391","filename":"file4"},{"photo_id":"1352118193","filename":"file1"},{"photo_id":"1352118110","filename":"file0"},{"photo_id":"1352118328","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352118110":["hashtag1","hashtag2"]},{"1352118391":["hashtag1","hashtag2"]},{"1352118193":["hashtag1","hashtag2"]},{"1352118328":["hashtag1","hashtag2"]},{"1352118267":["hashtag1","hashtag2"]},{"1352118447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352118110, 1352118391, 1352118193, 1352118328, 1352118267, 1352118447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.195475816726685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:16:32.456373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_25_10446.jpg', '/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_35_9347.jpg', '/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_45_10361.jpg', '/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_55_9393.jpg', '/home/pi/Desktop/images/12042025/03/49/image_12042025_03_50_05_10401.jpg', '/home/pi/Desktop/images/12042025/03/50/image_12042025_03_50_25_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_25_10446.jpg
/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_35_9347.jpg
/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_45_10361.jpg
/home/pi/Desktop/images/12042025/03/49/image_12042025_03_49_55_9393.jpg
/home/pi/Desktop/images/12042025/03/49/image_12042025_03_50_05_10401.jpg
/home/pi/Desktop/images/12042025/03/50/image_12042025_03_50_25_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352119127","1352118938","1352119194","1352118838","1352118733","1352119026"],"photo_ids_order":["1352118733","1352118838","1352118938","1352119026","1352119127","1352119194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/332545961d2a8ecc6704c564ef732dd6.jpg","text":"TemporaryFile(/tmp/multipartBody6079464677219759861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435052935,"filename":"image_12042025_03_50_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/588141160b2afe7e18cd228e278c89b8.jpg","text":"TemporaryFile(/tmp/multipartBody962787594127527195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435052935,"filename":"image_12042025_03_49_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24db8ad48a3b39a35132e99c3bceb459.jpg","text":"TemporaryFile(/tmp/multipartBody1157025934864734603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435052935,"filename":"image_12042025_03_50_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7bd784a285d6a0c750f300a0c8f1385.jpg","text":"TemporaryFile(/tmp/multipartBody4567591053680116776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435052935,"filename":"image_12042025_03_49_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f8f8cca28eb23c81a3ba678148780fa.jpg","text":"TemporaryFile(/tmp/multipartBody6441759892614188530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435052935,"filename":"image_12042025_03_49_25_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16a6c873a8e6ac3525019c5ab1f99a17.jpg","text":"TemporaryFile(/tmp/multipartBody5579678900052436474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435052935,"filename":"image_12042025_03_49_55_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352118938","file1":"1352118838","file0":"1352118733","file4":"1352119127","file5":"1352119194","file3":"1352119026"},"map_files_photo_id_array":[{"photo_id":"1352119194","filename":"file5"},{"photo_id":"1352118938","filename":"file2"},{"photo_id":"1352119127","filename":"file4"},{"photo_id":"1352118838","filename":"file1"},{"photo_id":"1352118733","filename":"file0"},{"photo_id":"1352119026","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352119127":["hashtag1","hashtag2"]},{"1352118938":["hashtag1","hashtag2"]},{"1352119194":["hashtag1","hashtag2"]},{"1352118838":["hashtag1","hashtag2"]},{"1352118733":["hashtag1","hashtag2"]},{"1352119026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352119127, 1352118938, 1352119194, 1352118838, 1352118733, 1352119026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.517444133758545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:17:32.668288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/50/image_12042025_03_50_35_10382.jpg', '/home/pi/Desktop/images/12042025/03/50/image_12042025_03_50_44_9373.jpg', '/home/pi/Desktop/images/12042025/03/50/image_12042025_03_50_55_10370.jpg', '/home/pi/Desktop/images/12042025/03/51/image_12042025_03_51_15_9383.jpg', '/home/pi/Desktop/images/12042025/03/51/image_12042025_03_51_25_10373.jpg', '/home/pi/Desktop/images/12042025/03/51/image_12042025_03_51_45_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/50/image_12042025_03_50_35_10382.jpg
/home/pi/Desktop/images/12042025/03/50/image_12042025_03_50_44_9373.jpg
/home/pi/Desktop/images/12042025/03/50/image_12042025_03_50_55_10370.jpg
/home/pi/Desktop/images/12042025/03/51/image_12042025_03_51_15_9383.jpg
/home/pi/Desktop/images/12042025/03/51/image_12042025_03_51_25_10373.jpg
/home/pi/Desktop/images/12042025/03/51/image_12042025_03_51_45_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352120054","1352120255","1352120240","1352119837","1352119956","1352120175"],"photo_ids_order":["1352119837","1352119956","1352120054","1352120175","1352120240","1352120255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3116596203592b25abed96b6d0300396.jpg","text":"TemporaryFile(/tmp/multipartBody8647612230480153480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435113147,"filename":"image_12042025_03_50_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4057a3f41380fd97a1a6c141a55498c4.jpg","text":"TemporaryFile(/tmp/multipartBody2566424274922667102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435113147,"filename":"image_12042025_03_51_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/470107830084479d9f5fc67b9e46d1e8.jpg","text":"TemporaryFile(/tmp/multipartBody2011077479162870919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435113147,"filename":"image_12042025_03_51_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55a7262c1d33ecd8e9a030a5801775ec.jpg","text":"TemporaryFile(/tmp/multipartBody3383637035213576697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435113147,"filename":"image_12042025_03_50_35_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e79d75361033142f6af6858884028e47.jpg","text":"TemporaryFile(/tmp/multipartBody3594740295436480915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435113147,"filename":"image_12042025_03_50_44_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df51c706fb1eded20d9cabd78bc8f016.jpg","text":"TemporaryFile(/tmp/multipartBody8065078340667088180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435113147,"filename":"image_12042025_03_51_15_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352120054","file1":"1352119956","file0":"1352119837","file4":"1352120240","file5":"1352120255","file3":"1352120175"},"map_files_photo_id_array":[{"photo_id":"1352120255","filename":"file5"},{"photo_id":"1352120054","filename":"file2"},{"photo_id":"1352120240","filename":"file4"},{"photo_id":"1352119956","filename":"file1"},{"photo_id":"1352119837","filename":"file0"},{"photo_id":"1352120175","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352120054":["hashtag1","hashtag2"]},{"1352120255":["hashtag1","hashtag2"]},{"1352120240":["hashtag1","hashtag2"]},{"1352119837":["hashtag1","hashtag2"]},{"1352119956":["hashtag1","hashtag2"]},{"1352120175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352120054, 1352120255, 1352120240, 1352119837, 1352119956, 1352120175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38143491744995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:18:33.015378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/51/image_12042025_03_51_55_10386.jpg', '/home/pi/Desktop/images/12042025/03/51/image_12042025_03_52_05_9435.jpg', '/home/pi/Desktop/images/12042025/03/52/image_12042025_03_52_15_10352.jpg', '/home/pi/Desktop/images/12042025/03/52/image_12042025_03_53_05_10358.jpg', '/home/pi/Desktop/images/12042025/03/53/image_12042025_03_53_15_10364.jpg', '/home/pi/Desktop/images/12042025/03/53/image_12042025_03_53_25_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/51/image_12042025_03_51_55_10386.jpg
/home/pi/Desktop/images/12042025/03/51/image_12042025_03_52_05_9435.jpg
/home/pi/Desktop/images/12042025/03/52/image_12042025_03_52_15_10352.jpg
/home/pi/Desktop/images/12042025/03/52/image_12042025_03_53_05_10358.jpg
/home/pi/Desktop/images/12042025/03/53/image_12042025_03_53_15_10364.jpg
/home/pi/Desktop/images/12042025/03/53/image_12042025_03_53_25_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352120672","1352120558","1352120408","1352120609","1352120692","1352120490"],"photo_ids_order":["1352120408","1352120490","1352120558","1352120609","1352120672","1352120692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0d96b9612a557408fc4416eb69ebc19.jpg","text":"TemporaryFile(/tmp/multipartBody3459129659293524654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435173497,"filename":"image_12042025_03_53_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23dd6641b6a2df65128136983266cb57.jpg","text":"TemporaryFile(/tmp/multipartBody6010138497381206724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435173497,"filename":"image_12042025_03_52_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57a0ae1e3f01ce6dbf75592b2ce497fa.jpg","text":"TemporaryFile(/tmp/multipartBody780364951652441018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435173497,"filename":"image_12042025_03_51_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08bfd06f1825af90d1726e8c6a34139e.jpg","text":"TemporaryFile(/tmp/multipartBody3991146662992450275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435173497,"filename":"image_12042025_03_53_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dba0310b9c91172f09fb6275495c1358.jpg","text":"TemporaryFile(/tmp/multipartBody6731015291157464905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435173497,"filename":"image_12042025_03_53_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c74049684478936be72515b122a7518.jpg","text":"TemporaryFile(/tmp/multipartBody103008354771325322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435173497,"filename":"image_12042025_03_52_05_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352120558","file1":"1352120490","file0":"1352120408","file4":"1352120672","file5":"1352120692","file3":"1352120609"},"map_files_photo_id_array":[{"photo_id":"1352120692","filename":"file5"},{"photo_id":"1352120558","filename":"file2"},{"photo_id":"1352120672","filename":"file4"},{"photo_id":"1352120490","filename":"file1"},{"photo_id":"1352120408","filename":"file0"},{"photo_id":"1352120609","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352120672":["hashtag1","hashtag2"]},{"1352120558":["hashtag1","hashtag2"]},{"1352120408":["hashtag1","hashtag2"]},{"1352120609":["hashtag1","hashtag2"]},{"1352120692":["hashtag1","hashtag2"]},{"1352120490":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352120672, 1352120558, 1352120408, 1352120609, 1352120692, 1352120490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.794931173324585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:19:33.131372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/53/image_12042025_03_53_35_10370.jpg', '/home/pi/Desktop/images/12042025/03/53/image_12042025_03_53_55_10432.jpg', '/home/pi/Desktop/images/12042025/03/53/image_12042025_03_54_05_10452.jpg', '/home/pi/Desktop/images/12042025/03/54/image_12042025_03_54_15_9431.jpg', '/home/pi/Desktop/images/12042025/03/54/image_12042025_03_54_25_10432.jpg', '/home/pi/Desktop/images/12042025/03/54/image_12042025_03_54_35_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/53/image_12042025_03_53_35_10370.jpg
/home/pi/Desktop/images/12042025/03/53/image_12042025_03_53_55_10432.jpg
/home/pi/Desktop/images/12042025/03/53/image_12042025_03_54_05_10452.jpg
/home/pi/Desktop/images/12042025/03/54/image_12042025_03_54_15_9431.jpg
/home/pi/Desktop/images/12042025/03/54/image_12042025_03_54_25_10432.jpg
/home/pi/Desktop/images/12042025/03/54/image_12042025_03_54_35_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352120960","1352121031","1352120932","1352120914","1352120898","1352120988"],"photo_ids_order":["1352120898","1352120914","1352120932","1352120960","1352120988","1352121031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d87509ec4fec39e12f06cdd6142b63dc.jpg","text":"TemporaryFile(/tmp/multipartBody3435124370714704701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435233616,"filename":"image_12042025_03_54_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/189d45d6d3c51f2a8800324ba5bcfbd8.jpg","text":"TemporaryFile(/tmp/multipartBody7293543841292608608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435233616,"filename":"image_12042025_03_54_35_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3d9499d905be864663dbc242ec48d2f.jpg","text":"TemporaryFile(/tmp/multipartBody297932878668382921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435233616,"filename":"image_12042025_03_54_05_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8467c1215a982bb1d890623f352016ac.jpg","text":"TemporaryFile(/tmp/multipartBody3572051849512217811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435233616,"filename":"image_12042025_03_53_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b04ffd256e9627ce4ed97c4aea3ea13b.jpg","text":"TemporaryFile(/tmp/multipartBody666721610967606699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435233616,"filename":"image_12042025_03_53_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f382b28c6b2ab596a24216c10e13e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6457563808025257010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435233616,"filename":"image_12042025_03_54_25_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352120932","file1":"1352120914","file0":"1352120898","file4":"1352120988","file5":"1352121031","file3":"1352120960"},"map_files_photo_id_array":[{"photo_id":"1352121031","filename":"file5"},{"photo_id":"1352120932","filename":"file2"},{"photo_id":"1352120988","filename":"file4"},{"photo_id":"1352120914","filename":"file1"},{"photo_id":"1352120898","filename":"file0"},{"photo_id":"1352120960","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352120960":["hashtag1","hashtag2"]},{"1352121031":["hashtag1","hashtag2"]},{"1352120932":["hashtag1","hashtag2"]},{"1352120914":["hashtag1","hashtag2"]},{"1352120898":["hashtag1","hashtag2"]},{"1352120988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352120960, 1352121031, 1352120932, 1352120914, 1352120898, 1352120988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.18467426300049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:20:32.335347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/54/image_12042025_03_54_45_10426.jpg', '/home/pi/Desktop/images/12042025/03/55/image_12042025_03_55_25_9389.jpg', '/home/pi/Desktop/images/12042025/03/55/image_12042025_03_55_35_10479.jpg', '/home/pi/Desktop/images/12042025/03/55/image_12042025_03_55_45_9377.jpg', '/home/pi/Desktop/images/12042025/03/55/image_12042025_03_56_04_9463.jpg', '/home/pi/Desktop/images/12042025/03/56/image_12042025_03_56_15_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/54/image_12042025_03_54_45_10426.jpg
/home/pi/Desktop/images/12042025/03/55/image_12042025_03_55_25_9389.jpg
/home/pi/Desktop/images/12042025/03/55/image_12042025_03_55_35_10479.jpg
/home/pi/Desktop/images/12042025/03/55/image_12042025_03_55_45_9377.jpg
/home/pi/Desktop/images/12042025/03/55/image_12042025_03_56_04_9463.jpg
/home/pi/Desktop/images/12042025/03/56/image_12042025_03_56_15_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352121350","1352121364","1352121334","1352121214","1352121150","1352121123"],"photo_ids_order":["1352121123","1352121150","1352121214","1352121334","1352121350","1352121364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/baff01bc37ebc0fa6270038546a87af1.jpg","text":"TemporaryFile(/tmp/multipartBody3542848695706941893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435292872,"filename":"image_12042025_03_56_04_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/565bd4e16d10105f591c8eb52e97bd5d.jpg","text":"TemporaryFile(/tmp/multipartBody7297144265470737293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435292872,"filename":"image_12042025_03_56_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da5ac92a5543bd9b12cb5d4889392252.jpg","text":"TemporaryFile(/tmp/multipartBody2793845868386943451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435292872,"filename":"image_12042025_03_55_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc5d8d37b4ad5645bc4471bcb525c7fd.jpg","text":"TemporaryFile(/tmp/multipartBody9045285248602931996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435292872,"filename":"image_12042025_03_55_35_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ab74b1da441f2320e7703cacc92ddef.jpg","text":"TemporaryFile(/tmp/multipartBody6056166606368036158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435292872,"filename":"image_12042025_03_55_25_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/802fac94b36445c7fe7b59fedb318fcb.jpg","text":"TemporaryFile(/tmp/multipartBody9057114166988152537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435292872,"filename":"image_12042025_03_54_45_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352121214","file1":"1352121150","file0":"1352121123","file4":"1352121350","file5":"1352121364","file3":"1352121334"},"map_files_photo_id_array":[{"photo_id":"1352121364","filename":"file5"},{"photo_id":"1352121214","filename":"file2"},{"photo_id":"1352121350","filename":"file4"},{"photo_id":"1352121150","filename":"file1"},{"photo_id":"1352121123","filename":"file0"},{"photo_id":"1352121334","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352121350":["hashtag1","hashtag2"]},{"1352121364":["hashtag1","hashtag2"]},{"1352121334":["hashtag1","hashtag2"]},{"1352121214":["hashtag1","hashtag2"]},{"1352121150":["hashtag1","hashtag2"]},{"1352121123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352121350, 1352121364, 1352121334, 1352121214, 1352121150, 1352121123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55761098861694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:21:32.544353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/56/image_12042025_03_56_25_10452.jpg', '/home/pi/Desktop/images/12042025/03/56/image_12042025_03_56_35_9427.jpg', '/home/pi/Desktop/images/12042025/03/56/image_12042025_03_57_05_10356.jpg', '/home/pi/Desktop/images/12042025/03/57/image_12042025_03_57_15_10487.jpg', '/home/pi/Desktop/images/12042025/03/57/image_12042025_03_57_55_10355.jpg', '/home/pi/Desktop/images/12042025/03/57/image_12042025_03_58_05_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/56/image_12042025_03_56_25_10452.jpg
/home/pi/Desktop/images/12042025/03/56/image_12042025_03_56_35_9427.jpg
/home/pi/Desktop/images/12042025/03/56/image_12042025_03_57_05_10356.jpg
/home/pi/Desktop/images/12042025/03/57/image_12042025_03_57_15_10487.jpg
/home/pi/Desktop/images/12042025/03/57/image_12042025_03_57_55_10355.jpg
/home/pi/Desktop/images/12042025/03/57/image_12042025_03_58_05_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352121926","1352122021","1352121978","1352121963","1352121888","1352121968"],"photo_ids_order":["1352121888","1352121926","1352121963","1352121968","1352121978","1352122021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d368a5fffee346dc51b0aad1cec0a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4269207464372086298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435353019,"filename":"image_12042025_03_56_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70af0d6c322669cd16ef30288e4590ec.jpg","text":"TemporaryFile(/tmp/multipartBody4720088062176984596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435353019,"filename":"image_12042025_03_58_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a9a687a569a6e3a5cb455526904e308.jpg","text":"TemporaryFile(/tmp/multipartBody4120283260769868153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435353019,"filename":"image_12042025_03_57_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/982cdfb2fede924c071c3d138e9affa8.jpg","text":"TemporaryFile(/tmp/multipartBody655505728368383381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435353019,"filename":"image_12042025_03_57_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00006ff405ae5bff7f60765d266be0a0.jpg","text":"TemporaryFile(/tmp/multipartBody5938281902204657322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435353019,"filename":"image_12042025_03_56_25_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f4eca9c596af4f8161cc0ac8072661a.jpg","text":"TemporaryFile(/tmp/multipartBody6384345781240511742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435353019,"filename":"image_12042025_03_57_15_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352121963","file1":"1352121926","file0":"1352121888","file4":"1352121978","file5":"1352122021","file3":"1352121968"},"map_files_photo_id_array":[{"photo_id":"1352122021","filename":"file5"},{"photo_id":"1352121963","filename":"file2"},{"photo_id":"1352121978","filename":"file4"},{"photo_id":"1352121926","filename":"file1"},{"photo_id":"1352121888","filename":"file0"},{"photo_id":"1352121968","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352121926":["hashtag1","hashtag2"]},{"1352122021":["hashtag1","hashtag2"]},{"1352121978":["hashtag1","hashtag2"]},{"1352121963":["hashtag1","hashtag2"]},{"1352121888":["hashtag1","hashtag2"]},{"1352121968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352121926, 1352122021, 1352121978, 1352121963, 1352121888, 1352121968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82229042053223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:22:32.693243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_15_9361.jpg', '/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_25_10409.jpg', '/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_35_9438.jpg', '/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_45_10355.jpg', '/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_55_10414.jpg', '/home/pi/Desktop/images/12042025/03/58/image_12042025_03_59_05_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_15_9361.jpg
/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_25_10409.jpg
/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_35_9438.jpg
/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_45_10355.jpg
/home/pi/Desktop/images/12042025/03/58/image_12042025_03_58_55_10414.jpg
/home/pi/Desktop/images/12042025/03/58/image_12042025_03_59_05_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352122381","1352122284","1352122470","1352122452","1352122422","1352122538"],"photo_ids_order":["1352122284","1352122381","1352122422","1352122452","1352122470","1352122538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/507fddf540ec319aedb09a53fc4f0a76.jpg","text":"TemporaryFile(/tmp/multipartBody111023633060152493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435413164,"filename":"image_12042025_03_58_25_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/123d821710eb03d389eb151605593b16.jpg","text":"TemporaryFile(/tmp/multipartBody2487947062541172013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435413164,"filename":"image_12042025_03_58_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8bade308db78d8834c5153f7c548bf00.jpg","text":"TemporaryFile(/tmp/multipartBody8895473231417877492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435413164,"filename":"image_12042025_03_58_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f73d6b4b93a0e7d489a7c4572d98f66.jpg","text":"TemporaryFile(/tmp/multipartBody1192879572013082415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435413164,"filename":"image_12042025_03_58_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b254d311dd4144cd2a7c5b127c089939.jpg","text":"TemporaryFile(/tmp/multipartBody9045510191988162912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435413164,"filename":"image_12042025_03_58_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2aa99bd2ccba8fed958f22e7b8921e3.jpg","text":"TemporaryFile(/tmp/multipartBody878456024981391474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435413164,"filename":"image_12042025_03_59_05_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352122422","file1":"1352122381","file0":"1352122284","file4":"1352122470","file5":"1352122538","file3":"1352122452"},"map_files_photo_id_array":[{"photo_id":"1352122538","filename":"file5"},{"photo_id":"1352122422","filename":"file2"},{"photo_id":"1352122470","filename":"file4"},{"photo_id":"1352122381","filename":"file1"},{"photo_id":"1352122284","filename":"file0"},{"photo_id":"1352122452","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352122381":["hashtag1","hashtag2"]},{"1352122284":["hashtag1","hashtag2"]},{"1352122470":["hashtag1","hashtag2"]},{"1352122452":["hashtag1","hashtag2"]},{"1352122422":["hashtag1","hashtag2"]},{"1352122538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352122381, 1352122284, 1352122470, 1352122452, 1352122422, 1352122538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00440740585327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:23:32.827833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/03/59/image_12042025_03_59_25_9464.jpg', '/home/pi/Desktop/images/12042025/03/59/image_12042025_03_59_35_10381.jpg', '/home/pi/Desktop/images/12042025/03/59/image_12042025_03_59_45_10379.jpg', '/home/pi/Desktop/images/12042025/03/59/image_12042025_03_59_55_9357.jpg', '/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_14_10072.jpg', '/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_25_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/03/59/image_12042025_03_59_25_9464.jpg
/home/pi/Desktop/images/12042025/03/59/image_12042025_03_59_35_10381.jpg
/home/pi/Desktop/images/12042025/03/59/image_12042025_03_59_45_10379.jpg
/home/pi/Desktop/images/12042025/03/59/image_12042025_03_59_55_9357.jpg
/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_14_10072.jpg
/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_25_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352122858","1352122729","1352122788","1352122989","1352122997","1352122931"],"photo_ids_order":["1352122729","1352122788","1352122858","1352122931","1352122989","1352122997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1fb89f4aedca4e4dd232425989261619.jpg","text":"TemporaryFile(/tmp/multipartBody3615767382951473745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435473300,"filename":"image_12042025_03_59_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cde300f902da869983f38e7caa5e8b4d.jpg","text":"TemporaryFile(/tmp/multipartBody2416905754294013942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435473300,"filename":"image_12042025_03_59_25_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/535b65d34dfbc1e7b4bec253ba4fd829.jpg","text":"TemporaryFile(/tmp/multipartBody5717201645278626416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435473300,"filename":"image_12042025_03_59_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8bb94e7f5a4b450e67d62f9701dfaf4.jpg","text":"TemporaryFile(/tmp/multipartBody6922079053726472451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435473300,"filename":"image_12042025_04_01_14_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8501fb90a9b3a7ad342c1e668b8e97a2.jpg","text":"TemporaryFile(/tmp/multipartBody147842969394957382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435473300,"filename":"image_12042025_04_01_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0265c636a20c003433be76343f01d05.jpg","text":"TemporaryFile(/tmp/multipartBody2669056481538718090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435473300,"filename":"image_12042025_03_59_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352122858","file1":"1352122788","file0":"1352122729","file4":"1352122989","file5":"1352122997","file3":"1352122931"},"map_files_photo_id_array":[{"photo_id":"1352122997","filename":"file5"},{"photo_id":"1352122858","filename":"file2"},{"photo_id":"1352122989","filename":"file4"},{"photo_id":"1352122788","filename":"file1"},{"photo_id":"1352122729","filename":"file0"},{"photo_id":"1352122931","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352122858":["hashtag1","hashtag2"]},{"1352122729":["hashtag1","hashtag2"]},{"1352122788":["hashtag1","hashtag2"]},{"1352122989":["hashtag1","hashtag2"]},{"1352122997":["hashtag1","hashtag2"]},{"1352122931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352122858, 1352122729, 1352122788, 1352122989, 1352122997, 1352122931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.46431493759155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:24:33.063496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_35_10350.jpg', '/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_44_9352.jpg', '/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_55_10370.jpg', '/home/pi/Desktop/images/12042025/04/01/image_12042025_04_02_04_9488.jpg', '/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_15_10382.jpg', '/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_25_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_35_10350.jpg
/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_44_9352.jpg
/home/pi/Desktop/images/12042025/04/01/image_12042025_04_01_55_10370.jpg
/home/pi/Desktop/images/12042025/04/01/image_12042025_04_02_04_9488.jpg
/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_15_10382.jpg
/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_25_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352123065","1352123085","1352123070","1352123049","1352123081","1352123077"],"photo_ids_order":["1352123049","1352123065","1352123070","1352123077","1352123081","1352123085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/426f7e6662b7792afd08e0a2f77eac53.jpg","text":"TemporaryFile(/tmp/multipartBody2240965071865721567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435533535,"filename":"image_12042025_04_01_44_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e446b1b0fcca551e396ac009fd84d7b.jpg","text":"TemporaryFile(/tmp/multipartBody8018867382069323410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435533535,"filename":"image_12042025_04_02_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f946b1811b24579f126cf1bfd7e5245.jpg","text":"TemporaryFile(/tmp/multipartBody5029743589211245789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435533535,"filename":"image_12042025_04_01_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/107f9721566515db457d4df98fd12422.jpg","text":"TemporaryFile(/tmp/multipartBody786008503160772485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435533535,"filename":"image_12042025_04_01_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da860029efd3be3d8277de4cd0094eeb.jpg","text":"TemporaryFile(/tmp/multipartBody1274109584356195361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435533535,"filename":"image_12042025_04_02_15_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/877847d98624127596412d099ba13d44.jpg","text":"TemporaryFile(/tmp/multipartBody229513322532697476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435533535,"filename":"image_12042025_04_02_04_9488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352123070","file1":"1352123065","file0":"1352123049","file4":"1352123081","file5":"1352123085","file3":"1352123077"},"map_files_photo_id_array":[{"photo_id":"1352123085","filename":"file5"},{"photo_id":"1352123070","filename":"file2"},{"photo_id":"1352123081","filename":"file4"},{"photo_id":"1352123065","filename":"file1"},{"photo_id":"1352123049","filename":"file0"},{"photo_id":"1352123077","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352123065":["hashtag1","hashtag2"]},{"1352123085":["hashtag1","hashtag2"]},{"1352123070":["hashtag1","hashtag2"]},{"1352123049":["hashtag1","hashtag2"]},{"1352123081":["hashtag1","hashtag2"]},{"1352123077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352123065, 1352123085, 1352123070, 1352123049, 1352123081, 1352123077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54509687423706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:25:32.150056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_34_9352.jpg', '/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_45_10521.jpg', '/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_54_9402.jpg', '/home/pi/Desktop/images/12042025/04/02/image_12042025_04_03_05_10432.jpg', '/home/pi/Desktop/images/12042025/04/03/image_12042025_04_03_15_10346.jpg', '/home/pi/Desktop/images/12042025/04/03/image_12042025_04_03_24_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_34_9352.jpg
/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_45_10521.jpg
/home/pi/Desktop/images/12042025/04/02/image_12042025_04_02_54_9402.jpg
/home/pi/Desktop/images/12042025/04/02/image_12042025_04_03_05_10432.jpg
/home/pi/Desktop/images/12042025/04/03/image_12042025_04_03_15_10346.jpg
/home/pi/Desktop/images/12042025/04/03/image_12042025_04_03_24_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352123146","1352123119","1352123097","1352123091","1352123172","1352123169"],"photo_ids_order":["1352123091","1352123097","1352123119","1352123146","1352123169","1352123172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dee4184fdc3afb6f65269897e48d02bf.jpg","text":"TemporaryFile(/tmp/multipartBody4965262317571853046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435592625,"filename":"image_12042025_04_03_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a893845a6202653a56102c453d09e52.jpg","text":"TemporaryFile(/tmp/multipartBody7963589853044526012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435592625,"filename":"image_12042025_04_02_54_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a09c2be469f8388ab1987cc15ce0bca.jpg","text":"TemporaryFile(/tmp/multipartBody4584002539309319557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435592625,"filename":"image_12042025_04_02_45_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/381695cc23db5a1b0fc06683d2c1849f.jpg","text":"TemporaryFile(/tmp/multipartBody42969098111707289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435592625,"filename":"image_12042025_04_02_34_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/736424391a06e8d8cff7357e54ee697b.jpg","text":"TemporaryFile(/tmp/multipartBody7067870488899895494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435592625,"filename":"image_12042025_04_03_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/771605b84f3c0dde7fd7407674b997a6.jpg","text":"TemporaryFile(/tmp/multipartBody860990995948756579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435592625,"filename":"image_12042025_04_03_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352123119","file1":"1352123097","file0":"1352123091","file4":"1352123169","file5":"1352123172","file3":"1352123146"},"map_files_photo_id_array":[{"photo_id":"1352123172","filename":"file5"},{"photo_id":"1352123119","filename":"file2"},{"photo_id":"1352123169","filename":"file4"},{"photo_id":"1352123097","filename":"file1"},{"photo_id":"1352123091","filename":"file0"},{"photo_id":"1352123146","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352123146":["hashtag1","hashtag2"]},{"1352123119":["hashtag1","hashtag2"]},{"1352123097":["hashtag1","hashtag2"]},{"1352123091":["hashtag1","hashtag2"]},{"1352123172":["hashtag1","hashtag2"]},{"1352123169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352123146, 1352123119, 1352123097, 1352123091, 1352123172, 1352123169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23221826553345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:26:32.386733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/03/image_12042025_04_03_35_10373.jpg', '/home/pi/Desktop/images/12042025/04/03/image_12042025_04_03_44_9505.jpg', '/home/pi/Desktop/images/12042025/04/03/image_12042025_04_04_05_10370.jpg', '/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_14_9343.jpg', '/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_25_10397.jpg', '/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_34_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/03/image_12042025_04_03_35_10373.jpg
/home/pi/Desktop/images/12042025/04/03/image_12042025_04_03_44_9505.jpg
/home/pi/Desktop/images/12042025/04/03/image_12042025_04_04_05_10370.jpg
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_14_9343.jpg
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_25_10397.jpg
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_34_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352123212","1352123215","1352123214","1352123205","1352123208","1352123210"],"photo_ids_order":["1352123205","1352123208","1352123210","1352123212","1352123214","1352123215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a53eb61ac9d90b87b19dcad926258721.jpg","text":"TemporaryFile(/tmp/multipartBody7732472669946528435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435652855,"filename":"image_12042025_04_04_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e51f06f7c6095a1777b4e68e63219a24.jpg","text":"TemporaryFile(/tmp/multipartBody4556275733904487694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435652855,"filename":"image_12042025_04_04_34_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43bd9e89e9a12401e168b71b8de8ed89.jpg","text":"TemporaryFile(/tmp/multipartBody7270121187721394667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435652855,"filename":"image_12042025_04_04_25_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20de0e5ca42d05b978a8267af1112fed.jpg","text":"TemporaryFile(/tmp/multipartBody8323028566511287374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435652855,"filename":"image_12042025_04_03_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e0d1112861862317cf3635d5d640986.jpg","text":"TemporaryFile(/tmp/multipartBody3680061646680103850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435652855,"filename":"image_12042025_04_03_44_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53c1b3d1e0ba34b49f38f8c16860deb8.jpg","text":"TemporaryFile(/tmp/multipartBody905235901897521048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435652855,"filename":"image_12042025_04_04_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352123210","file1":"1352123208","file0":"1352123205","file4":"1352123214","file5":"1352123215","file3":"1352123212"},"map_files_photo_id_array":[{"photo_id":"1352123215","filename":"file5"},{"photo_id":"1352123210","filename":"file2"},{"photo_id":"1352123214","filename":"file4"},{"photo_id":"1352123208","filename":"file1"},{"photo_id":"1352123205","filename":"file0"},{"photo_id":"1352123212","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352123212":["hashtag1","hashtag2"]},{"1352123215":["hashtag1","hashtag2"]},{"1352123214":["hashtag1","hashtag2"]},{"1352123205":["hashtag1","hashtag2"]},{"1352123208":["hashtag1","hashtag2"]},{"1352123210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352123212, 1352123215, 1352123214, 1352123205, 1352123208, 1352123210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34672808647156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:27:32.587779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_45_10364.jpg', '/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_55_10442.jpg', '/home/pi/Desktop/images/12042025/04/04/image_12042025_04_05_04_9371.jpg', '/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_24_9484.jpg', '/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_35_10365.jpg', '/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_45_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_45_10364.jpg
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_55_10442.jpg
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_05_04_9371.jpg
/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_24_9484.jpg
/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_35_10365.jpg
/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_45_10369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40149736404418945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 07:27:42.723318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_45_10364.jpg', '/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_55_10442.jpg', '/home/pi/Desktop/images/12042025/04/04/image_12042025_04_05_04_9371.jpg', '/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_24_9484.jpg', '/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_35_10365.jpg', '/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_45_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_45_10364.jpg
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_04_55_10442.jpg
/home/pi/Desktop/images/12042025/04/04/image_12042025_04_05_04_9371.jpg
/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_24_9484.jpg
/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_35_10365.jpg
/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_45_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352123301","1352123294","1352123297","1352123306","1352123299","1352123303"],"photo_ids_order":["1352123294","1352123297","1352123299","1352123301","1352123303","1352123306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56d151ffab59d5616851f144bc1bf861.jpg","text":"TemporaryFile(/tmp/multipartBody2265727435345590270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435723199,"filename":"image_12042025_04_05_24_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e17548153cae65762aa042e29ba0a37.jpg","text":"TemporaryFile(/tmp/multipartBody7832716049439893705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435723199,"filename":"image_12042025_04_04_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25fc64a265cb11f1de969945b77750e3.jpg","text":"TemporaryFile(/tmp/multipartBody3930388575767158073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435723199,"filename":"image_12042025_04_04_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56c836ee8db83a160531ef23723b214b.jpg","text":"TemporaryFile(/tmp/multipartBody401825490489770984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435723199,"filename":"image_12042025_04_05_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2145bdb234203d656b6c00593a0e71e6.jpg","text":"TemporaryFile(/tmp/multipartBody7516001015686151534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435723199,"filename":"image_12042025_04_05_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd60b323b0b182d8c0537e5528e53610.jpg","text":"TemporaryFile(/tmp/multipartBody1798538564741008820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435723199,"filename":"image_12042025_04_05_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352123299","file1":"1352123297","file0":"1352123294","file4":"1352123303","file5":"1352123306","file3":"1352123301"},"map_files_photo_id_array":[{"photo_id":"1352123306","filename":"file5"},{"photo_id":"1352123299","filename":"file2"},{"photo_id":"1352123303","filename":"file4"},{"photo_id":"1352123297","filename":"file1"},{"photo_id":"1352123294","filename":"file0"},{"photo_id":"1352123301","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352123301":["hashtag1","hashtag2"]},{"1352123294":["hashtag1","hashtag2"]},{"1352123297":["hashtag1","hashtag2"]},{"1352123306":["hashtag1","hashtag2"]},{"1352123299":["hashtag1","hashtag2"]},{"1352123303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352123301, 1352123294, 1352123297, 1352123306, 1352123299, 1352123303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.291252851486206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:28:32.826262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_54_9387.jpg', '/home/pi/Desktop/images/12042025/04/06/image_12042025_04_06_15_10428.jpg', '/home/pi/Desktop/images/12042025/04/06/image_12042025_04_06_35_10362.jpg', '/home/pi/Desktop/images/12042025/04/06/image_12042025_04_06_44_9363.jpg', '/home/pi/Desktop/images/12042025/04/06/image_12042025_04_07_04_9494.jpg', '/home/pi/Desktop/images/12042025/04/07/image_12042025_04_07_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/05/image_12042025_04_05_54_9387.jpg
/home/pi/Desktop/images/12042025/04/06/image_12042025_04_06_15_10428.jpg
/home/pi/Desktop/images/12042025/04/06/image_12042025_04_06_35_10362.jpg
/home/pi/Desktop/images/12042025/04/06/image_12042025_04_06_44_9363.jpg
/home/pi/Desktop/images/12042025/04/06/image_12042025_04_07_04_9494.jpg
/home/pi/Desktop/images/12042025/04/07/image_12042025_04_07_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352123449","1352123440","1352123451","1352123454","1352123444","1352123447"],"photo_ids_order":["1352123440","1352123444","1352123447","1352123449","1352123451","1352123454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34588d1e082d58343fb57be32177afb7.jpg","text":"TemporaryFile(/tmp/multipartBody4395959345002736478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435773324,"filename":"image_12042025_04_06_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6d34b5f93fbb0dc839a87636129fa7d.jpg","text":"TemporaryFile(/tmp/multipartBody6738207675323838130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435773324,"filename":"image_12042025_04_05_54_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0985f33f8a8613947e33ae754cc03f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1711217664201785904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435773324,"filename":"image_12042025_04_07_04_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/558770ab2b802401257200251e65d7d0.jpg","text":"TemporaryFile(/tmp/multipartBody609045294447395487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435773324,"filename":"image_12042025_04_07_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3c95fda607008ca4e34a53e949f6522.jpg","text":"TemporaryFile(/tmp/multipartBody7952769204847940014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435773324,"filename":"image_12042025_04_06_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28bcd1df983f7433dd1ede54920481ec.jpg","text":"TemporaryFile(/tmp/multipartBody8149729636479908460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435773324,"filename":"image_12042025_04_06_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352123447","file1":"1352123444","file0":"1352123440","file4":"1352123451","file5":"1352123454","file3":"1352123449"},"map_files_photo_id_array":[{"photo_id":"1352123454","filename":"file5"},{"photo_id":"1352123447","filename":"file2"},{"photo_id":"1352123451","filename":"file4"},{"photo_id":"1352123444","filename":"file1"},{"photo_id":"1352123440","filename":"file0"},{"photo_id":"1352123449","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352123449":["hashtag1","hashtag2"]},{"1352123440":["hashtag1","hashtag2"]},{"1352123451":["hashtag1","hashtag2"]},{"1352123454":["hashtag1","hashtag2"]},{"1352123444":["hashtag1","hashtag2"]},{"1352123447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352123449, 1352123440, 1352123451, 1352123454, 1352123444, 1352123447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14547395706177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:29:33.087251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/07/image_12042025_04_07_24_9501.jpg', '/home/pi/Desktop/images/12042025/04/07/image_12042025_04_07_35_10371.jpg', '/home/pi/Desktop/images/12042025/04/07/image_12042025_04_07_54_9354.jpg', '/home/pi/Desktop/images/12042025/04/07/image_12042025_04_08_05_10374.jpg', '/home/pi/Desktop/images/12042025/04/08/image_12042025_04_08_15_10425.jpg', '/home/pi/Desktop/images/12042025/04/08/image_12042025_04_08_25_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/07/image_12042025_04_07_24_9501.jpg
/home/pi/Desktop/images/12042025/04/07/image_12042025_04_07_35_10371.jpg
/home/pi/Desktop/images/12042025/04/07/image_12042025_04_07_54_9354.jpg
/home/pi/Desktop/images/12042025/04/07/image_12042025_04_08_05_10374.jpg
/home/pi/Desktop/images/12042025/04/08/image_12042025_04_08_15_10425.jpg
/home/pi/Desktop/images/12042025/04/08/image_12042025_04_08_25_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352123608","1352123655","1352123625","1352123678","1352123624","1352123584"],"photo_ids_order":["1352123584","1352123608","1352123624","1352123625","1352123655","1352123678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cebca69c5543114ae71a089c1dcb3e7.jpg","text":"TemporaryFile(/tmp/multipartBody7239302177305570071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435833912,"filename":"image_12042025_04_07_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/188c79437c50cff25027674fb2ad32f4.jpg","text":"TemporaryFile(/tmp/multipartBody1381525008842848904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435833912,"filename":"image_12042025_04_08_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c847a4a22bdaf02f334b684a741b845c.jpg","text":"TemporaryFile(/tmp/multipartBody3859731445489981674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435833912,"filename":"image_12042025_04_08_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f145f2ade8a0dbabba7534df19a83198.jpg","text":"TemporaryFile(/tmp/multipartBody743861838791692337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435833912,"filename":"image_12042025_04_08_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab2e60de11a6808710235fd780988a38.jpg","text":"TemporaryFile(/tmp/multipartBody554433664978102711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435833912,"filename":"image_12042025_04_07_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1978fce106e6b40968680c01e5a2b03a.jpg","text":"TemporaryFile(/tmp/multipartBody6795387362139876474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435833912,"filename":"image_12042025_04_07_24_9501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352123624","file1":"1352123608","file0":"1352123584","file4":"1352123655","file5":"1352123678","file3":"1352123625"},"map_files_photo_id_array":[{"photo_id":"1352123678","filename":"file5"},{"photo_id":"1352123624","filename":"file2"},{"photo_id":"1352123655","filename":"file4"},{"photo_id":"1352123608","filename":"file1"},{"photo_id":"1352123584","filename":"file0"},{"photo_id":"1352123625","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352123608":["hashtag1","hashtag2"]},{"1352123655":["hashtag1","hashtag2"]},{"1352123625":["hashtag1","hashtag2"]},{"1352123678":["hashtag1","hashtag2"]},{"1352123624":["hashtag1","hashtag2"]},{"1352123584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352123608, 1352123655, 1352123625, 1352123678, 1352123624, 1352123584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11699891090393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:30:32.769416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/08/image_12042025_04_08_35_10368.jpg', '/home/pi/Desktop/images/12042025/04/08/image_12042025_04_08_44_9450.jpg', '/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_15_10363.jpg', '/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_25_10369.jpg', '/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_34_9367.jpg', '/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_45_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/08/image_12042025_04_08_35_10368.jpg
/home/pi/Desktop/images/12042025/04/08/image_12042025_04_08_44_9450.jpg
/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_15_10363.jpg
/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_25_10369.jpg
/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_34_9367.jpg
/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_45_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352123740","1352123871","1352123769","1352123736","1352123739","1352123942"],"photo_ids_order":["1352123736","1352123739","1352123740","1352123769","1352123871","1352123942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98b86b134ce66bc6b3fd3bd7da23dfb0.jpg","text":"TemporaryFile(/tmp/multipartBody7355148823111359587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435893330,"filename":"image_12042025_04_09_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a26b7eba771c28a56f770beb46c20b7.jpg","text":"TemporaryFile(/tmp/multipartBody7176599450214404404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435893330,"filename":"image_12042025_04_09_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb6f8c922fcac66ea7cf5ed0e3f7eb65.jpg","text":"TemporaryFile(/tmp/multipartBody7407447159617151363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435893330,"filename":"image_12042025_04_09_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4e0b6b8ee34862cca80aa5cf18d3ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7909016147592588365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435893330,"filename":"image_12042025_04_08_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68fa6d4262b6d7f2e75c3f03d9bfabe8.jpg","text":"TemporaryFile(/tmp/multipartBody7014248668245591250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435893330,"filename":"image_12042025_04_08_44_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16c9bb8cd16f5a1b2170222dc8020c4a.jpg","text":"TemporaryFile(/tmp/multipartBody1131589738412273206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435893330,"filename":"image_12042025_04_09_45_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352123740","file1":"1352123739","file0":"1352123736","file4":"1352123871","file5":"1352123942","file3":"1352123769"},"map_files_photo_id_array":[{"photo_id":"1352123942","filename":"file5"},{"photo_id":"1352123740","filename":"file2"},{"photo_id":"1352123871","filename":"file4"},{"photo_id":"1352123739","filename":"file1"},{"photo_id":"1352123736","filename":"file0"},{"photo_id":"1352123769","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352123740":["hashtag1","hashtag2"]},{"1352123871":["hashtag1","hashtag2"]},{"1352123769":["hashtag1","hashtag2"]},{"1352123736":["hashtag1","hashtag2"]},{"1352123739":["hashtag1","hashtag2"]},{"1352123942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352123740, 1352123871, 1352123769, 1352123736, 1352123739, 1352123942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72632598876953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:31:32.978473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_55_10371.jpg', '/home/pi/Desktop/images/12042025/04/09/image_12042025_04_10_05_9397.jpg', '/home/pi/Desktop/images/12042025/04/10/image_12042025_04_10_15_10429.jpg', '/home/pi/Desktop/images/12042025/04/10/image_12042025_04_10_35_10378.jpg', '/home/pi/Desktop/images/12042025/04/10/image_12042025_04_10_44_9478.jpg', '/home/pi/Desktop/images/12042025/04/10/image_12042025_04_10_55_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/09/image_12042025_04_09_55_10371.jpg
/home/pi/Desktop/images/12042025/04/09/image_12042025_04_10_05_9397.jpg
/home/pi/Desktop/images/12042025/04/10/image_12042025_04_10_15_10429.jpg
/home/pi/Desktop/images/12042025/04/10/image_12042025_04_10_35_10378.jpg
/home/pi/Desktop/images/12042025/04/10/image_12042025_04_10_44_9478.jpg
/home/pi/Desktop/images/12042025/04/10/image_12042025_04_10_55_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352124362","1352124359","1352124370","1352124364","1352124367","1352124355"],"photo_ids_order":["1352124355","1352124359","1352124362","1352124364","1352124367","1352124370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42a372049911d60f115f2959e6e73f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2013663690068952092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435953517,"filename":"image_12042025_04_10_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86ce7cc199d6d16105d475016d5dfac0.jpg","text":"TemporaryFile(/tmp/multipartBody3244131208406995615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435953517,"filename":"image_12042025_04_10_05_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43ea7947856d1451543c4e29189258b3.jpg","text":"TemporaryFile(/tmp/multipartBody3139215144981623162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435953517,"filename":"image_12042025_04_10_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9efc8bdeedba6433697f73d52a654d9c.jpg","text":"TemporaryFile(/tmp/multipartBody159587313961586912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435953517,"filename":"image_12042025_04_10_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3f1321ac592fe922eb5fbbdbe175eea.jpg","text":"TemporaryFile(/tmp/multipartBody6303207913122690964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435953517,"filename":"image_12042025_04_10_44_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f7a416e4a258128ee1cda27dab415d1.jpg","text":"TemporaryFile(/tmp/multipartBody3740206471816579290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744435953517,"filename":"image_12042025_04_09_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352124362","file1":"1352124359","file0":"1352124355","file4":"1352124367","file5":"1352124370","file3":"1352124364"},"map_files_photo_id_array":[{"photo_id":"1352124370","filename":"file5"},{"photo_id":"1352124362","filename":"file2"},{"photo_id":"1352124367","filename":"file4"},{"photo_id":"1352124359","filename":"file1"},{"photo_id":"1352124355","filename":"file0"},{"photo_id":"1352124364","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352124362":["hashtag1","hashtag2"]},{"1352124359":["hashtag1","hashtag2"]},{"1352124370":["hashtag1","hashtag2"]},{"1352124364":["hashtag1","hashtag2"]},{"1352124367":["hashtag1","hashtag2"]},{"1352124355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352124362, 1352124359, 1352124370, 1352124364, 1352124367, 1352124355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.421876430511475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:32:32.260288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/10/image_12042025_04_11_05_10357.jpg', '/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_14_9424.jpg', '/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_25_10453.jpg', '/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_34_9394.jpg', '/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_45_10362.jpg', '/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/10/image_12042025_04_11_05_10357.jpg
/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_14_9424.jpg
/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_25_10453.jpg
/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_34_9394.jpg
/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_45_10362.jpg
/home/pi/Desktop/images/12042025/04/11/image_12042025_04_11_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352124601","1352124502","1352124495","1352124564","1352124593","1352124472"],"photo_ids_order":["1352124472","1352124495","1352124502","1352124564","1352124593","1352124601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82b067c06c1f3c3999ac1fe85ace954d.jpg","text":"TemporaryFile(/tmp/multipartBody1892639478603206942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436012812,"filename":"image_12042025_04_11_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f0cceebbd9912d8f79dc2baacf76e19.jpg","text":"TemporaryFile(/tmp/multipartBody7241657140707445229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436012812,"filename":"image_12042025_04_11_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a58cb26ffc497cb040bd31f986bb0a99.jpg","text":"TemporaryFile(/tmp/multipartBody1735841507076052556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436012812,"filename":"image_12042025_04_11_14_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26ac3238b1bf63cd501cae41bd14d162.jpg","text":"TemporaryFile(/tmp/multipartBody6227817414625566629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436012812,"filename":"image_12042025_04_11_34_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da73fb14b9318c5014a74ca5b1dcfe4b.jpg","text":"TemporaryFile(/tmp/multipartBody1501483479179985155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436012812,"filename":"image_12042025_04_11_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0db21f73168a5ac59bc3b28957325e6e.jpg","text":"TemporaryFile(/tmp/multipartBody2858178491078182336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436012812,"filename":"image_12042025_04_11_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352124502","file1":"1352124495","file0":"1352124472","file4":"1352124593","file5":"1352124601","file3":"1352124564"},"map_files_photo_id_array":[{"photo_id":"1352124601","filename":"file5"},{"photo_id":"1352124502","filename":"file2"},{"photo_id":"1352124593","filename":"file4"},{"photo_id":"1352124495","filename":"file1"},{"photo_id":"1352124472","filename":"file0"},{"photo_id":"1352124564","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352124601":["hashtag1","hashtag2"]},{"1352124502":["hashtag1","hashtag2"]},{"1352124495":["hashtag1","hashtag2"]},{"1352124564":["hashtag1","hashtag2"]},{"1352124593":["hashtag1","hashtag2"]},{"1352124472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352124601, 1352124502, 1352124495, 1352124564, 1352124593, 1352124472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.79033136367798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:33:32.388290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/11/image_12042025_04_12_04_9345.jpg', '/home/pi/Desktop/images/12042025/04/12/image_12042025_04_12_15_10388.jpg', '/home/pi/Desktop/images/12042025/04/12/image_12042025_04_12_25_10395.jpg', '/home/pi/Desktop/images/12042025/04/12/image_12042025_04_12_35_9369.jpg', '/home/pi/Desktop/images/12042025/04/12/image_12042025_04_12_45_10380.jpg', '/home/pi/Desktop/images/12042025/04/12/image_12042025_04_13_05_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/11/image_12042025_04_12_04_9345.jpg
/home/pi/Desktop/images/12042025/04/12/image_12042025_04_12_15_10388.jpg
/home/pi/Desktop/images/12042025/04/12/image_12042025_04_12_25_10395.jpg
/home/pi/Desktop/images/12042025/04/12/image_12042025_04_12_35_9369.jpg
/home/pi/Desktop/images/12042025/04/12/image_12042025_04_12_45_10380.jpg
/home/pi/Desktop/images/12042025/04/12/image_12042025_04_13_05_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352124776","1352124800","1352124865","1352124757","1352124730","1352124733"],"photo_ids_order":["1352124730","1352124733","1352124757","1352124776","1352124800","1352124865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37e961a2d22811e972ae77bb3428675d.jpg","text":"TemporaryFile(/tmp/multipartBody6903471387433479709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436072942,"filename":"image_12042025_04_12_35_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f61e995dbd9f7f0d5e6f1bfcff239a69.jpg","text":"TemporaryFile(/tmp/multipartBody8638757046676044726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436072942,"filename":"image_12042025_04_12_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db2a7d9d4438f4d8222d23016f74104e.jpg","text":"TemporaryFile(/tmp/multipartBody1974405057945788254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436072942,"filename":"image_12042025_04_13_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50b74ea2a1c3198d9d3860249178c87e.jpg","text":"TemporaryFile(/tmp/multipartBody5170945766505159517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436072942,"filename":"image_12042025_04_12_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76216524552ccd9c6c6d4c6488062191.jpg","text":"TemporaryFile(/tmp/multipartBody5414906395172831141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436072942,"filename":"image_12042025_04_12_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15cf59dc507258f7fb0d9609bb09064c.jpg","text":"TemporaryFile(/tmp/multipartBody6207026945191159076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436072942,"filename":"image_12042025_04_12_15_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352124757","file1":"1352124733","file0":"1352124730","file4":"1352124800","file5":"1352124865","file3":"1352124776"},"map_files_photo_id_array":[{"photo_id":"1352124865","filename":"file5"},{"photo_id":"1352124757","filename":"file2"},{"photo_id":"1352124800","filename":"file4"},{"photo_id":"1352124733","filename":"file1"},{"photo_id":"1352124730","filename":"file0"},{"photo_id":"1352124776","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352124776":["hashtag1","hashtag2"]},{"1352124800":["hashtag1","hashtag2"]},{"1352124865":["hashtag1","hashtag2"]},{"1352124757":["hashtag1","hashtag2"]},{"1352124730":["hashtag1","hashtag2"]},{"1352124733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352124776, 1352124800, 1352124865, 1352124757, 1352124730, 1352124733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.914467334747314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:34:32.521049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/13/image_12042025_04_13_15_10375.jpg', '/home/pi/Desktop/images/12042025/04/13/image_12042025_04_13_24_9406.jpg', '/home/pi/Desktop/images/12042025/04/13/image_12042025_04_13_45_10375.jpg', '/home/pi/Desktop/images/12042025/04/13/image_12042025_04_13_54_9371.jpg', '/home/pi/Desktop/images/12042025/04/13/image_12042025_04_14_05_10440.jpg', '/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_15_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/13/image_12042025_04_13_15_10375.jpg
/home/pi/Desktop/images/12042025/04/13/image_12042025_04_13_24_9406.jpg
/home/pi/Desktop/images/12042025/04/13/image_12042025_04_13_45_10375.jpg
/home/pi/Desktop/images/12042025/04/13/image_12042025_04_13_54_9371.jpg
/home/pi/Desktop/images/12042025/04/13/image_12042025_04_14_05_10440.jpg
/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_15_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352125113","1352125040","1352125043","1352125046","1352125075","1352125201"],"photo_ids_order":["1352125040","1352125043","1352125046","1352125075","1352125113","1352125201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe2a46ae9abe564015670efd1d1ec755.jpg","text":"TemporaryFile(/tmp/multipartBody6028418227922160216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436133099,"filename":"image_12042025_04_14_05_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8852d9a0abe807f5165aaa60649eb5bb.jpg","text":"TemporaryFile(/tmp/multipartBody7831279302882024311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436133099,"filename":"image_12042025_04_13_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/184f56ea19e28d532c5ea1e7795f543a.jpg","text":"TemporaryFile(/tmp/multipartBody5950599191074876018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436133099,"filename":"image_12042025_04_13_24_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ff4ae923a256bfb97583563dd09682e.jpg","text":"TemporaryFile(/tmp/multipartBody1938209685051080721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436133099,"filename":"image_12042025_04_13_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/622aa9a3aefe2181952c41f75cc0669c.jpg","text":"TemporaryFile(/tmp/multipartBody3232330125347449521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436133099,"filename":"image_12042025_04_13_54_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8a33d6918d7450d894758678a10d2d3.jpg","text":"TemporaryFile(/tmp/multipartBody639752928736872043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436133099,"filename":"image_12042025_04_14_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352125046","file1":"1352125043","file0":"1352125040","file4":"1352125113","file5":"1352125201","file3":"1352125075"},"map_files_photo_id_array":[{"photo_id":"1352125201","filename":"file5"},{"photo_id":"1352125046","filename":"file2"},{"photo_id":"1352125113","filename":"file4"},{"photo_id":"1352125043","filename":"file1"},{"photo_id":"1352125040","filename":"file0"},{"photo_id":"1352125075","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352125113":["hashtag1","hashtag2"]},{"1352125040":["hashtag1","hashtag2"]},{"1352125043":["hashtag1","hashtag2"]},{"1352125046":["hashtag1","hashtag2"]},{"1352125075":["hashtag1","hashtag2"]},{"1352125201":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352125113, 1352125040, 1352125043, 1352125046, 1352125075, 1352125201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3722779750824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:35:32.719449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_25_9439.jpg', '/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_35_10435.jpg', '/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_44_9448.jpg', '/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_55_10367.jpg', '/home/pi/Desktop/images/12042025/04/14/image_12042025_04_15_05_10354.jpg', '/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_14_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_25_9439.jpg
/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_35_10435.jpg
/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_44_9448.jpg
/home/pi/Desktop/images/12042025/04/14/image_12042025_04_14_55_10367.jpg
/home/pi/Desktop/images/12042025/04/14/image_12042025_04_15_05_10354.jpg
/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_14_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352125560","1352125783","1352125591","1352125585","1352125588","1352125695"],"photo_ids_order":["1352125560","1352125585","1352125588","1352125591","1352125695","1352125783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f155b33c6f12092b7d59dc18958afc7.jpg","text":"TemporaryFile(/tmp/multipartBody4191191786312041182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436193554,"filename":"image_12042025_04_14_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/312bf2a6d1ca28e098719a48a323ceec.jpg","text":"TemporaryFile(/tmp/multipartBody8700501486878020932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436193554,"filename":"image_12042025_04_15_14_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b19631dc51b6aee42918af2453e2a031.jpg","text":"TemporaryFile(/tmp/multipartBody578379520109450018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436193554,"filename":"image_12042025_04_14_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bab603f2b853684c382cd8afa8a99908.jpg","text":"TemporaryFile(/tmp/multipartBody3716995608387127858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436193554,"filename":"image_12042025_04_14_35_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35269803f7f68129cc832a0694f87129.jpg","text":"TemporaryFile(/tmp/multipartBody3158507400161022764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436193554,"filename":"image_12042025_04_14_44_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b18965d349ee066e0010cb590b4adff.jpg","text":"TemporaryFile(/tmp/multipartBody1411746076689616157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436193554,"filename":"image_12042025_04_15_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352125588","file1":"1352125585","file0":"1352125560","file4":"1352125695","file5":"1352125783","file3":"1352125591"},"map_files_photo_id_array":[{"photo_id":"1352125783","filename":"file5"},{"photo_id":"1352125588","filename":"file2"},{"photo_id":"1352125695","filename":"file4"},{"photo_id":"1352125585","filename":"file1"},{"photo_id":"1352125560","filename":"file0"},{"photo_id":"1352125591","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352125560":["hashtag1","hashtag2"]},{"1352125783":["hashtag1","hashtag2"]},{"1352125591":["hashtag1","hashtag2"]},{"1352125585":["hashtag1","hashtag2"]},{"1352125588":["hashtag1","hashtag2"]},{"1352125695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352125560, 1352125783, 1352125591, 1352125585, 1352125588, 1352125695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.585954666137695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:36:32.246204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_25_10442.jpg', '/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_34_9421.jpg', '/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_45_10369.jpg', '/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_55_10353.jpg', '/home/pi/Desktop/images/12042025/04/15/image_12042025_04_16_04_9415.jpg', '/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_25_10442.jpg
/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_34_9421.jpg
/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_45_10369.jpg
/home/pi/Desktop/images/12042025/04/15/image_12042025_04_15_55_10353.jpg
/home/pi/Desktop/images/12042025/04/15/image_12042025_04_16_04_9415.jpg
/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352125932","1352125877","1352125991","1352126015","1352125841","1352125963"],"photo_ids_order":["1352125841","1352125877","1352125932","1352125963","1352125991","1352126015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d3fa8cddae66ac4baf67f2ea2064b31.jpg","text":"TemporaryFile(/tmp/multipartBody7491879479993429769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436252800,"filename":"image_12042025_04_15_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/340dca70e0850743c51edda079e9a3e1.jpg","text":"TemporaryFile(/tmp/multipartBody2541800186988017030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436252800,"filename":"image_12042025_04_15_34_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b783524f3e6eca8c49ac8103be5343a3.jpg","text":"TemporaryFile(/tmp/multipartBody8418260708484404649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436252800,"filename":"image_12042025_04_16_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/881399fd2d70a7d48afb1ac862d136d7.jpg","text":"TemporaryFile(/tmp/multipartBody7783553868683983156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436252800,"filename":"image_12042025_04_16_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54a23c7b1c2f7231b9d56ee4882d0739.jpg","text":"TemporaryFile(/tmp/multipartBody8365741314169969008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436252800,"filename":"image_12042025_04_15_25_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a38bfd94f887957019a18cddaf8092e.jpg","text":"TemporaryFile(/tmp/multipartBody3383577252965480315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436252800,"filename":"image_12042025_04_15_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352125932","file1":"1352125877","file0":"1352125841","file4":"1352125991","file5":"1352126015","file3":"1352125963"},"map_files_photo_id_array":[{"photo_id":"1352126015","filename":"file5"},{"photo_id":"1352125932","filename":"file2"},{"photo_id":"1352125991","filename":"file4"},{"photo_id":"1352125877","filename":"file1"},{"photo_id":"1352125841","filename":"file0"},{"photo_id":"1352125963","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352125932":["hashtag1","hashtag2"]},{"1352125877":["hashtag1","hashtag2"]},{"1352125991":["hashtag1","hashtag2"]},{"1352126015":["hashtag1","hashtag2"]},{"1352125841":["hashtag1","hashtag2"]},{"1352125963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352125932, 1352125877, 1352125991, 1352126015, 1352125841, 1352125963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48829174041748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:37:32.543664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_24_9504.jpg', '/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_35_10354.jpg', '/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_45_10380.jpg', '/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_54_9358.jpg', '/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_15_10401.jpg', '/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_25_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_24_9504.jpg
/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_35_10354.jpg
/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_45_10380.jpg
/home/pi/Desktop/images/12042025/04/16/image_12042025_04_16_54_9358.jpg
/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_15_10401.jpg
/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_25_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352126112","1352126106","1352126092","1352126091","1352126136","1352126121"],"photo_ids_order":["1352126091","1352126092","1352126106","1352126112","1352126121","1352126136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93e516ff79ada8ddef128e750adb986f.jpg","text":"TemporaryFile(/tmp/multipartBody972547174762221137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436313101,"filename":"image_12042025_04_16_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4035c77bc4b8cb2a06d6f5b41c553637.jpg","text":"TemporaryFile(/tmp/multipartBody1248178365659136591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436313101,"filename":"image_12042025_04_16_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/016f6dbf4ae2ffdca66af76e88fd90e8.jpg","text":"TemporaryFile(/tmp/multipartBody6377417331745588291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436313101,"filename":"image_12042025_04_16_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d073b55150d516cfc984190d506655f.jpg","text":"TemporaryFile(/tmp/multipartBody9157776089898417647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436313101,"filename":"image_12042025_04_16_24_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6dc4c035bf8bc0fbe5224606a05e853d.jpg","text":"TemporaryFile(/tmp/multipartBody5598018652387484530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436313101,"filename":"image_12042025_04_17_25_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8a25184cf722e1cab4b165a052dcd60.jpg","text":"TemporaryFile(/tmp/multipartBody1484067553358032212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436313101,"filename":"image_12042025_04_17_15_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352126106","file1":"1352126092","file0":"1352126091","file4":"1352126121","file5":"1352126136","file3":"1352126112"},"map_files_photo_id_array":[{"photo_id":"1352126136","filename":"file5"},{"photo_id":"1352126106","filename":"file2"},{"photo_id":"1352126121","filename":"file4"},{"photo_id":"1352126092","filename":"file1"},{"photo_id":"1352126091","filename":"file0"},{"photo_id":"1352126112","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352126112":["hashtag1","hashtag2"]},{"1352126106":["hashtag1","hashtag2"]},{"1352126092":["hashtag1","hashtag2"]},{"1352126091":["hashtag1","hashtag2"]},{"1352126136":["hashtag1","hashtag2"]},{"1352126121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352126112, 1352126106, 1352126092, 1352126091, 1352126136, 1352126121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.148446798324585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:38:32.633155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_35_10400.jpg', '/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_44_9459.jpg', '/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_55_10363.jpg', '/home/pi/Desktop/images/12042025/04/17/image_12042025_04_18_04_9480.jpg', '/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_15_10364.jpg', '/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_25_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_35_10400.jpg
/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_44_9459.jpg
/home/pi/Desktop/images/12042025/04/17/image_12042025_04_17_55_10363.jpg
/home/pi/Desktop/images/12042025/04/17/image_12042025_04_18_04_9480.jpg
/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_15_10364.jpg
/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_25_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352126293","1352126311","1352126308","1352126340","1352126322","1352126316"],"photo_ids_order":["1352126293","1352126308","1352126311","1352126316","1352126322","1352126340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d6b6004013e6394c4b63463e884e4ec.jpg","text":"TemporaryFile(/tmp/multipartBody3978259143271338757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436373210,"filename":"image_12042025_04_17_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59897dc547c9e89d7f98e19cb061c364.jpg","text":"TemporaryFile(/tmp/multipartBody4726580065104518153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436373210,"filename":"image_12042025_04_17_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d598a791cefd6401e99b91c07600bd11.jpg","text":"TemporaryFile(/tmp/multipartBody2655830503133964236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436373210,"filename":"image_12042025_04_17_44_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f65edf59a482fe61429c905935823d0.jpg","text":"TemporaryFile(/tmp/multipartBody1078706890227811922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436373210,"filename":"image_12042025_04_18_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f84794c03c29f761e0bb3352cf1afb68.jpg","text":"TemporaryFile(/tmp/multipartBody1774817445634223331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436373210,"filename":"image_12042025_04_18_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17542683ba9d192e56b7815665d7b150.jpg","text":"TemporaryFile(/tmp/multipartBody5823904482932545834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436373210,"filename":"image_12042025_04_18_04_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352126311","file1":"1352126308","file0":"1352126293","file4":"1352126322","file5":"1352126340","file3":"1352126316"},"map_files_photo_id_array":[{"photo_id":"1352126340","filename":"file5"},{"photo_id":"1352126311","filename":"file2"},{"photo_id":"1352126322","filename":"file4"},{"photo_id":"1352126308","filename":"file1"},{"photo_id":"1352126293","filename":"file0"},{"photo_id":"1352126316","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352126293":["hashtag1","hashtag2"]},{"1352126311":["hashtag1","hashtag2"]},{"1352126308":["hashtag1","hashtag2"]},{"1352126340":["hashtag1","hashtag2"]},{"1352126322":["hashtag1","hashtag2"]},{"1352126316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352126293, 1352126311, 1352126308, 1352126340, 1352126322, 1352126316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72701954841614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:39:33.029055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_34_9393.jpg', '/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_45_10371.jpg', '/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_55_10414.jpg', '/home/pi/Desktop/images/12042025/04/18/image_12042025_04_19_05_9355.jpg', '/home/pi/Desktop/images/12042025/04/19/image_12042025_04_19_24_9447.jpg', '/home/pi/Desktop/images/12042025/04/19/image_12042025_04_19_35_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_34_9393.jpg
/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_45_10371.jpg
/home/pi/Desktop/images/12042025/04/18/image_12042025_04_18_55_10414.jpg
/home/pi/Desktop/images/12042025/04/18/image_12042025_04_19_05_9355.jpg
/home/pi/Desktop/images/12042025/04/19/image_12042025_04_19_24_9447.jpg
/home/pi/Desktop/images/12042025/04/19/image_12042025_04_19_35_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352126534","1352126530","1352126527","1352126629","1352126580","1352126604"],"photo_ids_order":["1352126527","1352126530","1352126534","1352126580","1352126604","1352126629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5049e9a9294cf471b4a55af4d6817fc.jpg","text":"TemporaryFile(/tmp/multipartBody8721608906435648926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436433604,"filename":"image_12042025_04_18_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46ec6d2ca377fb5072dc21d8e3219462.jpg","text":"TemporaryFile(/tmp/multipartBody9037730229464114769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436433604,"filename":"image_12042025_04_18_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a28391c116d28441171efd9764a40fc.jpg","text":"TemporaryFile(/tmp/multipartBody260929556281151054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436433604,"filename":"image_12042025_04_18_34_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9dc26c421cc690be26e12a933a335400.jpg","text":"TemporaryFile(/tmp/multipartBody4950680190067241349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436433604,"filename":"image_12042025_04_19_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8644c6d9a723b4a1252fabad4e12d284.jpg","text":"TemporaryFile(/tmp/multipartBody4969167895377352642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436433604,"filename":"image_12042025_04_19_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ec1b7c3bc98813c8ef0742ce307eb32.jpg","text":"TemporaryFile(/tmp/multipartBody4143677016637609774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436433604,"filename":"image_12042025_04_19_24_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352126534","file1":"1352126530","file0":"1352126527","file4":"1352126604","file5":"1352126629","file3":"1352126580"},"map_files_photo_id_array":[{"photo_id":"1352126629","filename":"file5"},{"photo_id":"1352126534","filename":"file2"},{"photo_id":"1352126604","filename":"file4"},{"photo_id":"1352126530","filename":"file1"},{"photo_id":"1352126527","filename":"file0"},{"photo_id":"1352126580","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352126534":["hashtag1","hashtag2"]},{"1352126530":["hashtag1","hashtag2"]},{"1352126527":["hashtag1","hashtag2"]},{"1352126629":["hashtag1","hashtag2"]},{"1352126580":["hashtag1","hashtag2"]},{"1352126604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352126534, 1352126530, 1352126527, 1352126629, 1352126580, 1352126604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49260401725769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:40:32.137062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/19/image_12042025_04_19_45_10386.jpg', '/home/pi/Desktop/images/12042025/04/19/image_12042025_04_19_55_9374.jpg', '/home/pi/Desktop/images/12042025/04/19/image_12042025_04_20_05_10365.jpg', '/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_14_9399.jpg', '/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_25_10379.jpg', '/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_35_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/19/image_12042025_04_19_45_10386.jpg
/home/pi/Desktop/images/12042025/04/19/image_12042025_04_19_55_9374.jpg
/home/pi/Desktop/images/12042025/04/19/image_12042025_04_20_05_10365.jpg
/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_14_9399.jpg
/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_25_10379.jpg
/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_35_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352126840","1352126836","1352126785","1352126746","1352126716","1352126793"],"photo_ids_order":["1352126716","1352126746","1352126785","1352126793","1352126836","1352126840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed5e45361ddabd5339ad811471b2e380.jpg","text":"TemporaryFile(/tmp/multipartBody6092065072216029482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436492771,"filename":"image_12042025_04_20_35_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f04e11fa8fa3333121e43410f22b6a4.jpg","text":"TemporaryFile(/tmp/multipartBody486352254356549208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436492771,"filename":"image_12042025_04_20_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3671cce302ede1f91b0eb01a7bf2773.jpg","text":"TemporaryFile(/tmp/multipartBody4351618318275422177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436492771,"filename":"image_12042025_04_20_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/437cbc1bf842d72c489fd26881c51a36.jpg","text":"TemporaryFile(/tmp/multipartBody4456472859331991953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436492771,"filename":"image_12042025_04_19_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4033a803dbd135c660f05390e5a4cb0.jpg","text":"TemporaryFile(/tmp/multipartBody9045365206371267322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436492771,"filename":"image_12042025_04_19_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48baeff8bf2ffda0addda9259745620c.jpg","text":"TemporaryFile(/tmp/multipartBody6989624334510694588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436492771,"filename":"image_12042025_04_20_14_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352126785","file1":"1352126746","file0":"1352126716","file4":"1352126836","file5":"1352126840","file3":"1352126793"},"map_files_photo_id_array":[{"photo_id":"1352126840","filename":"file5"},{"photo_id":"1352126785","filename":"file2"},{"photo_id":"1352126836","filename":"file4"},{"photo_id":"1352126746","filename":"file1"},{"photo_id":"1352126716","filename":"file0"},{"photo_id":"1352126793","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352126840":["hashtag1","hashtag2"]},{"1352126836":["hashtag1","hashtag2"]},{"1352126785":["hashtag1","hashtag2"]},{"1352126746":["hashtag1","hashtag2"]},{"1352126716":["hashtag1","hashtag2"]},{"1352126793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352126840, 1352126836, 1352126785, 1352126746, 1352126716, 1352126793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.26616382598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:41:32.305171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_45_9434.jpg', '/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_55_10388.jpg', '/home/pi/Desktop/images/12042025/04/20/image_12042025_04_21_04_9458.jpg', '/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_15_10367.jpg', '/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_25_10387.jpg', '/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_35_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_45_9434.jpg
/home/pi/Desktop/images/12042025/04/20/image_12042025_04_20_55_10388.jpg
/home/pi/Desktop/images/12042025/04/20/image_12042025_04_21_04_9458.jpg
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_15_10367.jpg
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_25_10387.jpg
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_35_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352126969","1352126972","1352127055","1352126988","1352126952","1352127018"],"photo_ids_order":["1352126952","1352126969","1352126972","1352126988","1352127018","1352127055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f65b4da09e0f60bcf00257ebdc7a1d53.jpg","text":"TemporaryFile(/tmp/multipartBody7329082397896283638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436552893,"filename":"image_12042025_04_20_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46e0c6887289dc4995633b5f93ec2ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5983281678012804134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436552893,"filename":"image_12042025_04_21_04_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/525683186f875e4525e2049965be8b22.jpg","text":"TemporaryFile(/tmp/multipartBody5136999657809141053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436552893,"filename":"image_12042025_04_21_35_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/575fa971c19fef59cc364f87b1a74003.jpg","text":"TemporaryFile(/tmp/multipartBody5316140380027783451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436552893,"filename":"image_12042025_04_21_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9d71a7f88499394927754b15ebd578d.jpg","text":"TemporaryFile(/tmp/multipartBody3075840486678621622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436552893,"filename":"image_12042025_04_20_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56b0d54118f4edfe48807a807c71dc4d.jpg","text":"TemporaryFile(/tmp/multipartBody3894456731564958656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436552893,"filename":"image_12042025_04_21_25_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352126972","file1":"1352126969","file0":"1352126952","file4":"1352127018","file5":"1352127055","file3":"1352126988"},"map_files_photo_id_array":[{"photo_id":"1352127055","filename":"file5"},{"photo_id":"1352126972","filename":"file2"},{"photo_id":"1352127018","filename":"file4"},{"photo_id":"1352126969","filename":"file1"},{"photo_id":"1352126952","filename":"file0"},{"photo_id":"1352126988","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352126969":["hashtag1","hashtag2"]},{"1352126972":["hashtag1","hashtag2"]},{"1352127055":["hashtag1","hashtag2"]},{"1352126988":["hashtag1","hashtag2"]},{"1352126952":["hashtag1","hashtag2"]},{"1352127018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352126969, 1352126972, 1352127055, 1352126988, 1352126952, 1352127018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.254302978515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 07:42:42.703665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_45_10359.jpg', '/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_54_9372.jpg', '/home/pi/Desktop/images/12042025/04/21/image_12042025_04_22_05_10366.jpg', '/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_15_10338.jpg', '/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_35_10368.jpg', '/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_45_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_45_10359.jpg
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_54_9372.jpg
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_22_05_10366.jpg
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_15_10338.jpg
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_35_10368.jpg
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_45_10483.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47719717025756836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:42:52.659339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_45_10359.jpg', '/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_54_9372.jpg', '/home/pi/Desktop/images/12042025/04/21/image_12042025_04_22_05_10366.jpg', '/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_15_10338.jpg', '/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_35_10368.jpg', '/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_45_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_45_10359.jpg
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_21_54_9372.jpg
/home/pi/Desktop/images/12042025/04/21/image_12042025_04_22_05_10366.jpg
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_15_10338.jpg
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_35_10368.jpg
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_45_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352127125","1352127128","1352127138","1352127132","1352127114","1352127155"],"photo_ids_order":["1352127114","1352127125","1352127128","1352127132","1352127138","1352127155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c78d603ba9624eb6889e3690780212b1.jpg","text":"TemporaryFile(/tmp/multipartBody1204239222802242793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436633151,"filename":"image_12042025_04_21_54_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d6388d5b03d153051b277583764eeba.jpg","text":"TemporaryFile(/tmp/multipartBody7098430611073495812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436633151,"filename":"image_12042025_04_22_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2cb833fbf431f5430e5b757753a368cb.jpg","text":"TemporaryFile(/tmp/multipartBody184401259230555525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436633151,"filename":"image_12042025_04_22_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15ecc95cb016e4ba468d0d2d9af9170c.jpg","text":"TemporaryFile(/tmp/multipartBody6037508350156657307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436633151,"filename":"image_12042025_04_22_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d7c62b06587eb461720995a4aa71c94.jpg","text":"TemporaryFile(/tmp/multipartBody6148862055872387003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436633151,"filename":"image_12042025_04_21_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd63cb44f56c4dbe6fd4ec2e51efa1a0.jpg","text":"TemporaryFile(/tmp/multipartBody888759487405115637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436633151,"filename":"image_12042025_04_22_45_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352127128","file1":"1352127125","file0":"1352127114","file4":"1352127138","file5":"1352127155","file3":"1352127132"},"map_files_photo_id_array":[{"photo_id":"1352127155","filename":"file5"},{"photo_id":"1352127128","filename":"file2"},{"photo_id":"1352127138","filename":"file4"},{"photo_id":"1352127125","filename":"file1"},{"photo_id":"1352127114","filename":"file0"},{"photo_id":"1352127132","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352127125":["hashtag1","hashtag2"]},{"1352127128":["hashtag1","hashtag2"]},{"1352127138":["hashtag1","hashtag2"]},{"1352127132":["hashtag1","hashtag2"]},{"1352127114":["hashtag1","hashtag2"]},{"1352127155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352127125, 1352127128, 1352127138, 1352127132, 1352127114, 1352127155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.16750454902649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:43:52.863294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_55_9347.jpg', '/home/pi/Desktop/images/12042025/04/22/image_12042025_04_23_05_10359.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_14_9425.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_25_10364.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_35_10393.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_45_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_55_9347.jpg
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_23_05_10359.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_14_9425.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_25_10364.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_35_10393.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_45_9416.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45900821685791016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 07:44:03.698233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_55_9347.jpg', '/home/pi/Desktop/images/12042025/04/22/image_12042025_04_23_05_10359.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_14_9425.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_25_10364.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_35_10393.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_45_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_22_55_9347.jpg
/home/pi/Desktop/images/12042025/04/22/image_12042025_04_23_05_10359.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_14_9425.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_25_10364.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_35_10393.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_45_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352127746","1352127533","1352127670","1352127568","1352127506","1352127720"],"photo_ids_order":["1352127506","1352127533","1352127568","1352127670","1352127720","1352127746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fb7590dadfedb98f2a6aee9209b4453.jpg","text":"TemporaryFile(/tmp/multipartBody5767115978068983512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436704231,"filename":"image_12042025_04_23_45_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09fc1830e153797e3ccfb58d2596a530.jpg","text":"TemporaryFile(/tmp/multipartBody7746980554231048628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436704231,"filename":"image_12042025_04_23_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71ce510d1c5681f91c2dee22144684a0.jpg","text":"TemporaryFile(/tmp/multipartBody8385372636460509051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436704231,"filename":"image_12042025_04_23_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87d6f2df784a188964cff7f32b98f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody1150464481261835823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436704231,"filename":"image_12042025_04_23_14_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5594928e5b238c97f27471bb11524b95.jpg","text":"TemporaryFile(/tmp/multipartBody5680361515064415961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436704231,"filename":"image_12042025_04_22_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e72b98544f99848d5e5e6d5f08da1602.jpg","text":"TemporaryFile(/tmp/multipartBody4340975450593827408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436704231,"filename":"image_12042025_04_23_35_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352127568","file1":"1352127533","file0":"1352127506","file4":"1352127720","file5":"1352127746","file3":"1352127670"},"map_files_photo_id_array":[{"photo_id":"1352127746","filename":"file5"},{"photo_id":"1352127568","filename":"file2"},{"photo_id":"1352127720","filename":"file4"},{"photo_id":"1352127533","filename":"file1"},{"photo_id":"1352127506","filename":"file0"},{"photo_id":"1352127670","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352127746":["hashtag1","hashtag2"]},{"1352127533":["hashtag1","hashtag2"]},{"1352127670":["hashtag1","hashtag2"]},{"1352127568":["hashtag1","hashtag2"]},{"1352127506":["hashtag1","hashtag2"]},{"1352127720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352127746, 1352127533, 1352127670, 1352127568, 1352127506, 1352127720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.791581869125366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 07:45:03.532564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_55_10387.jpg', '/home/pi/Desktop/images/12042025/04/23/image_12042025_04_24_04_9369.jpg', '/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_15_10367.jpg', '/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_25_10394.jpg', '/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_35_9452.jpg', '/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_45_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_23_55_10387.jpg
/home/pi/Desktop/images/12042025/04/23/image_12042025_04_24_04_9369.jpg
/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_15_10367.jpg
/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_25_10394.jpg
/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_35_9452.jpg
/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_45_10358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352128084","1352128111","1352128143","1352128034","1352127992","1352127956"],"photo_ids_order":["1352127956","1352127992","1352128034","1352128084","1352128111","1352128143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2cfc8f9693132a5cbcbe4a1b2e9daa6e.jpg","text":"TemporaryFile(/tmp/multipartBody5531910058802121227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436766988,"filename":"image_12042025_04_24_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed5089b3de481c2e73b79ccf9ca78f21.jpg","text":"TemporaryFile(/tmp/multipartBody6360539279184235901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436766988,"filename":"image_12042025_04_24_35_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9ad9527c87595ffc2591118a6b206aa.jpg","text":"TemporaryFile(/tmp/multipartBody3111081212503253452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436766988,"filename":"image_12042025_04_24_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a5cb80771e91702a9990f4389766146.jpg","text":"TemporaryFile(/tmp/multipartBody8791141568592229088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436766988,"filename":"image_12042025_04_24_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/454aa324e83fd7b7a119d340d257e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7023644590361936635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436766988,"filename":"image_12042025_04_24_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ac83f405f8b77548f703180e9476e55.jpg","text":"TemporaryFile(/tmp/multipartBody2982649558647458947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436766988,"filename":"image_12042025_04_23_55_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352128034","file1":"1352127992","file0":"1352127956","file4":"1352128111","file5":"1352128143","file3":"1352128084"},"map_files_photo_id_array":[{"photo_id":"1352128143","filename":"file5"},{"photo_id":"1352128034","filename":"file2"},{"photo_id":"1352128111","filename":"file4"},{"photo_id":"1352127992","filename":"file1"},{"photo_id":"1352127956","filename":"file0"},{"photo_id":"1352128084","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352128084":["hashtag1","hashtag2"]},{"1352128111":["hashtag1","hashtag2"]},{"1352128143":["hashtag1","hashtag2"]},{"1352128034":["hashtag1","hashtag2"]},{"1352127992":["hashtag1","hashtag2"]},{"1352127956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352128084, 1352128111, 1352128143, 1352128034, 1352127992, 1352127956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.711880683898926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 07:45:42.414906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_54_9393.jpg', '/home/pi/Desktop/images/12042025/04/24/image_12042025_04_25_05_10511.jpg', '/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_15_10345.jpg', '/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_25_9422.jpg', '/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_35_10417.jpg', '/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_44_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/24/image_12042025_04_24_54_9393.jpg
/home/pi/Desktop/images/12042025/04/24/image_12042025_04_25_05_10511.jpg
/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_15_10345.jpg
/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_25_9422.jpg
/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_35_10417.jpg
/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_44_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352128324","1352128584","1352128557","1352128442","1352128391","1352128532"],"photo_ids_order":["1352128324","1352128391","1352128442","1352128532","1352128557","1352128584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d6fdf0d437f30437126e924cd9e14f9.jpg","text":"TemporaryFile(/tmp/multipartBody6754591545274589599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436802972,"filename":"image_12042025_04_24_54_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76fde155f5013c721239ba1c0aa7b472.jpg","text":"TemporaryFile(/tmp/multipartBody245271582881399909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436802972,"filename":"image_12042025_04_25_44_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aec7b0ea5ef5b4d71bcda72c496bb9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4047560425233031575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436802972,"filename":"image_12042025_04_25_35_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9728d50358fa7c694e3d78791b41d959.jpg","text":"TemporaryFile(/tmp/multipartBody2529678511526428829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436802972,"filename":"image_12042025_04_25_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ef017ede2fa8c19219a07d20eb73e8f.jpg","text":"TemporaryFile(/tmp/multipartBody76075919562424876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436802972,"filename":"image_12042025_04_25_05_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93e8cf17cb6a6a9a89de3012e6703e48.jpg","text":"TemporaryFile(/tmp/multipartBody2306581456584241020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436802972,"filename":"image_12042025_04_25_25_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352128442","file1":"1352128391","file0":"1352128324","file4":"1352128557","file5":"1352128584","file3":"1352128532"},"map_files_photo_id_array":[{"photo_id":"1352128584","filename":"file5"},{"photo_id":"1352128442","filename":"file2"},{"photo_id":"1352128557","filename":"file4"},{"photo_id":"1352128391","filename":"file1"},{"photo_id":"1352128324","filename":"file0"},{"photo_id":"1352128532","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352128324":["hashtag1","hashtag2"]},{"1352128584":["hashtag1","hashtag2"]},{"1352128557":["hashtag1","hashtag2"]},{"1352128442":["hashtag1","hashtag2"]},{"1352128391":["hashtag1","hashtag2"]},{"1352128532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352128324, 1352128584, 1352128557, 1352128442, 1352128391, 1352128532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.385846853256226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:46:52.551861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_55_10413.jpg', '/home/pi/Desktop/images/12042025/04/25/image_12042025_04_26_05_10420.jpg', '/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_15_9414.jpg', '/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_25_10433.jpg', '/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_35_9403.jpg', '/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/25/image_12042025_04_25_55_10413.jpg
/home/pi/Desktop/images/12042025/04/25/image_12042025_04_26_05_10420.jpg
/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_15_9414.jpg
/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_25_10433.jpg
/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_35_9403.jpg
/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_45_10374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352128813","1352128708","1352128767","1352128671","1352128650","1352128793"],"photo_ids_order":["1352128650","1352128671","1352128708","1352128767","1352128793","1352128813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98b012d94c0274b25503f8e30192a9ea.jpg","text":"TemporaryFile(/tmp/multipartBody2365589721210760690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436873107,"filename":"image_12042025_04_26_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fad146eeea5250c18b5655aedb43d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4159944663965951336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436873107,"filename":"image_12042025_04_26_15_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71ff1337f50a1608b1365ad66da82098.jpg","text":"TemporaryFile(/tmp/multipartBody2938843029173012715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436873107,"filename":"image_12042025_04_26_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b92eeeae6e7d4fe7c12f23462097ec10.jpg","text":"TemporaryFile(/tmp/multipartBody6220245873840050701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436873107,"filename":"image_12042025_04_26_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3aecc834f1aa63388de130e4a2d63749.jpg","text":"TemporaryFile(/tmp/multipartBody2655204170494873919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436873107,"filename":"image_12042025_04_25_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e98122e58a9635745099def96a04181.jpg","text":"TemporaryFile(/tmp/multipartBody5166346026962849430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436873107,"filename":"image_12042025_04_26_35_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352128708","file1":"1352128671","file0":"1352128650","file4":"1352128793","file5":"1352128813","file3":"1352128767"},"map_files_photo_id_array":[{"photo_id":"1352128813","filename":"file5"},{"photo_id":"1352128708","filename":"file2"},{"photo_id":"1352128793","filename":"file4"},{"photo_id":"1352128671","filename":"file1"},{"photo_id":"1352128650","filename":"file0"},{"photo_id":"1352128767","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352128813":["hashtag1","hashtag2"]},{"1352128708":["hashtag1","hashtag2"]},{"1352128767":["hashtag1","hashtag2"]},{"1352128671":["hashtag1","hashtag2"]},{"1352128650":["hashtag1","hashtag2"]},{"1352128793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352128813, 1352128708, 1352128767, 1352128671, 1352128650, 1352128793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48871660232544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:47:32.898695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_54_9494.jpg', '/home/pi/Desktop/images/12042025/04/26/image_12042025_04_27_05_10399.jpg', '/home/pi/Desktop/images/12042025/04/27/image_12042025_04_27_15_10364.jpg', '/home/pi/Desktop/images/12042025/04/27/image_12042025_04_27_25_9423.jpg', '/home/pi/Desktop/images/12042025/04/27/image_12042025_04_27_35_10368.jpg', '/home/pi/Desktop/images/12042025/04/27/image_12042025_04_27_44_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/26/image_12042025_04_26_54_9494.jpg
/home/pi/Desktop/images/12042025/04/26/image_12042025_04_27_05_10399.jpg
/home/pi/Desktop/images/12042025/04/27/image_12042025_04_27_15_10364.jpg
/home/pi/Desktop/images/12042025/04/27/image_12042025_04_27_25_9423.jpg
/home/pi/Desktop/images/12042025/04/27/image_12042025_04_27_35_10368.jpg
/home/pi/Desktop/images/12042025/04/27/image_12042025_04_27_44_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352128920","1352128878","1352128985","1352128961","1352128943","1352128891"],"photo_ids_order":["1352128878","1352128891","1352128920","1352128943","1352128961","1352128985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3d17fb2fc5d75010de5dc1dbf4d45a3.jpg","text":"TemporaryFile(/tmp/multipartBody4820813003189255475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436913459,"filename":"image_12042025_04_27_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fc7d72613cfe43f017a734c04ec8554.jpg","text":"TemporaryFile(/tmp/multipartBody7592007789237642211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436913459,"filename":"image_12042025_04_26_54_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a2221f4dc57851eccbb1d41fe67e6db.jpg","text":"TemporaryFile(/tmp/multipartBody7453805674359737670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436913459,"filename":"image_12042025_04_27_44_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ec8d66bac86aeee6499c95d116f0101.jpg","text":"TemporaryFile(/tmp/multipartBody1039444627062675798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436913459,"filename":"image_12042025_04_27_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2aaed8fd0a0b5057e8761047bbae7d6.jpg","text":"TemporaryFile(/tmp/multipartBody6693265857573946932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436913459,"filename":"image_12042025_04_27_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a572c3247b8d2d7643ab3788e8544731.jpg","text":"TemporaryFile(/tmp/multipartBody8182082835261871354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436913459,"filename":"image_12042025_04_27_05_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352128920","file1":"1352128891","file0":"1352128878","file4":"1352128961","file5":"1352128985","file3":"1352128943"},"map_files_photo_id_array":[{"photo_id":"1352128985","filename":"file5"},{"photo_id":"1352128920","filename":"file2"},{"photo_id":"1352128961","filename":"file4"},{"photo_id":"1352128891","filename":"file1"},{"photo_id":"1352128878","filename":"file0"},{"photo_id":"1352128943","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352128920":["hashtag1","hashtag2"]},{"1352128878":["hashtag1","hashtag2"]},{"1352128985":["hashtag1","hashtag2"]},{"1352128961":["hashtag1","hashtag2"]},{"1352128943":["hashtag1","hashtag2"]},{"1352128891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352128920, 1352128878, 1352128985, 1352128961, 1352128943, 1352128891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.75143814086914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:48:32.953628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/27/image_12042025_04_28_05_10449.jpg', '/home/pi/Desktop/images/12042025/04/28/image_12042025_04_28_15_9431.jpg', '/home/pi/Desktop/images/12042025/04/28/image_12042025_04_28_25_10441.jpg', '/home/pi/Desktop/images/12042025/04/28/image_12042025_04_28_34_9430.jpg', '/home/pi/Desktop/images/12042025/04/28/image_12042025_04_28_45_10367.jpg', '/home/pi/Desktop/images/12042025/04/28/image_12042025_04_29_05_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/27/image_12042025_04_28_05_10449.jpg
/home/pi/Desktop/images/12042025/04/28/image_12042025_04_28_15_9431.jpg
/home/pi/Desktop/images/12042025/04/28/image_12042025_04_28_25_10441.jpg
/home/pi/Desktop/images/12042025/04/28/image_12042025_04_28_34_9430.jpg
/home/pi/Desktop/images/12042025/04/28/image_12042025_04_28_45_10367.jpg
/home/pi/Desktop/images/12042025/04/28/image_12042025_04_29_05_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352129215","1352129079","1352129172","1352129098","1352129123","1352129056"],"photo_ids_order":["1352129056","1352129079","1352129098","1352129123","1352129172","1352129215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/325d8188fb2a8013d92e66523276175f.jpg","text":"TemporaryFile(/tmp/multipartBody8038031554056994460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436973506,"filename":"image_12042025_04_29_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8569d2a85f222d51573a5bc9241bfadb.jpg","text":"TemporaryFile(/tmp/multipartBody3467272486039657423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436973506,"filename":"image_12042025_04_28_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86230f5a04234d47b8b4a2a4dedda4ca.jpg","text":"TemporaryFile(/tmp/multipartBody6440502714033136638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436973506,"filename":"image_12042025_04_28_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2a424fc889c0d0eae16c0da7be5d535.jpg","text":"TemporaryFile(/tmp/multipartBody4387715868209365382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436973506,"filename":"image_12042025_04_28_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae54641ddeba1bfd81e54873528cafc3.jpg","text":"TemporaryFile(/tmp/multipartBody1159107691514483229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436973506,"filename":"image_12042025_04_28_34_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d0e1d57c82a2cfa157636579503fc4d.jpg","text":"TemporaryFile(/tmp/multipartBody5364173317993181140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744436973506,"filename":"image_12042025_04_28_05_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352129098","file1":"1352129079","file0":"1352129056","file4":"1352129172","file5":"1352129215","file3":"1352129123"},"map_files_photo_id_array":[{"photo_id":"1352129215","filename":"file5"},{"photo_id":"1352129098","filename":"file2"},{"photo_id":"1352129172","filename":"file4"},{"photo_id":"1352129079","filename":"file1"},{"photo_id":"1352129056","filename":"file0"},{"photo_id":"1352129123","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352129215":["hashtag1","hashtag2"]},{"1352129079":["hashtag1","hashtag2"]},{"1352129172":["hashtag1","hashtag2"]},{"1352129098":["hashtag1","hashtag2"]},{"1352129123":["hashtag1","hashtag2"]},{"1352129056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352129215, 1352129079, 1352129172, 1352129098, 1352129123, 1352129056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.113051891326904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:49:32.166455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_15_10359.jpg', '/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_24_9466.jpg', '/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_35_10382.jpg', '/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_44_9486.jpg', '/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_55_10370.jpg', '/home/pi/Desktop/images/12042025/04/29/image_12042025_04_30_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_15_10359.jpg
/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_24_9466.jpg
/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_35_10382.jpg
/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_44_9486.jpg
/home/pi/Desktop/images/12042025/04/29/image_12042025_04_29_55_10370.jpg
/home/pi/Desktop/images/12042025/04/29/image_12042025_04_30_05_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352129361","1352129385","1352129439","1352129430","1352129412","1352129464"],"photo_ids_order":["1352129361","1352129385","1352129412","1352129430","1352129439","1352129464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2604644d76c7efe9abe79f7378e3c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody135861265919910053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437032716,"filename":"image_12042025_04_29_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb82105a4b9207626584dbe46d4aa7c3.jpg","text":"TemporaryFile(/tmp/multipartBody9202801305177488752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437032716,"filename":"image_12042025_04_29_24_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e7a9fddd88aec442fac4d627c09e323.jpg","text":"TemporaryFile(/tmp/multipartBody7880794096358825121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437032716,"filename":"image_12042025_04_29_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1f7d7933cf2af6f0ec92191f8b5ceb0.jpg","text":"TemporaryFile(/tmp/multipartBody8682648394118604118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437032716,"filename":"image_12042025_04_29_44_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ee4a6d2dcf0221423dd46cd2ef80fed.jpg","text":"TemporaryFile(/tmp/multipartBody1637341494450236376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437032716,"filename":"image_12042025_04_29_35_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e6963945bb2ee89f186baf697b7a760.jpg","text":"TemporaryFile(/tmp/multipartBody6257254860966546598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437032716,"filename":"image_12042025_04_30_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352129412","file1":"1352129385","file0":"1352129361","file4":"1352129439","file5":"1352129464","file3":"1352129430"},"map_files_photo_id_array":[{"photo_id":"1352129464","filename":"file5"},{"photo_id":"1352129412","filename":"file2"},{"photo_id":"1352129439","filename":"file4"},{"photo_id":"1352129385","filename":"file1"},{"photo_id":"1352129361","filename":"file0"},{"photo_id":"1352129430","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352129361":["hashtag1","hashtag2"]},{"1352129385":["hashtag1","hashtag2"]},{"1352129439":["hashtag1","hashtag2"]},{"1352129430":["hashtag1","hashtag2"]},{"1352129412":["hashtag1","hashtag2"]},{"1352129464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352129361, 1352129385, 1352129439, 1352129430, 1352129412, 1352129464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27887535095215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:50:32.440283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/30/image_12042025_04_30_25_10373.jpg', '/home/pi/Desktop/images/12042025/04/30/image_12042025_04_30_34_9462.jpg', '/home/pi/Desktop/images/12042025/04/30/image_12042025_04_30_55_10377.jpg', '/home/pi/Desktop/images/12042025/04/30/image_12042025_04_31_04_9367.jpg', '/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_15_10354.jpg', '/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_24_9530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/30/image_12042025_04_30_25_10373.jpg
/home/pi/Desktop/images/12042025/04/30/image_12042025_04_30_34_9462.jpg
/home/pi/Desktop/images/12042025/04/30/image_12042025_04_30_55_10377.jpg
/home/pi/Desktop/images/12042025/04/30/image_12042025_04_31_04_9367.jpg
/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_15_10354.jpg
/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_24_9530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352129830","1352129895","1352129853","1352129794","1352129878","1352129758"],"photo_ids_order":["1352129758","1352129794","1352129830","1352129853","1352129878","1352129895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b3c298fc70df666fc05e8970ff7363a.jpg","text":"TemporaryFile(/tmp/multipartBody2548541394257367208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437093015,"filename":"image_12042025_04_30_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c16b47f44e57a566daa3673f5111309.jpg","text":"TemporaryFile(/tmp/multipartBody1066998464608921358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437093015,"filename":"image_12042025_04_31_24_9530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67ad9cfeee42845f6abf58612b447ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8838085589529735524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437093015,"filename":"image_12042025_04_31_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/477b05da1cac05dca98c7fbef2073314.jpg","text":"TemporaryFile(/tmp/multipartBody5988658202343621011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437093015,"filename":"image_12042025_04_30_34_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee43c1d94e75f0d05dba5fd69dd8fbc4.jpg","text":"TemporaryFile(/tmp/multipartBody5174533631214565042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437093015,"filename":"image_12042025_04_31_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c892ee403f5a66578f2e4226a4071a46.jpg","text":"TemporaryFile(/tmp/multipartBody6029815613748925816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437093015,"filename":"image_12042025_04_30_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352129830","file1":"1352129794","file0":"1352129758","file4":"1352129878","file5":"1352129895","file3":"1352129853"},"map_files_photo_id_array":[{"photo_id":"1352129895","filename":"file5"},{"photo_id":"1352129830","filename":"file2"},{"photo_id":"1352129878","filename":"file4"},{"photo_id":"1352129794","filename":"file1"},{"photo_id":"1352129758","filename":"file0"},{"photo_id":"1352129853","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352129830":["hashtag1","hashtag2"]},{"1352129895":["hashtag1","hashtag2"]},{"1352129853":["hashtag1","hashtag2"]},{"1352129794":["hashtag1","hashtag2"]},{"1352129878":["hashtag1","hashtag2"]},{"1352129758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352129830, 1352129895, 1352129853, 1352129794, 1352129878, 1352129758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23468589782715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:51:32.659750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_35_10423.jpg', '/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_45_10379.jpg', '/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_55_9364.jpg', '/home/pi/Desktop/images/12042025/04/31/image_12042025_04_32_05_10388.jpg', '/home/pi/Desktop/images/12042025/04/32/image_12042025_04_32_25_10373.jpg', '/home/pi/Desktop/images/12042025/04/32/image_12042025_04_32_35_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_35_10423.jpg
/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_45_10379.jpg
/home/pi/Desktop/images/12042025/04/31/image_12042025_04_31_55_9364.jpg
/home/pi/Desktop/images/12042025/04/31/image_12042025_04_32_05_10388.jpg
/home/pi/Desktop/images/12042025/04/32/image_12042025_04_32_25_10373.jpg
/home/pi/Desktop/images/12042025/04/32/image_12042025_04_32_35_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352130367","1352130393","1352130294","1352130243","1352130309","1352130227"],"photo_ids_order":["1352130227","1352130243","1352130294","1352130309","1352130367","1352130393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c01cde89a00b45abf61a9129f43b9b77.jpg","text":"TemporaryFile(/tmp/multipartBody6146007618637541914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437153218,"filename":"image_12042025_04_32_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02b389c9043db816673609150b1de1de.jpg","text":"TemporaryFile(/tmp/multipartBody5825150591221427803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437153218,"filename":"image_12042025_04_32_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0afb81ca7cc6d40cb65c7dadbdde1ffb.jpg","text":"TemporaryFile(/tmp/multipartBody7560934931734819932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437153218,"filename":"image_12042025_04_31_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c337e7df838cad66e17bcf4e6db8a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody6420036753896419382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437153218,"filename":"image_12042025_04_31_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/476386514497fbeea520379a6f3c711b.jpg","text":"TemporaryFile(/tmp/multipartBody8634683262540413546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437153218,"filename":"image_12042025_04_32_05_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c24a96f6661757516f0c1c1da61f0e0.jpg","text":"TemporaryFile(/tmp/multipartBody52394707070161541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437153218,"filename":"image_12042025_04_31_35_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352130294","file1":"1352130243","file0":"1352130227","file4":"1352130367","file5":"1352130393","file3":"1352130309"},"map_files_photo_id_array":[{"photo_id":"1352130393","filename":"file5"},{"photo_id":"1352130294","filename":"file2"},{"photo_id":"1352130367","filename":"file4"},{"photo_id":"1352130243","filename":"file1"},{"photo_id":"1352130227","filename":"file0"},{"photo_id":"1352130309","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352130367":["hashtag1","hashtag2"]},{"1352130393":["hashtag1","hashtag2"]},{"1352130294":["hashtag1","hashtag2"]},{"1352130243":["hashtag1","hashtag2"]},{"1352130309":["hashtag1","hashtag2"]},{"1352130227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352130367, 1352130393, 1352130294, 1352130243, 1352130309, 1352130227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.115113258361816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:52:32.726367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/32/image_12042025_04_32_45_9382.jpg', '/home/pi/Desktop/images/12042025/04/32/image_12042025_04_32_55_10465.jpg', '/home/pi/Desktop/images/12042025/04/32/image_12042025_04_33_04_9407.jpg', '/home/pi/Desktop/images/12042025/04/33/image_12042025_04_33_15_10413.jpg', '/home/pi/Desktop/images/12042025/04/33/image_12042025_04_33_25_10430.jpg', '/home/pi/Desktop/images/12042025/04/33/image_12042025_04_33_45_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/32/image_12042025_04_32_45_9382.jpg
/home/pi/Desktop/images/12042025/04/32/image_12042025_04_32_55_10465.jpg
/home/pi/Desktop/images/12042025/04/32/image_12042025_04_33_04_9407.jpg
/home/pi/Desktop/images/12042025/04/33/image_12042025_04_33_15_10413.jpg
/home/pi/Desktop/images/12042025/04/33/image_12042025_04_33_25_10430.jpg
/home/pi/Desktop/images/12042025/04/33/image_12042025_04_33_45_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352130721","1352130802","1352130811","1352130771","1352130621","1352130671"],"photo_ids_order":["1352130621","1352130671","1352130721","1352130771","1352130802","1352130811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df2ec3e2acfb1fd0e70dfbd2d017cc0b.jpg","text":"TemporaryFile(/tmp/multipartBody8665099245352784109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437213300,"filename":"image_12042025_04_33_04_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fee76227e964b390df7e45eb42308096.jpg","text":"TemporaryFile(/tmp/multipartBody259660560931281086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437213300,"filename":"image_12042025_04_33_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12ed0bc63469aaa0e3f6aa4d5c16a209.jpg","text":"TemporaryFile(/tmp/multipartBody1836977105267780921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437213300,"filename":"image_12042025_04_33_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4852743bb5717d5dabfd32540e60e9bf.jpg","text":"TemporaryFile(/tmp/multipartBody3909525156460173099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437213300,"filename":"image_12042025_04_33_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/209c21dc7586f3b1ec5cf55298ae9d6e.jpg","text":"TemporaryFile(/tmp/multipartBody3211195709218497003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437213300,"filename":"image_12042025_04_32_45_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4895791e4e5a4eefef109754d7323632.jpg","text":"TemporaryFile(/tmp/multipartBody7468279576631708339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437213300,"filename":"image_12042025_04_32_55_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352130721","file1":"1352130671","file0":"1352130621","file4":"1352130802","file5":"1352130811","file3":"1352130771"},"map_files_photo_id_array":[{"photo_id":"1352130811","filename":"file5"},{"photo_id":"1352130721","filename":"file2"},{"photo_id":"1352130802","filename":"file4"},{"photo_id":"1352130671","filename":"file1"},{"photo_id":"1352130621","filename":"file0"},{"photo_id":"1352130771","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352130721":["hashtag1","hashtag2"]},{"1352130802":["hashtag1","hashtag2"]},{"1352130811":["hashtag1","hashtag2"]},{"1352130771":["hashtag1","hashtag2"]},{"1352130621":["hashtag1","hashtag2"]},{"1352130671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352130721, 1352130802, 1352130811, 1352130771, 1352130621, 1352130671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51695775985718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:53:32.854519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/33/image_12042025_04_33_54_9358.jpg', '/home/pi/Desktop/images/12042025/04/33/image_12042025_04_34_05_10392.jpg', '/home/pi/Desktop/images/12042025/04/34/image_12042025_04_34_15_10354.jpg', '/home/pi/Desktop/images/12042025/04/34/image_12042025_04_34_35_10435.jpg', '/home/pi/Desktop/images/12042025/04/34/image_12042025_04_34_44_9368.jpg', '/home/pi/Desktop/images/12042025/04/34/image_12042025_04_34_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/33/image_12042025_04_33_54_9358.jpg
/home/pi/Desktop/images/12042025/04/33/image_12042025_04_34_05_10392.jpg
/home/pi/Desktop/images/12042025/04/34/image_12042025_04_34_15_10354.jpg
/home/pi/Desktop/images/12042025/04/34/image_12042025_04_34_35_10435.jpg
/home/pi/Desktop/images/12042025/04/34/image_12042025_04_34_44_9368.jpg
/home/pi/Desktop/images/12042025/04/34/image_12042025_04_34_55_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352130931","1352130922","1352131025","1352131084","1352130926","1352130905"],"photo_ids_order":["1352130905","1352130922","1352130926","1352130931","1352131025","1352131084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0b7953c69a67b50fd491d86f72a8606.jpg","text":"TemporaryFile(/tmp/multipartBody5848467569792269810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437273412,"filename":"image_12042025_04_34_35_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72c557b12bbc37f2b96ba04201241312.jpg","text":"TemporaryFile(/tmp/multipartBody6157952883220054634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437273412,"filename":"image_12042025_04_34_05_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a78715501aa2ddf2773042d9bab586a.jpg","text":"TemporaryFile(/tmp/multipartBody8203532950902915589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437273412,"filename":"image_12042025_04_34_44_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fc388afc57cb84d719ea241902076e0.jpg","text":"TemporaryFile(/tmp/multipartBody5287264452234743948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437273412,"filename":"image_12042025_04_34_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5b0e933ad55d85f11d6747f9485b84d.jpg","text":"TemporaryFile(/tmp/multipartBody7015616679795839073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437273412,"filename":"image_12042025_04_34_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9130364d4bc4759acc337d4710e7f7fe.jpg","text":"TemporaryFile(/tmp/multipartBody8887510249908073389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437273412,"filename":"image_12042025_04_33_54_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352130926","file1":"1352130922","file0":"1352130905","file4":"1352131025","file5":"1352131084","file3":"1352130931"},"map_files_photo_id_array":[{"photo_id":"1352131084","filename":"file5"},{"photo_id":"1352130926","filename":"file2"},{"photo_id":"1352131025","filename":"file4"},{"photo_id":"1352130922","filename":"file1"},{"photo_id":"1352130905","filename":"file0"},{"photo_id":"1352130931","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352130931":["hashtag1","hashtag2"]},{"1352130922":["hashtag1","hashtag2"]},{"1352131025":["hashtag1","hashtag2"]},{"1352131084":["hashtag1","hashtag2"]},{"1352130926":["hashtag1","hashtag2"]},{"1352130905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352130931, 1352130922, 1352131025, 1352131084, 1352130926, 1352130905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.589577198028564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:54:33.172227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/35/image_12042025_04_35_34_9467.jpg', '/home/pi/Desktop/images/12042025/04/35/image_12042025_04_35_55_10367.jpg', '/home/pi/Desktop/images/12042025/04/35/image_12042025_04_36_04_9361.jpg', '/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_15_10373.jpg', '/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_25_10405.jpg', '/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_35_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/35/image_12042025_04_35_34_9467.jpg
/home/pi/Desktop/images/12042025/04/35/image_12042025_04_35_55_10367.jpg
/home/pi/Desktop/images/12042025/04/35/image_12042025_04_36_04_9361.jpg
/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_15_10373.jpg
/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_25_10405.jpg
/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_35_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352131207","1352131204","1352131200","1352131169","1352131183","1352131186"],"photo_ids_order":["1352131169","1352131183","1352131186","1352131200","1352131204","1352131207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ff87ad6271140585d49c5acad09122b.jpg","text":"TemporaryFile(/tmp/multipartBody5933870108361528512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437333763,"filename":"image_12042025_04_36_35_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f48284539c67cce3244c0bad84a2e8f0.jpg","text":"TemporaryFile(/tmp/multipartBody1985271178096763102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437333763,"filename":"image_12042025_04_36_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d82e667d06f50f612c6079a0a39324b.jpg","text":"TemporaryFile(/tmp/multipartBody3648768672611586614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437333763,"filename":"image_12042025_04_36_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6209b25999567a09a8cabe722862c89d.jpg","text":"TemporaryFile(/tmp/multipartBody5988877074702999139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437333763,"filename":"image_12042025_04_35_34_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb3dfdbe2c563c82f40b2e277fe34bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7817308963329906198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437333763,"filename":"image_12042025_04_35_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7506d2f71547834520034a6d499ae896.jpg","text":"TemporaryFile(/tmp/multipartBody5223971912879405829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437333763,"filename":"image_12042025_04_36_04_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352131186","file1":"1352131183","file0":"1352131169","file4":"1352131204","file5":"1352131207","file3":"1352131200"},"map_files_photo_id_array":[{"photo_id":"1352131207","filename":"file5"},{"photo_id":"1352131186","filename":"file2"},{"photo_id":"1352131204","filename":"file4"},{"photo_id":"1352131183","filename":"file1"},{"photo_id":"1352131169","filename":"file0"},{"photo_id":"1352131200","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352131207":["hashtag1","hashtag2"]},{"1352131204":["hashtag1","hashtag2"]},{"1352131200":["hashtag1","hashtag2"]},{"1352131169":["hashtag1","hashtag2"]},{"1352131183":["hashtag1","hashtag2"]},{"1352131186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352131207, 1352131204, 1352131200, 1352131169, 1352131183, 1352131186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.791253089904785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:55:32.189230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_45_10380.jpg', '/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_55_9460.jpg', '/home/pi/Desktop/images/12042025/04/36/image_12042025_04_37_05_10409.jpg', '/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_14_9385.jpg', '/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_25_10342.jpg', '/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_35_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_45_10380.jpg
/home/pi/Desktop/images/12042025/04/36/image_12042025_04_36_55_9460.jpg
/home/pi/Desktop/images/12042025/04/36/image_12042025_04_37_05_10409.jpg
/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_14_9385.jpg
/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_25_10342.jpg
/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_35_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352131476","1352131452","1352131514","1352131498","1352131564","1352131534"],"photo_ids_order":["1352131452","1352131476","1352131498","1352131514","1352131534","1352131564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/186457ad221cf93ec119fcab9a8ee21a.jpg","text":"TemporaryFile(/tmp/multipartBody147872745582097129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437392731,"filename":"image_12042025_04_36_55_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85e4ab5a379c07e685a500cd051152f6.jpg","text":"TemporaryFile(/tmp/multipartBody5112522151956682212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437392731,"filename":"image_12042025_04_36_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3bf9511497ffaee76e29954244904a97.jpg","text":"TemporaryFile(/tmp/multipartBody8230906327837119025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437392731,"filename":"image_12042025_04_37_14_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a347c65bc1e152bbac8c684ae55281b1.jpg","text":"TemporaryFile(/tmp/multipartBody2573521597469990171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437392731,"filename":"image_12042025_04_37_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/247f8ec96e1550088c5e544b9a674cf3.jpg","text":"TemporaryFile(/tmp/multipartBody8716789113889252485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437392731,"filename":"image_12042025_04_37_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ae36af4dcf87d1f08ee568822f62ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2026405164585586003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437392731,"filename":"image_12042025_04_37_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352131498","file1":"1352131476","file0":"1352131452","file4":"1352131534","file5":"1352131564","file3":"1352131514"},"map_files_photo_id_array":[{"photo_id":"1352131564","filename":"file5"},{"photo_id":"1352131498","filename":"file2"},{"photo_id":"1352131534","filename":"file4"},{"photo_id":"1352131476","filename":"file1"},{"photo_id":"1352131452","filename":"file0"},{"photo_id":"1352131514","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352131476":["hashtag1","hashtag2"]},{"1352131452":["hashtag1","hashtag2"]},{"1352131514":["hashtag1","hashtag2"]},{"1352131498":["hashtag1","hashtag2"]},{"1352131564":["hashtag1","hashtag2"]},{"1352131534":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352131476, 1352131452, 1352131514, 1352131498, 1352131564, 1352131534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.151187896728516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:56:32.343622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_44_9440.jpg', '/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_55_10372.jpg', '/home/pi/Desktop/images/12042025/04/37/image_12042025_04_38_04_9459.jpg', '/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_15_10366.jpg', '/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_25_10426.jpg', '/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_35_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_44_9440.jpg
/home/pi/Desktop/images/12042025/04/37/image_12042025_04_37_55_10372.jpg
/home/pi/Desktop/images/12042025/04/37/image_12042025_04_38_04_9459.jpg
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_15_10366.jpg
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_25_10426.jpg
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_35_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352132127","1352132179","1352132024","1352131972","1352132065","1352131939"],"photo_ids_order":["1352131939","1352131972","1352132024","1352132065","1352132127","1352132179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11878ce93d7256fdde9f432d6126275f.jpg","text":"TemporaryFile(/tmp/multipartBody4236214646171636574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437452911,"filename":"image_12042025_04_38_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/443d51065d122c7a766037a99493d132.jpg","text":"TemporaryFile(/tmp/multipartBody8241282163140665489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437452911,"filename":"image_12042025_04_38_35_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cbedbf04f642ccfdd101d560362b838.jpg","text":"TemporaryFile(/tmp/multipartBody2880964028231675291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437452911,"filename":"image_12042025_04_38_04_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfb2b7ea3ab86f28c5c9b37bfe1c15b1.jpg","text":"TemporaryFile(/tmp/multipartBody3532681886027889772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437452911,"filename":"image_12042025_04_37_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/911088c4f9759f952434afbc54e9292b.jpg","text":"TemporaryFile(/tmp/multipartBody7803118403705281758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437452911,"filename":"image_12042025_04_38_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6d4f37009994cd367a101d0c8f5ff6f.jpg","text":"TemporaryFile(/tmp/multipartBody4948096239468032358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437452911,"filename":"image_12042025_04_37_44_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352132024","file1":"1352131972","file0":"1352131939","file4":"1352132127","file5":"1352132179","file3":"1352132065"},"map_files_photo_id_array":[{"photo_id":"1352132179","filename":"file5"},{"photo_id":"1352132024","filename":"file2"},{"photo_id":"1352132127","filename":"file4"},{"photo_id":"1352131972","filename":"file1"},{"photo_id":"1352131939","filename":"file0"},{"photo_id":"1352132065","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352132127":["hashtag1","hashtag2"]},{"1352132179":["hashtag1","hashtag2"]},{"1352132024":["hashtag1","hashtag2"]},{"1352131972":["hashtag1","hashtag2"]},{"1352132065":["hashtag1","hashtag2"]},{"1352131939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352132127, 1352132179, 1352132024, 1352131972, 1352132065, 1352131939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09857177734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 07:57:32.662066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_45_10427.jpg', '/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_54_9380.jpg', '/home/pi/Desktop/images/12042025/04/38/image_12042025_04_39_05_10425.jpg', '/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_15_10471.jpg', '/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_25_9367.jpg', '/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_35_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_45_10427.jpg
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_54_9380.jpg
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_39_05_10425.jpg
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_15_10471.jpg
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_25_9367.jpg
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_35_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 07:59:03.351734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_45_10427.jpg', '/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_54_9380.jpg', '/home/pi/Desktop/images/12042025/04/38/image_12042025_04_39_05_10425.jpg', '/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_15_10471.jpg', '/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_25_9367.jpg', '/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_35_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_45_10427.jpg
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_38_54_9380.jpg
/home/pi/Desktop/images/12042025/04/38/image_12042025_04_39_05_10425.jpg
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_15_10471.jpg
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_25_9367.jpg
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_35_10438.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352132724","1352132735","1352132740","1352132722","1352132731","1352132728"],"photo_ids_order":["1352132722","1352132724","1352132728","1352132731","1352132735","1352132740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efb4b469845d13b49ffddca576366082.jpg","text":"TemporaryFile(/tmp/multipartBody7856331759758448592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437603954,"filename":"image_12042025_04_38_54_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bc5c4dbc9a9b6fe8af7c995b047e26c.jpg","text":"TemporaryFile(/tmp/multipartBody6895788483853186883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437603954,"filename":"image_12042025_04_39_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48e1592597a10a19ae655e911f553894.jpg","text":"TemporaryFile(/tmp/multipartBody1739361575408921107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437603954,"filename":"image_12042025_04_39_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c857e2e4e87c1f5527286bbe0b073f5.jpg","text":"TemporaryFile(/tmp/multipartBody5505288794100071557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437603954,"filename":"image_12042025_04_38_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d864ce5aee685e3a3fb0c621c3a55da.jpg","text":"TemporaryFile(/tmp/multipartBody7553090983310415357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437603954,"filename":"image_12042025_04_39_15_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37866b271d1a22bddf441b0a9e121428.jpg","text":"TemporaryFile(/tmp/multipartBody2285716285967394521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437603954,"filename":"image_12042025_04_39_05_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352132728","file1":"1352132724","file0":"1352132722","file4":"1352132735","file5":"1352132740","file3":"1352132731"},"map_files_photo_id_array":[{"photo_id":"1352132740","filename":"file5"},{"photo_id":"1352132728","filename":"file2"},{"photo_id":"1352132735","filename":"file4"},{"photo_id":"1352132724","filename":"file1"},{"photo_id":"1352132722","filename":"file0"},{"photo_id":"1352132731","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352132724":["hashtag1","hashtag2"]},{"1352132735":["hashtag1","hashtag2"]},{"1352132740":["hashtag1","hashtag2"]},{"1352132722":["hashtag1","hashtag2"]},{"1352132731":["hashtag1","hashtag2"]},{"1352132728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352132724, 1352132735, 1352132740, 1352132722, 1352132731, 1352132728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.894699573516846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 07:59:42.439698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_45_9484.jpg', '/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_55_10361.jpg', '/home/pi/Desktop/images/12042025/04/39/image_12042025_04_40_04_9407.jpg', '/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_15_10447.jpg', '/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_25_10427.jpg', '/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_35_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_45_9484.jpg
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_39_55_10361.jpg
/home/pi/Desktop/images/12042025/04/39/image_12042025_04_40_04_9407.jpg
/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_15_10447.jpg
/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_25_10427.jpg
/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_35_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352132781","1352132750","1352132749","1352132779","1352132764","1352132778"],"photo_ids_order":["1352132749","1352132750","1352132764","1352132778","1352132779","1352132781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8695546a1b17780983b4b94b21ed7bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8117217766828976854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437642998,"filename":"image_12042025_04_40_35_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1099e8a4fcfee6f0705bea343caee46f.jpg","text":"TemporaryFile(/tmp/multipartBody3759924709589068938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437642998,"filename":"image_12042025_04_39_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08f96a0469d9b294491dbcfd1c973323.jpg","text":"TemporaryFile(/tmp/multipartBody797720429436168199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437642998,"filename":"image_12042025_04_39_45_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f43dcbffa6278050156dc264741da1a9.jpg","text":"TemporaryFile(/tmp/multipartBody8640010910747571323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437642998,"filename":"image_12042025_04_40_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/739c725c59016c5ca010fc8a6a5778e2.jpg","text":"TemporaryFile(/tmp/multipartBody5530706869374893373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437642998,"filename":"image_12042025_04_40_04_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d05961533d2dc1df9ba16250a7a0cfb.jpg","text":"TemporaryFile(/tmp/multipartBody9014376961162797749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437642998,"filename":"image_12042025_04_40_15_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352132764","file1":"1352132750","file0":"1352132749","file4":"1352132779","file5":"1352132781","file3":"1352132778"},"map_files_photo_id_array":[{"photo_id":"1352132781","filename":"file5"},{"photo_id":"1352132764","filename":"file2"},{"photo_id":"1352132779","filename":"file4"},{"photo_id":"1352132750","filename":"file1"},{"photo_id":"1352132749","filename":"file0"},{"photo_id":"1352132778","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352132781":["hashtag1","hashtag2"]},{"1352132750":["hashtag1","hashtag2"]},{"1352132749":["hashtag1","hashtag2"]},{"1352132779":["hashtag1","hashtag2"]},{"1352132764":["hashtag1","hashtag2"]},{"1352132778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352132781, 1352132750, 1352132749, 1352132779, 1352132764, 1352132778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03118109703064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:00:32.503570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_45_10383.jpg', '/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_54_9465.jpg', '/home/pi/Desktop/images/12042025/04/40/image_12042025_04_41_05_10376.jpg', '/home/pi/Desktop/images/12042025/04/41/image_12042025_04_41_15_10440.jpg', '/home/pi/Desktop/images/12042025/04/41/image_12042025_04_41_35_10385.jpg', '/home/pi/Desktop/images/12042025/04/41/image_12042025_04_41_44_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_45_10383.jpg
/home/pi/Desktop/images/12042025/04/40/image_12042025_04_40_54_9465.jpg
/home/pi/Desktop/images/12042025/04/40/image_12042025_04_41_05_10376.jpg
/home/pi/Desktop/images/12042025/04/41/image_12042025_04_41_15_10440.jpg
/home/pi/Desktop/images/12042025/04/41/image_12042025_04_41_35_10385.jpg
/home/pi/Desktop/images/12042025/04/41/image_12042025_04_41_44_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352132795","1352132807","1352132791","1352132810","1352132803","1352132799"],"photo_ids_order":["1352132791","1352132795","1352132799","1352132803","1352132807","1352132810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c443dc82673eae09c88a4d46a70fd4c3.jpg","text":"TemporaryFile(/tmp/multipartBody1456912451857180838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437693082,"filename":"image_12042025_04_40_54_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0bfc64623cf70029ed717e2ca179ec83.jpg","text":"TemporaryFile(/tmp/multipartBody3550392378879011199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437693082,"filename":"image_12042025_04_41_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2160f9fae708c859a31c63296d46efb1.jpg","text":"TemporaryFile(/tmp/multipartBody2980729949570977379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437693082,"filename":"image_12042025_04_40_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c6ff5f05fa5085a1a9f9cc5f8c96f73.jpg","text":"TemporaryFile(/tmp/multipartBody7526573013981797310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437693082,"filename":"image_12042025_04_41_44_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c2c4a12d53c0b27e5b8d0fbe326cbbe.jpg","text":"TemporaryFile(/tmp/multipartBody1644113820494384002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437693082,"filename":"image_12042025_04_41_15_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2465b0553dd34939c893b4433b1a429e.jpg","text":"TemporaryFile(/tmp/multipartBody6917970050561354818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437693082,"filename":"image_12042025_04_41_05_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352132799","file1":"1352132795","file0":"1352132791","file4":"1352132807","file5":"1352132810","file3":"1352132803"},"map_files_photo_id_array":[{"photo_id":"1352132810","filename":"file5"},{"photo_id":"1352132799","filename":"file2"},{"photo_id":"1352132807","filename":"file4"},{"photo_id":"1352132795","filename":"file1"},{"photo_id":"1352132791","filename":"file0"},{"photo_id":"1352132803","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352132795":["hashtag1","hashtag2"]},{"1352132807":["hashtag1","hashtag2"]},{"1352132791":["hashtag1","hashtag2"]},{"1352132810":["hashtag1","hashtag2"]},{"1352132803":["hashtag1","hashtag2"]},{"1352132799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352132795, 1352132807, 1352132791, 1352132810, 1352132803, 1352132799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9260995388031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:01:32.873485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/41/image_12042025_04_41_55_10442.jpg', '/home/pi/Desktop/images/12042025/04/41/image_12042025_04_42_04_9376.jpg', '/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_15_10398.jpg', '/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_25_10372.jpg', '/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_35_9425.jpg', '/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_45_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/41/image_12042025_04_41_55_10442.jpg
/home/pi/Desktop/images/12042025/04/41/image_12042025_04_42_04_9376.jpg
/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_15_10398.jpg
/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_25_10372.jpg
/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_35_9425.jpg
/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_45_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352132936","1352132945","1352132948","1352132912","1352132953","1352132923"],"photo_ids_order":["1352132912","1352132923","1352132936","1352132945","1352132948","1352132953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad23f7a19043f77cc6d5f82bd1fc4974.jpg","text":"TemporaryFile(/tmp/multipartBody5693207458243272249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437753422,"filename":"image_12042025_04_42_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b575a2ddc60fbec44dfa08ea03c34108.jpg","text":"TemporaryFile(/tmp/multipartBody7239549473592584339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437753422,"filename":"image_12042025_04_42_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40144e6e1b7df1465a0fabbbf9bab97b.jpg","text":"TemporaryFile(/tmp/multipartBody5445966393248553886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437753422,"filename":"image_12042025_04_42_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38e8bc2242fdc7c521d71a04b186536e.jpg","text":"TemporaryFile(/tmp/multipartBody5383571547022892181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437753422,"filename":"image_12042025_04_41_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ad226379a9da3ffb6588cd15ea2a302.jpg","text":"TemporaryFile(/tmp/multipartBody696648147289139523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437753422,"filename":"image_12042025_04_42_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bdc05da7609bb9236d8cd6efa951595.jpg","text":"TemporaryFile(/tmp/multipartBody4432001446651674301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437753422,"filename":"image_12042025_04_42_04_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352132936","file1":"1352132923","file0":"1352132912","file4":"1352132948","file5":"1352132953","file3":"1352132945"},"map_files_photo_id_array":[{"photo_id":"1352132953","filename":"file5"},{"photo_id":"1352132936","filename":"file2"},{"photo_id":"1352132948","filename":"file4"},{"photo_id":"1352132923","filename":"file1"},{"photo_id":"1352132912","filename":"file0"},{"photo_id":"1352132945","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352132936":["hashtag1","hashtag2"]},{"1352132945":["hashtag1","hashtag2"]},{"1352132948":["hashtag1","hashtag2"]},{"1352132912":["hashtag1","hashtag2"]},{"1352132953":["hashtag1","hashtag2"]},{"1352132923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352132936, 1352132945, 1352132948, 1352132912, 1352132953, 1352132923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40252208709717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:02:32.955265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_54_9434.jpg', '/home/pi/Desktop/images/12042025/04/42/image_12042025_04_43_05_10365.jpg', '/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_15_10361.jpg', '/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_25_9462.jpg', '/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_35_10348.jpg', '/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_44_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/42/image_12042025_04_42_54_9434.jpg
/home/pi/Desktop/images/12042025/04/42/image_12042025_04_43_05_10365.jpg
/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_15_10361.jpg
/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_25_9462.jpg
/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_35_10348.jpg
/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_44_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352133120","1352133128","1352133046","1352133124","1352133103","1352133081"],"photo_ids_order":["1352133046","1352133081","1352133103","1352133120","1352133124","1352133128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d30bfbbf5ed968ca1b6f7afee699e87.jpg","text":"TemporaryFile(/tmp/multipartBody8922916434023254365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437813513,"filename":"image_12042025_04_43_25_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae4bbbde8819613809b5801a82de22af.jpg","text":"TemporaryFile(/tmp/multipartBody4075374352817982105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437813513,"filename":"image_12042025_04_43_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d78958dcdefb37cd902f71a7b30af343.jpg","text":"TemporaryFile(/tmp/multipartBody2468547488635060259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437813513,"filename":"image_12042025_04_42_54_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfd872c7e2c2cdfcc392fad5cebd3e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5598678555697391565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437813513,"filename":"image_12042025_04_43_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1482c2242f19449276d6929af83fd7b.jpg","text":"TemporaryFile(/tmp/multipartBody2239802615983219266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437813513,"filename":"image_12042025_04_43_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b759c384e72a872b3f3aae46081ec46c.jpg","text":"TemporaryFile(/tmp/multipartBody1325811880544889748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437813513,"filename":"image_12042025_04_43_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352133103","file1":"1352133081","file0":"1352133046","file4":"1352133124","file5":"1352133128","file3":"1352133120"},"map_files_photo_id_array":[{"photo_id":"1352133128","filename":"file5"},{"photo_id":"1352133103","filename":"file2"},{"photo_id":"1352133124","filename":"file4"},{"photo_id":"1352133081","filename":"file1"},{"photo_id":"1352133046","filename":"file0"},{"photo_id":"1352133120","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352133120":["hashtag1","hashtag2"]},{"1352133128":["hashtag1","hashtag2"]},{"1352133046":["hashtag1","hashtag2"]},{"1352133124":["hashtag1","hashtag2"]},{"1352133103":["hashtag1","hashtag2"]},{"1352133081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352133120, 1352133128, 1352133046, 1352133124, 1352133103, 1352133081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.200021505355835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:03:33.148103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_55_10459.jpg', '/home/pi/Desktop/images/12042025/04/43/image_12042025_04_44_05_10467.jpg', '/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_15_9372.jpg', '/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_25_10435.jpg', '/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_35_9561.jpg', '/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_45_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/43/image_12042025_04_43_55_10459.jpg
/home/pi/Desktop/images/12042025/04/43/image_12042025_04_44_05_10467.jpg
/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_15_9372.jpg
/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_25_10435.jpg
/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_35_9561.jpg
/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_45_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352133218","1352133200","1352133232","1352133192","1352133195","1352133255"],"photo_ids_order":["1352133192","1352133195","1352133200","1352133218","1352133232","1352133255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5adff5cd0ea315522670fdf54a37ccd9.jpg","text":"TemporaryFile(/tmp/multipartBody5802970085486305143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437873689,"filename":"image_12042025_04_44_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74042a8b4868181ebca2ca7893bde026.jpg","text":"TemporaryFile(/tmp/multipartBody3423334968397874221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437873689,"filename":"image_12042025_04_44_15_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84ee6b0e63a904c3ee85ea9803bed076.jpg","text":"TemporaryFile(/tmp/multipartBody5696589356650722617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437873689,"filename":"image_12042025_04_44_35_9561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e661d305fc58b8ac5909db79a5fc207.jpg","text":"TemporaryFile(/tmp/multipartBody1694459578834022164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437873689,"filename":"image_12042025_04_43_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7596e72fec5ef5f188cf916baf1e12a.jpg","text":"TemporaryFile(/tmp/multipartBody1242211947461661815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437873689,"filename":"image_12042025_04_44_05_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/363aea26f61e4ef60dcf92115141fe41.jpg","text":"TemporaryFile(/tmp/multipartBody8899118635813118003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437873689,"filename":"image_12042025_04_44_45_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352133200","file1":"1352133195","file0":"1352133192","file4":"1352133232","file5":"1352133255","file3":"1352133218"},"map_files_photo_id_array":[{"photo_id":"1352133255","filename":"file5"},{"photo_id":"1352133200","filename":"file2"},{"photo_id":"1352133232","filename":"file4"},{"photo_id":"1352133195","filename":"file1"},{"photo_id":"1352133192","filename":"file0"},{"photo_id":"1352133218","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352133218":["hashtag1","hashtag2"]},{"1352133200":["hashtag1","hashtag2"]},{"1352133232":["hashtag1","hashtag2"]},{"1352133192":["hashtag1","hashtag2"]},{"1352133195":["hashtag1","hashtag2"]},{"1352133255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352133218, 1352133200, 1352133232, 1352133192, 1352133195, 1352133255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.977853298187256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:04:32.169061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_54_9465.jpg', '/home/pi/Desktop/images/12042025/04/44/image_12042025_04_45_05_10364.jpg', '/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_14_9441.jpg', '/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_25_10387.jpg', '/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_35_10374.jpg', '/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_45_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/44/image_12042025_04_44_54_9465.jpg
/home/pi/Desktop/images/12042025/04/44/image_12042025_04_45_05_10364.jpg
/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_14_9441.jpg
/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_25_10387.jpg
/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_35_10374.jpg
/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_45_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352133380","1352133368","1352133376","1352133361","1352133372","1352133363"],"photo_ids_order":["1352133361","1352133363","1352133368","1352133372","1352133376","1352133380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37bfa2b07fb61bc2a5c0d47e2e627ecc.jpg","text":"TemporaryFile(/tmp/multipartBody3695272482551167013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437934611,"filename":"image_12042025_04_45_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30c7e79f5e8968c5df3c2d6a221e9d30.jpg","text":"TemporaryFile(/tmp/multipartBody9167926148438981497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437934611,"filename":"image_12042025_04_45_14_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c946529a4b79072fd2bb5f398bd3029.jpg","text":"TemporaryFile(/tmp/multipartBody6469289261225313528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437934611,"filename":"image_12042025_04_45_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95fa8aa395340dfb33d22322c86fedd8.jpg","text":"TemporaryFile(/tmp/multipartBody7088630879882084417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437934611,"filename":"image_12042025_04_44_54_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb0aa9800234aa7478f494f74035ecfe.jpg","text":"TemporaryFile(/tmp/multipartBody510498169312461351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437934611,"filename":"image_12042025_04_45_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f753903676fecad906610f2babdc130d.jpg","text":"TemporaryFile(/tmp/multipartBody6184988719483151681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437934611,"filename":"image_12042025_04_45_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352133368","file1":"1352133363","file0":"1352133361","file4":"1352133376","file5":"1352133380","file3":"1352133372"},"map_files_photo_id_array":[{"photo_id":"1352133380","filename":"file5"},{"photo_id":"1352133368","filename":"file2"},{"photo_id":"1352133376","filename":"file4"},{"photo_id":"1352133363","filename":"file1"},{"photo_id":"1352133361","filename":"file0"},{"photo_id":"1352133372","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352133380":["hashtag1","hashtag2"]},{"1352133368":["hashtag1","hashtag2"]},{"1352133376":["hashtag1","hashtag2"]},{"1352133361":["hashtag1","hashtag2"]},{"1352133372":["hashtag1","hashtag2"]},{"1352133363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352133380, 1352133368, 1352133376, 1352133361, 1352133372, 1352133363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84384036064148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:05:32.386821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_55_10380.jpg', '/home/pi/Desktop/images/12042025/04/45/image_12042025_04_46_04_9508.jpg', '/home/pi/Desktop/images/12042025/04/46/image_12042025_04_46_25_10426.jpg', '/home/pi/Desktop/images/12042025/04/46/image_12042025_04_46_54_9356.jpg', '/home/pi/Desktop/images/12042025/04/47/image_12042025_04_47_15_10366.jpg', '/home/pi/Desktop/images/12042025/04/47/image_12042025_04_47_24_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/45/image_12042025_04_45_55_10380.jpg
/home/pi/Desktop/images/12042025/04/45/image_12042025_04_46_04_9508.jpg
/home/pi/Desktop/images/12042025/04/46/image_12042025_04_46_25_10426.jpg
/home/pi/Desktop/images/12042025/04/46/image_12042025_04_46_54_9356.jpg
/home/pi/Desktop/images/12042025/04/47/image_12042025_04_47_15_10366.jpg
/home/pi/Desktop/images/12042025/04/47/image_12042025_04_47_24_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352133444","1352133494","1352133426","1352133476","1352133424","1352133453"],"photo_ids_order":["1352133424","1352133426","1352133444","1352133453","1352133476","1352133494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f1bbab2d040e3c0da0b23144f7e5162.jpg","text":"TemporaryFile(/tmp/multipartBody1573585896938485954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437992920,"filename":"image_12042025_04_46_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5abeb6d00675ea2f997dfde28959ab3.jpg","text":"TemporaryFile(/tmp/multipartBody4255683906309606117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437992920,"filename":"image_12042025_04_47_24_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13922d4ec8822e794b76014dfc779f16.jpg","text":"TemporaryFile(/tmp/multipartBody4841960697551280303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437992920,"filename":"image_12042025_04_46_04_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/566a2d74c29c5542b83c785696f61f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6591731195440235958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437992920,"filename":"image_12042025_04_47_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44e367af2e3d6cff7e7019e85be8b524.jpg","text":"TemporaryFile(/tmp/multipartBody7721442189290264025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437992920,"filename":"image_12042025_04_45_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c47d9838d4e006e241f3d3d8d6f54b6.jpg","text":"TemporaryFile(/tmp/multipartBody7453781158516617536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744437992920,"filename":"image_12042025_04_46_54_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352133444","file1":"1352133426","file0":"1352133424","file4":"1352133476","file5":"1352133494","file3":"1352133453"},"map_files_photo_id_array":[{"photo_id":"1352133494","filename":"file5"},{"photo_id":"1352133444","filename":"file2"},{"photo_id":"1352133476","filename":"file4"},{"photo_id":"1352133426","filename":"file1"},{"photo_id":"1352133424","filename":"file0"},{"photo_id":"1352133453","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352133444":["hashtag1","hashtag2"]},{"1352133494":["hashtag1","hashtag2"]},{"1352133426":["hashtag1","hashtag2"]},{"1352133476":["hashtag1","hashtag2"]},{"1352133424":["hashtag1","hashtag2"]},{"1352133453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352133444, 1352133494, 1352133426, 1352133476, 1352133424, 1352133453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5633807182312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:06:32.644447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/47/image_12042025_04_47_44_9423.jpg', '/home/pi/Desktop/images/12042025/04/47/image_12042025_04_47_55_10365.jpg', '/home/pi/Desktop/images/12042025/04/47/image_12042025_04_48_05_10391.jpg', '/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_15_9470.jpg', '/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_25_10441.jpg', '/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_34_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/47/image_12042025_04_47_44_9423.jpg
/home/pi/Desktop/images/12042025/04/47/image_12042025_04_47_55_10365.jpg
/home/pi/Desktop/images/12042025/04/47/image_12042025_04_48_05_10391.jpg
/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_15_9470.jpg
/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_25_10441.jpg
/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_34_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352133740","1352133562","1352133622","1352133696","1352133684","1352133657"],"photo_ids_order":["1352133562","1352133622","1352133657","1352133684","1352133696","1352133740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec71fa5017d082585d6db5d926a43c75.jpg","text":"TemporaryFile(/tmp/multipartBody2610356676148672331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438053243,"filename":"image_12042025_04_48_34_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e743f80108fb49c4dfdfdfe663548ff.jpg","text":"TemporaryFile(/tmp/multipartBody7424460437495280629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438053243,"filename":"image_12042025_04_47_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0927fc05c2ae569abcba2b16aa81ae77.jpg","text":"TemporaryFile(/tmp/multipartBody5401682573739023023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438053243,"filename":"image_12042025_04_47_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0b12c940cf05ed8fb8cf5f8ea4d9648.jpg","text":"TemporaryFile(/tmp/multipartBody4227422790616114752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438053243,"filename":"image_12042025_04_48_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73f3ef2136523379e26692ad1a866b07.jpg","text":"TemporaryFile(/tmp/multipartBody4258995385784000698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438053243,"filename":"image_12042025_04_48_15_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/791c0f9422e35631ca759dfc4e5b88c5.jpg","text":"TemporaryFile(/tmp/multipartBody7484141571137888526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438053243,"filename":"image_12042025_04_48_05_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352133657","file1":"1352133622","file0":"1352133562","file4":"1352133696","file5":"1352133740","file3":"1352133684"},"map_files_photo_id_array":[{"photo_id":"1352133740","filename":"file5"},{"photo_id":"1352133657","filename":"file2"},{"photo_id":"1352133696","filename":"file4"},{"photo_id":"1352133622","filename":"file1"},{"photo_id":"1352133562","filename":"file0"},{"photo_id":"1352133684","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352133740":["hashtag1","hashtag2"]},{"1352133562":["hashtag1","hashtag2"]},{"1352133622":["hashtag1","hashtag2"]},{"1352133696":["hashtag1","hashtag2"]},{"1352133684":["hashtag1","hashtag2"]},{"1352133657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352133740, 1352133562, 1352133622, 1352133696, 1352133684, 1352133657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.951977014541626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:07:32.940887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_45_10379.jpg', '/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_55_10361.jpg', '/home/pi/Desktop/images/12042025/04/48/image_12042025_04_49_05_9436.jpg', '/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_15_10357.jpg', '/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_24_9427.jpg', '/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_45_10379.jpg
/home/pi/Desktop/images/12042025/04/48/image_12042025_04_48_55_10361.jpg
/home/pi/Desktop/images/12042025/04/48/image_12042025_04_49_05_9436.jpg
/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_15_10357.jpg
/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_24_9427.jpg
/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352134200","1352134387","1352134543","1352134303","1352134476","1352134571"],"photo_ids_order":["1352134200","1352134303","1352134387","1352134476","1352134543","1352134571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/032ffb4eef0e084c439d66ce804538e4.jpg","text":"TemporaryFile(/tmp/multipartBody7367126020172707021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438113502,"filename":"image_12042025_04_48_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a07f201c6448b0740daeb60e14cf07e5.jpg","text":"TemporaryFile(/tmp/multipartBody4735992701911485212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438113502,"filename":"image_12042025_04_49_05_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00de21c1319f03d95b5dd9cc8c17445b.jpg","text":"TemporaryFile(/tmp/multipartBody5107785631044374685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438113502,"filename":"image_12042025_04_49_24_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e916e1206926dcb5cc6e8fc833a4bebe.jpg","text":"TemporaryFile(/tmp/multipartBody5700703490176615423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438113502,"filename":"image_12042025_04_48_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2aad9c770f7827e4855e79644ca5dbae.jpg","text":"TemporaryFile(/tmp/multipartBody2224873191097364001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438113502,"filename":"image_12042025_04_49_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a39ff39eb7f96525d565ef74cb9bcc0.jpg","text":"TemporaryFile(/tmp/multipartBody5131845758168391024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438113502,"filename":"image_12042025_04_49_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352134387","file1":"1352134303","file0":"1352134200","file4":"1352134543","file5":"1352134571","file3":"1352134476"},"map_files_photo_id_array":[{"photo_id":"1352134571","filename":"file5"},{"photo_id":"1352134387","filename":"file2"},{"photo_id":"1352134543","filename":"file4"},{"photo_id":"1352134303","filename":"file1"},{"photo_id":"1352134200","filename":"file0"},{"photo_id":"1352134476","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352134200":["hashtag1","hashtag2"]},{"1352134387":["hashtag1","hashtag2"]},{"1352134543":["hashtag1","hashtag2"]},{"1352134303":["hashtag1","hashtag2"]},{"1352134476":["hashtag1","hashtag2"]},{"1352134571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352134200, 1352134387, 1352134543, 1352134303, 1352134476, 1352134571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.314250230789185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:08:32.955583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_45_10392.jpg', '/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_55_9427.jpg', '/home/pi/Desktop/images/12042025/04/49/image_12042025_04_50_05_10369.jpg', '/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_14_9399.jpg', '/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_25_10367.jpg', '/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_35_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_45_10392.jpg
/home/pi/Desktop/images/12042025/04/49/image_12042025_04_49_55_9427.jpg
/home/pi/Desktop/images/12042025/04/49/image_12042025_04_50_05_10369.jpg
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_14_9399.jpg
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_25_10367.jpg
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_35_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352135147","1352135089","1352134993","1352135221","1352135265","1352135028"],"photo_ids_order":["1352134993","1352135028","1352135089","1352135147","1352135221","1352135265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74a698c26b06696d6388ca06f58f097e.jpg","text":"TemporaryFile(/tmp/multipartBody12118992816196305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438173503,"filename":"image_12042025_04_50_14_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ddb88aea65374c5769b1042347ab9eb.jpg","text":"TemporaryFile(/tmp/multipartBody3820301642700438149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438173503,"filename":"image_12042025_04_50_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97475089d1a4f591f597095bb2042b87.jpg","text":"TemporaryFile(/tmp/multipartBody6504317741260012113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438173503,"filename":"image_12042025_04_49_45_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6dce7e0e32829a0686e93848a602a3a5.jpg","text":"TemporaryFile(/tmp/multipartBody3216755652924753919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438173503,"filename":"image_12042025_04_50_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb205adfd01404c896f995b54a470223.jpg","text":"TemporaryFile(/tmp/multipartBody1704342556866577844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438173503,"filename":"image_12042025_04_50_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfe00d05fc6c35251309b3a354c47c84.jpg","text":"TemporaryFile(/tmp/multipartBody5403164452236314457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438173503,"filename":"image_12042025_04_49_55_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352135089","file1":"1352135028","file0":"1352134993","file4":"1352135221","file5":"1352135265","file3":"1352135147"},"map_files_photo_id_array":[{"photo_id":"1352135265","filename":"file5"},{"photo_id":"1352135089","filename":"file2"},{"photo_id":"1352135221","filename":"file4"},{"photo_id":"1352135028","filename":"file1"},{"photo_id":"1352134993","filename":"file0"},{"photo_id":"1352135147","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352135147":["hashtag1","hashtag2"]},{"1352135089":["hashtag1","hashtag2"]},{"1352134993":["hashtag1","hashtag2"]},{"1352135221":["hashtag1","hashtag2"]},{"1352135265":["hashtag1","hashtag2"]},{"1352135028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352135147, 1352135089, 1352134993, 1352135221, 1352135265, 1352135028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36248469352722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:09:32.289532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_44_9363.jpg', '/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_55_10362.jpg', '/home/pi/Desktop/images/12042025/04/50/image_12042025_04_51_05_10373.jpg', '/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_15_9389.jpg', '/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_25_10420.jpg', '/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_34_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_44_9363.jpg
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_55_10362.jpg
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_51_05_10373.jpg
/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_15_9389.jpg
/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_25_10420.jpg
/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_34_9367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46343016624450684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 08:09:42.221287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_44_9363.jpg', '/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_55_10362.jpg', '/home/pi/Desktop/images/12042025/04/50/image_12042025_04_51_05_10373.jpg', '/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_15_9389.jpg', '/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_25_10420.jpg', '/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_34_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_44_9363.jpg
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_50_55_10362.jpg
/home/pi/Desktop/images/12042025/04/50/image_12042025_04_51_05_10373.jpg
/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_15_9389.jpg
/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_25_10420.jpg
/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_34_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352135866","1352136016","1352136063","1352136042","1352135809","1352135949"],"photo_ids_order":["1352135809","1352135866","1352135949","1352136016","1352136042","1352136063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1452daa8f5adf9ddc02e5a9055fc35f.jpg","text":"TemporaryFile(/tmp/multipartBody1204055936275920937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438242710,"filename":"image_12042025_04_50_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aebc80b7cb08fcce86779a34b47e173a.jpg","text":"TemporaryFile(/tmp/multipartBody4221367370925408534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438242710,"filename":"image_12042025_04_51_15_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f45f20233a789e9e1bd07ba197fe268e.jpg","text":"TemporaryFile(/tmp/multipartBody8039551562708031664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438242710,"filename":"image_12042025_04_51_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/739ae048d0b1a8a9e61b1121bb6f5701.jpg","text":"TemporaryFile(/tmp/multipartBody494643690322421421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438242710,"filename":"image_12042025_04_51_25_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/862d7dd14a46feb51a6c465a92ade464.jpg","text":"TemporaryFile(/tmp/multipartBody6039717037904661581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438242710,"filename":"image_12042025_04_50_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebc35198b3214d6898df215902041866.jpg","text":"TemporaryFile(/tmp/multipartBody1404237374585828350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438242710,"filename":"image_12042025_04_51_05_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352135949","file1":"1352135866","file0":"1352135809","file4":"1352136042","file5":"1352136063","file3":"1352136016"},"map_files_photo_id_array":[{"photo_id":"1352136063","filename":"file5"},{"photo_id":"1352135949","filename":"file2"},{"photo_id":"1352136042","filename":"file4"},{"photo_id":"1352135866","filename":"file1"},{"photo_id":"1352135809","filename":"file0"},{"photo_id":"1352136016","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352135866":["hashtag1","hashtag2"]},{"1352136016":["hashtag1","hashtag2"]},{"1352136063":["hashtag1","hashtag2"]},{"1352136042":["hashtag1","hashtag2"]},{"1352135809":["hashtag1","hashtag2"]},{"1352135949":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352135866, 1352136016, 1352136063, 1352136042, 1352135809, 1352135949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.64943528175354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:10:32.320735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_55_10371.jpg', '/home/pi/Desktop/images/12042025/04/51/image_12042025_04_52_04_9370.jpg', '/home/pi/Desktop/images/12042025/04/52/image_12042025_04_52_15_10468.jpg', '/home/pi/Desktop/images/12042025/04/52/image_12042025_04_52_24_9374.jpg', '/home/pi/Desktop/images/12042025/04/52/image_12042025_04_52_35_10439.jpg', '/home/pi/Desktop/images/12042025/04/52/image_12042025_04_52_55_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/51/image_12042025_04_51_55_10371.jpg
/home/pi/Desktop/images/12042025/04/51/image_12042025_04_52_04_9370.jpg
/home/pi/Desktop/images/12042025/04/52/image_12042025_04_52_15_10468.jpg
/home/pi/Desktop/images/12042025/04/52/image_12042025_04_52_24_9374.jpg
/home/pi/Desktop/images/12042025/04/52/image_12042025_04_52_35_10439.jpg
/home/pi/Desktop/images/12042025/04/52/image_12042025_04_52_55_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352136382","1352136262","1352136315","1352136170","1352136329","1352136224"],"photo_ids_order":["1352136170","1352136224","1352136262","1352136315","1352136329","1352136382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd77e64145fe703bdaafcf9adf4df1de.jpg","text":"TemporaryFile(/tmp/multipartBody5348044119437791937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438292848,"filename":"image_12042025_04_52_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c1b03134247655bacdc3c8dee4e7d9d.jpg","text":"TemporaryFile(/tmp/multipartBody681678262666445920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438292848,"filename":"image_12042025_04_52_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d4cf4d14910e86e915d74b82aaacb77.jpg","text":"TemporaryFile(/tmp/multipartBody5646081800232967367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438292848,"filename":"image_12042025_04_52_24_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d308400d653e204799f75e7d92c201a4.jpg","text":"TemporaryFile(/tmp/multipartBody6744276835955808755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438292848,"filename":"image_12042025_04_51_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3c04a1d4612ffd7742be3539e7cbd6b.jpg","text":"TemporaryFile(/tmp/multipartBody3880265006563830787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438292848,"filename":"image_12042025_04_52_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef914f5934b19f8e6fd8aa1e75655f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1845784114359834888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438292848,"filename":"image_12042025_04_52_04_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352136262","file1":"1352136224","file0":"1352136170","file4":"1352136329","file5":"1352136382","file3":"1352136315"},"map_files_photo_id_array":[{"photo_id":"1352136382","filename":"file5"},{"photo_id":"1352136262","filename":"file2"},{"photo_id":"1352136329","filename":"file4"},{"photo_id":"1352136224","filename":"file1"},{"photo_id":"1352136170","filename":"file0"},{"photo_id":"1352136315","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352136382":["hashtag1","hashtag2"]},{"1352136262":["hashtag1","hashtag2"]},{"1352136315":["hashtag1","hashtag2"]},{"1352136170":["hashtag1","hashtag2"]},{"1352136329":["hashtag1","hashtag2"]},{"1352136224":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352136382, 1352136262, 1352136315, 1352136170, 1352136329, 1352136224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14655017852783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:11:32.565917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/52/image_12042025_04_53_05_10379.jpg', '/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_14_9454.jpg', '/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_25_10375.jpg', '/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_35_10439.jpg', '/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_45_9362.jpg', '/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_55_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/52/image_12042025_04_53_05_10379.jpg
/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_14_9454.jpg
/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_25_10375.jpg
/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_35_10439.jpg
/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_45_9362.jpg
/home/pi/Desktop/images/12042025/04/53/image_12042025_04_53_55_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352137036","1352136928","1352136780","1352136963","1352136843","1352137008"],"photo_ids_order":["1352136780","1352136843","1352136928","1352136963","1352137008","1352137036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44e2596ccb30fb5e8cd75114ee26b092.jpg","text":"TemporaryFile(/tmp/multipartBody4310922976630729854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438353109,"filename":"image_12042025_04_53_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/478ac0be3e636c96294056cf106d2579.jpg","text":"TemporaryFile(/tmp/multipartBody5809688529889002596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438353109,"filename":"image_12042025_04_53_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c628b5f361dec29c5500a9945c0253c.jpg","text":"TemporaryFile(/tmp/multipartBody8355250611715321298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438353109,"filename":"image_12042025_04_53_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbf7a27e696e0db60314d6049e56ac6a.jpg","text":"TemporaryFile(/tmp/multipartBody197899762576055567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438353109,"filename":"image_12042025_04_53_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b538589a211c3f38ee4919117d16a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4737785208965739755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438353109,"filename":"image_12042025_04_53_14_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5dd9a64f3b65f747cdfa3e7ae90749ec.jpg","text":"TemporaryFile(/tmp/multipartBody6627569324597219874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438353109,"filename":"image_12042025_04_53_45_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352136928","file1":"1352136843","file0":"1352136780","file4":"1352137008","file5":"1352137036","file3":"1352136963"},"map_files_photo_id_array":[{"photo_id":"1352137036","filename":"file5"},{"photo_id":"1352136928","filename":"file2"},{"photo_id":"1352137008","filename":"file4"},{"photo_id":"1352136843","filename":"file1"},{"photo_id":"1352136780","filename":"file0"},{"photo_id":"1352136963","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352137036":["hashtag1","hashtag2"]},{"1352136928":["hashtag1","hashtag2"]},{"1352136780":["hashtag1","hashtag2"]},{"1352136963":["hashtag1","hashtag2"]},{"1352136843":["hashtag1","hashtag2"]},{"1352137008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352137036, 1352136928, 1352136780, 1352136963, 1352136843, 1352137008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64408349990845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:12:32.826979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/53/image_12042025_04_54_04_9425.jpg', '/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_15_10420.jpg', '/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_24_9513.jpg', '/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_35_10376.jpg', '/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_45_10374.jpg', '/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_54_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/53/image_12042025_04_54_04_9425.jpg
/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_15_10420.jpg
/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_24_9513.jpg
/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_35_10376.jpg
/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_45_10374.jpg
/home/pi/Desktop/images/12042025/04/54/image_12042025_04_54_54_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352137350","1352137374","1352137292","1352137397","1352137382","1352137316"],"photo_ids_order":["1352137292","1352137316","1352137350","1352137374","1352137382","1352137397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47c2e2fb8624db79dbd278b3808b386b.jpg","text":"TemporaryFile(/tmp/multipartBody8630003479117310852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438413377,"filename":"image_12042025_04_54_24_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f4d3c800c5ac45ececcd7694a8ecb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3106951984125086830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438413377,"filename":"image_12042025_04_54_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6de4c9f75fe927d8178ad7f27ed31e8.jpg","text":"TemporaryFile(/tmp/multipartBody5865042348520842905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438413377,"filename":"image_12042025_04_54_04_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d66cd4eca22849c432ed66f616988a03.jpg","text":"TemporaryFile(/tmp/multipartBody1221350563263802343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438413377,"filename":"image_12042025_04_54_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a218fdc08b644d589dd1c882febc0f8.jpg","text":"TemporaryFile(/tmp/multipartBody3120168037560272233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438413377,"filename":"image_12042025_04_54_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fac33655d6b2abb00a41d32650f205f.jpg","text":"TemporaryFile(/tmp/multipartBody8703850143057575946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438413377,"filename":"image_12042025_04_54_15_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352137350","file1":"1352137316","file0":"1352137292","file4":"1352137382","file5":"1352137397","file3":"1352137374"},"map_files_photo_id_array":[{"photo_id":"1352137397","filename":"file5"},{"photo_id":"1352137350","filename":"file2"},{"photo_id":"1352137382","filename":"file4"},{"photo_id":"1352137316","filename":"file1"},{"photo_id":"1352137292","filename":"file0"},{"photo_id":"1352137374","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352137350":["hashtag1","hashtag2"]},{"1352137374":["hashtag1","hashtag2"]},{"1352137292":["hashtag1","hashtag2"]},{"1352137397":["hashtag1","hashtag2"]},{"1352137382":["hashtag1","hashtag2"]},{"1352137316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352137350, 1352137374, 1352137292, 1352137397, 1352137382, 1352137316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.156320095062256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:13:33.110873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/54/image_12042025_04_55_05_10355.jpg', '/home/pi/Desktop/images/12042025/04/55/image_12042025_04_55_25_10400.jpg', '/home/pi/Desktop/images/12042025/04/55/image_12042025_04_55_35_10364.jpg', '/home/pi/Desktop/images/12042025/04/55/image_12042025_04_55_44_9408.jpg', '/home/pi/Desktop/images/12042025/04/55/image_12042025_04_56_04_9478.jpg', '/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/54/image_12042025_04_55_05_10355.jpg
/home/pi/Desktop/images/12042025/04/55/image_12042025_04_55_25_10400.jpg
/home/pi/Desktop/images/12042025/04/55/image_12042025_04_55_35_10364.jpg
/home/pi/Desktop/images/12042025/04/55/image_12042025_04_55_44_9408.jpg
/home/pi/Desktop/images/12042025/04/55/image_12042025_04_56_04_9478.jpg
/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352137522","1352137603","1352137653","1352137547","1352137676","1352137573"],"photo_ids_order":["1352137522","1352137547","1352137573","1352137603","1352137653","1352137676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2ca68dfbf11bd43e1ead9813818feed.jpg","text":"TemporaryFile(/tmp/multipartBody8964533451924648698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438473932,"filename":"image_12042025_04_55_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14f8eb611ddca8e8cd9970f55b54bcf8.jpg","text":"TemporaryFile(/tmp/multipartBody6922416899848150090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438473932,"filename":"image_12042025_04_55_44_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c73da3c1ab13f064d08779044a333cf.jpg","text":"TemporaryFile(/tmp/multipartBody1365838176293961011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438473932,"filename":"image_12042025_04_56_04_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31fade5825f93edeec3c6c6f65307e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2000718086483027590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438473932,"filename":"image_12042025_04_55_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e87be608c1e0078f177a3fe617341789.jpg","text":"TemporaryFile(/tmp/multipartBody4221869277305565899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438473932,"filename":"image_12042025_04_56_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb76dfb8d3d28ebe8bf369fbbb5087dc.jpg","text":"TemporaryFile(/tmp/multipartBody1715559388980167798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438473932,"filename":"image_12042025_04_55_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352137573","file1":"1352137547","file0":"1352137522","file4":"1352137653","file5":"1352137676","file3":"1352137603"},"map_files_photo_id_array":[{"photo_id":"1352137676","filename":"file5"},{"photo_id":"1352137573","filename":"file2"},{"photo_id":"1352137653","filename":"file4"},{"photo_id":"1352137547","filename":"file1"},{"photo_id":"1352137522","filename":"file0"},{"photo_id":"1352137603","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352137522":["hashtag1","hashtag2"]},{"1352137603":["hashtag1","hashtag2"]},{"1352137653":["hashtag1","hashtag2"]},{"1352137547":["hashtag1","hashtag2"]},{"1352137676":["hashtag1","hashtag2"]},{"1352137573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352137522, 1352137603, 1352137653, 1352137547, 1352137676, 1352137573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.315330266952515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:14:33.177432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_25_10439.jpg', '/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_35_9439.jpg', '/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_45_10384.jpg', '/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_54_9437.jpg', '/home/pi/Desktop/images/12042025/04/56/image_12042025_04_57_05_10391.jpg', '/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_14_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_25_10439.jpg
/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_35_9439.jpg
/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_45_10384.jpg
/home/pi/Desktop/images/12042025/04/56/image_12042025_04_56_54_9437.jpg
/home/pi/Desktop/images/12042025/04/56/image_12042025_04_57_05_10391.jpg
/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_14_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352137833","1352137821","1352137830","1352137849","1352137798","1352137837"],"photo_ids_order":["1352137798","1352137821","1352137830","1352137833","1352137837","1352137849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fae15bc409c80739cb03eb1d528489df.jpg","text":"TemporaryFile(/tmp/multipartBody3520641779794693535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438535039,"filename":"image_12042025_04_56_54_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68eb9596e1d242417c330b675f2bb861.jpg","text":"TemporaryFile(/tmp/multipartBody6493460555668176035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438535039,"filename":"image_12042025_04_56_35_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f18e21da75c1bc7eb20e5307e250a5bd.jpg","text":"TemporaryFile(/tmp/multipartBody8520481227131269754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438535039,"filename":"image_12042025_04_56_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a7680e7959ada7b505f538904667515.jpg","text":"TemporaryFile(/tmp/multipartBody1134689484798474807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438535039,"filename":"image_12042025_04_57_14_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa91bcf77db64cb1dc0279a4c77f71aa.jpg","text":"TemporaryFile(/tmp/multipartBody4351740281123818952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438535039,"filename":"image_12042025_04_56_25_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52a9a441642f170fc01c22d438344d86.jpg","text":"TemporaryFile(/tmp/multipartBody1249279920701218898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438535039,"filename":"image_12042025_04_57_05_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352137830","file1":"1352137821","file0":"1352137798","file4":"1352137837","file5":"1352137849","file3":"1352137833"},"map_files_photo_id_array":[{"photo_id":"1352137849","filename":"file5"},{"photo_id":"1352137830","filename":"file2"},{"photo_id":"1352137837","filename":"file4"},{"photo_id":"1352137821","filename":"file1"},{"photo_id":"1352137798","filename":"file0"},{"photo_id":"1352137833","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352137833":["hashtag1","hashtag2"]},{"1352137821":["hashtag1","hashtag2"]},{"1352137830":["hashtag1","hashtag2"]},{"1352137849":["hashtag1","hashtag2"]},{"1352137798":["hashtag1","hashtag2"]},{"1352137837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352137833, 1352137821, 1352137830, 1352137849, 1352137798, 1352137837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82153534889221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:15:32.186631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_25_10371.jpg', '/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_35_10433.jpg', '/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_45_9433.jpg', '/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_55_10356.jpg', '/home/pi/Desktop/images/12042025/04/57/image_12042025_04_58_04_9383.jpg', '/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_34_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_25_10371.jpg
/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_35_10433.jpg
/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_45_9433.jpg
/home/pi/Desktop/images/12042025/04/57/image_12042025_04_57_55_10356.jpg
/home/pi/Desktop/images/12042025/04/57/image_12042025_04_58_04_9383.jpg
/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_34_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352137900","1352137902","1352137911","1352137905","1352137908","1352137913"],"photo_ids_order":["1352137900","1352137902","1352137905","1352137908","1352137911","1352137913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7a73bef6e1c96370e337e2338708f15.jpg","text":"TemporaryFile(/tmp/multipartBody852149714728086509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438592882,"filename":"image_12042025_04_57_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/274daf0ad554c5e262134a8879ac4e64.jpg","text":"TemporaryFile(/tmp/multipartBody3798900675155818567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438592882,"filename":"image_12042025_04_57_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49b906e9d652e0d6f2023ee7fe07c068.jpg","text":"TemporaryFile(/tmp/multipartBody3406357557353400374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438592882,"filename":"image_12042025_04_58_04_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebb7049c529ce3427fc9fdb3cf98d1a0.jpg","text":"TemporaryFile(/tmp/multipartBody5445913957791915934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438592882,"filename":"image_12042025_04_57_45_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73d4c672c8fdf0d099cedd3e2d93def1.jpg","text":"TemporaryFile(/tmp/multipartBody9041962739938802463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438592882,"filename":"image_12042025_04_57_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c5d721c50a9be3f733d41b3a15f37ff.jpg","text":"TemporaryFile(/tmp/multipartBody4144698042143785194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438592882,"filename":"image_12042025_04_58_34_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352137905","file1":"1352137902","file0":"1352137900","file4":"1352137911","file5":"1352137913","file3":"1352137908"},"map_files_photo_id_array":[{"photo_id":"1352137913","filename":"file5"},{"photo_id":"1352137905","filename":"file2"},{"photo_id":"1352137911","filename":"file4"},{"photo_id":"1352137902","filename":"file1"},{"photo_id":"1352137900","filename":"file0"},{"photo_id":"1352137908","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352137900":["hashtag1","hashtag2"]},{"1352137902":["hashtag1","hashtag2"]},{"1352137911":["hashtag1","hashtag2"]},{"1352137905":["hashtag1","hashtag2"]},{"1352137908":["hashtag1","hashtag2"]},{"1352137913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352137900, 1352137902, 1352137911, 1352137905, 1352137908, 1352137913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04964828491211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:16:32.426686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_45_10394.jpg', '/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_55_10414.jpg', '/home/pi/Desktop/images/12042025/04/58/image_12042025_04_59_05_9470.jpg', '/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_15_10360.jpg', '/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_24_9361.jpg', '/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_35_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_45_10394.jpg
/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_55_10414.jpg
/home/pi/Desktop/images/12042025/04/58/image_12042025_04_59_05_9470.jpg
/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_15_10360.jpg
/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_24_9361.jpg
/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_35_10415.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47068238258361816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 08:16:42.566987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_45_10394.jpg', '/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_55_10414.jpg', '/home/pi/Desktop/images/12042025/04/58/image_12042025_04_59_05_9470.jpg', '/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_15_10360.jpg', '/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_24_9361.jpg', '/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_35_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_45_10394.jpg
/home/pi/Desktop/images/12042025/04/58/image_12042025_04_58_55_10414.jpg
/home/pi/Desktop/images/12042025/04/58/image_12042025_04_59_05_9470.jpg
/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_15_10360.jpg
/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_24_9361.jpg
/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_35_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138078","1352138048","1352138027","1352138053","1352138038","1352138014"],"photo_ids_order":["1352138014","1352138027","1352138038","1352138048","1352138053","1352138078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/811e8de8d8606a90d9c5b5ea26f4086e.jpg","text":"TemporaryFile(/tmp/multipartBody8377996509355544034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438663046,"filename":"image_12042025_04_59_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd39b0aa0be3d29354164b0bbedc39a0.jpg","text":"TemporaryFile(/tmp/multipartBody8008895293968665938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438663046,"filename":"image_12042025_04_59_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5581a17129e2b663ecec29774ed41480.jpg","text":"TemporaryFile(/tmp/multipartBody7574638756827621626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438663046,"filename":"image_12042025_04_58_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9411fbfea459381596704a0cc83c23d6.jpg","text":"TemporaryFile(/tmp/multipartBody8964406606181462327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438663046,"filename":"image_12042025_04_59_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7999e33a106fc9d2a0930ab6dbeb4100.jpg","text":"TemporaryFile(/tmp/multipartBody6674905924433532434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438663046,"filename":"image_12042025_04_59_05_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/255041255a9535792302afc1f3883186.jpg","text":"TemporaryFile(/tmp/multipartBody4876888985499453668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438663046,"filename":"image_12042025_04_58_45_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352138038","file1":"1352138027","file0":"1352138014","file4":"1352138053","file5":"1352138078","file3":"1352138048"},"map_files_photo_id_array":[{"photo_id":"1352138078","filename":"file5"},{"photo_id":"1352138038","filename":"file2"},{"photo_id":"1352138053","filename":"file4"},{"photo_id":"1352138027","filename":"file1"},{"photo_id":"1352138014","filename":"file0"},{"photo_id":"1352138048","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352138078":["hashtag1","hashtag2"]},{"1352138048":["hashtag1","hashtag2"]},{"1352138027":["hashtag1","hashtag2"]},{"1352138053":["hashtag1","hashtag2"]},{"1352138038":["hashtag1","hashtag2"]},{"1352138014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352138078, 1352138048, 1352138027, 1352138053, 1352138038, 1352138014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.615561723709106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:17:32.773698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_44_9440.jpg', '/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_55_10369.jpg', '/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_15_10082.jpg', '/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_25_10283.jpg', '/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_35_10447.jpg', '/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_45_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_44_9440.jpg
/home/pi/Desktop/images/12042025/04/59/image_12042025_04_59_55_10369.jpg
/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_15_10082.jpg
/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_25_10283.jpg
/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_35_10447.jpg
/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_45_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138099","1352138103","1352138096","1352138092","1352138086","1352138107"],"photo_ids_order":["1352138086","1352138092","1352138096","1352138099","1352138103","1352138107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85ef5a1303dc47e1e7dc67ba44a440d6.jpg","text":"TemporaryFile(/tmp/multipartBody7504735013498245959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438713318,"filename":"image_12042025_05_01_25_10283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36e732e943cf083f87948681650562d1.jpg","text":"TemporaryFile(/tmp/multipartBody153496586613661836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438713318,"filename":"image_12042025_05_01_35_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15655063e8e32cc098ac91557812aaad.jpg","text":"TemporaryFile(/tmp/multipartBody8971144556308766046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438713318,"filename":"image_12042025_05_01_15_10082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5d871df830f80dc04d19defe2a0649e.jpg","text":"TemporaryFile(/tmp/multipartBody2081774739601426789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438713318,"filename":"image_12042025_04_59_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6fe1c41fb3398bf96b90a2cf3dde9a93.jpg","text":"TemporaryFile(/tmp/multipartBody8245986888765818906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438713318,"filename":"image_12042025_04_59_44_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7e83c3e0135b6df1c83aceb7c132493.jpg","text":"TemporaryFile(/tmp/multipartBody3853160907868049104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438713318,"filename":"image_12042025_05_01_45_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352138096","file1":"1352138092","file0":"1352138086","file4":"1352138103","file5":"1352138107","file3":"1352138099"},"map_files_photo_id_array":[{"photo_id":"1352138107","filename":"file5"},{"photo_id":"1352138096","filename":"file2"},{"photo_id":"1352138103","filename":"file4"},{"photo_id":"1352138092","filename":"file1"},{"photo_id":"1352138086","filename":"file0"},{"photo_id":"1352138099","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352138099":["hashtag1","hashtag2"]},{"1352138103":["hashtag1","hashtag2"]},{"1352138096":["hashtag1","hashtag2"]},{"1352138092":["hashtag1","hashtag2"]},{"1352138086":["hashtag1","hashtag2"]},{"1352138107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352138099, 1352138103, 1352138096, 1352138092, 1352138086, 1352138107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.415688037872314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:18:33.032576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_55_10446.jpg', '/home/pi/Desktop/images/12042025/05/01/image_12042025_05_02_05_9485.jpg', '/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_15_10370.jpg', '/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_25_10380.jpg', '/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_35_9357.jpg', '/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_45_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/01/image_12042025_05_01_55_10446.jpg
/home/pi/Desktop/images/12042025/05/01/image_12042025_05_02_05_9485.jpg
/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_15_10370.jpg
/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_25_10380.jpg
/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_35_9357.jpg
/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_45_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138133","1352138124","1352138180","1352138174","1352138156","1352138147"],"photo_ids_order":["1352138124","1352138133","1352138147","1352138156","1352138174","1352138180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72c867b9b352cd8e2b59b167b3a4b0dd.jpg","text":"TemporaryFile(/tmp/multipartBody6288223915327995731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438773571,"filename":"image_12042025_05_02_05_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c53aa7aa4921b2dab3303f68f1291df7.jpg","text":"TemporaryFile(/tmp/multipartBody7135096057791699674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438773571,"filename":"image_12042025_05_01_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd037a5be01aba6a2e49e62b5307c31c.jpg","text":"TemporaryFile(/tmp/multipartBody1082065509623216092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438773571,"filename":"image_12042025_05_02_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a95731d610ddfbef0480c44923b8893b.jpg","text":"TemporaryFile(/tmp/multipartBody6626919267808317030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438773571,"filename":"image_12042025_05_02_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a49c2269478047b8b5426d43addc5dee.jpg","text":"TemporaryFile(/tmp/multipartBody4568262887479078333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438773571,"filename":"image_12042025_05_02_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67056de52df6bf701317b54f92bb49ee.jpg","text":"TemporaryFile(/tmp/multipartBody5105658543908145945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438773571,"filename":"image_12042025_05_02_15_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352138147","file1":"1352138133","file0":"1352138124","file4":"1352138174","file5":"1352138180","file3":"1352138156"},"map_files_photo_id_array":[{"photo_id":"1352138180","filename":"file5"},{"photo_id":"1352138147","filename":"file2"},{"photo_id":"1352138174","filename":"file4"},{"photo_id":"1352138133","filename":"file1"},{"photo_id":"1352138124","filename":"file0"},{"photo_id":"1352138156","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352138133":["hashtag1","hashtag2"]},{"1352138124":["hashtag1","hashtag2"]},{"1352138180":["hashtag1","hashtag2"]},{"1352138174":["hashtag1","hashtag2"]},{"1352138156":["hashtag1","hashtag2"]},{"1352138147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352138133, 1352138124, 1352138180, 1352138174, 1352138156, 1352138147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.526139974594116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:19:32.182627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_55_10373.jpg', '/home/pi/Desktop/images/12042025/05/02/image_12042025_05_03_05_9377.jpg', '/home/pi/Desktop/images/12042025/05/03/image_12042025_05_03_15_10468.jpg', '/home/pi/Desktop/images/12042025/05/03/image_12042025_05_03_25_9361.jpg', '/home/pi/Desktop/images/12042025/05/03/image_12042025_05_03_35_10376.jpg', '/home/pi/Desktop/images/12042025/05/03/image_12042025_05_03_55_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/02/image_12042025_05_02_55_10373.jpg
/home/pi/Desktop/images/12042025/05/02/image_12042025_05_03_05_9377.jpg
/home/pi/Desktop/images/12042025/05/03/image_12042025_05_03_15_10468.jpg
/home/pi/Desktop/images/12042025/05/03/image_12042025_05_03_25_9361.jpg
/home/pi/Desktop/images/12042025/05/03/image_12042025_05_03_35_10376.jpg
/home/pi/Desktop/images/12042025/05/03/image_12042025_05_03_55_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138325","1352138297","1352138316","1352138321","1352138303","1352138300"],"photo_ids_order":["1352138297","1352138300","1352138303","1352138316","1352138321","1352138325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d45242b29b8845bf879e1fa754ba4ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5656482844049609085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438832712,"filename":"image_12042025_05_03_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d8a47e0f21a9a38f1c70b75c915e220.jpg","text":"TemporaryFile(/tmp/multipartBody2856531112784736689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438832712,"filename":"image_12042025_05_02_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ab67f3b681871288acddbca4269ac52.jpg","text":"TemporaryFile(/tmp/multipartBody345017525768150977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438832712,"filename":"image_12042025_05_03_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6ff77c7004d5b46d10928200353e401.jpg","text":"TemporaryFile(/tmp/multipartBody7761116747855631777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438832712,"filename":"image_12042025_05_03_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/720f5f8f8f0a83761dbdcba6099f79a6.jpg","text":"TemporaryFile(/tmp/multipartBody3017240096300114268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438832712,"filename":"image_12042025_05_03_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11f57db31a91b365ba3bbb79dd56fb15.jpg","text":"TemporaryFile(/tmp/multipartBody9001330835513075190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438832712,"filename":"image_12042025_05_03_05_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352138303","file1":"1352138300","file0":"1352138297","file4":"1352138321","file5":"1352138325","file3":"1352138316"},"map_files_photo_id_array":[{"photo_id":"1352138325","filename":"file5"},{"photo_id":"1352138303","filename":"file2"},{"photo_id":"1352138321","filename":"file4"},{"photo_id":"1352138300","filename":"file1"},{"photo_id":"1352138297","filename":"file0"},{"photo_id":"1352138316","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352138325":["hashtag1","hashtag2"]},{"1352138297":["hashtag1","hashtag2"]},{"1352138316":["hashtag1","hashtag2"]},{"1352138321":["hashtag1","hashtag2"]},{"1352138303":["hashtag1","hashtag2"]},{"1352138300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352138325, 1352138297, 1352138316, 1352138321, 1352138303, 1352138300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81484031677246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:20:32.374197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/03/image_12042025_05_04_05_10454.jpg', '/home/pi/Desktop/images/12042025/05/04/image_12042025_05_04_15_9366.jpg', '/home/pi/Desktop/images/12042025/05/04/image_12042025_05_04_35_9444.jpg', '/home/pi/Desktop/images/12042025/05/04/image_12042025_05_04_45_10403.jpg', '/home/pi/Desktop/images/12042025/05/04/image_12042025_05_04_55_10394.jpg', '/home/pi/Desktop/images/12042025/05/04/image_12042025_05_05_05_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/03/image_12042025_05_04_05_10454.jpg
/home/pi/Desktop/images/12042025/05/04/image_12042025_05_04_15_9366.jpg
/home/pi/Desktop/images/12042025/05/04/image_12042025_05_04_35_9444.jpg
/home/pi/Desktop/images/12042025/05/04/image_12042025_05_04_45_10403.jpg
/home/pi/Desktop/images/12042025/05/04/image_12042025_05_04_55_10394.jpg
/home/pi/Desktop/images/12042025/05/04/image_12042025_05_05_05_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138382","1352138451","1352138439","1352138431","1352138385","1352138394"],"photo_ids_order":["1352138382","1352138385","1352138394","1352138431","1352138439","1352138451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52ebf90a92ee30a52d830d48fe0edeba.jpg","text":"TemporaryFile(/tmp/multipartBody787675410601759944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438892919,"filename":"image_12042025_05_04_05_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba227b81db48a3af8dcf239fd0b93858.jpg","text":"TemporaryFile(/tmp/multipartBody1374386939605742135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438892919,"filename":"image_12042025_05_05_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0688e4d9e9ba1df6d44d33d13208d517.jpg","text":"TemporaryFile(/tmp/multipartBody784708956200463210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438892919,"filename":"image_12042025_05_04_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e28493cca367f9be16d3cb5dded134a8.jpg","text":"TemporaryFile(/tmp/multipartBody7689888955632578053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438892919,"filename":"image_12042025_05_04_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d90e5e9c1be18a5326d94292f62c2b1d.jpg","text":"TemporaryFile(/tmp/multipartBody4546267723235963418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438892919,"filename":"image_12042025_05_04_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd93d04f4497b12e9b330dfac12e6056.jpg","text":"TemporaryFile(/tmp/multipartBody72460329076779368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438892919,"filename":"image_12042025_05_04_35_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352138394","file1":"1352138385","file0":"1352138382","file4":"1352138439","file5":"1352138451","file3":"1352138431"},"map_files_photo_id_array":[{"photo_id":"1352138451","filename":"file5"},{"photo_id":"1352138394","filename":"file2"},{"photo_id":"1352138439","filename":"file4"},{"photo_id":"1352138385","filename":"file1"},{"photo_id":"1352138382","filename":"file0"},{"photo_id":"1352138431","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352138382":["hashtag1","hashtag2"]},{"1352138451":["hashtag1","hashtag2"]},{"1352138439":["hashtag1","hashtag2"]},{"1352138431":["hashtag1","hashtag2"]},{"1352138385":["hashtag1","hashtag2"]},{"1352138394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352138382, 1352138451, 1352138439, 1352138431, 1352138385, 1352138394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72286868095398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:21:32.714948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_15_10495.jpg', '/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_25_9375.jpg', '/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_35_10466.jpg', '/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_45_10420.jpg', '/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_55_9344.jpg', '/home/pi/Desktop/images/12042025/05/05/image_12042025_05_06_05_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_15_10495.jpg
/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_25_9375.jpg
/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_35_10466.jpg
/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_45_10420.jpg
/home/pi/Desktop/images/12042025/05/05/image_12042025_05_05_55_9344.jpg
/home/pi/Desktop/images/12042025/05/05/image_12042025_05_06_05_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138481","1352138483","1352138488","1352138497","1352138476","1352138493"],"photo_ids_order":["1352138476","1352138481","1352138483","1352138488","1352138493","1352138497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ebfd3a750d3bab9ae1ae38098832c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1918682548512840137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438953254,"filename":"image_12042025_05_05_25_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d9a35b1c0c4efd68dc59203176f653b.jpg","text":"TemporaryFile(/tmp/multipartBody4268514491498838950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438953254,"filename":"image_12042025_05_05_35_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36bf9205946b856d7a560ac49917bfff.jpg","text":"TemporaryFile(/tmp/multipartBody6859111653756848132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438953254,"filename":"image_12042025_05_05_45_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94952ffc57218e559c31d2b8314358e1.jpg","text":"TemporaryFile(/tmp/multipartBody4070166999770750691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438953254,"filename":"image_12042025_05_06_05_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab51235ba41f8078b054830e1a39e52f.jpg","text":"TemporaryFile(/tmp/multipartBody4775366906383603133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438953254,"filename":"image_12042025_05_05_15_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee06507c1404257cdc762e84586c93a4.jpg","text":"TemporaryFile(/tmp/multipartBody8503284382024481533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744438953254,"filename":"image_12042025_05_05_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352138483","file1":"1352138481","file0":"1352138476","file4":"1352138493","file5":"1352138497","file3":"1352138488"},"map_files_photo_id_array":[{"photo_id":"1352138497","filename":"file5"},{"photo_id":"1352138483","filename":"file2"},{"photo_id":"1352138493","filename":"file4"},{"photo_id":"1352138481","filename":"file1"},{"photo_id":"1352138476","filename":"file0"},{"photo_id":"1352138488","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352138481":["hashtag1","hashtag2"]},{"1352138483":["hashtag1","hashtag2"]},{"1352138488":["hashtag1","hashtag2"]},{"1352138497":["hashtag1","hashtag2"]},{"1352138476":["hashtag1","hashtag2"]},{"1352138493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352138481, 1352138483, 1352138488, 1352138497, 1352138476, 1352138493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64381742477417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:22:32.849035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/06/image_12042025_05_06_25_10373.jpg', '/home/pi/Desktop/images/12042025/05/06/image_12042025_05_06_35_10484.jpg', '/home/pi/Desktop/images/12042025/05/06/image_12042025_05_06_45_9348.jpg', '/home/pi/Desktop/images/12042025/05/06/image_12042025_05_06_55_10397.jpg', '/home/pi/Desktop/images/12042025/05/06/image_12042025_05_07_05_9423.jpg', '/home/pi/Desktop/images/12042025/05/07/image_12042025_05_07_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/06/image_12042025_05_06_25_10373.jpg
/home/pi/Desktop/images/12042025/05/06/image_12042025_05_06_35_10484.jpg
/home/pi/Desktop/images/12042025/05/06/image_12042025_05_06_45_9348.jpg
/home/pi/Desktop/images/12042025/05/06/image_12042025_05_06_55_10397.jpg
/home/pi/Desktop/images/12042025/05/06/image_12042025_05_07_05_9423.jpg
/home/pi/Desktop/images/12042025/05/07/image_12042025_05_07_15_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138594","1352138585","1352138651","1352138705","1352138623","1352138682"],"photo_ids_order":["1352138585","1352138594","1352138623","1352138651","1352138682","1352138705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b6862457fdae04af8d91f3934a08baa.jpg","text":"TemporaryFile(/tmp/multipartBody8359788419729292976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439013396,"filename":"image_12042025_05_06_35_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b5741d6997eb54fdc0ab9262fecfdbc.jpg","text":"TemporaryFile(/tmp/multipartBody2260489634023435849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439013396,"filename":"image_12042025_05_06_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87c2360b3ec5aa0ff9f065263c1bcb39.jpg","text":"TemporaryFile(/tmp/multipartBody4387790334828426679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439013396,"filename":"image_12042025_05_06_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4b5906e93cfa50f593b7670225ae082.jpg","text":"TemporaryFile(/tmp/multipartBody3069575254286789276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439013396,"filename":"image_12042025_05_07_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f23a9941ee57b33ebfbff11e301326b.jpg","text":"TemporaryFile(/tmp/multipartBody18168075890104654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439013396,"filename":"image_12042025_05_06_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a6204750ebf9cf9ba231e5b0575320b.jpg","text":"TemporaryFile(/tmp/multipartBody4675875194297473512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439013396,"filename":"image_12042025_05_07_05_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352138623","file1":"1352138594","file0":"1352138585","file4":"1352138682","file5":"1352138705","file3":"1352138651"},"map_files_photo_id_array":[{"photo_id":"1352138705","filename":"file5"},{"photo_id":"1352138623","filename":"file2"},{"photo_id":"1352138682","filename":"file4"},{"photo_id":"1352138594","filename":"file1"},{"photo_id":"1352138585","filename":"file0"},{"photo_id":"1352138651","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352138594":["hashtag1","hashtag2"]},{"1352138585":["hashtag1","hashtag2"]},{"1352138651":["hashtag1","hashtag2"]},{"1352138705":["hashtag1","hashtag2"]},{"1352138623":["hashtag1","hashtag2"]},{"1352138682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352138594, 1352138585, 1352138651, 1352138705, 1352138623, 1352138682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28004050254822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:23:33.038867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/07/image_12042025_05_07_45_10375.jpg', '/home/pi/Desktop/images/12042025/05/07/image_12042025_05_07_55_10369.jpg', '/home/pi/Desktop/images/12042025/05/07/image_12042025_05_08_05_9363.jpg', '/home/pi/Desktop/images/12042025/05/08/image_12042025_05_08_15_10435.jpg', '/home/pi/Desktop/images/12042025/05/08/image_12042025_05_08_35_10478.jpg', '/home/pi/Desktop/images/12042025/05/08/image_12042025_05_08_45_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/07/image_12042025_05_07_45_10375.jpg
/home/pi/Desktop/images/12042025/05/07/image_12042025_05_07_55_10369.jpg
/home/pi/Desktop/images/12042025/05/07/image_12042025_05_08_05_9363.jpg
/home/pi/Desktop/images/12042025/05/08/image_12042025_05_08_15_10435.jpg
/home/pi/Desktop/images/12042025/05/08/image_12042025_05_08_35_10478.jpg
/home/pi/Desktop/images/12042025/05/08/image_12042025_05_08_45_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352138829","1352138918","1352138852","1352138895","1352138898","1352138877"],"photo_ids_order":["1352138829","1352138852","1352138877","1352138895","1352138898","1352138918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e93b96df68861341d2e8ec9211f1978.jpg","text":"TemporaryFile(/tmp/multipartBody5461296648548497617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439073588,"filename":"image_12042025_05_07_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fddc134f366e67c7e6dcd57004d702a0.jpg","text":"TemporaryFile(/tmp/multipartBody2008923630334193597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439073588,"filename":"image_12042025_05_08_45_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d2de68a2e29e9a03bea1a90558a7af3.jpg","text":"TemporaryFile(/tmp/multipartBody8306721607871744309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439073588,"filename":"image_12042025_05_07_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72e7f994eb5dde13ce18ba96e7a72f43.jpg","text":"TemporaryFile(/tmp/multipartBody8619963687136381030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439073588,"filename":"image_12042025_05_08_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a858db6f1ae007e49aa32154dc4dacb.jpg","text":"TemporaryFile(/tmp/multipartBody5519739363854611367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439073588,"filename":"image_12042025_05_08_35_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3c867ddf5137c9c3d49c973081c95dd.jpg","text":"TemporaryFile(/tmp/multipartBody8907773811649261487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439073588,"filename":"image_12042025_05_08_05_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352138877","file1":"1352138852","file0":"1352138829","file4":"1352138898","file5":"1352138918","file3":"1352138895"},"map_files_photo_id_array":[{"photo_id":"1352138918","filename":"file5"},{"photo_id":"1352138877","filename":"file2"},{"photo_id":"1352138898","filename":"file4"},{"photo_id":"1352138852","filename":"file1"},{"photo_id":"1352138829","filename":"file0"},{"photo_id":"1352138895","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352138829":["hashtag1","hashtag2"]},{"1352138918":["hashtag1","hashtag2"]},{"1352138852":["hashtag1","hashtag2"]},{"1352138895":["hashtag1","hashtag2"]},{"1352138898":["hashtag1","hashtag2"]},{"1352138877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352138829, 1352138918, 1352138852, 1352138895, 1352138898, 1352138877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24806308746338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:24:32.214967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/08/image_12042025_05_08_55_10362.jpg', '/home/pi/Desktop/images/12042025/05/08/image_12042025_05_09_05_10465.jpg', '/home/pi/Desktop/images/12042025/05/09/image_12042025_05_09_15_9353.jpg', '/home/pi/Desktop/images/12042025/05/09/image_12042025_05_09_35_9442.jpg', '/home/pi/Desktop/images/12042025/05/09/image_12042025_05_09_45_10394.jpg', '/home/pi/Desktop/images/12042025/05/09/image_12042025_05_09_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/08/image_12042025_05_08_55_10362.jpg
/home/pi/Desktop/images/12042025/05/08/image_12042025_05_09_05_10465.jpg
/home/pi/Desktop/images/12042025/05/09/image_12042025_05_09_15_9353.jpg
/home/pi/Desktop/images/12042025/05/09/image_12042025_05_09_35_9442.jpg
/home/pi/Desktop/images/12042025/05/09/image_12042025_05_09_45_10394.jpg
/home/pi/Desktop/images/12042025/05/09/image_12042025_05_09_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139102","1352139086","1352139074","1352139119","1352139026","1352139051"],"photo_ids_order":["1352139026","1352139051","1352139074","1352139086","1352139102","1352139119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0660a26300a1054919dc2419936bb6b0.jpg","text":"TemporaryFile(/tmp/multipartBody1576987153290946024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439132743,"filename":"image_12042025_05_09_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96289ba8a4df21d0a46571460cf34ec9.jpg","text":"TemporaryFile(/tmp/multipartBody3658646481469879027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439132743,"filename":"image_12042025_05_09_35_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b8546ddad6a714d49b46eeb5ea5312e.jpg","text":"TemporaryFile(/tmp/multipartBody5080574492375923116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439132743,"filename":"image_12042025_05_09_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb2e979462fea5bcfca3a2161d5de06c.jpg","text":"TemporaryFile(/tmp/multipartBody6171315551354749976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439132743,"filename":"image_12042025_05_09_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c542c6dfb48f42f969096280d532244.jpg","text":"TemporaryFile(/tmp/multipartBody5866745456769757621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439132743,"filename":"image_12042025_05_08_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/764b37e5b1b3385eb617d4776bd66c08.jpg","text":"TemporaryFile(/tmp/multipartBody4574584255199739574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439132743,"filename":"image_12042025_05_09_05_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139074","file1":"1352139051","file0":"1352139026","file4":"1352139102","file5":"1352139119","file3":"1352139086"},"map_files_photo_id_array":[{"photo_id":"1352139119","filename":"file5"},{"photo_id":"1352139074","filename":"file2"},{"photo_id":"1352139102","filename":"file4"},{"photo_id":"1352139051","filename":"file1"},{"photo_id":"1352139026","filename":"file0"},{"photo_id":"1352139086","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139102":["hashtag1","hashtag2"]},{"1352139086":["hashtag1","hashtag2"]},{"1352139074":["hashtag1","hashtag2"]},{"1352139119":["hashtag1","hashtag2"]},{"1352139026":["hashtag1","hashtag2"]},{"1352139051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139102, 1352139086, 1352139074, 1352139119, 1352139026, 1352139051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66339159011841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:25:32.382147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/09/image_12042025_05_10_05_9380.jpg', '/home/pi/Desktop/images/12042025/05/10/image_12042025_05_10_15_10351.jpg', '/home/pi/Desktop/images/12042025/05/10/image_12042025_05_10_35_10437.jpg', '/home/pi/Desktop/images/12042025/05/10/image_12042025_05_10_45_10453.jpg', '/home/pi/Desktop/images/12042025/05/10/image_12042025_05_10_55_9455.jpg', '/home/pi/Desktop/images/12042025/05/10/image_12042025_05_11_05_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/09/image_12042025_05_10_05_9380.jpg
/home/pi/Desktop/images/12042025/05/10/image_12042025_05_10_15_10351.jpg
/home/pi/Desktop/images/12042025/05/10/image_12042025_05_10_35_10437.jpg
/home/pi/Desktop/images/12042025/05/10/image_12042025_05_10_45_10453.jpg
/home/pi/Desktop/images/12042025/05/10/image_12042025_05_10_55_9455.jpg
/home/pi/Desktop/images/12042025/05/10/image_12042025_05_11_05_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139263","1352139251","1352139236","1352139268","1352139241","1352139271"],"photo_ids_order":["1352139236","1352139241","1352139251","1352139263","1352139268","1352139271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5e158267d4d024a620f91f431e7ab5d.jpg","text":"TemporaryFile(/tmp/multipartBody8176381334696577251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439192929,"filename":"image_12042025_05_10_45_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/01b0f4d99c2fc2376cfcbe0b26a5594b.jpg","text":"TemporaryFile(/tmp/multipartBody3120529446587231642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439192929,"filename":"image_12042025_05_10_35_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d4f0c05b71c0cd4fc34e7c11459849f.jpg","text":"TemporaryFile(/tmp/multipartBody5400146355524506587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439192929,"filename":"image_12042025_05_10_05_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/100f20ad814455d65a5e2ed199375714.jpg","text":"TemporaryFile(/tmp/multipartBody7175323644594176972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439192929,"filename":"image_12042025_05_10_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d05d19d5873ece87128cdd5bd84da26.jpg","text":"TemporaryFile(/tmp/multipartBody382578234319874888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439192929,"filename":"image_12042025_05_10_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03243fd0f0cf07eb2ab09927f30a4c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3867136125424501359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439192929,"filename":"image_12042025_05_11_05_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139251","file1":"1352139241","file0":"1352139236","file4":"1352139268","file5":"1352139271","file3":"1352139263"},"map_files_photo_id_array":[{"photo_id":"1352139271","filename":"file5"},{"photo_id":"1352139251","filename":"file2"},{"photo_id":"1352139268","filename":"file4"},{"photo_id":"1352139241","filename":"file1"},{"photo_id":"1352139236","filename":"file0"},{"photo_id":"1352139263","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139263":["hashtag1","hashtag2"]},{"1352139251":["hashtag1","hashtag2"]},{"1352139236":["hashtag1","hashtag2"]},{"1352139268":["hashtag1","hashtag2"]},{"1352139241":["hashtag1","hashtag2"]},{"1352139271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139263, 1352139251, 1352139236, 1352139268, 1352139241, 1352139271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49032163619995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:26:32.509740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_15_9348.jpg', '/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_25_10387.jpg', '/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_35_10360.jpg', '/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_45_9353.jpg', '/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_55_10370.jpg', '/home/pi/Desktop/images/12042025/05/12/image_12042025_05_12_15_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_15_9348.jpg
/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_25_10387.jpg
/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_35_10360.jpg
/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_45_9353.jpg
/home/pi/Desktop/images/12042025/05/11/image_12042025_05_11_55_10370.jpg
/home/pi/Desktop/images/12042025/05/12/image_12042025_05_12_15_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139341","1352139358","1352139343","1352139334","1352139351","1352139354"],"photo_ids_order":["1352139334","1352139341","1352139343","1352139351","1352139354","1352139358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/170072a091148f4e6a6fdd0c2068c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody125914515705068245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439253054,"filename":"image_12042025_05_11_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dcda128e996eef3dd44108c624eba53a.jpg","text":"TemporaryFile(/tmp/multipartBody980224903444584160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439253054,"filename":"image_12042025_05_12_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0007744e1291c4ef0bd621b7c86fb0a0.jpg","text":"TemporaryFile(/tmp/multipartBody248202187266914334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439253054,"filename":"image_12042025_05_11_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/870b9f02048d65fd4e714a3596296e80.jpg","text":"TemporaryFile(/tmp/multipartBody8222544535581867233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439253054,"filename":"image_12042025_05_11_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06f297a507f394070aaaeac587104be4.jpg","text":"TemporaryFile(/tmp/multipartBody6574253872613703290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439253054,"filename":"image_12042025_05_11_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/554901501c1b1a3e8206dc8fd5f7e072.jpg","text":"TemporaryFile(/tmp/multipartBody9103992446759283715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439253054,"filename":"image_12042025_05_11_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139343","file1":"1352139341","file0":"1352139334","file4":"1352139354","file5":"1352139358","file3":"1352139351"},"map_files_photo_id_array":[{"photo_id":"1352139358","filename":"file5"},{"photo_id":"1352139343","filename":"file2"},{"photo_id":"1352139354","filename":"file4"},{"photo_id":"1352139341","filename":"file1"},{"photo_id":"1352139334","filename":"file0"},{"photo_id":"1352139351","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139341":["hashtag1","hashtag2"]},{"1352139358":["hashtag1","hashtag2"]},{"1352139343":["hashtag1","hashtag2"]},{"1352139334":["hashtag1","hashtag2"]},{"1352139351":["hashtag1","hashtag2"]},{"1352139354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139341, 1352139358, 1352139343, 1352139334, 1352139351, 1352139354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.914302110672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:27:32.697683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/12/image_12042025_05_12_25_10432.jpg', '/home/pi/Desktop/images/12042025/05/12/image_12042025_05_12_35_9631.jpg', '/home/pi/Desktop/images/12042025/05/12/image_12042025_05_12_55_9348.jpg', '/home/pi/Desktop/images/12042025/05/12/image_12042025_05_13_05_10371.jpg', '/home/pi/Desktop/images/12042025/05/13/image_12042025_05_13_14_9418.jpg', '/home/pi/Desktop/images/12042025/05/13/image_12042025_05_13_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/12/image_12042025_05_12_25_10432.jpg
/home/pi/Desktop/images/12042025/05/12/image_12042025_05_12_35_9631.jpg
/home/pi/Desktop/images/12042025/05/12/image_12042025_05_12_55_9348.jpg
/home/pi/Desktop/images/12042025/05/12/image_12042025_05_13_05_10371.jpg
/home/pi/Desktop/images/12042025/05/13/image_12042025_05_13_14_9418.jpg
/home/pi/Desktop/images/12042025/05/13/image_12042025_05_13_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139380","1352139407","1352139401","1352139436","1352139427","1352139420"],"photo_ids_order":["1352139380","1352139401","1352139407","1352139420","1352139427","1352139436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3a1b5e9c8e30d61f554c40074d37d05.jpg","text":"TemporaryFile(/tmp/multipartBody5364278191931583818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439313243,"filename":"image_12042025_05_12_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a27862e48cfa09e89936b827008539e6.jpg","text":"TemporaryFile(/tmp/multipartBody2790800558032446458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439313243,"filename":"image_12042025_05_12_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2b9851dce6d79c5820049b08cd7bdd4.jpg","text":"TemporaryFile(/tmp/multipartBody136927100307387293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439313243,"filename":"image_12042025_05_12_35_9631.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5bb8cc141e5a469c475aa649af1c267b.jpg","text":"TemporaryFile(/tmp/multipartBody7271575460668090222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439313243,"filename":"image_12042025_05_13_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa4af5500651501265505791bd413069.jpg","text":"TemporaryFile(/tmp/multipartBody2693126267743534029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439313243,"filename":"image_12042025_05_13_14_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6cceb7646335ccda43df3ddf1d4b6e34.jpg","text":"TemporaryFile(/tmp/multipartBody2762854892031349453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439313243,"filename":"image_12042025_05_13_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139407","file1":"1352139401","file0":"1352139380","file4":"1352139427","file5":"1352139436","file3":"1352139420"},"map_files_photo_id_array":[{"photo_id":"1352139436","filename":"file5"},{"photo_id":"1352139407","filename":"file2"},{"photo_id":"1352139427","filename":"file4"},{"photo_id":"1352139401","filename":"file1"},{"photo_id":"1352139380","filename":"file0"},{"photo_id":"1352139420","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139380":["hashtag1","hashtag2"]},{"1352139407":["hashtag1","hashtag2"]},{"1352139401":["hashtag1","hashtag2"]},{"1352139436":["hashtag1","hashtag2"]},{"1352139427":["hashtag1","hashtag2"]},{"1352139420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139380, 1352139407, 1352139401, 1352139436, 1352139427, 1352139420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56095337867737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:28:32.856776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/13/image_12042025_05_13_45_9393.jpg', '/home/pi/Desktop/images/12042025/05/13/image_12042025_05_13_55_10367.jpg', '/home/pi/Desktop/images/12042025/05/13/image_12042025_05_14_05_10356.jpg', '/home/pi/Desktop/images/12042025/05/14/image_12042025_05_14_25_10378.jpg', '/home/pi/Desktop/images/12042025/05/14/image_12042025_05_14_35_9458.jpg', '/home/pi/Desktop/images/12042025/05/14/image_12042025_05_14_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/13/image_12042025_05_13_45_9393.jpg
/home/pi/Desktop/images/12042025/05/13/image_12042025_05_13_55_10367.jpg
/home/pi/Desktop/images/12042025/05/13/image_12042025_05_14_05_10356.jpg
/home/pi/Desktop/images/12042025/05/14/image_12042025_05_14_25_10378.jpg
/home/pi/Desktop/images/12042025/05/14/image_12042025_05_14_35_9458.jpg
/home/pi/Desktop/images/12042025/05/14/image_12042025_05_14_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139464","1352139460","1352139471","1352139459","1352139474","1352139468"],"photo_ids_order":["1352139459","1352139460","1352139464","1352139468","1352139471","1352139474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdaa20980116a675a826c04afcf59826.jpg","text":"TemporaryFile(/tmp/multipartBody1312179384636240055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439373425,"filename":"image_12042025_05_14_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a234f0213219388ffa8ddccb60d8438.jpg","text":"TemporaryFile(/tmp/multipartBody2278806437112953229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439373425,"filename":"image_12042025_05_13_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f29f777c4178d593afdf1e8fb95b2147.jpg","text":"TemporaryFile(/tmp/multipartBody2455694320950152000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439373425,"filename":"image_12042025_05_14_35_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acf729e9c47a1c711dc84e506f04e12d.jpg","text":"TemporaryFile(/tmp/multipartBody6749749923035550906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439373425,"filename":"image_12042025_05_13_45_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d63fa11fcd3a4ee1c38b3ce6145395a5.jpg","text":"TemporaryFile(/tmp/multipartBody7460997772169590644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439373425,"filename":"image_12042025_05_14_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6c4df908db50fe94599dc1e36ec5c02.jpg","text":"TemporaryFile(/tmp/multipartBody6554371860996290918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439373425,"filename":"image_12042025_05_14_25_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139464","file1":"1352139460","file0":"1352139459","file4":"1352139471","file5":"1352139474","file3":"1352139468"},"map_files_photo_id_array":[{"photo_id":"1352139474","filename":"file5"},{"photo_id":"1352139464","filename":"file2"},{"photo_id":"1352139471","filename":"file4"},{"photo_id":"1352139460","filename":"file1"},{"photo_id":"1352139459","filename":"file0"},{"photo_id":"1352139468","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139464":["hashtag1","hashtag2"]},{"1352139460":["hashtag1","hashtag2"]},{"1352139471":["hashtag1","hashtag2"]},{"1352139459":["hashtag1","hashtag2"]},{"1352139474":["hashtag1","hashtag2"]},{"1352139468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139464, 1352139460, 1352139471, 1352139459, 1352139474, 1352139468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53833031654358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:29:33.160703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/14/image_12042025_05_14_55_10402.jpg', '/home/pi/Desktop/images/12042025/05/14/image_12042025_05_15_05_9359.jpg', '/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_15_10357.jpg', '/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_25_10373.jpg', '/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_35_9366.jpg', '/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_45_10497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/14/image_12042025_05_14_55_10402.jpg
/home/pi/Desktop/images/12042025/05/14/image_12042025_05_15_05_9359.jpg
/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_15_10357.jpg
/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_25_10373.jpg
/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_35_9366.jpg
/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_45_10497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139702","1352139752","1352139722","1352139725","1352139707","1352139738"],"photo_ids_order":["1352139702","1352139707","1352139722","1352139725","1352139738","1352139752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffe0301b949ceedee40359196e8e0a57.jpg","text":"TemporaryFile(/tmp/multipartBody6777630619732910318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439433714,"filename":"image_12042025_05_14_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ad3108ab2b54fe54113cdce7fc83b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4000164991432446445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439433714,"filename":"image_12042025_05_15_45_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/096a00ab350244baafa52fcb6a412e93.jpg","text":"TemporaryFile(/tmp/multipartBody680728793644034864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439433714,"filename":"image_12042025_05_15_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/012a597a0ac39489b6ceaaa394ac77b9.jpg","text":"TemporaryFile(/tmp/multipartBody7714731458155623182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439433714,"filename":"image_12042025_05_15_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98fbda94db4fe643e315396b069e09a4.jpg","text":"TemporaryFile(/tmp/multipartBody8312200284487974733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439433714,"filename":"image_12042025_05_15_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c54db2e719ffbb29cdcf8e63491434a.jpg","text":"TemporaryFile(/tmp/multipartBody5976589744470620826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439433714,"filename":"image_12042025_05_15_35_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139722","file1":"1352139707","file0":"1352139702","file4":"1352139738","file5":"1352139752","file3":"1352139725"},"map_files_photo_id_array":[{"photo_id":"1352139752","filename":"file5"},{"photo_id":"1352139722","filename":"file2"},{"photo_id":"1352139738","filename":"file4"},{"photo_id":"1352139707","filename":"file1"},{"photo_id":"1352139702","filename":"file0"},{"photo_id":"1352139725","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139702":["hashtag1","hashtag2"]},{"1352139752":["hashtag1","hashtag2"]},{"1352139722":["hashtag1","hashtag2"]},{"1352139725":["hashtag1","hashtag2"]},{"1352139707":["hashtag1","hashtag2"]},{"1352139738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139702, 1352139752, 1352139722, 1352139725, 1352139707, 1352139738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55036020278931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:30:32.339354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_55_9343.jpg', '/home/pi/Desktop/images/12042025/05/15/image_12042025_05_16_05_10376.jpg', '/home/pi/Desktop/images/12042025/05/16/image_12042025_05_16_15_10353.jpg', '/home/pi/Desktop/images/12042025/05/16/image_12042025_05_16_35_10363.jpg', '/home/pi/Desktop/images/12042025/05/16/image_12042025_05_16_45_10366.jpg', '/home/pi/Desktop/images/12042025/05/16/image_12042025_05_16_55_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/15/image_12042025_05_15_55_9343.jpg
/home/pi/Desktop/images/12042025/05/15/image_12042025_05_16_05_10376.jpg
/home/pi/Desktop/images/12042025/05/16/image_12042025_05_16_15_10353.jpg
/home/pi/Desktop/images/12042025/05/16/image_12042025_05_16_35_10363.jpg
/home/pi/Desktop/images/12042025/05/16/image_12042025_05_16_45_10366.jpg
/home/pi/Desktop/images/12042025/05/16/image_12042025_05_16_55_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139813","1352139821","1352139815","1352139824","1352139818","1352139805"],"photo_ids_order":["1352139805","1352139813","1352139815","1352139818","1352139821","1352139824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e763c6d13646f4a0838886e08b81799.jpg","text":"TemporaryFile(/tmp/multipartBody6938020682284128054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439492870,"filename":"image_12042025_05_16_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61adc5c4813ee953075694d439383a41.jpg","text":"TemporaryFile(/tmp/multipartBody7500518693089856388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439492870,"filename":"image_12042025_05_16_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c35046f1d6b5944c130451ef02f35b8.jpg","text":"TemporaryFile(/tmp/multipartBody2472872462877139775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439492870,"filename":"image_12042025_05_16_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b776038fc481c38e011a76ca38f1d3fd.jpg","text":"TemporaryFile(/tmp/multipartBody8293329527443352073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439492870,"filename":"image_12042025_05_16_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/468fc2f72f3c546b71828f02113c1ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1122112068178761906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439492870,"filename":"image_12042025_05_16_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2072b79e3374bb0c1c86d1f027b3622.jpg","text":"TemporaryFile(/tmp/multipartBody7159496796144018820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439492870,"filename":"image_12042025_05_15_55_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139815","file1":"1352139813","file0":"1352139805","file4":"1352139821","file5":"1352139824","file3":"1352139818"},"map_files_photo_id_array":[{"photo_id":"1352139824","filename":"file5"},{"photo_id":"1352139815","filename":"file2"},{"photo_id":"1352139821","filename":"file4"},{"photo_id":"1352139813","filename":"file1"},{"photo_id":"1352139805","filename":"file0"},{"photo_id":"1352139818","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139813":["hashtag1","hashtag2"]},{"1352139821":["hashtag1","hashtag2"]},{"1352139815":["hashtag1","hashtag2"]},{"1352139824":["hashtag1","hashtag2"]},{"1352139818":["hashtag1","hashtag2"]},{"1352139805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139813, 1352139821, 1352139815, 1352139824, 1352139818, 1352139805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8618803024292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:31:32.527159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/16/image_12042025_05_17_05_10454.jpg', '/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_15_9430.jpg', '/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_25_10359.jpg', '/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_35_10358.jpg', '/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_45_9353.jpg', '/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/16/image_12042025_05_17_05_10454.jpg
/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_15_9430.jpg
/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_25_10359.jpg
/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_35_10358.jpg
/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_45_9353.jpg
/home/pi/Desktop/images/12042025/05/17/image_12042025_05_17_55_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139863","1352139880","1352139871","1352139868","1352139885","1352139882"],"photo_ids_order":["1352139863","1352139868","1352139871","1352139880","1352139882","1352139885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c11f28f7b11c3d83902bfbfc978bf78a.jpg","text":"TemporaryFile(/tmp/multipartBody5696470042475710142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439553068,"filename":"image_12042025_05_17_05_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40fb21adcaeb2434e41cd24f9d40d6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5298567923747277130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439553068,"filename":"image_12042025_05_17_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e41746f49d0d3f126024fce996ef533c.jpg","text":"TemporaryFile(/tmp/multipartBody3483269077171388054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439553068,"filename":"image_12042025_05_17_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70530fa5a6bca8982cbebe70664cbb04.jpg","text":"TemporaryFile(/tmp/multipartBody239769744763153863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439553068,"filename":"image_12042025_05_17_15_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a776d9a076f951c0009248bf1182de43.jpg","text":"TemporaryFile(/tmp/multipartBody3805567175670904651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439553068,"filename":"image_12042025_05_17_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff03d5cac973f63b7d120892e8c46df4.jpg","text":"TemporaryFile(/tmp/multipartBody5862171327095178220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439553068,"filename":"image_12042025_05_17_45_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139871","file1":"1352139868","file0":"1352139863","file4":"1352139882","file5":"1352139885","file3":"1352139880"},"map_files_photo_id_array":[{"photo_id":"1352139885","filename":"file5"},{"photo_id":"1352139871","filename":"file2"},{"photo_id":"1352139882","filename":"file4"},{"photo_id":"1352139868","filename":"file1"},{"photo_id":"1352139863","filename":"file0"},{"photo_id":"1352139880","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139863":["hashtag1","hashtag2"]},{"1352139880":["hashtag1","hashtag2"]},{"1352139871":["hashtag1","hashtag2"]},{"1352139868":["hashtag1","hashtag2"]},{"1352139885":["hashtag1","hashtag2"]},{"1352139882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139863, 1352139880, 1352139871, 1352139868, 1352139885, 1352139882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.48531699180603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:32:33.088462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/17/image_12042025_05_18_05_9359.jpg', '/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_15_10353.jpg', '/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_25_10505.jpg', '/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_35_9349.jpg', '/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_45_10370.jpg', '/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/17/image_12042025_05_18_05_9359.jpg
/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_15_10353.jpg
/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_25_10505.jpg
/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_35_9349.jpg
/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_45_10370.jpg
/home/pi/Desktop/images/12042025/05/18/image_12042025_05_18_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139909","1352139914","1352139917","1352139911","1352139919","1352139922"],"photo_ids_order":["1352139909","1352139911","1352139914","1352139917","1352139919","1352139922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a0ff186d9e20cebfb691620029f3f66.jpg","text":"TemporaryFile(/tmp/multipartBody275454423442187230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439613688,"filename":"image_12042025_05_18_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6cdaa7e6a81a7c8cad9d1d22ebe3615.jpg","text":"TemporaryFile(/tmp/multipartBody7158549623675432805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439613688,"filename":"image_12042025_05_18_25_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/788a59b72009e51745985341c529697d.jpg","text":"TemporaryFile(/tmp/multipartBody9156759018868063084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439613688,"filename":"image_12042025_05_18_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb4f38632520c865f609da2027d9e22b.jpg","text":"TemporaryFile(/tmp/multipartBody2585910930728729102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439613688,"filename":"image_12042025_05_18_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f612bdf04490091edd73198ff20421c6.jpg","text":"TemporaryFile(/tmp/multipartBody4847232846192996307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439613688,"filename":"image_12042025_05_18_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe451fbcebe34573aa38419bba75bc9b.jpg","text":"TemporaryFile(/tmp/multipartBody7196052247825180279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439613688,"filename":"image_12042025_05_18_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139914","file1":"1352139911","file0":"1352139909","file4":"1352139919","file5":"1352139922","file3":"1352139917"},"map_files_photo_id_array":[{"photo_id":"1352139922","filename":"file5"},{"photo_id":"1352139914","filename":"file2"},{"photo_id":"1352139919","filename":"file4"},{"photo_id":"1352139911","filename":"file1"},{"photo_id":"1352139909","filename":"file0"},{"photo_id":"1352139917","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139909":["hashtag1","hashtag2"]},{"1352139914":["hashtag1","hashtag2"]},{"1352139917":["hashtag1","hashtag2"]},{"1352139911":["hashtag1","hashtag2"]},{"1352139919":["hashtag1","hashtag2"]},{"1352139922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139909, 1352139914, 1352139917, 1352139911, 1352139919, 1352139922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59383702278137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:33:33.065168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/18/image_12042025_05_19_05_9398.jpg', '/home/pi/Desktop/images/12042025/05/19/image_12042025_05_19_25_9372.jpg', '/home/pi/Desktop/images/12042025/05/19/image_12042025_05_19_35_10366.jpg', '/home/pi/Desktop/images/12042025/05/19/image_12042025_05_19_44_9472.jpg', '/home/pi/Desktop/images/12042025/05/19/image_12042025_05_19_55_10454.jpg', '/home/pi/Desktop/images/12042025/05/19/image_12042025_05_20_05_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/18/image_12042025_05_19_05_9398.jpg
/home/pi/Desktop/images/12042025/05/19/image_12042025_05_19_25_9372.jpg
/home/pi/Desktop/images/12042025/05/19/image_12042025_05_19_35_10366.jpg
/home/pi/Desktop/images/12042025/05/19/image_12042025_05_19_44_9472.jpg
/home/pi/Desktop/images/12042025/05/19/image_12042025_05_19_55_10454.jpg
/home/pi/Desktop/images/12042025/05/19/image_12042025_05_20_05_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139932","1352139941","1352139935","1352139938","1352139943","1352139931"],"photo_ids_order":["1352139931","1352139932","1352139935","1352139938","1352139941","1352139943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f803252f08b9d13e6cfe04e33ebf92c.jpg","text":"TemporaryFile(/tmp/multipartBody6395183815509242556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439673609,"filename":"image_12042025_05_19_25_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dee60924178b5611f9109178a888ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody1988778058386851339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439673609,"filename":"image_12042025_05_19_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c13687db30f19bc09ff2d5bb9bbe5eb6.jpg","text":"TemporaryFile(/tmp/multipartBody6029066899133264095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439673609,"filename":"image_12042025_05_19_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/deb86f395591d75da73b5be9a64b0442.jpg","text":"TemporaryFile(/tmp/multipartBody8445339842132786024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439673609,"filename":"image_12042025_05_19_44_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4296c40c22b827b52300c3c7b9ffd7a1.jpg","text":"TemporaryFile(/tmp/multipartBody2956526823888947244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439673609,"filename":"image_12042025_05_20_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85c3ae49a514e9f7713cad34d347dd20.jpg","text":"TemporaryFile(/tmp/multipartBody9047857225934447408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439673609,"filename":"image_12042025_05_19_05_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139935","file1":"1352139932","file0":"1352139931","file4":"1352139941","file5":"1352139943","file3":"1352139938"},"map_files_photo_id_array":[{"photo_id":"1352139943","filename":"file5"},{"photo_id":"1352139935","filename":"file2"},{"photo_id":"1352139941","filename":"file4"},{"photo_id":"1352139932","filename":"file1"},{"photo_id":"1352139931","filename":"file0"},{"photo_id":"1352139938","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139932":["hashtag1","hashtag2"]},{"1352139941":["hashtag1","hashtag2"]},{"1352139935":["hashtag1","hashtag2"]},{"1352139938":["hashtag1","hashtag2"]},{"1352139943":["hashtag1","hashtag2"]},{"1352139931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139932, 1352139941, 1352139935, 1352139938, 1352139943, 1352139931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.437154054641724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:34:32.283872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_15_9439.jpg', '/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_25_10386.jpg', '/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_35_9403.jpg', '/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_45_10367.jpg', '/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_55_10445.jpg', '/home/pi/Desktop/images/12042025/05/20/image_12042025_05_21_05_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_15_9439.jpg
/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_25_10386.jpg
/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_35_9403.jpg
/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_45_10367.jpg
/home/pi/Desktop/images/12042025/05/20/image_12042025_05_20_55_10445.jpg
/home/pi/Desktop/images/12042025/05/20/image_12042025_05_21_05_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352139962","1352139965","1352139953","1352139955","1352139958","1352139960"],"photo_ids_order":["1352139953","1352139955","1352139958","1352139960","1352139962","1352139965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8c1b28e215544229661189393f7ef7f.jpg","text":"TemporaryFile(/tmp/multipartBody5366205553202705237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439732831,"filename":"image_12042025_05_20_55_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c303e47661a9c4bfdd0d1e359f664fd.jpg","text":"TemporaryFile(/tmp/multipartBody794430203650780854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439732831,"filename":"image_12042025_05_21_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3b7c91f385a65635586616605a8bac2.jpg","text":"TemporaryFile(/tmp/multipartBody5543390127148594875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439732831,"filename":"image_12042025_05_20_15_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4398e042e9f0063f35cd3d6828406000.jpg","text":"TemporaryFile(/tmp/multipartBody1663472438412981495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439732831,"filename":"image_12042025_05_20_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f040a3c7406a54d1c02afa75bdde5054.jpg","text":"TemporaryFile(/tmp/multipartBody681409915183904837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439732831,"filename":"image_12042025_05_20_35_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35c539e2b5d1ab3299f9e67d5c02c063.jpg","text":"TemporaryFile(/tmp/multipartBody251574367186518714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439732831,"filename":"image_12042025_05_20_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139958","file1":"1352139955","file0":"1352139953","file4":"1352139962","file5":"1352139965","file3":"1352139960"},"map_files_photo_id_array":[{"photo_id":"1352139965","filename":"file5"},{"photo_id":"1352139958","filename":"file2"},{"photo_id":"1352139962","filename":"file4"},{"photo_id":"1352139955","filename":"file1"},{"photo_id":"1352139953","filename":"file0"},{"photo_id":"1352139960","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352139962":["hashtag1","hashtag2"]},{"1352139965":["hashtag1","hashtag2"]},{"1352139953":["hashtag1","hashtag2"]},{"1352139955":["hashtag1","hashtag2"]},{"1352139958":["hashtag1","hashtag2"]},{"1352139960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352139962, 1352139965, 1352139953, 1352139955, 1352139958, 1352139960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4341561794281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:35:32.557383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/21/image_12042025_05_21_25_9465.jpg', '/home/pi/Desktop/images/12042025/05/21/image_12042025_05_21_35_10368.jpg', '/home/pi/Desktop/images/12042025/05/21/image_12042025_05_21_45_10406.jpg', '/home/pi/Desktop/images/12042025/05/21/image_12042025_05_21_55_9336.jpg', '/home/pi/Desktop/images/12042025/05/21/image_12042025_05_22_05_10402.jpg', '/home/pi/Desktop/images/12042025/05/22/image_12042025_05_22_15_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/21/image_12042025_05_21_25_9465.jpg
/home/pi/Desktop/images/12042025/05/21/image_12042025_05_21_35_10368.jpg
/home/pi/Desktop/images/12042025/05/21/image_12042025_05_21_45_10406.jpg
/home/pi/Desktop/images/12042025/05/21/image_12042025_05_21_55_9336.jpg
/home/pi/Desktop/images/12042025/05/21/image_12042025_05_22_05_10402.jpg
/home/pi/Desktop/images/12042025/05/22/image_12042025_05_22_15_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352140005","1352139991","1352139994","1352139997","1352140007","1352139999"],"photo_ids_order":["1352139991","1352139994","1352139997","1352139999","1352140005","1352140007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3238e72e45442c7b4d559e2ed5f6dfc8.jpg","text":"TemporaryFile(/tmp/multipartBody1996627121029688662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439793095,"filename":"image_12042025_05_22_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f142a52b94ae2ca9fcf1e7177d9b74be.jpg","text":"TemporaryFile(/tmp/multipartBody7420232407114182185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439793095,"filename":"image_12042025_05_21_25_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e74cc19b6be3e91c83c2be229fc1b3b9.jpg","text":"TemporaryFile(/tmp/multipartBody3799712483899597547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439793095,"filename":"image_12042025_05_21_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9528c37af2f537d2b8dfe2abe6b81db8.jpg","text":"TemporaryFile(/tmp/multipartBody315023735211532955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439793095,"filename":"image_12042025_05_21_45_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fdf0eec89caa258bb05ff95a2ff2d65.jpg","text":"TemporaryFile(/tmp/multipartBody4004172959752519466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439793095,"filename":"image_12042025_05_22_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17d62e7c56287311a643a7d2bea6ca2e.jpg","text":"TemporaryFile(/tmp/multipartBody2956055301538732691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439793095,"filename":"image_12042025_05_21_55_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352139997","file1":"1352139994","file0":"1352139991","file4":"1352140005","file5":"1352140007","file3":"1352139999"},"map_files_photo_id_array":[{"photo_id":"1352140007","filename":"file5"},{"photo_id":"1352139997","filename":"file2"},{"photo_id":"1352140005","filename":"file4"},{"photo_id":"1352139994","filename":"file1"},{"photo_id":"1352139991","filename":"file0"},{"photo_id":"1352139999","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352140005":["hashtag1","hashtag2"]},{"1352139991":["hashtag1","hashtag2"]},{"1352139994":["hashtag1","hashtag2"]},{"1352139997":["hashtag1","hashtag2"]},{"1352140007":["hashtag1","hashtag2"]},{"1352139999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352140005, 1352139991, 1352139994, 1352139997, 1352140007, 1352139999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29033637046814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:36:32.788443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/22/image_12042025_05_22_35_10495.jpg', '/home/pi/Desktop/images/12042025/05/22/image_12042025_05_22_45_9377.jpg', '/home/pi/Desktop/images/12042025/05/22/image_12042025_05_22_55_10482.jpg', '/home/pi/Desktop/images/12042025/05/23/image_12042025_05_23_15_10381.jpg', '/home/pi/Desktop/images/12042025/05/23/image_12042025_05_23_25_10431.jpg', '/home/pi/Desktop/images/12042025/05/23/image_12042025_05_24_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/22/image_12042025_05_22_35_10495.jpg
/home/pi/Desktop/images/12042025/05/22/image_12042025_05_22_45_9377.jpg
/home/pi/Desktop/images/12042025/05/22/image_12042025_05_22_55_10482.jpg
/home/pi/Desktop/images/12042025/05/23/image_12042025_05_23_15_10381.jpg
/home/pi/Desktop/images/12042025/05/23/image_12042025_05_23_25_10431.jpg
/home/pi/Desktop/images/12042025/05/23/image_12042025_05_24_05_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352140056","1352140070","1352140063","1352140072","1352140066","1352140083"],"photo_ids_order":["1352140056","1352140063","1352140066","1352140070","1352140072","1352140083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47ec8ca6abfa01226e671372574db5ca.jpg","text":"TemporaryFile(/tmp/multipartBody6018033058758942487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439853332,"filename":"image_12042025_05_22_35_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f376717d89dafcac063ab56a6768ba0b.jpg","text":"TemporaryFile(/tmp/multipartBody707162784841045669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439853332,"filename":"image_12042025_05_23_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/086304e37dd8e5e4704c09762a7e27bb.jpg","text":"TemporaryFile(/tmp/multipartBody8208307321985215079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439853332,"filename":"image_12042025_05_22_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f6c3f5b404d921f0f737460c1616826.jpg","text":"TemporaryFile(/tmp/multipartBody8077399323472431402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439853332,"filename":"image_12042025_05_23_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9d5d5362e4212983ca7a12a39f65b40.jpg","text":"TemporaryFile(/tmp/multipartBody8054095240152909995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439853332,"filename":"image_12042025_05_22_55_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/037d9157fc860d94ef3099dfe8b1da6b.jpg","text":"TemporaryFile(/tmp/multipartBody9046209807763998009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439853332,"filename":"image_12042025_05_24_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352140066","file1":"1352140063","file0":"1352140056","file4":"1352140072","file5":"1352140083","file3":"1352140070"},"map_files_photo_id_array":[{"photo_id":"1352140083","filename":"file5"},{"photo_id":"1352140066","filename":"file2"},{"photo_id":"1352140072","filename":"file4"},{"photo_id":"1352140063","filename":"file1"},{"photo_id":"1352140056","filename":"file0"},{"photo_id":"1352140070","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352140056":["hashtag1","hashtag2"]},{"1352140070":["hashtag1","hashtag2"]},{"1352140063":["hashtag1","hashtag2"]},{"1352140072":["hashtag1","hashtag2"]},{"1352140066":["hashtag1","hashtag2"]},{"1352140083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352140056, 1352140070, 1352140063, 1352140072, 1352140066, 1352140083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.528693437576294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:37:33.041697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/24/image_12042025_05_24_15_10436.jpg', '/home/pi/Desktop/images/12042025/05/24/image_12042025_05_24_45_10372.jpg', '/home/pi/Desktop/images/12042025/05/25/image_12042025_05_25_25_10366.jpg', '/home/pi/Desktop/images/12042025/05/25/image_12042025_05_25_45_9362.jpg', '/home/pi/Desktop/images/12042025/05/25/image_12042025_05_26_05_9397.jpg', '/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_15_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/24/image_12042025_05_24_15_10436.jpg
/home/pi/Desktop/images/12042025/05/24/image_12042025_05_24_45_10372.jpg
/home/pi/Desktop/images/12042025/05/25/image_12042025_05_25_25_10366.jpg
/home/pi/Desktop/images/12042025/05/25/image_12042025_05_25_45_9362.jpg
/home/pi/Desktop/images/12042025/05/25/image_12042025_05_26_05_9397.jpg
/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_15_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352140317","1352140295","1352140250","1352140276","1352140231","1352140201"],"photo_ids_order":["1352140201","1352140231","1352140250","1352140276","1352140295","1352140317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e58e4bbed72ee40ba7d1758d650c8a1.jpg","text":"TemporaryFile(/tmp/multipartBody5687710417453700571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439913583,"filename":"image_12042025_05_26_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1def79800902be1b135178d2c5e6c03.jpg","text":"TemporaryFile(/tmp/multipartBody1609508805296580723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439913583,"filename":"image_12042025_05_26_05_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62782b12c06c5dee3926d3d164fcac5a.jpg","text":"TemporaryFile(/tmp/multipartBody8054819642995747051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439913583,"filename":"image_12042025_05_25_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b02cbfda84f36ae8c3b293ab15267431.jpg","text":"TemporaryFile(/tmp/multipartBody351813399605796501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439913583,"filename":"image_12042025_05_25_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8d3133cb8bd6a0d203b889938978ebb.jpg","text":"TemporaryFile(/tmp/multipartBody1528348191847943056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439913583,"filename":"image_12042025_05_24_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95efc269eaca4b426e3c293d3f8f9dde.jpg","text":"TemporaryFile(/tmp/multipartBody1532812955220630133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439913583,"filename":"image_12042025_05_24_15_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352140250","file1":"1352140231","file0":"1352140201","file4":"1352140295","file5":"1352140317","file3":"1352140276"},"map_files_photo_id_array":[{"photo_id":"1352140317","filename":"file5"},{"photo_id":"1352140250","filename":"file2"},{"photo_id":"1352140295","filename":"file4"},{"photo_id":"1352140231","filename":"file1"},{"photo_id":"1352140201","filename":"file0"},{"photo_id":"1352140276","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352140317":["hashtag1","hashtag2"]},{"1352140295":["hashtag1","hashtag2"]},{"1352140250":["hashtag1","hashtag2"]},{"1352140276":["hashtag1","hashtag2"]},{"1352140231":["hashtag1","hashtag2"]},{"1352140201":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352140317, 1352140295, 1352140250, 1352140276, 1352140231, 1352140201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.280113697052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:38:33.178634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_25_10520.jpg', '/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_35_9436.jpg', '/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_45_10357.jpg', '/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_55_9417.jpg', '/home/pi/Desktop/images/12042025/05/27/image_12042025_05_27_35_10424.jpg', '/home/pi/Desktop/images/12042025/05/27/image_12042025_05_27_45_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_25_10520.jpg
/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_35_9436.jpg
/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_45_10357.jpg
/home/pi/Desktop/images/12042025/05/26/image_12042025_05_26_55_9417.jpg
/home/pi/Desktop/images/12042025/05/27/image_12042025_05_27_35_10424.jpg
/home/pi/Desktop/images/12042025/05/27/image_12042025_05_27_45_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352140656","1352140571","1352140550","1352140630","1352140599","1352140686"],"photo_ids_order":["1352140550","1352140571","1352140599","1352140630","1352140656","1352140686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/386022ea7241b37d2860e3ca64ab5a13.jpg","text":"TemporaryFile(/tmp/multipartBody3793485450609623077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439973715,"filename":"image_12042025_05_27_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f0bb80d4366b095c0e0400aa6b0ccba.jpg","text":"TemporaryFile(/tmp/multipartBody5625091956070104876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439973715,"filename":"image_12042025_05_26_35_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/218fa11e38493b73278babf6197773be.jpg","text":"TemporaryFile(/tmp/multipartBody1098906618494100910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439973715,"filename":"image_12042025_05_26_25_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cef8a9efd4532316ed07aa94e94a63b2.jpg","text":"TemporaryFile(/tmp/multipartBody7134547298296476448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439973715,"filename":"image_12042025_05_26_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f150509b4bb7df3e0c6d089506c6a032.jpg","text":"TemporaryFile(/tmp/multipartBody9016492181819996747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439973715,"filename":"image_12042025_05_26_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2af1fa5fbb3495f89009516b21086998.jpg","text":"TemporaryFile(/tmp/multipartBody6309811127833637879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744439973715,"filename":"image_12042025_05_27_45_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352140599","file1":"1352140571","file0":"1352140550","file4":"1352140656","file5":"1352140686","file3":"1352140630"},"map_files_photo_id_array":[{"photo_id":"1352140686","filename":"file5"},{"photo_id":"1352140599","filename":"file2"},{"photo_id":"1352140656","filename":"file4"},{"photo_id":"1352140571","filename":"file1"},{"photo_id":"1352140550","filename":"file0"},{"photo_id":"1352140630","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352140656":["hashtag1","hashtag2"]},{"1352140571":["hashtag1","hashtag2"]},{"1352140550":["hashtag1","hashtag2"]},{"1352140630":["hashtag1","hashtag2"]},{"1352140599":["hashtag1","hashtag2"]},{"1352140686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352140656, 1352140571, 1352140550, 1352140630, 1352140599, 1352140686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30946183204651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:39:32.332896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/27/image_12042025_05_27_55_10370.jpg', '/home/pi/Desktop/images/12042025/05/28/image_12042025_05_28_25_10377.jpg', '/home/pi/Desktop/images/12042025/05/28/image_12042025_05_28_34_9424.jpg', '/home/pi/Desktop/images/12042025/05/28/image_12042025_05_28_45_10444.jpg', '/home/pi/Desktop/images/12042025/05/28/image_12042025_05_28_55_10430.jpg', '/home/pi/Desktop/images/12042025/05/28/image_12042025_05_29_05_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/27/image_12042025_05_27_55_10370.jpg
/home/pi/Desktop/images/12042025/05/28/image_12042025_05_28_25_10377.jpg
/home/pi/Desktop/images/12042025/05/28/image_12042025_05_28_34_9424.jpg
/home/pi/Desktop/images/12042025/05/28/image_12042025_05_28_45_10444.jpg
/home/pi/Desktop/images/12042025/05/28/image_12042025_05_28_55_10430.jpg
/home/pi/Desktop/images/12042025/05/28/image_12042025_05_29_05_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352141016","1352140956","1352140863","1352140988","1352140913","1352140884"],"photo_ids_order":["1352140863","1352140884","1352140913","1352140956","1352140988","1352141016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24c61764584b82da05a562cf7dd344c7.jpg","text":"TemporaryFile(/tmp/multipartBody3220558597859186706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440032855,"filename":"image_12042025_05_29_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e823eace5b746745b7b3060adffd6d40.jpg","text":"TemporaryFile(/tmp/multipartBody9209516298229582541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440032855,"filename":"image_12042025_05_28_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a455555238f90de7c1b84a6bdb8a5d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1682332660425394042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440032855,"filename":"image_12042025_05_27_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efedd91c1dc014df8a89f96478fec549.jpg","text":"TemporaryFile(/tmp/multipartBody2547955407857265355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440032855,"filename":"image_12042025_05_28_55_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/103d2eab4013541dca99d3d0d2409ea2.jpg","text":"TemporaryFile(/tmp/multipartBody5179718077169142888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440032855,"filename":"image_12042025_05_28_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbb31728c870dc2e5421961e5a9fa61c.jpg","text":"TemporaryFile(/tmp/multipartBody783600637454797513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440032855,"filename":"image_12042025_05_28_25_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352140913","file1":"1352140884","file0":"1352140863","file4":"1352140988","file5":"1352141016","file3":"1352140956"},"map_files_photo_id_array":[{"photo_id":"1352141016","filename":"file5"},{"photo_id":"1352140913","filename":"file2"},{"photo_id":"1352140988","filename":"file4"},{"photo_id":"1352140884","filename":"file1"},{"photo_id":"1352140863","filename":"file0"},{"photo_id":"1352140956","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352141016":["hashtag1","hashtag2"]},{"1352140956":["hashtag1","hashtag2"]},{"1352140863":["hashtag1","hashtag2"]},{"1352140988":["hashtag1","hashtag2"]},{"1352140913":["hashtag1","hashtag2"]},{"1352140884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352141016, 1352140956, 1352140863, 1352140988, 1352140913, 1352140884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.181673526763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:40:32.607612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/29/image_12042025_05_29_35_9362.jpg', '/home/pi/Desktop/images/12042025/05/29/image_12042025_05_29_45_10519.jpg', '/home/pi/Desktop/images/12042025/05/29/image_12042025_05_29_55_9438.jpg', '/home/pi/Desktop/images/12042025/05/29/image_12042025_05_30_05_10485.jpg', '/home/pi/Desktop/images/12042025/05/30/image_12042025_05_30_25_10362.jpg', '/home/pi/Desktop/images/12042025/05/30/image_12042025_05_30_34_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/29/image_12042025_05_29_35_9362.jpg
/home/pi/Desktop/images/12042025/05/29/image_12042025_05_29_45_10519.jpg
/home/pi/Desktop/images/12042025/05/29/image_12042025_05_29_55_9438.jpg
/home/pi/Desktop/images/12042025/05/29/image_12042025_05_30_05_10485.jpg
/home/pi/Desktop/images/12042025/05/30/image_12042025_05_30_25_10362.jpg
/home/pi/Desktop/images/12042025/05/30/image_12042025_05_30_34_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352141164","1352141194","1352141146","1352141161","1352141169","1352141172"],"photo_ids_order":["1352141146","1352141161","1352141164","1352141169","1352141172","1352141194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b328ceb26c33be436b0e4d50649c354.jpg","text":"TemporaryFile(/tmp/multipartBody9220273973189626539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440093221,"filename":"image_12042025_05_29_55_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e62595a7f06b0d0c7262701f9c50fd00.jpg","text":"TemporaryFile(/tmp/multipartBody1394934842415204363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440093221,"filename":"image_12042025_05_30_34_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b790421618c2a929a46202ac6a691aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4410726603294227525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440093221,"filename":"image_12042025_05_29_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ced1466212043391bac0b37c678896b.jpg","text":"TemporaryFile(/tmp/multipartBody3644586243975135630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440093221,"filename":"image_12042025_05_29_45_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75fab7ac8cd83a9d9b6d4fac47e26b77.jpg","text":"TemporaryFile(/tmp/multipartBody8345147889752682108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440093221,"filename":"image_12042025_05_30_05_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac37f7796082ce3c6cc8e6fa05d68406.jpg","text":"TemporaryFile(/tmp/multipartBody5680016453987107633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440093221,"filename":"image_12042025_05_30_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352141164","file1":"1352141161","file0":"1352141146","file4":"1352141172","file5":"1352141194","file3":"1352141169"},"map_files_photo_id_array":[{"photo_id":"1352141194","filename":"file5"},{"photo_id":"1352141164","filename":"file2"},{"photo_id":"1352141172","filename":"file4"},{"photo_id":"1352141161","filename":"file1"},{"photo_id":"1352141146","filename":"file0"},{"photo_id":"1352141169","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352141164":["hashtag1","hashtag2"]},{"1352141194":["hashtag1","hashtag2"]},{"1352141146":["hashtag1","hashtag2"]},{"1352141161":["hashtag1","hashtag2"]},{"1352141169":["hashtag1","hashtag2"]},{"1352141172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352141164, 1352141194, 1352141146, 1352141161, 1352141169, 1352141172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.850359201431274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:41:32.924857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/30/image_12042025_05_30_45_10435.jpg', '/home/pi/Desktop/images/12042025/05/30/image_12042025_05_30_55_10442.jpg', '/home/pi/Desktop/images/12042025/05/30/image_12042025_05_31_05_9364.jpg', '/home/pi/Desktop/images/12042025/05/31/image_12042025_05_31_15_10364.jpg', '/home/pi/Desktop/images/12042025/05/31/image_12042025_05_31_24_9395.jpg', '/home/pi/Desktop/images/12042025/05/31/image_12042025_05_31_35_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/30/image_12042025_05_30_45_10435.jpg
/home/pi/Desktop/images/12042025/05/30/image_12042025_05_30_55_10442.jpg
/home/pi/Desktop/images/12042025/05/30/image_12042025_05_31_05_9364.jpg
/home/pi/Desktop/images/12042025/05/31/image_12042025_05_31_15_10364.jpg
/home/pi/Desktop/images/12042025/05/31/image_12042025_05_31_24_9395.jpg
/home/pi/Desktop/images/12042025/05/31/image_12042025_05_31_35_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352141396","1352141393","1352141389","1352141386","1352141373","1352141358"],"photo_ids_order":["1352141358","1352141373","1352141386","1352141389","1352141393","1352141396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94af5d2cc5b2db5f8402d7f3ce23563a.jpg","text":"TemporaryFile(/tmp/multipartBody8664813034684245877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440153480,"filename":"image_12042025_05_31_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cacd1c706937df5b1a70eecc0e786f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2567491550135876823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440153480,"filename":"image_12042025_05_31_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ccd3b0ef6ea77d914a76d47ae0109fc3.jpg","text":"TemporaryFile(/tmp/multipartBody2792040554011538673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440153480,"filename":"image_12042025_05_31_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8873806cee47f17d7157cf186c30fb9f.jpg","text":"TemporaryFile(/tmp/multipartBody2728054108218809917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440153480,"filename":"image_12042025_05_31_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/870c5109439dd70400871fbb542fe70a.jpg","text":"TemporaryFile(/tmp/multipartBody6444355724636884301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440153480,"filename":"image_12042025_05_30_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25a3fca43446691ab30204c4af2a03f4.jpg","text":"TemporaryFile(/tmp/multipartBody2772428008086237461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440153480,"filename":"image_12042025_05_30_45_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352141386","file1":"1352141373","file0":"1352141358","file4":"1352141393","file5":"1352141396","file3":"1352141389"},"map_files_photo_id_array":[{"photo_id":"1352141396","filename":"file5"},{"photo_id":"1352141386","filename":"file2"},{"photo_id":"1352141393","filename":"file4"},{"photo_id":"1352141373","filename":"file1"},{"photo_id":"1352141358","filename":"file0"},{"photo_id":"1352141389","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352141396":["hashtag1","hashtag2"]},{"1352141393":["hashtag1","hashtag2"]},{"1352141389":["hashtag1","hashtag2"]},{"1352141386":["hashtag1","hashtag2"]},{"1352141373":["hashtag1","hashtag2"]},{"1352141358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352141396, 1352141393, 1352141389, 1352141386, 1352141373, 1352141358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.717286348342896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:42:32.237221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/31/image_12042025_05_31_55_9450.jpg', '/home/pi/Desktop/images/12042025/05/31/image_12042025_05_32_05_10373.jpg', '/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_14_9333.jpg', '/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_25_10361.jpg', '/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_35_10432.jpg', '/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/31/image_12042025_05_31_55_9450.jpg
/home/pi/Desktop/images/12042025/05/31/image_12042025_05_32_05_10373.jpg
/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_14_9333.jpg
/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_25_10361.jpg
/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_35_10432.jpg
/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352141570","1352141573","1352141567","1352141493","1352141562","1352141559"],"photo_ids_order":["1352141493","1352141559","1352141562","1352141567","1352141570","1352141573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfca1b4c68084b5ba6c3b30abbc2d23c.jpg","text":"TemporaryFile(/tmp/multipartBody326071232235801412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440212767,"filename":"image_12042025_05_32_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90bb45adc442920351ef94cdd0b4d176.jpg","text":"TemporaryFile(/tmp/multipartBody5014152831047091283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440212767,"filename":"image_12042025_05_32_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e051fb0ad26a58653b19bc1598bbf14f.jpg","text":"TemporaryFile(/tmp/multipartBody1798369439184750086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440212767,"filename":"image_12042025_05_32_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b2e57b4432d6f0fef60ee01237d1915.jpg","text":"TemporaryFile(/tmp/multipartBody2391697720979452394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440212767,"filename":"image_12042025_05_31_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b5fbf6e0fe92f9145a6e2324011b037.jpg","text":"TemporaryFile(/tmp/multipartBody7274647207212491369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440212767,"filename":"image_12042025_05_32_14_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d57f11590120f92bbfbad4c6a120a4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7500556188941308126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440212767,"filename":"image_12042025_05_32_05_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352141562","file1":"1352141559","file0":"1352141493","file4":"1352141570","file5":"1352141573","file3":"1352141567"},"map_files_photo_id_array":[{"photo_id":"1352141573","filename":"file5"},{"photo_id":"1352141562","filename":"file2"},{"photo_id":"1352141570","filename":"file4"},{"photo_id":"1352141559","filename":"file1"},{"photo_id":"1352141493","filename":"file0"},{"photo_id":"1352141567","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352141570":["hashtag1","hashtag2"]},{"1352141573":["hashtag1","hashtag2"]},{"1352141567":["hashtag1","hashtag2"]},{"1352141493":["hashtag1","hashtag2"]},{"1352141562":["hashtag1","hashtag2"]},{"1352141559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352141570, 1352141573, 1352141567, 1352141493, 1352141562, 1352141559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.41141891479492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:43:32.603884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_55_10392.jpg', '/home/pi/Desktop/images/12042025/05/32/image_12042025_05_33_05_10432.jpg', '/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_15_9346.jpg', '/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_25_10503.jpg', '/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_35_9348.jpg', '/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_45_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/32/image_12042025_05_32_55_10392.jpg
/home/pi/Desktop/images/12042025/05/32/image_12042025_05_33_05_10432.jpg
/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_15_9346.jpg
/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_25_10503.jpg
/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_35_9348.jpg
/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_45_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352141594","1352141590","1352141614","1352141598","1352141583","1352141586"],"photo_ids_order":["1352141583","1352141586","1352141590","1352141594","1352141598","1352141614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32dc5c18e772c2adbcdd039bd62046a1.jpg","text":"TemporaryFile(/tmp/multipartBody1078403184368069163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440273146,"filename":"image_12042025_05_33_25_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e6c5438b7ae37806cb81921ebbb0c87.jpg","text":"TemporaryFile(/tmp/multipartBody3599358820260976810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440273146,"filename":"image_12042025_05_33_15_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70bbb3f2fd08623aa9d893fd5a3f1911.jpg","text":"TemporaryFile(/tmp/multipartBody4906236033117651421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440273146,"filename":"image_12042025_05_33_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f95ec8a2a142ed3b668ca16f0410291.jpg","text":"TemporaryFile(/tmp/multipartBody6370383190455599016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440273146,"filename":"image_12042025_05_33_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da9a37f1310dc7a620fd51d3415732e9.jpg","text":"TemporaryFile(/tmp/multipartBody8243964252825389783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440273146,"filename":"image_12042025_05_32_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f7b70f29bd73cdddc9b79e5847f5136.jpg","text":"TemporaryFile(/tmp/multipartBody5062029559784059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440273146,"filename":"image_12042025_05_33_05_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352141590","file1":"1352141586","file0":"1352141583","file4":"1352141598","file5":"1352141614","file3":"1352141594"},"map_files_photo_id_array":[{"photo_id":"1352141614","filename":"file5"},{"photo_id":"1352141590","filename":"file2"},{"photo_id":"1352141598","filename":"file4"},{"photo_id":"1352141586","filename":"file1"},{"photo_id":"1352141583","filename":"file0"},{"photo_id":"1352141594","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352141594":["hashtag1","hashtag2"]},{"1352141590":["hashtag1","hashtag2"]},{"1352141614":["hashtag1","hashtag2"]},{"1352141598":["hashtag1","hashtag2"]},{"1352141583":["hashtag1","hashtag2"]},{"1352141586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352141594, 1352141590, 1352141614, 1352141598, 1352141583, 1352141586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51614785194397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:44:32.722017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_55_10373.jpg', '/home/pi/Desktop/images/12042025/05/33/image_12042025_05_34_05_9370.jpg', '/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_15_10377.jpg', '/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_24_9355.jpg', '/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_35_10364.jpg', '/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_45_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/33/image_12042025_05_33_55_10373.jpg
/home/pi/Desktop/images/12042025/05/33/image_12042025_05_34_05_9370.jpg
/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_15_10377.jpg
/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_24_9355.jpg
/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_35_10364.jpg
/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_45_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352141718","1352141716","1352141710","1352141713","1352141707","1352141721"],"photo_ids_order":["1352141707","1352141710","1352141713","1352141716","1352141718","1352141721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d81f8368079f13d5402f6488828f24ee.jpg","text":"TemporaryFile(/tmp/multipartBody7442102785488142976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440333258,"filename":"image_12042025_05_34_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebe4e86023d6f1881285e6d455790279.jpg","text":"TemporaryFile(/tmp/multipartBody6956454723164802069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440333258,"filename":"image_12042025_05_34_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/353f2e6f9779e9e2961ce606a7c932ca.jpg","text":"TemporaryFile(/tmp/multipartBody5545352030367878593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440333258,"filename":"image_12042025_05_34_05_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb3b87eb24e95c2517e7933bc6efe321.jpg","text":"TemporaryFile(/tmp/multipartBody1817247580235846937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440333258,"filename":"image_12042025_05_34_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a48130857e7216f1402994ddbb50d12.jpg","text":"TemporaryFile(/tmp/multipartBody4629002659579709798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440333258,"filename":"image_12042025_05_33_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5bcaa15d2c965d51f9d5e1ced0898a3.jpg","text":"TemporaryFile(/tmp/multipartBody3637873381140229107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440333258,"filename":"image_12042025_05_34_45_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352141713","file1":"1352141710","file0":"1352141707","file4":"1352141718","file5":"1352141721","file3":"1352141716"},"map_files_photo_id_array":[{"photo_id":"1352141721","filename":"file5"},{"photo_id":"1352141713","filename":"file2"},{"photo_id":"1352141718","filename":"file4"},{"photo_id":"1352141710","filename":"file1"},{"photo_id":"1352141707","filename":"file0"},{"photo_id":"1352141716","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352141718":["hashtag1","hashtag2"]},{"1352141716":["hashtag1","hashtag2"]},{"1352141710":["hashtag1","hashtag2"]},{"1352141713":["hashtag1","hashtag2"]},{"1352141707":["hashtag1","hashtag2"]},{"1352141721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352141718, 1352141716, 1352141710, 1352141713, 1352141707, 1352141721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49409461021423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:45:32.847462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_55_9341.jpg', '/home/pi/Desktop/images/12042025/05/34/image_12042025_05_35_05_10372.jpg', '/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_15_10346.jpg', '/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_25_9349.jpg', '/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_45_9457.jpg', '/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_55_9341.jpg
/home/pi/Desktop/images/12042025/05/34/image_12042025_05_35_05_10372.jpg
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_15_10346.jpg
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_25_9349.jpg
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_45_9457.jpg
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352141864","1352141843","1352141836","1352141838","1352141868","1352141832"],"photo_ids_order":["1352141832","1352141836","1352141838","1352141843","1352141864","1352141868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5534baa4dd9ffc714591eaebb9be8e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3909792651927081634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440393377,"filename":"image_12042025_05_35_45_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/feb26b3c065e9a7dc2a0c4721fb544e7.jpg","text":"TemporaryFile(/tmp/multipartBody9156024949947870868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440393377,"filename":"image_12042025_05_35_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3f02a514839f8f8cabd22f72c8b1e9c.jpg","text":"TemporaryFile(/tmp/multipartBody839666617130093062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440393377,"filename":"image_12042025_05_35_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/562269e80fc5e1650c5b99af776846a2.jpg","text":"TemporaryFile(/tmp/multipartBody8141224892925841247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440393377,"filename":"image_12042025_05_35_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d278d7e1c1239dec907b75d50cb3610.jpg","text":"TemporaryFile(/tmp/multipartBody1584504198745842305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440393377,"filename":"image_12042025_05_35_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61c4ead7ff9fea4dc093e79594700878.jpg","text":"TemporaryFile(/tmp/multipartBody526817400187830721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440393377,"filename":"image_12042025_05_34_55_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352141838","file1":"1352141836","file0":"1352141832","file4":"1352141864","file5":"1352141868","file3":"1352141843"},"map_files_photo_id_array":[{"photo_id":"1352141868","filename":"file5"},{"photo_id":"1352141838","filename":"file2"},{"photo_id":"1352141864","filename":"file4"},{"photo_id":"1352141836","filename":"file1"},{"photo_id":"1352141832","filename":"file0"},{"photo_id":"1352141843","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352141864":["hashtag1","hashtag2"]},{"1352141843":["hashtag1","hashtag2"]},{"1352141836":["hashtag1","hashtag2"]},{"1352141838":["hashtag1","hashtag2"]},{"1352141868":["hashtag1","hashtag2"]},{"1352141832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352141864, 1352141843, 1352141836, 1352141838, 1352141868, 1352141832)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1352141838 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_15_10346.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1352141838 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_15_10346.jpg";
uploaded 6 photos
time to upload: 61.29582595825195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-04-12 08:46:47.371824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 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 628, 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 dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 08:47:04.433910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_55_9341.jpg', '/home/pi/Desktop/images/12042025/05/34/image_12042025_05_35_05_10372.jpg', '/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_15_10346.jpg', '/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_25_9349.jpg', '/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_45_9457.jpg', '/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_55_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/34/image_12042025_05_34_55_9341.jpg
/home/pi/Desktop/images/12042025/05/34/image_12042025_05_35_05_10372.jpg
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_15_10346.jpg
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_25_9349.jpg
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_45_9457.jpg
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_35_55_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142077","1352142038","1352142079","1352142001","1352142081","1352142066"],"photo_ids_order":["1352142001","1352142038","1352142066","1352142077","1352142079","1352142081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4114de8b386a512245462528db74b964.jpg","text":"TemporaryFile(/tmp/multipartBody1304396840456683693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440485111,"filename":"image_12042025_05_35_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc3f162b4129ee48d29ebb17b2847294.jpg","text":"TemporaryFile(/tmp/multipartBody5873819397684410075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440485111,"filename":"image_12042025_05_35_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9eb4654f5b106f22413598cde9d42381.jpg","text":"TemporaryFile(/tmp/multipartBody4706243924423511451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440485111,"filename":"image_12042025_05_35_45_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b9435329615604bba80d4bfce13d43f.jpg","text":"TemporaryFile(/tmp/multipartBody34370161806383598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440485111,"filename":"image_12042025_05_34_55_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5abbe6b95699414d6f057dac1a14eba8.jpg","text":"TemporaryFile(/tmp/multipartBody5919669565239941265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440485111,"filename":"image_12042025_05_35_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37c65db9934d50d02d73297b463bdc60.jpg","text":"TemporaryFile(/tmp/multipartBody1632845235209286812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440485111,"filename":"image_12042025_05_35_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142066","file1":"1352142038","file0":"1352142001","file4":"1352142079","file5":"1352142081","file3":"1352142077"},"map_files_photo_id_array":[{"photo_id":"1352142081","filename":"file5"},{"photo_id":"1352142066","filename":"file2"},{"photo_id":"1352142079","filename":"file4"},{"photo_id":"1352142038","filename":"file1"},{"photo_id":"1352142001","filename":"file0"},{"photo_id":"1352142077","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142077":["hashtag1","hashtag2"]},{"1352142038":["hashtag1","hashtag2"]},{"1352142079":["hashtag1","hashtag2"]},{"1352142001":["hashtag1","hashtag2"]},{"1352142081":["hashtag1","hashtag2"]},{"1352142066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142077, 1352142038, 1352142079, 1352142001, 1352142081, 1352142066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.011380195617676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:47:53.032977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/35/image_12042025_05_36_05_10456.jpg', '/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_15_9366.jpg', '/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_25_10493.jpg', '/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_35_9359.jpg', '/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_45_10365.jpg', '/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_55_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/35/image_12042025_05_36_05_10456.jpg
/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_15_9366.jpg
/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_25_10493.jpg
/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_35_9359.jpg
/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_45_10365.jpg
/home/pi/Desktop/images/12042025/05/36/image_12042025_05_36_55_10446.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142089","1352142181","1352142178","1352142148","1352142174","1352142185"],"photo_ids_order":["1352142089","1352142148","1352142174","1352142178","1352142181","1352142185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c53b26233558a5e177d30fbc5503b0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7547845877401833116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440533570,"filename":"image_12042025_05_36_05_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39699bc0903aa233c1b046edfa692251.jpg","text":"TemporaryFile(/tmp/multipartBody5006803783709915054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440533570,"filename":"image_12042025_05_36_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70f482b6ca55e3b017c8c3fe651a7c63.jpg","text":"TemporaryFile(/tmp/multipartBody7433808036167398290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440533570,"filename":"image_12042025_05_36_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32273c8f80c18861bd010c77b13825f9.jpg","text":"TemporaryFile(/tmp/multipartBody9203394903989274326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440533570,"filename":"image_12042025_05_36_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e40abb149e1d0e132668b5c557f9fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2380792387882348130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440533570,"filename":"image_12042025_05_36_25_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f36f7fe6cf8ff61717b37e9ced0388e5.jpg","text":"TemporaryFile(/tmp/multipartBody313804498671021248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440533570,"filename":"image_12042025_05_36_55_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142174","file1":"1352142148","file0":"1352142089","file4":"1352142181","file5":"1352142185","file3":"1352142178"},"map_files_photo_id_array":[{"photo_id":"1352142185","filename":"file5"},{"photo_id":"1352142174","filename":"file2"},{"photo_id":"1352142181","filename":"file4"},{"photo_id":"1352142148","filename":"file1"},{"photo_id":"1352142089","filename":"file0"},{"photo_id":"1352142178","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142089":["hashtag1","hashtag2"]},{"1352142181":["hashtag1","hashtag2"]},{"1352142178":["hashtag1","hashtag2"]},{"1352142148":["hashtag1","hashtag2"]},{"1352142174":["hashtag1","hashtag2"]},{"1352142185":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142089, 1352142181, 1352142178, 1352142148, 1352142174, 1352142185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91184186935425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:48:32.356970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_15_10335.jpg', '/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_25_10379.jpg', '/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_35_9453.jpg', '/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_45_10395.jpg', '/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_55_9394.jpg', '/home/pi/Desktop/images/12042025/05/37/image_12042025_05_38_05_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_15_10335.jpg
/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_25_10379.jpg
/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_35_9453.jpg
/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_45_10395.jpg
/home/pi/Desktop/images/12042025/05/37/image_12042025_05_37_55_9394.jpg
/home/pi/Desktop/images/12042025/05/37/image_12042025_05_38_05_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142194","1352142198","1352142202","1352142195","1352142204","1352142207"],"photo_ids_order":["1352142194","1352142195","1352142198","1352142202","1352142204","1352142207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/267f983553a116c7a3e66a96699f0d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7047048706802165700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440572901,"filename":"image_12042025_05_37_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/952bc6f338387ee5a2c3d812c5d9ebce.jpg","text":"TemporaryFile(/tmp/multipartBody666594063434948148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440572901,"filename":"image_12042025_05_37_35_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a186bc923ba884c9eb7842835f15d12d.jpg","text":"TemporaryFile(/tmp/multipartBody3942932212492540789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440572901,"filename":"image_12042025_05_37_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfa68a59f2e405f0397bed9795725976.jpg","text":"TemporaryFile(/tmp/multipartBody2575507694017624778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440572901,"filename":"image_12042025_05_37_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f9e7a1d59e4b852b0e626bda58c1a9e.jpg","text":"TemporaryFile(/tmp/multipartBody5856167350243600849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440572901,"filename":"image_12042025_05_37_55_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/074c733be0ebd641c5d786b9c3978833.jpg","text":"TemporaryFile(/tmp/multipartBody2169815221147572511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440572901,"filename":"image_12042025_05_38_05_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142198","file1":"1352142195","file0":"1352142194","file4":"1352142204","file5":"1352142207","file3":"1352142202"},"map_files_photo_id_array":[{"photo_id":"1352142207","filename":"file5"},{"photo_id":"1352142198","filename":"file2"},{"photo_id":"1352142204","filename":"file4"},{"photo_id":"1352142195","filename":"file1"},{"photo_id":"1352142194","filename":"file0"},{"photo_id":"1352142202","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142194":["hashtag1","hashtag2"]},{"1352142198":["hashtag1","hashtag2"]},{"1352142202":["hashtag1","hashtag2"]},{"1352142195":["hashtag1","hashtag2"]},{"1352142204":["hashtag1","hashtag2"]},{"1352142207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142194, 1352142198, 1352142202, 1352142195, 1352142204, 1352142207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33678150177002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:49:32.602902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_15_9432.jpg', '/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_25_10379.jpg', '/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_35_10446.jpg', '/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_45_9362.jpg', '/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_55_10348.jpg', '/home/pi/Desktop/images/12042025/05/38/image_12042025_05_39_05_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_15_9432.jpg
/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_25_10379.jpg
/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_35_10446.jpg
/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_45_9362.jpg
/home/pi/Desktop/images/12042025/05/38/image_12042025_05_38_55_10348.jpg
/home/pi/Desktop/images/12042025/05/38/image_12042025_05_39_05_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142239","1352142238","1352142226","1352142229","1352142237","1352142231"],"photo_ids_order":["1352142226","1352142229","1352142231","1352142237","1352142238","1352142239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c61f02640741a2006af92a7cb8ce2ac.jpg","text":"TemporaryFile(/tmp/multipartBody4673528276844223864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440633143,"filename":"image_12042025_05_39_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c1d96953e416bca986189b7a2f67e8d.jpg","text":"TemporaryFile(/tmp/multipartBody8372675356579904168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440633143,"filename":"image_12042025_05_38_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fc6ca5d7424252e34813de2007190f0.jpg","text":"TemporaryFile(/tmp/multipartBody1711416939782298444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440633143,"filename":"image_12042025_05_38_15_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8fca5901fe4561b5430f2acbe74f99d.jpg","text":"TemporaryFile(/tmp/multipartBody2066076097951355082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440633143,"filename":"image_12042025_05_38_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41d0ef3f1a033c645854056447128492.jpg","text":"TemporaryFile(/tmp/multipartBody5343401167498252777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440633143,"filename":"image_12042025_05_38_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b83e065295794780ccc1b149fa8c92d0.jpg","text":"TemporaryFile(/tmp/multipartBody3489232102570685187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440633143,"filename":"image_12042025_05_38_35_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142231","file1":"1352142229","file0":"1352142226","file4":"1352142238","file5":"1352142239","file3":"1352142237"},"map_files_photo_id_array":[{"photo_id":"1352142239","filename":"file5"},{"photo_id":"1352142231","filename":"file2"},{"photo_id":"1352142238","filename":"file4"},{"photo_id":"1352142229","filename":"file1"},{"photo_id":"1352142226","filename":"file0"},{"photo_id":"1352142237","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142239":["hashtag1","hashtag2"]},{"1352142238":["hashtag1","hashtag2"]},{"1352142226":["hashtag1","hashtag2"]},{"1352142229":["hashtag1","hashtag2"]},{"1352142237":["hashtag1","hashtag2"]},{"1352142231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142239, 1352142238, 1352142226, 1352142229, 1352142237, 1352142231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37670636177063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:50:32.797488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/39/image_12042025_05_39_15_10338.jpg', '/home/pi/Desktop/images/12042025/05/39/image_12042025_05_39_25_10488.jpg', '/home/pi/Desktop/images/12042025/05/39/image_12042025_05_39_35_9420.jpg', '/home/pi/Desktop/images/12042025/05/39/image_12042025_05_39_55_9426.jpg', '/home/pi/Desktop/images/12042025/05/39/image_12042025_05_40_05_10396.jpg', '/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_15_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/39/image_12042025_05_39_15_10338.jpg
/home/pi/Desktop/images/12042025/05/39/image_12042025_05_39_25_10488.jpg
/home/pi/Desktop/images/12042025/05/39/image_12042025_05_39_35_9420.jpg
/home/pi/Desktop/images/12042025/05/39/image_12042025_05_39_55_9426.jpg
/home/pi/Desktop/images/12042025/05/39/image_12042025_05_40_05_10396.jpg
/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_15_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142287","1352142291","1352142279","1352142294","1352142296","1352142299"],"photo_ids_order":["1352142279","1352142287","1352142291","1352142294","1352142296","1352142299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af2073fe597e429133ca7756a8d25eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4307734602941000016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440693335,"filename":"image_12042025_05_39_25_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d22e54a594932a5db2606a7b38f490c7.jpg","text":"TemporaryFile(/tmp/multipartBody1861928606547211640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440693335,"filename":"image_12042025_05_39_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c73edb3372e47d1afe805b309d91d7c.jpg","text":"TemporaryFile(/tmp/multipartBody5377920295531007664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440693335,"filename":"image_12042025_05_39_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5471da14199ee3f0db1227e8c9914948.jpg","text":"TemporaryFile(/tmp/multipartBody1560488089470004202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440693335,"filename":"image_12042025_05_39_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ea2bc6c26f0e0a2dcf52e906e6a3311.jpg","text":"TemporaryFile(/tmp/multipartBody3337653135451206952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440693335,"filename":"image_12042025_05_40_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/994855de92dec2becbe36330984ecabd.jpg","text":"TemporaryFile(/tmp/multipartBody6772237024538339076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440693335,"filename":"image_12042025_05_40_15_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142291","file1":"1352142287","file0":"1352142279","file4":"1352142296","file5":"1352142299","file3":"1352142294"},"map_files_photo_id_array":[{"photo_id":"1352142299","filename":"file5"},{"photo_id":"1352142291","filename":"file2"},{"photo_id":"1352142296","filename":"file4"},{"photo_id":"1352142287","filename":"file1"},{"photo_id":"1352142279","filename":"file0"},{"photo_id":"1352142294","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142287":["hashtag1","hashtag2"]},{"1352142291":["hashtag1","hashtag2"]},{"1352142279":["hashtag1","hashtag2"]},{"1352142294":["hashtag1","hashtag2"]},{"1352142296":["hashtag1","hashtag2"]},{"1352142299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142287, 1352142291, 1352142279, 1352142294, 1352142296, 1352142299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16104173660278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:51:33.009685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_25_9381.jpg', '/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_35_10352.jpg', '/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_45_10371.jpg', '/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_55_9338.jpg', '/home/pi/Desktop/images/12042025/05/40/image_12042025_05_41_05_10360.jpg', '/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_15_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_25_9381.jpg
/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_35_10352.jpg
/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_45_10371.jpg
/home/pi/Desktop/images/12042025/05/40/image_12042025_05_40_55_9338.jpg
/home/pi/Desktop/images/12042025/05/40/image_12042025_05_41_05_10360.jpg
/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_15_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142326","1352142335","1352142323","1352142331","1352142328","1352142333"],"photo_ids_order":["1352142323","1352142326","1352142328","1352142331","1352142333","1352142335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11481fb1ba8a306de3056f2423783501.jpg","text":"TemporaryFile(/tmp/multipartBody3517564890465325680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440753548,"filename":"image_12042025_05_40_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7dec4835fb68219c002e243145b9af4.jpg","text":"TemporaryFile(/tmp/multipartBody4269668167756570676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440753548,"filename":"image_12042025_05_41_15_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84a5f02127b059274a1cf54136658807.jpg","text":"TemporaryFile(/tmp/multipartBody3435011142594224927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440753548,"filename":"image_12042025_05_40_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e28fa86969cd7a8aa0cc3f3e3cc8a7b2.jpg","text":"TemporaryFile(/tmp/multipartBody5212545038366716523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440753548,"filename":"image_12042025_05_40_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f53964c8ff4243f88aaa8ad060c12796.jpg","text":"TemporaryFile(/tmp/multipartBody7464550654491221172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440753548,"filename":"image_12042025_05_40_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10e5a0bedcbc1520305da7f25ebcf299.jpg","text":"TemporaryFile(/tmp/multipartBody8748366081326748867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440753548,"filename":"image_12042025_05_41_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142328","file1":"1352142326","file0":"1352142323","file4":"1352142333","file5":"1352142335","file3":"1352142331"},"map_files_photo_id_array":[{"photo_id":"1352142335","filename":"file5"},{"photo_id":"1352142328","filename":"file2"},{"photo_id":"1352142333","filename":"file4"},{"photo_id":"1352142326","filename":"file1"},{"photo_id":"1352142323","filename":"file0"},{"photo_id":"1352142331","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142326":["hashtag1","hashtag2"]},{"1352142335":["hashtag1","hashtag2"]},{"1352142323":["hashtag1","hashtag2"]},{"1352142331":["hashtag1","hashtag2"]},{"1352142328":["hashtag1","hashtag2"]},{"1352142333":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142326, 1352142335, 1352142323, 1352142331, 1352142328, 1352142333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.114744663238525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:52:33.078809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_25_10434.jpg', '/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_35_10357.jpg', '/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_45_9392.jpg', '/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_55_10373.jpg', '/home/pi/Desktop/images/12042025/05/41/image_12042025_05_42_05_10354.jpg', '/home/pi/Desktop/images/12042025/05/42/image_12042025_05_42_15_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_25_10434.jpg
/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_35_10357.jpg
/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_45_9392.jpg
/home/pi/Desktop/images/12042025/05/41/image_12042025_05_41_55_10373.jpg
/home/pi/Desktop/images/12042025/05/41/image_12042025_05_42_05_10354.jpg
/home/pi/Desktop/images/12042025/05/42/image_12042025_05_42_15_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142359","1352142367","1352142364","1352142354","1352142362","1352142356"],"photo_ids_order":["1352142354","1352142356","1352142359","1352142362","1352142364","1352142367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a5e3ce8d1f4dda94a338d0f6eb7e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody6106808930818540319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440813616,"filename":"image_12042025_05_41_45_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc5b8d599216184bf71bb68b4b7061da.jpg","text":"TemporaryFile(/tmp/multipartBody7642330252124397669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440813616,"filename":"image_12042025_05_42_15_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09ca520b8bcdbd2ba973c8e8bbdbef0b.jpg","text":"TemporaryFile(/tmp/multipartBody3684444586130199115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440813616,"filename":"image_12042025_05_42_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26469c062005d3e4d18db980d95f4545.jpg","text":"TemporaryFile(/tmp/multipartBody3119489731770354617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440813616,"filename":"image_12042025_05_41_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd2cf931523e747515d964190c2794b7.jpg","text":"TemporaryFile(/tmp/multipartBody483995566271683810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440813616,"filename":"image_12042025_05_41_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71199f3e39ed1983f64f0414d209f1a6.jpg","text":"TemporaryFile(/tmp/multipartBody77723113226390040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440813616,"filename":"image_12042025_05_41_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142359","file1":"1352142356","file0":"1352142354","file4":"1352142364","file5":"1352142367","file3":"1352142362"},"map_files_photo_id_array":[{"photo_id":"1352142367","filename":"file5"},{"photo_id":"1352142359","filename":"file2"},{"photo_id":"1352142364","filename":"file4"},{"photo_id":"1352142356","filename":"file1"},{"photo_id":"1352142354","filename":"file0"},{"photo_id":"1352142362","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142359":["hashtag1","hashtag2"]},{"1352142367":["hashtag1","hashtag2"]},{"1352142364":["hashtag1","hashtag2"]},{"1352142354":["hashtag1","hashtag2"]},{"1352142362":["hashtag1","hashtag2"]},{"1352142356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142359, 1352142367, 1352142364, 1352142354, 1352142362, 1352142356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46642804145813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:53:32.303918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/42/image_12042025_05_42_25_10365.jpg', '/home/pi/Desktop/images/12042025/05/42/image_12042025_05_42_35_9405.jpg', '/home/pi/Desktop/images/12042025/05/42/image_12042025_05_42_55_10377.jpg', '/home/pi/Desktop/images/12042025/05/42/image_12042025_05_43_05_9356.jpg', '/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_15_10349.jpg', '/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_25_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/42/image_12042025_05_42_25_10365.jpg
/home/pi/Desktop/images/12042025/05/42/image_12042025_05_42_35_9405.jpg
/home/pi/Desktop/images/12042025/05/42/image_12042025_05_42_55_10377.jpg
/home/pi/Desktop/images/12042025/05/42/image_12042025_05_43_05_9356.jpg
/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_15_10349.jpg
/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_25_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142449","1352142428","1352142445","1352142453","1352142441","1352142438"],"photo_ids_order":["1352142428","1352142438","1352142441","1352142445","1352142449","1352142453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e671dc609bc1526725505b3d834d17ff.jpg","text":"TemporaryFile(/tmp/multipartBody2460678782337176975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440872850,"filename":"image_12042025_05_43_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af9543ea8fe9b05cbe8243e2ac3f6526.jpg","text":"TemporaryFile(/tmp/multipartBody5432786775373802949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440872850,"filename":"image_12042025_05_42_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e8987d54929c743f7cd00b3fd0c7d84.jpg","text":"TemporaryFile(/tmp/multipartBody7904575799347444389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440872850,"filename":"image_12042025_05_43_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0327ebfa16ac10757351cd59f00290a6.jpg","text":"TemporaryFile(/tmp/multipartBody1437481441777647119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440872850,"filename":"image_12042025_05_43_25_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52aad8c810ddfe62872bb3632de78470.jpg","text":"TemporaryFile(/tmp/multipartBody3823980731503914977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440872850,"filename":"image_12042025_05_42_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ab5b1acb400f78d0b3a64b8596b5c23.jpg","text":"TemporaryFile(/tmp/multipartBody3886932068388716881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440872850,"filename":"image_12042025_05_42_35_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142441","file1":"1352142438","file0":"1352142428","file4":"1352142449","file5":"1352142453","file3":"1352142445"},"map_files_photo_id_array":[{"photo_id":"1352142453","filename":"file5"},{"photo_id":"1352142441","filename":"file2"},{"photo_id":"1352142449","filename":"file4"},{"photo_id":"1352142438","filename":"file1"},{"photo_id":"1352142428","filename":"file0"},{"photo_id":"1352142445","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142449":["hashtag1","hashtag2"]},{"1352142428":["hashtag1","hashtag2"]},{"1352142445":["hashtag1","hashtag2"]},{"1352142453":["hashtag1","hashtag2"]},{"1352142441":["hashtag1","hashtag2"]},{"1352142438":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142449, 1352142428, 1352142445, 1352142453, 1352142441, 1352142438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.454439878463745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:54:32.483655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_35_10400.jpg', '/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_45_10432.jpg', '/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_55_9356.jpg', '/home/pi/Desktop/images/12042025/05/43/image_12042025_05_44_05_10368.jpg', '/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_15_9440.jpg', '/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_25_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_35_10400.jpg
/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_45_10432.jpg
/home/pi/Desktop/images/12042025/05/43/image_12042025_05_43_55_9356.jpg
/home/pi/Desktop/images/12042025/05/43/image_12042025_05_44_05_10368.jpg
/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_15_9440.jpg
/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_25_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142479","1352142467","1352142471","1352142465","1352142473","1352142476"],"photo_ids_order":["1352142465","1352142467","1352142471","1352142473","1352142476","1352142479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e41a2ae7ad24374b1b7e2987d10adbb7.jpg","text":"TemporaryFile(/tmp/multipartBody8497827028368530189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440933096,"filename":"image_12042025_05_44_25_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ccac9bb4fe8a2e797bfc8e28d3f69ef.jpg","text":"TemporaryFile(/tmp/multipartBody4125339309781753074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440933096,"filename":"image_12042025_05_43_45_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63f753fcaa96d73fbf2dd98177bd0b0f.jpg","text":"TemporaryFile(/tmp/multipartBody153096309304713514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440933096,"filename":"image_12042025_05_43_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbc4acbd137b8720d6b41c4674fe5a5d.jpg","text":"TemporaryFile(/tmp/multipartBody295160563234661020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440933096,"filename":"image_12042025_05_43_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/deb59e87d49f04e2c0d1e716e8692105.jpg","text":"TemporaryFile(/tmp/multipartBody4673887614241533383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440933096,"filename":"image_12042025_05_44_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7932585d5ffd0e968a54a2cea7e5f4f8.jpg","text":"TemporaryFile(/tmp/multipartBody8143636771700877735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440933096,"filename":"image_12042025_05_44_15_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142471","file1":"1352142467","file0":"1352142465","file4":"1352142476","file5":"1352142479","file3":"1352142473"},"map_files_photo_id_array":[{"photo_id":"1352142479","filename":"file5"},{"photo_id":"1352142471","filename":"file2"},{"photo_id":"1352142476","filename":"file4"},{"photo_id":"1352142467","filename":"file1"},{"photo_id":"1352142465","filename":"file0"},{"photo_id":"1352142473","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142479":["hashtag1","hashtag2"]},{"1352142467":["hashtag1","hashtag2"]},{"1352142471":["hashtag1","hashtag2"]},{"1352142465":["hashtag1","hashtag2"]},{"1352142473":["hashtag1","hashtag2"]},{"1352142476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142479, 1352142467, 1352142471, 1352142465, 1352142473, 1352142476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48728823661804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:55:32.770773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_35_10391.jpg', '/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_45_9358.jpg', '/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_55_10360.jpg', '/home/pi/Desktop/images/12042025/05/44/image_12042025_05_45_05_10353.jpg', '/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_15_9355.jpg', '/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_25_10499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_35_10391.jpg
/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_45_9358.jpg
/home/pi/Desktop/images/12042025/05/44/image_12042025_05_44_55_10360.jpg
/home/pi/Desktop/images/12042025/05/44/image_12042025_05_45_05_10353.jpg
/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_15_9355.jpg
/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_25_10499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142485","1352142487","1352142495","1352142489","1352142492","1352142491"],"photo_ids_order":["1352142485","1352142487","1352142489","1352142491","1352142492","1352142495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f857c1eb1ee6502c39dfc168f843aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8219340803545413737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440993299,"filename":"image_12042025_05_44_35_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bee0b441ac30c516397db442d63e0cd4.jpg","text":"TemporaryFile(/tmp/multipartBody7262901755772972907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440993299,"filename":"image_12042025_05_44_45_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37722a8ce2b1141f85c05a765f301723.jpg","text":"TemporaryFile(/tmp/multipartBody868565907048855656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440993299,"filename":"image_12042025_05_45_25_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e966aa8b06c89fced0712a9d92e24c91.jpg","text":"TemporaryFile(/tmp/multipartBody6693255679848038113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440993299,"filename":"image_12042025_05_44_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/259c935a43d9a7919e6f76f8de5fdd00.jpg","text":"TemporaryFile(/tmp/multipartBody3405505176386881531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440993299,"filename":"image_12042025_05_45_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57b541e1e450846e7b1b7029ae7a2a6b.jpg","text":"TemporaryFile(/tmp/multipartBody3272334976349631596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744440993299,"filename":"image_12042025_05_45_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142489","file1":"1352142487","file0":"1352142485","file4":"1352142492","file5":"1352142495","file3":"1352142491"},"map_files_photo_id_array":[{"photo_id":"1352142495","filename":"file5"},{"photo_id":"1352142489","filename":"file2"},{"photo_id":"1352142492","filename":"file4"},{"photo_id":"1352142487","filename":"file1"},{"photo_id":"1352142485","filename":"file0"},{"photo_id":"1352142491","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142485":["hashtag1","hashtag2"]},{"1352142487":["hashtag1","hashtag2"]},{"1352142495":["hashtag1","hashtag2"]},{"1352142489":["hashtag1","hashtag2"]},{"1352142492":["hashtag1","hashtag2"]},{"1352142491":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142485, 1352142487, 1352142495, 1352142489, 1352142492, 1352142491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86619210243225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:56:33.210648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_35_9440.jpg', '/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_45_10391.jpg', '/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_55_9434.jpg', '/home/pi/Desktop/images/12042025/05/45/image_12042025_05_46_05_10379.jpg', '/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_15_10469.jpg', '/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_25_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_35_9440.jpg
/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_45_10391.jpg
/home/pi/Desktop/images/12042025/05/45/image_12042025_05_45_55_9434.jpg
/home/pi/Desktop/images/12042025/05/45/image_12042025_05_46_05_10379.jpg
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_15_10469.jpg
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_25_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352142830","1352142713","1352142658","1352142855","1352142741","1352142686"],"photo_ids_order":["1352142658","1352142686","1352142713","1352142741","1352142830","1352142855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cb9a95de184059aa84f74d1d2b42dab.jpg","text":"TemporaryFile(/tmp/multipartBody863676402092143345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441054130,"filename":"image_12042025_05_46_15_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c71f18ea99eb6412f15163f3c3b57726.jpg","text":"TemporaryFile(/tmp/multipartBody2688099746541930796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441054130,"filename":"image_12042025_05_45_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52d3896d3288274ac98e17eac70fa5b4.jpg","text":"TemporaryFile(/tmp/multipartBody6319102615757846832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441054130,"filename":"image_12042025_05_45_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17012e83c76ded3e945481ad5f296a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4015979562299393985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441054130,"filename":"image_12042025_05_46_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d903ee2d7507ccf9c32a8605c4f1af5a.jpg","text":"TemporaryFile(/tmp/multipartBody2974898304769580813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441054130,"filename":"image_12042025_05_46_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d5af00e16e026704a993c094a4df481.jpg","text":"TemporaryFile(/tmp/multipartBody1473509443076152926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441054130,"filename":"image_12042025_05_45_45_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352142713","file1":"1352142686","file0":"1352142658","file4":"1352142830","file5":"1352142855","file3":"1352142741"},"map_files_photo_id_array":[{"photo_id":"1352142855","filename":"file5"},{"photo_id":"1352142713","filename":"file2"},{"photo_id":"1352142830","filename":"file4"},{"photo_id":"1352142686","filename":"file1"},{"photo_id":"1352142658","filename":"file0"},{"photo_id":"1352142741","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352142830":["hashtag1","hashtag2"]},{"1352142713":["hashtag1","hashtag2"]},{"1352142658":["hashtag1","hashtag2"]},{"1352142855":["hashtag1","hashtag2"]},{"1352142741":["hashtag1","hashtag2"]},{"1352142686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352142830, 1352142713, 1352142658, 1352142855, 1352142741, 1352142686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.93515419960022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:57:32.400796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_35_10366.jpg', '/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_45_9436.jpg', '/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_55_10363.jpg', '/home/pi/Desktop/images/12042025/05/46/image_12042025_05_47_05_10392.jpg', '/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_15_9350.jpg', '/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_35_10366.jpg
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_45_9436.jpg
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_55_10363.jpg
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_47_05_10392.jpg
/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_15_9350.jpg
/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_25_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 08:59:04.292872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_35_10366.jpg', '/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_45_9436.jpg', '/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_55_10363.jpg', '/home/pi/Desktop/images/12042025/05/46/image_12042025_05_47_05_10392.jpg', '/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_15_9350.jpg', '/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_35_10366.jpg
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_45_9436.jpg
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_46_55_10363.jpg
/home/pi/Desktop/images/12042025/05/46/image_12042025_05_47_05_10392.jpg
/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_15_9350.jpg
/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_25_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352144152","1352144137","1352143777","1352143945","1352144004","1352143676"],"photo_ids_order":["1352143676","1352143777","1352143945","1352144004","1352144137","1352144152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbcd983a0b9d98d5f66e7b38c598273a.jpg","text":"TemporaryFile(/tmp/multipartBody6431960425583146342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441205026,"filename":"image_12042025_05_47_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7271bd195b574bbeea74ebc0a41c835a.jpg","text":"TemporaryFile(/tmp/multipartBody6190323948360475297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441205026,"filename":"image_12042025_05_47_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40d39af412f0de4801b545067e0adff5.jpg","text":"TemporaryFile(/tmp/multipartBody4949282615678560626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441205026,"filename":"image_12042025_05_46_45_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30d8e2f7969a412028472b81363cfe0b.jpg","text":"TemporaryFile(/tmp/multipartBody2554402996410382624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441205026,"filename":"image_12042025_05_46_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb1bcfc5e617b7e24161a9bbaf89160d.jpg","text":"TemporaryFile(/tmp/multipartBody5218737627307187558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441205026,"filename":"image_12042025_05_47_05_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ade4d56a4ebe21a9d6495884ac8d6348.jpg","text":"TemporaryFile(/tmp/multipartBody1997263183334793880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441205026,"filename":"image_12042025_05_46_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352143945","file1":"1352143777","file0":"1352143676","file4":"1352144137","file5":"1352144152","file3":"1352144004"},"map_files_photo_id_array":[{"photo_id":"1352144152","filename":"file5"},{"photo_id":"1352143945","filename":"file2"},{"photo_id":"1352144137","filename":"file4"},{"photo_id":"1352143777","filename":"file1"},{"photo_id":"1352143676","filename":"file0"},{"photo_id":"1352144004","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352144152":["hashtag1","hashtag2"]},{"1352144137":["hashtag1","hashtag2"]},{"1352143777":["hashtag1","hashtag2"]},{"1352143945":["hashtag1","hashtag2"]},{"1352144004":["hashtag1","hashtag2"]},{"1352143676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352144152, 1352144137, 1352143777, 1352143945, 1352144004, 1352143676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13596200942993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 08:59:52.942646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_35_10427.jpg', '/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_45_9337.jpg', '/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_55_10352.jpg', '/home/pi/Desktop/images/12042025/05/47/image_12042025_05_48_05_9419.jpg', '/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_15_10362.jpg', '/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_25_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_35_10427.jpg
/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_45_9337.jpg
/home/pi/Desktop/images/12042025/05/47/image_12042025_05_47_55_10352.jpg
/home/pi/Desktop/images/12042025/05/47/image_12042025_05_48_05_9419.jpg
/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_15_10362.jpg
/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_25_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352144457","1352144594","1352144669","1352144498","1352144645","1352144474"],"photo_ids_order":["1352144457","1352144474","1352144498","1352144594","1352144645","1352144669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9a71b6f99febe8c27304794078ab644.jpg","text":"TemporaryFile(/tmp/multipartBody7147284931195181061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441253479,"filename":"image_12042025_05_47_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9752b42fc914adf4237b6e752bf9a1a2.jpg","text":"TemporaryFile(/tmp/multipartBody550830545330463342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441253479,"filename":"image_12042025_05_48_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/507c2c514e96c1127b3ea09afedfa959.jpg","text":"TemporaryFile(/tmp/multipartBody6143429958089709167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441253479,"filename":"image_12042025_05_48_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2da5797ae40d2a6d6853ebfc79885abc.jpg","text":"TemporaryFile(/tmp/multipartBody4304851109436334661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441253479,"filename":"image_12042025_05_47_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6560b09f7f663ca2554a539f3865667.jpg","text":"TemporaryFile(/tmp/multipartBody2051749396629798183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441253479,"filename":"image_12042025_05_48_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/971dbfe92ca0e2523b27c63af0d598b3.jpg","text":"TemporaryFile(/tmp/multipartBody6853025337229835340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441253479,"filename":"image_12042025_05_47_45_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352144498","file1":"1352144474","file0":"1352144457","file4":"1352144645","file5":"1352144669","file3":"1352144594"},"map_files_photo_id_array":[{"photo_id":"1352144669","filename":"file5"},{"photo_id":"1352144498","filename":"file2"},{"photo_id":"1352144645","filename":"file4"},{"photo_id":"1352144474","filename":"file1"},{"photo_id":"1352144457","filename":"file0"},{"photo_id":"1352144594","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352144457":["hashtag1","hashtag2"]},{"1352144594":["hashtag1","hashtag2"]},{"1352144669":["hashtag1","hashtag2"]},{"1352144498":["hashtag1","hashtag2"]},{"1352144645":["hashtag1","hashtag2"]},{"1352144474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352144457, 1352144594, 1352144669, 1352144498, 1352144645, 1352144474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.449318647384644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 09:00:42.178627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_35_9393.jpg', '/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_45_10352.jpg', '/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_55_10357.jpg', '/home/pi/Desktop/images/12042025/05/48/image_12042025_05_49_05_9375.jpg', '/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_15_10349.jpg', '/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_25_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_35_9393.jpg
/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_45_10352.jpg
/home/pi/Desktop/images/12042025/05/48/image_12042025_05_48_55_10357.jpg
/home/pi/Desktop/images/12042025/05/48/image_12042025_05_49_05_9375.jpg
/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_15_10349.jpg
/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_25_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352144854","1352144956","1352144830","1352144949","1352144865","1352144946"],"photo_ids_order":["1352144830","1352144854","1352144865","1352144946","1352144949","1352144956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f347ece83b3c84f1a261c70d10a9dcc6.jpg","text":"TemporaryFile(/tmp/multipartBody4728806913705205335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441302702,"filename":"image_12042025_05_48_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e06c574fecec86e56e849e6bc9f622e3.jpg","text":"TemporaryFile(/tmp/multipartBody191830311928873496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441302702,"filename":"image_12042025_05_49_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/390fe9ddf78fe82847f4b1401eb00f8d.jpg","text":"TemporaryFile(/tmp/multipartBody5140581726906621529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441302702,"filename":"image_12042025_05_48_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39ce9c17125a70d403bb2978f76e8816.jpg","text":"TemporaryFile(/tmp/multipartBody1697273914157077470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441302702,"filename":"image_12042025_05_49_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6327eb1af6a8e048ccda499ed433c690.jpg","text":"TemporaryFile(/tmp/multipartBody9215261486548739573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441302702,"filename":"image_12042025_05_48_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff2b125751ddf202c81ace711b231505.jpg","text":"TemporaryFile(/tmp/multipartBody6055958732934096591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441302702,"filename":"image_12042025_05_49_05_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352144865","file1":"1352144854","file0":"1352144830","file4":"1352144949","file5":"1352144956","file3":"1352144946"},"map_files_photo_id_array":[{"photo_id":"1352144956","filename":"file5"},{"photo_id":"1352144865","filename":"file2"},{"photo_id":"1352144949","filename":"file4"},{"photo_id":"1352144854","filename":"file1"},{"photo_id":"1352144830","filename":"file0"},{"photo_id":"1352144946","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352144854":["hashtag1","hashtag2"]},{"1352144956":["hashtag1","hashtag2"]},{"1352144830":["hashtag1","hashtag2"]},{"1352144949":["hashtag1","hashtag2"]},{"1352144865":["hashtag1","hashtag2"]},{"1352144946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352144854, 1352144956, 1352144830, 1352144949, 1352144865, 1352144946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78534150123596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:01:32.425289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_35_10351.jpg', '/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_45_10506.jpg', '/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_55_9342.jpg', '/home/pi/Desktop/images/12042025/05/49/image_12042025_05_50_05_10418.jpg', '/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_15_9342.jpg', '/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_35_10351.jpg
/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_45_10506.jpg
/home/pi/Desktop/images/12042025/05/49/image_12042025_05_49_55_9342.jpg
/home/pi/Desktop/images/12042025/05/49/image_12042025_05_50_05_10418.jpg
/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_15_9342.jpg
/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352145018","1352145095","1352145021","1352145015","1352145023","1352145034"],"photo_ids_order":["1352145015","1352145018","1352145021","1352145023","1352145034","1352145095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91f2a83e687b26286090c65daeb26d1c.jpg","text":"TemporaryFile(/tmp/multipartBody658288745913712252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441352956,"filename":"image_12042025_05_49_45_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/159bf9c10682acb5b33e3ad9df810579.jpg","text":"TemporaryFile(/tmp/multipartBody1363015328447279317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441352956,"filename":"image_12042025_05_50_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b332fcca8c3bdc8831ad6d442bd3e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8339305410500123622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441352956,"filename":"image_12042025_05_49_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4be81a3049339b7937cabd205ff11f66.jpg","text":"TemporaryFile(/tmp/multipartBody6506244687415547985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441352956,"filename":"image_12042025_05_49_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c3eb634dcb920676001d8f2ba376bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2028289203893881967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441352956,"filename":"image_12042025_05_50_05_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5accf80cfbc37c5582a0ba06e79184f9.jpg","text":"TemporaryFile(/tmp/multipartBody1485407527653647577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441352956,"filename":"image_12042025_05_50_15_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352145021","file1":"1352145018","file0":"1352145015","file4":"1352145034","file5":"1352145095","file3":"1352145023"},"map_files_photo_id_array":[{"photo_id":"1352145095","filename":"file5"},{"photo_id":"1352145021","filename":"file2"},{"photo_id":"1352145034","filename":"file4"},{"photo_id":"1352145018","filename":"file1"},{"photo_id":"1352145015","filename":"file0"},{"photo_id":"1352145023","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352145018":["hashtag1","hashtag2"]},{"1352145095":["hashtag1","hashtag2"]},{"1352145021":["hashtag1","hashtag2"]},{"1352145015":["hashtag1","hashtag2"]},{"1352145023":["hashtag1","hashtag2"]},{"1352145034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352145018, 1352145095, 1352145021, 1352145015, 1352145023, 1352145034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62460803985596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:02:32.714617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_35_10429.jpg', '/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_45_9359.jpg', '/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_55_10362.jpg', '/home/pi/Desktop/images/12042025/05/50/image_12042025_05_51_05_10362.jpg', '/home/pi/Desktop/images/12042025/05/51/image_12042025_05_51_15_9394.jpg', '/home/pi/Desktop/images/12042025/05/51/image_12042025_05_51_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_35_10429.jpg
/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_45_9359.jpg
/home/pi/Desktop/images/12042025/05/50/image_12042025_05_50_55_10362.jpg
/home/pi/Desktop/images/12042025/05/50/image_12042025_05_51_05_10362.jpg
/home/pi/Desktop/images/12042025/05/51/image_12042025_05_51_15_9394.jpg
/home/pi/Desktop/images/12042025/05/51/image_12042025_05_51_25_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352145393","1352145375","1352145402","1352145368","1352145365","1352145343"],"photo_ids_order":["1352145343","1352145365","1352145368","1352145375","1352145393","1352145402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3bd31675d0c365a6c127a3fc1da71d3e.jpg","text":"TemporaryFile(/tmp/multipartBody499564564308165667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441413514,"filename":"image_12042025_05_51_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6856d798e1148a31b9a735d55f62fa60.jpg","text":"TemporaryFile(/tmp/multipartBody8163265767591636176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441413514,"filename":"image_12042025_05_51_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de796ac5a8068638e2ec3c617cac9884.jpg","text":"TemporaryFile(/tmp/multipartBody9128364708687825142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441413514,"filename":"image_12042025_05_51_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/012a38cc4051a39a3f2d2f3e5d6c2bec.jpg","text":"TemporaryFile(/tmp/multipartBody2180659325276986860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441413514,"filename":"image_12042025_05_50_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9917539e0c4be1ed939959b3b499693d.jpg","text":"TemporaryFile(/tmp/multipartBody5759175103743954365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441413514,"filename":"image_12042025_05_50_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a36afee08133058791bdc59b03eb9e6.jpg","text":"TemporaryFile(/tmp/multipartBody3707982711133794262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441413514,"filename":"image_12042025_05_50_35_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352145368","file1":"1352145365","file0":"1352145343","file4":"1352145393","file5":"1352145402","file3":"1352145375"},"map_files_photo_id_array":[{"photo_id":"1352145402","filename":"file5"},{"photo_id":"1352145368","filename":"file2"},{"photo_id":"1352145393","filename":"file4"},{"photo_id":"1352145365","filename":"file1"},{"photo_id":"1352145343","filename":"file0"},{"photo_id":"1352145375","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352145393":["hashtag1","hashtag2"]},{"1352145375":["hashtag1","hashtag2"]},{"1352145402":["hashtag1","hashtag2"]},{"1352145368":["hashtag1","hashtag2"]},{"1352145365":["hashtag1","hashtag2"]},{"1352145343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352145393, 1352145375, 1352145402, 1352145368, 1352145365, 1352145343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.991482734680176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:03:32.825281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/51/image_12042025_05_51_35_9415.jpg', '/home/pi/Desktop/images/12042025/05/51/image_12042025_05_51_45_10382.jpg', '/home/pi/Desktop/images/12042025/05/51/image_12042025_05_52_05_9355.jpg', '/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_15_10350.jpg', '/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_24_9360.jpg', '/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_35_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/51/image_12042025_05_51_35_9415.jpg
/home/pi/Desktop/images/12042025/05/51/image_12042025_05_51_45_10382.jpg
/home/pi/Desktop/images/12042025/05/51/image_12042025_05_52_05_9355.jpg
/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_15_10350.jpg
/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_24_9360.jpg
/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_35_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352145771","1352145795","1352145734","1352145815","1352145737","1352145805"],"photo_ids_order":["1352145734","1352145737","1352145771","1352145795","1352145805","1352145815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c49a4f83a7f20b5de4daf80356020c37.jpg","text":"TemporaryFile(/tmp/multipartBody4440595128885296112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441473355,"filename":"image_12042025_05_52_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddb6c13e9bed702377b7826fa1bfcc6d.jpg","text":"TemporaryFile(/tmp/multipartBody2566504453146238086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441473355,"filename":"image_12042025_05_52_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/01097eb158af6685796572bd87fd8d27.jpg","text":"TemporaryFile(/tmp/multipartBody8825380158747466493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441473355,"filename":"image_12042025_05_51_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35006441e2080aa35b489f0acc50d900.jpg","text":"TemporaryFile(/tmp/multipartBody5720339525505038683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441473355,"filename":"image_12042025_05_52_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9267505c9c8bad142c50e99551794bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7083851993167757859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441473355,"filename":"image_12042025_05_51_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72af590ebceffa9e26d64e2de6ba5587.jpg","text":"TemporaryFile(/tmp/multipartBody6222931869872027742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441473355,"filename":"image_12042025_05_52_24_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352145771","file1":"1352145737","file0":"1352145734","file4":"1352145805","file5":"1352145815","file3":"1352145795"},"map_files_photo_id_array":[{"photo_id":"1352145815","filename":"file5"},{"photo_id":"1352145771","filename":"file2"},{"photo_id":"1352145805","filename":"file4"},{"photo_id":"1352145737","filename":"file1"},{"photo_id":"1352145734","filename":"file0"},{"photo_id":"1352145795","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352145771":["hashtag1","hashtag2"]},{"1352145795":["hashtag1","hashtag2"]},{"1352145734":["hashtag1","hashtag2"]},{"1352145815":["hashtag1","hashtag2"]},{"1352145737":["hashtag1","hashtag2"]},{"1352145805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352145771, 1352145795, 1352145734, 1352145815, 1352145737, 1352145805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01029372215271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:04:33.058919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_45_10422.jpg', '/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_55_9327.jpg', '/home/pi/Desktop/images/12042025/05/52/image_12042025_05_53_05_10348.jpg', '/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_15_10429.jpg', '/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_25_9375.jpg', '/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_35_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_45_10422.jpg
/home/pi/Desktop/images/12042025/05/52/image_12042025_05_52_55_9327.jpg
/home/pi/Desktop/images/12042025/05/52/image_12042025_05_53_05_10348.jpg
/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_15_10429.jpg
/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_25_9375.jpg
/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_35_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352145948","1352145980","1352145956","1352145968","1352145982","1352145952"],"photo_ids_order":["1352145948","1352145952","1352145956","1352145968","1352145980","1352145982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00f1e6dc6273f49fcb06c387483e0ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1370667349384242227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441533589,"filename":"image_12042025_05_52_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26d25c7fd484a21b3f25f84a4b1c4342.jpg","text":"TemporaryFile(/tmp/multipartBody1535143514103055119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441533589,"filename":"image_12042025_05_53_25_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d4ed7d5482d95f4dc29017aba2a7a49.jpg","text":"TemporaryFile(/tmp/multipartBody5045543222168624151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441533589,"filename":"image_12042025_05_53_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e46de18c788f56cd9ee757427050a816.jpg","text":"TemporaryFile(/tmp/multipartBody813436369201915695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441533589,"filename":"image_12042025_05_53_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28d5ccaf4232b1f29df1f2d78bf28903.jpg","text":"TemporaryFile(/tmp/multipartBody7359882485633316587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441533589,"filename":"image_12042025_05_53_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2afaa44e448527b178f11b13b10b7e85.jpg","text":"TemporaryFile(/tmp/multipartBody2003766496669915110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441533589,"filename":"image_12042025_05_52_55_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352145956","file1":"1352145952","file0":"1352145948","file4":"1352145980","file5":"1352145982","file3":"1352145968"},"map_files_photo_id_array":[{"photo_id":"1352145982","filename":"file5"},{"photo_id":"1352145956","filename":"file2"},{"photo_id":"1352145980","filename":"file4"},{"photo_id":"1352145952","filename":"file1"},{"photo_id":"1352145948","filename":"file0"},{"photo_id":"1352145968","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352145948":["hashtag1","hashtag2"]},{"1352145980":["hashtag1","hashtag2"]},{"1352145956":["hashtag1","hashtag2"]},{"1352145968":["hashtag1","hashtag2"]},{"1352145982":["hashtag1","hashtag2"]},{"1352145952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352145948, 1352145980, 1352145956, 1352145968, 1352145982, 1352145952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93962264060974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:05:32.333922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_45_9353.jpg', '/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_55_10375.jpg', '/home/pi/Desktop/images/12042025/05/53/image_12042025_05_54_05_10487.jpg', '/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_15_9342.jpg', '/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_25_10347.jpg', '/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_35_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_45_9353.jpg
/home/pi/Desktop/images/12042025/05/53/image_12042025_05_53_55_10375.jpg
/home/pi/Desktop/images/12042025/05/53/image_12042025_05_54_05_10487.jpg
/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_15_9342.jpg
/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_25_10347.jpg
/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_35_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352146220","1352146198","1352146264","1352146261","1352146177","1352146158"],"photo_ids_order":["1352146158","1352146177","1352146198","1352146220","1352146261","1352146264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a283dd5d49975702849c73eee53e20a6.jpg","text":"TemporaryFile(/tmp/multipartBody489573938592811693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441592872,"filename":"image_12042025_05_54_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3341e544631e64688449a0a70ac59631.jpg","text":"TemporaryFile(/tmp/multipartBody2144464785198484833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441592872,"filename":"image_12042025_05_54_05_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afc0930e88648a194a71c036033d6f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1906432175609143079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441592872,"filename":"image_12042025_05_54_35_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f098cddbdfc14445f8fca9e9a0d7796e.jpg","text":"TemporaryFile(/tmp/multipartBody2127097467091898176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441592872,"filename":"image_12042025_05_54_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05a4273acf7fd4b3b3432c9b5c06dd63.jpg","text":"TemporaryFile(/tmp/multipartBody5027647850235398523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441592872,"filename":"image_12042025_05_53_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34ca2437c5c06473d40ef21467fe9751.jpg","text":"TemporaryFile(/tmp/multipartBody5725140326531343587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441592872,"filename":"image_12042025_05_53_45_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352146198","file1":"1352146177","file0":"1352146158","file4":"1352146261","file5":"1352146264","file3":"1352146220"},"map_files_photo_id_array":[{"photo_id":"1352146264","filename":"file5"},{"photo_id":"1352146198","filename":"file2"},{"photo_id":"1352146261","filename":"file4"},{"photo_id":"1352146177","filename":"file1"},{"photo_id":"1352146158","filename":"file0"},{"photo_id":"1352146220","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352146220":["hashtag1","hashtag2"]},{"1352146198":["hashtag1","hashtag2"]},{"1352146264":["hashtag1","hashtag2"]},{"1352146261":["hashtag1","hashtag2"]},{"1352146177":["hashtag1","hashtag2"]},{"1352146158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352146220, 1352146198, 1352146264, 1352146261, 1352146177, 1352146158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90352511405945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:06:32.435789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_45_10354.jpg', '/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_55_10441.jpg', '/home/pi/Desktop/images/12042025/05/55/image_12042025_05_55_25_10405.jpg', '/home/pi/Desktop/images/12042025/05/55/image_12042025_05_55_35_9352.jpg', '/home/pi/Desktop/images/12042025/05/55/image_12042025_05_56_05_10381.jpg', '/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_15_10507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_45_10354.jpg
/home/pi/Desktop/images/12042025/05/54/image_12042025_05_54_55_10441.jpg
/home/pi/Desktop/images/12042025/05/55/image_12042025_05_55_25_10405.jpg
/home/pi/Desktop/images/12042025/05/55/image_12042025_05_55_35_9352.jpg
/home/pi/Desktop/images/12042025/05/55/image_12042025_05_56_05_10381.jpg
/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_15_10507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352146401","1352146403","1352146406","1352146390","1352146384","1352146393"],"photo_ids_order":["1352146384","1352146390","1352146393","1352146401","1352146403","1352146406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c69bd213e5b1fe64e50c7467a898c79.jpg","text":"TemporaryFile(/tmp/multipartBody2131920350265811845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441652971,"filename":"image_12042025_05_55_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66e6c4716dc5a5920134422cb87ee1a5.jpg","text":"TemporaryFile(/tmp/multipartBody1587292830239801951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441652971,"filename":"image_12042025_05_56_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15fbc1edf9f211e20dbe0fa3cfd2e7fe.jpg","text":"TemporaryFile(/tmp/multipartBody1324991876352412260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441652971,"filename":"image_12042025_05_56_15_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/edf6b44df95d5e3324baa87d35acbd2b.jpg","text":"TemporaryFile(/tmp/multipartBody8706680918439802708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441652971,"filename":"image_12042025_05_54_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/182b168c6cf1e3b393ec8ba9d5fbec66.jpg","text":"TemporaryFile(/tmp/multipartBody2736864166503072763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441652971,"filename":"image_12042025_05_54_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/779eac0308a02755028718cb3d35d819.jpg","text":"TemporaryFile(/tmp/multipartBody8432488042939776994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441652971,"filename":"image_12042025_05_55_25_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352146393","file1":"1352146390","file0":"1352146384","file4":"1352146403","file5":"1352146406","file3":"1352146401"},"map_files_photo_id_array":[{"photo_id":"1352146406","filename":"file5"},{"photo_id":"1352146393","filename":"file2"},{"photo_id":"1352146403","filename":"file4"},{"photo_id":"1352146390","filename":"file1"},{"photo_id":"1352146384","filename":"file0"},{"photo_id":"1352146401","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352146401":["hashtag1","hashtag2"]},{"1352146403":["hashtag1","hashtag2"]},{"1352146406":["hashtag1","hashtag2"]},{"1352146390":["hashtag1","hashtag2"]},{"1352146384":["hashtag1","hashtag2"]},{"1352146393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352146401, 1352146403, 1352146406, 1352146390, 1352146384, 1352146393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.400179386138916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:07:32.747220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_25_9391.jpg', '/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_35_10488.jpg', '/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_45_9391.jpg', '/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_55_10456.jpg', '/home/pi/Desktop/images/12042025/05/56/image_12042025_05_57_05_9355.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_25_9391.jpg
/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_35_10488.jpg
/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_45_9391.jpg
/home/pi/Desktop/images/12042025/05/56/image_12042025_05_56_55_10456.jpg
/home/pi/Desktop/images/12042025/05/56/image_12042025_05_57_05_9355.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352146458","1352146446","1352146533","1352146448","1352146483","1352146510"],"photo_ids_order":["1352146446","1352146448","1352146458","1352146483","1352146510","1352146533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/215c0d0e0c6f3671fe28d360d1ab78d8.jpg","text":"TemporaryFile(/tmp/multipartBody7587489971109050250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441713288,"filename":"image_12042025_05_56_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/294d3374b7d97278ca748aeb16e05e73.jpg","text":"TemporaryFile(/tmp/multipartBody3056190852401965183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441713288,"filename":"image_12042025_05_56_25_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84cf94d5a7e869a072b228d87973d5b9.jpg","text":"TemporaryFile(/tmp/multipartBody4643488957735551329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441713288,"filename":"image_12042025_05_57_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0115ccfe158bf34b5b9414f713dd547.jpg","text":"TemporaryFile(/tmp/multipartBody6526371409150096367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441713288,"filename":"image_12042025_05_56_35_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e011b7108e2badcd58e7f33728d6a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3077994183245371532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441713288,"filename":"image_12042025_05_56_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dea025ff482a976a413b4b53b7a24fbb.jpg","text":"TemporaryFile(/tmp/multipartBody645751141206824446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441713288,"filename":"image_12042025_05_57_05_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352146458","file1":"1352146448","file0":"1352146446","file4":"1352146510","file5":"1352146533","file3":"1352146483"},"map_files_photo_id_array":[{"photo_id":"1352146533","filename":"file5"},{"photo_id":"1352146458","filename":"file2"},{"photo_id":"1352146510","filename":"file4"},{"photo_id":"1352146448","filename":"file1"},{"photo_id":"1352146446","filename":"file0"},{"photo_id":"1352146483","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352146458":["hashtag1","hashtag2"]},{"1352146446":["hashtag1","hashtag2"]},{"1352146533":["hashtag1","hashtag2"]},{"1352146448":["hashtag1","hashtag2"]},{"1352146483":["hashtag1","hashtag2"]},{"1352146510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352146458, 1352146446, 1352146533, 1352146448, 1352146483, 1352146510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.196422815322876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:08:32.965772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_25_10455.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_35_9358.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_45_10435.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_55_9463.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_58_05_10361.jpg', '/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_15_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_25_10455.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_35_9358.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_45_10435.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_55_9463.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_58_05_10361.jpg
/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_15_10373.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4468662738800049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 09:08:42.826159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_25_10455.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_35_9358.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_45_10435.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_55_9463.jpg', '/home/pi/Desktop/images/12042025/05/57/image_12042025_05_58_05_10361.jpg', '/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_15_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_25_10455.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_35_9358.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_45_10435.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_57_55_9463.jpg
/home/pi/Desktop/images/12042025/05/57/image_12042025_05_58_05_10361.jpg
/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_15_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352146947","1352146920","1352146824","1352146979","1352146865","1352146896"],"photo_ids_order":["1352146824","1352146865","1352146896","1352146920","1352146947","1352146979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c5259fd1d4132c60d4c9c16ac36f360.jpg","text":"TemporaryFile(/tmp/multipartBody2526396422976740936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441783303,"filename":"image_12042025_05_58_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/234c7ef7db1708dd8d5ea7e961462106.jpg","text":"TemporaryFile(/tmp/multipartBody6218454995471882091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441783303,"filename":"image_12042025_05_57_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dee675a875c646781a554b438363e464.jpg","text":"TemporaryFile(/tmp/multipartBody8243506168148836868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441783303,"filename":"image_12042025_05_57_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e0e4e6d1415d8cb2659e1d13ccdeea9.jpg","text":"TemporaryFile(/tmp/multipartBody8163332822833315724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441783303,"filename":"image_12042025_05_58_15_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a29e7330246c9d310fc1020a4ffe884a.jpg","text":"TemporaryFile(/tmp/multipartBody858736525882950163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441783303,"filename":"image_12042025_05_57_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/624285a90a6531959ded0647910ee830.jpg","text":"TemporaryFile(/tmp/multipartBody6495604922833088448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441783303,"filename":"image_12042025_05_57_45_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352146896","file1":"1352146865","file0":"1352146824","file4":"1352146947","file5":"1352146979","file3":"1352146920"},"map_files_photo_id_array":[{"photo_id":"1352146979","filename":"file5"},{"photo_id":"1352146896","filename":"file2"},{"photo_id":"1352146947","filename":"file4"},{"photo_id":"1352146865","filename":"file1"},{"photo_id":"1352146824","filename":"file0"},{"photo_id":"1352146920","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352146947":["hashtag1","hashtag2"]},{"1352146920":["hashtag1","hashtag2"]},{"1352146824":["hashtag1","hashtag2"]},{"1352146979":["hashtag1","hashtag2"]},{"1352146865":["hashtag1","hashtag2"]},{"1352146896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352146947, 1352146920, 1352146824, 1352146979, 1352146865, 1352146896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93637013435364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:09:32.881433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_25_9441.jpg', '/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_35_10350.jpg', '/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_44_9363.jpg', '/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_55_10449.jpg', '/home/pi/Desktop/images/12042025/05/58/image_12042025_05_59_05_10366.jpg', '/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_15_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_25_9441.jpg
/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_35_10350.jpg
/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_44_9363.jpg
/home/pi/Desktop/images/12042025/05/58/image_12042025_05_58_55_10449.jpg
/home/pi/Desktop/images/12042025/05/58/image_12042025_05_59_05_10366.jpg
/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_15_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352147204","1352147161","1352147113","1352147190","1352147137","1352147218"],"photo_ids_order":["1352147113","1352147137","1352147161","1352147190","1352147204","1352147218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/993721a983e8c40ae504e56cee2d140a.jpg","text":"TemporaryFile(/tmp/multipartBody5939578401780059923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441833411,"filename":"image_12042025_05_59_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/807470a245a6c39e9fa4f880d119751f.jpg","text":"TemporaryFile(/tmp/multipartBody2711698106081423567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441833411,"filename":"image_12042025_05_58_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9531ae24baa1de250fdf134ec3654853.jpg","text":"TemporaryFile(/tmp/multipartBody6321658913911085323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441833411,"filename":"image_12042025_05_58_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee502e3e2f357f62982e172851e80fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3741370395707464450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441833411,"filename":"image_12042025_05_58_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52f6dc062ea938a958e80f89c412aad5.jpg","text":"TemporaryFile(/tmp/multipartBody7250683649048182950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441833411,"filename":"image_12042025_05_58_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e55a012b19654140df717e0e34b1f40.jpg","text":"TemporaryFile(/tmp/multipartBody4056043457505947851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441833411,"filename":"image_12042025_05_59_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352147161","file1":"1352147137","file0":"1352147113","file4":"1352147204","file5":"1352147218","file3":"1352147190"},"map_files_photo_id_array":[{"photo_id":"1352147218","filename":"file5"},{"photo_id":"1352147161","filename":"file2"},{"photo_id":"1352147204","filename":"file4"},{"photo_id":"1352147137","filename":"file1"},{"photo_id":"1352147113","filename":"file0"},{"photo_id":"1352147190","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352147204":["hashtag1","hashtag2"]},{"1352147161":["hashtag1","hashtag2"]},{"1352147113":["hashtag1","hashtag2"]},{"1352147190":["hashtag1","hashtag2"]},{"1352147137":["hashtag1","hashtag2"]},{"1352147218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352147204, 1352147161, 1352147113, 1352147190, 1352147137, 1352147218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82647514343262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:10:33.169768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_25_10371.jpg', '/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_35_10367.jpg', '/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_45_9369.jpg', '/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_55_10370.jpg', '/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_16_10076.jpg', '/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_27_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_25_10371.jpg
/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_35_10367.jpg
/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_45_9369.jpg
/home/pi/Desktop/images/12042025/05/59/image_12042025_05_59_55_10370.jpg
/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_16_10076.jpg
/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_27_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352147486","1352147453","1352147528","1352147569","1352147605","1352147634"],"photo_ids_order":["1352147453","1352147486","1352147528","1352147569","1352147605","1352147634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f25f5a3884c99cfb70042030de8c9ab7.jpg","text":"TemporaryFile(/tmp/multipartBody2823273794179758599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441893693,"filename":"image_12042025_05_59_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8dd8a7a45a1bf44f3d9bcc9f85b5d440.jpg","text":"TemporaryFile(/tmp/multipartBody4336981478166548645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441893693,"filename":"image_12042025_05_59_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/018748d43bd94ae587ea79c7e173e9ba.jpg","text":"TemporaryFile(/tmp/multipartBody5049102983081555071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441893693,"filename":"image_12042025_05_59_45_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6053cb010a7ac3b6aa208192de5eaf3.jpg","text":"TemporaryFile(/tmp/multipartBody4290693380698952380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441893693,"filename":"image_12042025_05_59_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75302e4ceb7504b4ec8603f9feaeb785.jpg","text":"TemporaryFile(/tmp/multipartBody822170777128143017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441893693,"filename":"image_12042025_06_00_16_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0066c143d612b2bfb8d3eab31a590649.jpg","text":"TemporaryFile(/tmp/multipartBody846582648083995163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441893693,"filename":"image_12042025_06_00_27_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352147528","file1":"1352147486","file0":"1352147453","file4":"1352147605","file5":"1352147634","file3":"1352147569"},"map_files_photo_id_array":[{"photo_id":"1352147634","filename":"file5"},{"photo_id":"1352147528","filename":"file2"},{"photo_id":"1352147605","filename":"file4"},{"photo_id":"1352147486","filename":"file1"},{"photo_id":"1352147453","filename":"file0"},{"photo_id":"1352147569","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352147486":["hashtag1","hashtag2"]},{"1352147453":["hashtag1","hashtag2"]},{"1352147528":["hashtag1","hashtag2"]},{"1352147569":["hashtag1","hashtag2"]},{"1352147605":["hashtag1","hashtag2"]},{"1352147634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352147486, 1352147453, 1352147528, 1352147569, 1352147605, 1352147634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.140949726104736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:11:32.290367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_37_10374.jpg', '/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_46_9397.jpg', '/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_57_10385.jpg', '/home/pi/Desktop/images/12042025/06/00/image_12042025_06_01_06_9417.jpg', '/home/pi/Desktop/images/12042025/06/01/image_12042025_06_01_17_10426.jpg', '/home/pi/Desktop/images/12042025/06/01/image_12042025_06_01_36_9513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_37_10374.jpg
/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_46_9397.jpg
/home/pi/Desktop/images/12042025/06/00/image_12042025_06_00_57_10385.jpg
/home/pi/Desktop/images/12042025/06/00/image_12042025_06_01_06_9417.jpg
/home/pi/Desktop/images/12042025/06/01/image_12042025_06_01_17_10426.jpg
/home/pi/Desktop/images/12042025/06/01/image_12042025_06_01_36_9513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352148053","1352147978","1352147930","1352147881","1352147899","1352147856"],"photo_ids_order":["1352147856","1352147881","1352147899","1352147930","1352147978","1352148053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d52e2c987775f029d5c5703b100875ff.jpg","text":"TemporaryFile(/tmp/multipartBody2852425250212899461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441952832,"filename":"image_12042025_06_01_36_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07f0f0af440c99b37c16b1770b411c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6948054801589891149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441952832,"filename":"image_12042025_06_01_17_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04fe21b688ef09a9407c0ccdd17041ef.jpg","text":"TemporaryFile(/tmp/multipartBody1620475297645210446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441952832,"filename":"image_12042025_06_01_06_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7798aa53a57352a9bf3f8d7b8868192.jpg","text":"TemporaryFile(/tmp/multipartBody1718619979008851111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441952832,"filename":"image_12042025_06_00_46_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/514c16c00bded399f0d4f62e8123215f.jpg","text":"TemporaryFile(/tmp/multipartBody717371769541924691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441952832,"filename":"image_12042025_06_00_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b21674b95b20e5d5273ae33fcf6a773b.jpg","text":"TemporaryFile(/tmp/multipartBody365861349929102811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744441952832,"filename":"image_12042025_06_00_37_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352147899","file1":"1352147881","file0":"1352147856","file4":"1352147978","file5":"1352148053","file3":"1352147930"},"map_files_photo_id_array":[{"photo_id":"1352148053","filename":"file5"},{"photo_id":"1352147899","filename":"file2"},{"photo_id":"1352147978","filename":"file4"},{"photo_id":"1352147881","filename":"file1"},{"photo_id":"1352147856","filename":"file0"},{"photo_id":"1352147930","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352148053":["hashtag1","hashtag2"]},{"1352147978":["hashtag1","hashtag2"]},{"1352147930":["hashtag1","hashtag2"]},{"1352147881":["hashtag1","hashtag2"]},{"1352147899":["hashtag1","hashtag2"]},{"1352147856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352148053, 1352147978, 1352147930, 1352147881, 1352147899, 1352147856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74368453025818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:12:32.533616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/01/image_12042025_06_01_47_10383.jpg', '/home/pi/Desktop/images/12042025/06/01/image_12042025_06_01_56_9370.jpg', '/home/pi/Desktop/images/12042025/06/01/image_12042025_06_02_07_10390.jpg', '/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_17_10366.jpg', '/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_26_9452.jpg', '/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_37_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/01/image_12042025_06_01_47_10383.jpg
/home/pi/Desktop/images/12042025/06/01/image_12042025_06_01_56_9370.jpg
/home/pi/Desktop/images/12042025/06/01/image_12042025_06_02_07_10390.jpg
/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_17_10366.jpg
/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_26_9452.jpg
/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_37_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352148605","1352148463","1352148529","1352148412","1352148579","1352148497"],"photo_ids_order":["1352148412","1352148463","1352148497","1352148529","1352148579","1352148605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb41e38235540bc80c76b955620d0c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7528497422135808335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442013065,"filename":"image_12042025_06_02_37_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ddb6bb9f8ffc59e64bb46157c59944c.jpg","text":"TemporaryFile(/tmp/multipartBody8426023129629042826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442013065,"filename":"image_12042025_06_01_56_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/516b4456e2110fbcd0d1d8b84231f0f8.jpg","text":"TemporaryFile(/tmp/multipartBody6033290517528003708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442013065,"filename":"image_12042025_06_02_17_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d293e2871b22f26d0072c23ee1084b7.jpg","text":"TemporaryFile(/tmp/multipartBody7572772341032305518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442013065,"filename":"image_12042025_06_01_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbbaa57314201c66f567c9588d709f9a.jpg","text":"TemporaryFile(/tmp/multipartBody2585821899511659189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442013065,"filename":"image_12042025_06_02_26_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/983cb9b7a858bbcf9cf8ef411c2eec1c.jpg","text":"TemporaryFile(/tmp/multipartBody3644598597124121867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442013065,"filename":"image_12042025_06_02_07_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352148497","file1":"1352148463","file0":"1352148412","file4":"1352148579","file5":"1352148605","file3":"1352148529"},"map_files_photo_id_array":[{"photo_id":"1352148605","filename":"file5"},{"photo_id":"1352148497","filename":"file2"},{"photo_id":"1352148579","filename":"file4"},{"photo_id":"1352148463","filename":"file1"},{"photo_id":"1352148412","filename":"file0"},{"photo_id":"1352148529","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352148605":["hashtag1","hashtag2"]},{"1352148463":["hashtag1","hashtag2"]},{"1352148529":["hashtag1","hashtag2"]},{"1352148412":["hashtag1","hashtag2"]},{"1352148579":["hashtag1","hashtag2"]},{"1352148497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352148605, 1352148463, 1352148529, 1352148412, 1352148579, 1352148497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40930891036987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:13:32.882290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_46_9454.jpg', '/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_57_10359.jpg', '/home/pi/Desktop/images/12042025/06/02/image_12042025_06_03_07_10341.jpg', '/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_16_9359.jpg', '/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_27_10375.jpg', '/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_36_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_46_9454.jpg
/home/pi/Desktop/images/12042025/06/02/image_12042025_06_02_57_10359.jpg
/home/pi/Desktop/images/12042025/06/02/image_12042025_06_03_07_10341.jpg
/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_16_9359.jpg
/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_27_10375.jpg
/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_36_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352148838","1352148946","1352149085","1352149058","1352148906","1352148863"],"photo_ids_order":["1352148838","1352148863","1352148906","1352148946","1352149058","1352149085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a56615965d48fe1b619b77ee88e0aaa3.jpg","text":"TemporaryFile(/tmp/multipartBody2200382873174261668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442073408,"filename":"image_12042025_06_02_46_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9749a5c047d0dbac141e3194fc6dbf35.jpg","text":"TemporaryFile(/tmp/multipartBody1786999225616333635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442073408,"filename":"image_12042025_06_03_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/daec4a9f2f065827229bba2202b1a63f.jpg","text":"TemporaryFile(/tmp/multipartBody1060625883872685747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442073408,"filename":"image_12042025_06_03_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/883e20ec1bbe1c9189e71c9d478e2396.jpg","text":"TemporaryFile(/tmp/multipartBody8563348168611785091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442073408,"filename":"image_12042025_06_03_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92cedf939a7b1b5c2153d843cf4eafad.jpg","text":"TemporaryFile(/tmp/multipartBody2504394366726033512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442073408,"filename":"image_12042025_06_03_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/670218a41f2f86c93bc72159f604b254.jpg","text":"TemporaryFile(/tmp/multipartBody8114305485842488667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442073408,"filename":"image_12042025_06_02_57_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352148906","file1":"1352148863","file0":"1352148838","file4":"1352149058","file5":"1352149085","file3":"1352148946"},"map_files_photo_id_array":[{"photo_id":"1352149085","filename":"file5"},{"photo_id":"1352148906","filename":"file2"},{"photo_id":"1352149058","filename":"file4"},{"photo_id":"1352148863","filename":"file1"},{"photo_id":"1352148838","filename":"file0"},{"photo_id":"1352148946","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352148838":["hashtag1","hashtag2"]},{"1352148946":["hashtag1","hashtag2"]},{"1352149085":["hashtag1","hashtag2"]},{"1352149058":["hashtag1","hashtag2"]},{"1352148906":["hashtag1","hashtag2"]},{"1352148863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352148838, 1352148946, 1352149085, 1352149058, 1352148906, 1352148863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.78168082237244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:14:33.057953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_47_10424.jpg', '/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_57_10425.jpg', '/home/pi/Desktop/images/12042025/06/03/image_12042025_06_04_06_9444.jpg', '/home/pi/Desktop/images/12042025/06/04/image_12042025_06_04_17_10362.jpg', '/home/pi/Desktop/images/12042025/06/04/image_12042025_06_04_26_9363.jpg', '/home/pi/Desktop/images/12042025/06/04/image_12042025_06_04_37_10498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_47_10424.jpg
/home/pi/Desktop/images/12042025/06/03/image_12042025_06_03_57_10425.jpg
/home/pi/Desktop/images/12042025/06/03/image_12042025_06_04_06_9444.jpg
/home/pi/Desktop/images/12042025/06/04/image_12042025_06_04_17_10362.jpg
/home/pi/Desktop/images/12042025/06/04/image_12042025_06_04_26_9363.jpg
/home/pi/Desktop/images/12042025/06/04/image_12042025_06_04_37_10498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352149307","1352149282","1352149246","1352149326","1352149221","1352149199"],"photo_ids_order":["1352149199","1352149221","1352149246","1352149282","1352149307","1352149326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8529fbd8169c3afb9a5f0d89047ea666.jpg","text":"TemporaryFile(/tmp/multipartBody3936010228275480109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442133660,"filename":"image_12042025_06_04_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/328caee3884639e820d0ab80c57694ee.jpg","text":"TemporaryFile(/tmp/multipartBody5562566809824822283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442133660,"filename":"image_12042025_06_04_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c029d44a05aed2451660b006d568ab66.jpg","text":"TemporaryFile(/tmp/multipartBody1586697771007356984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442133660,"filename":"image_12042025_06_04_06_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57c24bffbb8af79d68af55a4785f4af1.jpg","text":"TemporaryFile(/tmp/multipartBody8009812522532014262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442133660,"filename":"image_12042025_06_04_37_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a86baff4a6dc3f3e9e5954718ee5ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3506184432835382590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442133660,"filename":"image_12042025_06_03_57_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/179219fee83301b63faae449bf647519.jpg","text":"TemporaryFile(/tmp/multipartBody5039704856368733279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442133660,"filename":"image_12042025_06_03_47_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352149246","file1":"1352149221","file0":"1352149199","file4":"1352149307","file5":"1352149326","file3":"1352149282"},"map_files_photo_id_array":[{"photo_id":"1352149326","filename":"file5"},{"photo_id":"1352149246","filename":"file2"},{"photo_id":"1352149307","filename":"file4"},{"photo_id":"1352149221","filename":"file1"},{"photo_id":"1352149199","filename":"file0"},{"photo_id":"1352149282","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352149307":["hashtag1","hashtag2"]},{"1352149282":["hashtag1","hashtag2"]},{"1352149246":["hashtag1","hashtag2"]},{"1352149326":["hashtag1","hashtag2"]},{"1352149221":["hashtag1","hashtag2"]},{"1352149199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352149307, 1352149282, 1352149246, 1352149326, 1352149221, 1352149199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.751973390579224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:15:32.206350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/04/image_12042025_06_04_56_9364.jpg', '/home/pi/Desktop/images/12042025/06/04/image_12042025_06_05_07_10366.jpg', '/home/pi/Desktop/images/12042025/06/05/image_12042025_06_05_17_10344.jpg', '/home/pi/Desktop/images/12042025/06/05/image_12042025_06_05_27_9434.jpg', '/home/pi/Desktop/images/12042025/06/05/image_12042025_06_05_37_10414.jpg', '/home/pi/Desktop/images/12042025/06/05/image_12042025_06_05_57_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/04/image_12042025_06_04_56_9364.jpg
/home/pi/Desktop/images/12042025/06/04/image_12042025_06_05_07_10366.jpg
/home/pi/Desktop/images/12042025/06/05/image_12042025_06_05_17_10344.jpg
/home/pi/Desktop/images/12042025/06/05/image_12042025_06_05_27_9434.jpg
/home/pi/Desktop/images/12042025/06/05/image_12042025_06_05_37_10414.jpg
/home/pi/Desktop/images/12042025/06/05/image_12042025_06_05_57_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352149406","1352149396","1352149399","1352149402","1352149394","1352149409"],"photo_ids_order":["1352149394","1352149396","1352149399","1352149402","1352149406","1352149409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d10957f695e87af806bd681215895f9b.jpg","text":"TemporaryFile(/tmp/multipartBody8346607307657708178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442192737,"filename":"image_12042025_06_05_37_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/376b97c943b5abb91ef035653850946b.jpg","text":"TemporaryFile(/tmp/multipartBody4397287064519731874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442192737,"filename":"image_12042025_06_05_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7cf615304dcf76348e809e4c0e38322.jpg","text":"TemporaryFile(/tmp/multipartBody5205375863287150632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442192737,"filename":"image_12042025_06_05_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/edfb28a341b005bbcc5e5c4f6f16f5a2.jpg","text":"TemporaryFile(/tmp/multipartBody203353437880155543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442192737,"filename":"image_12042025_06_05_27_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00817acf716877b489d91483648cec21.jpg","text":"TemporaryFile(/tmp/multipartBody3802446777014518571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442192737,"filename":"image_12042025_06_04_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbf75be8cda0db5585223cd4501fdff1.jpg","text":"TemporaryFile(/tmp/multipartBody7169623602647978279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442192737,"filename":"image_12042025_06_05_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352149399","file1":"1352149396","file0":"1352149394","file4":"1352149406","file5":"1352149409","file3":"1352149402"},"map_files_photo_id_array":[{"photo_id":"1352149409","filename":"file5"},{"photo_id":"1352149399","filename":"file2"},{"photo_id":"1352149406","filename":"file4"},{"photo_id":"1352149396","filename":"file1"},{"photo_id":"1352149394","filename":"file0"},{"photo_id":"1352149402","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352149406":["hashtag1","hashtag2"]},{"1352149396":["hashtag1","hashtag2"]},{"1352149399":["hashtag1","hashtag2"]},{"1352149402":["hashtag1","hashtag2"]},{"1352149394":["hashtag1","hashtag2"]},{"1352149409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352149406, 1352149396, 1352149399, 1352149402, 1352149394, 1352149409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56625962257385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:16:32.472512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/05/image_12042025_06_06_06_9394.jpg', '/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_17_10351.jpg', '/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_27_10355.jpg', '/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_36_9442.jpg', '/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_47_10360.jpg', '/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_56_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/05/image_12042025_06_06_06_9394.jpg
/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_17_10351.jpg
/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_27_10355.jpg
/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_36_9442.jpg
/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_47_10360.jpg
/home/pi/Desktop/images/12042025/06/06/image_12042025_06_06_56_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352149453","1352149441","1352149449","1352149445","1352149436","1352149439"],"photo_ids_order":["1352149436","1352149439","1352149441","1352149445","1352149449","1352149453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b04bbea688eb80d1dabde3537efe9e60.jpg","text":"TemporaryFile(/tmp/multipartBody4839538297111360441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442253009,"filename":"image_12042025_06_06_56_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f5dec0d0cc9fcc4e4957ad2365969be0.jpg","text":"TemporaryFile(/tmp/multipartBody4812216212632186132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442253009,"filename":"image_12042025_06_06_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c146e425fdac8acb620542e72b80d14.jpg","text":"TemporaryFile(/tmp/multipartBody742715375577928903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442253009,"filename":"image_12042025_06_06_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f71e2e17b2cbe49563d4a2660a389f6.jpg","text":"TemporaryFile(/tmp/multipartBody954506687962897598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442253009,"filename":"image_12042025_06_06_36_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77e6cd622a1e39fcc04f5912e9494f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3651270986327638472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442253009,"filename":"image_12042025_06_06_06_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/405324a2b86b41ad09bc2302f5c29544.jpg","text":"TemporaryFile(/tmp/multipartBody5758477475632269722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442253009,"filename":"image_12042025_06_06_17_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352149441","file1":"1352149439","file0":"1352149436","file4":"1352149449","file5":"1352149453","file3":"1352149445"},"map_files_photo_id_array":[{"photo_id":"1352149453","filename":"file5"},{"photo_id":"1352149441","filename":"file2"},{"photo_id":"1352149449","filename":"file4"},{"photo_id":"1352149439","filename":"file1"},{"photo_id":"1352149436","filename":"file0"},{"photo_id":"1352149445","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352149453":["hashtag1","hashtag2"]},{"1352149441":["hashtag1","hashtag2"]},{"1352149449":["hashtag1","hashtag2"]},{"1352149445":["hashtag1","hashtag2"]},{"1352149436":["hashtag1","hashtag2"]},{"1352149439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352149453, 1352149441, 1352149449, 1352149445, 1352149436, 1352149439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.773656368255615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:17:32.767772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/06/image_12042025_06_07_07_10435.jpg', '/home/pi/Desktop/images/12042025/06/07/image_12042025_06_07_17_10338.jpg', '/home/pi/Desktop/images/12042025/06/07/image_12042025_06_07_37_10379.jpg', '/home/pi/Desktop/images/12042025/06/07/image_12042025_06_08_07_10369.jpg', '/home/pi/Desktop/images/12042025/06/08/image_12042025_06_08_27_10383.jpg', '/home/pi/Desktop/images/12042025/06/08/image_12042025_06_08_46_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/06/image_12042025_06_07_07_10435.jpg
/home/pi/Desktop/images/12042025/06/07/image_12042025_06_07_17_10338.jpg
/home/pi/Desktop/images/12042025/06/07/image_12042025_06_07_37_10379.jpg
/home/pi/Desktop/images/12042025/06/07/image_12042025_06_08_07_10369.jpg
/home/pi/Desktop/images/12042025/06/08/image_12042025_06_08_27_10383.jpg
/home/pi/Desktop/images/12042025/06/08/image_12042025_06_08_46_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352149714","1352149665","1352149740","1352149688","1352149766","1352149640"],"photo_ids_order":["1352149640","1352149665","1352149688","1352149714","1352149740","1352149766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37537373198462051a3f7ad77a3f575c.jpg","text":"TemporaryFile(/tmp/multipartBody2898030127069194856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442313298,"filename":"image_12042025_06_08_07_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29e45739d8b95ae5f371f5f597083843.jpg","text":"TemporaryFile(/tmp/multipartBody5362153983380635659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442313298,"filename":"image_12042025_06_07_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8619431fd220a5e639821764be527205.jpg","text":"TemporaryFile(/tmp/multipartBody5583200870550309000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442313298,"filename":"image_12042025_06_08_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9db28a80c8951dfb74c081966c49b585.jpg","text":"TemporaryFile(/tmp/multipartBody7665951385589168865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442313298,"filename":"image_12042025_06_07_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/835d2e78b9a554249437db15bf59e760.jpg","text":"TemporaryFile(/tmp/multipartBody4295785903844289830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442313298,"filename":"image_12042025_06_08_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b8b5f10b3ba4bf5210148217dfcd56d.jpg","text":"TemporaryFile(/tmp/multipartBody9081081200064447381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442313298,"filename":"image_12042025_06_07_07_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352149688","file1":"1352149665","file0":"1352149640","file4":"1352149740","file5":"1352149766","file3":"1352149714"},"map_files_photo_id_array":[{"photo_id":"1352149766","filename":"file5"},{"photo_id":"1352149688","filename":"file2"},{"photo_id":"1352149740","filename":"file4"},{"photo_id":"1352149665","filename":"file1"},{"photo_id":"1352149640","filename":"file0"},{"photo_id":"1352149714","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352149714":["hashtag1","hashtag2"]},{"1352149665":["hashtag1","hashtag2"]},{"1352149740":["hashtag1","hashtag2"]},{"1352149688":["hashtag1","hashtag2"]},{"1352149766":["hashtag1","hashtag2"]},{"1352149640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352149714, 1352149665, 1352149740, 1352149688, 1352149766, 1352149640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.692522048950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:18:33.023081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/08/image_12042025_06_08_57_10354.jpg', '/home/pi/Desktop/images/12042025/06/08/image_12042025_06_09_06_9452.jpg', '/home/pi/Desktop/images/12042025/06/09/image_12042025_06_09_17_10349.jpg', '/home/pi/Desktop/images/12042025/06/09/image_12042025_06_09_36_9364.jpg', '/home/pi/Desktop/images/12042025/06/09/image_12042025_06_10_06_10379.jpg', '/home/pi/Desktop/images/12042025/06/10/image_12042025_06_10_17_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/08/image_12042025_06_08_57_10354.jpg
/home/pi/Desktop/images/12042025/06/08/image_12042025_06_09_06_9452.jpg
/home/pi/Desktop/images/12042025/06/09/image_12042025_06_09_17_10349.jpg
/home/pi/Desktop/images/12042025/06/09/image_12042025_06_09_36_9364.jpg
/home/pi/Desktop/images/12042025/06/09/image_12042025_06_10_06_10379.jpg
/home/pi/Desktop/images/12042025/06/10/image_12042025_06_10_17_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352149921","1352149918","1352149869","1352149971","1352149908","1352149943"],"photo_ids_order":["1352149869","1352149908","1352149918","1352149921","1352149943","1352149971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a03a6ee7288c45fd6ab168339755675c.jpg","text":"TemporaryFile(/tmp/multipartBody1609379490356764760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442373580,"filename":"image_12042025_06_09_36_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/713c5fed9cf2892df48061362ddfc004.jpg","text":"TemporaryFile(/tmp/multipartBody2779969799319303939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442373580,"filename":"image_12042025_06_09_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bd39f7076d3a123a32c02166aba8a0b.jpg","text":"TemporaryFile(/tmp/multipartBody810236130419349867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442373580,"filename":"image_12042025_06_08_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e1cb21922f28ab7ffab658bea8c3b08.jpg","text":"TemporaryFile(/tmp/multipartBody6225987031379894596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442373580,"filename":"image_12042025_06_10_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/048e32545661dc25b99ef67bebb8fbb3.jpg","text":"TemporaryFile(/tmp/multipartBody2856783693807345524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442373580,"filename":"image_12042025_06_09_06_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5eb1e62f14aa2ab65e06fe6b25ad5d28.jpg","text":"TemporaryFile(/tmp/multipartBody3639804011496214753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442373580,"filename":"image_12042025_06_10_06_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352149918","file1":"1352149908","file0":"1352149869","file4":"1352149943","file5":"1352149971","file3":"1352149921"},"map_files_photo_id_array":[{"photo_id":"1352149971","filename":"file5"},{"photo_id":"1352149918","filename":"file2"},{"photo_id":"1352149943","filename":"file4"},{"photo_id":"1352149908","filename":"file1"},{"photo_id":"1352149869","filename":"file0"},{"photo_id":"1352149921","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352149921":["hashtag1","hashtag2"]},{"1352149918":["hashtag1","hashtag2"]},{"1352149869":["hashtag1","hashtag2"]},{"1352149971":["hashtag1","hashtag2"]},{"1352149908":["hashtag1","hashtag2"]},{"1352149943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352149921, 1352149918, 1352149869, 1352149971, 1352149908, 1352149943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.903825998306274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:19:32.190404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/10/image_12042025_06_10_37_10442.jpg', '/home/pi/Desktop/images/12042025/06/10/image_12042025_06_10_56_9442.jpg', '/home/pi/Desktop/images/12042025/06/10/image_12042025_06_11_07_10383.jpg', '/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_16_9483.jpg', '/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_27_10367.jpg', '/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_37_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/10/image_12042025_06_10_37_10442.jpg
/home/pi/Desktop/images/12042025/06/10/image_12042025_06_10_56_9442.jpg
/home/pi/Desktop/images/12042025/06/10/image_12042025_06_11_07_10383.jpg
/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_16_9483.jpg
/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_27_10367.jpg
/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_37_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150024","1352150033","1352150031","1352150025","1352150028","1352150022"],"photo_ids_order":["1352150022","1352150024","1352150025","1352150028","1352150031","1352150033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fac5dfb57ac4401165c8587f77dd31c.jpg","text":"TemporaryFile(/tmp/multipartBody7122343386164439981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442432729,"filename":"image_12042025_06_10_56_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1005b3dd009ba423972a76b32d6cf55.jpg","text":"TemporaryFile(/tmp/multipartBody8146853763172686071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442432729,"filename":"image_12042025_06_11_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d0305d05128644ffc28712e9b2b8827.jpg","text":"TemporaryFile(/tmp/multipartBody3815078447146051962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442432729,"filename":"image_12042025_06_11_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3f3eee8592e1203177c2e3b017d98ee.jpg","text":"TemporaryFile(/tmp/multipartBody6541758647231889778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442432729,"filename":"image_12042025_06_11_07_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4907059a1a0f213580ac92252663206.jpg","text":"TemporaryFile(/tmp/multipartBody3697474324087150359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442432729,"filename":"image_12042025_06_11_16_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea833c9449d690e8831d5897165051d0.jpg","text":"TemporaryFile(/tmp/multipartBody7523996569677841507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442432729,"filename":"image_12042025_06_10_37_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150025","file1":"1352150024","file0":"1352150022","file4":"1352150031","file5":"1352150033","file3":"1352150028"},"map_files_photo_id_array":[{"photo_id":"1352150033","filename":"file5"},{"photo_id":"1352150025","filename":"file2"},{"photo_id":"1352150031","filename":"file4"},{"photo_id":"1352150024","filename":"file1"},{"photo_id":"1352150022","filename":"file0"},{"photo_id":"1352150028","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150024":["hashtag1","hashtag2"]},{"1352150033":["hashtag1","hashtag2"]},{"1352150031":["hashtag1","hashtag2"]},{"1352150025":["hashtag1","hashtag2"]},{"1352150028":["hashtag1","hashtag2"]},{"1352150022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150024, 1352150033, 1352150031, 1352150025, 1352150028, 1352150022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43042826652527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:20:32.409334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_46_9359.jpg', '/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_57_10358.jpg', '/home/pi/Desktop/images/12042025/06/11/image_12042025_06_12_06_9340.jpg', '/home/pi/Desktop/images/12042025/06/12/image_12042025_06_12_27_10370.jpg', '/home/pi/Desktop/images/12042025/06/12/image_12042025_06_12_36_9349.jpg', '/home/pi/Desktop/images/12042025/06/12/image_12042025_06_12_47_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_46_9359.jpg
/home/pi/Desktop/images/12042025/06/11/image_12042025_06_11_57_10358.jpg
/home/pi/Desktop/images/12042025/06/11/image_12042025_06_12_06_9340.jpg
/home/pi/Desktop/images/12042025/06/12/image_12042025_06_12_27_10370.jpg
/home/pi/Desktop/images/12042025/06/12/image_12042025_06_12_36_9349.jpg
/home/pi/Desktop/images/12042025/06/12/image_12042025_06_12_47_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150086","1352150068","1352150082","1352150070","1352150072","1352150075"],"photo_ids_order":["1352150068","1352150070","1352150072","1352150075","1352150082","1352150086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ff9264f0f0c4305dcde2df7e83136c5.jpg","text":"TemporaryFile(/tmp/multipartBody1863542351846623626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442492943,"filename":"image_12042025_06_12_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32f60293acc9cb0a5b6db83d04f9515f.jpg","text":"TemporaryFile(/tmp/multipartBody18450589910397092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442492943,"filename":"image_12042025_06_11_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76f55bf2174e1f648cea518bfc842542.jpg","text":"TemporaryFile(/tmp/multipartBody4865835911960452954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442492943,"filename":"image_12042025_06_12_36_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b129e1fd5b2a032ad6394ba412d44d5.jpg","text":"TemporaryFile(/tmp/multipartBody4482447353272743233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442492943,"filename":"image_12042025_06_11_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dec8f3c43d22608713a4783d4e432807.jpg","text":"TemporaryFile(/tmp/multipartBody4557503445388608304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442492943,"filename":"image_12042025_06_12_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0bba6553c27aeb5bb1084d78110707c2.jpg","text":"TemporaryFile(/tmp/multipartBody1078892755737020546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442492943,"filename":"image_12042025_06_12_27_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150072","file1":"1352150070","file0":"1352150068","file4":"1352150082","file5":"1352150086","file3":"1352150075"},"map_files_photo_id_array":[{"photo_id":"1352150086","filename":"file5"},{"photo_id":"1352150072","filename":"file2"},{"photo_id":"1352150082","filename":"file4"},{"photo_id":"1352150070","filename":"file1"},{"photo_id":"1352150068","filename":"file0"},{"photo_id":"1352150075","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150086":["hashtag1","hashtag2"]},{"1352150068":["hashtag1","hashtag2"]},{"1352150082":["hashtag1","hashtag2"]},{"1352150070":["hashtag1","hashtag2"]},{"1352150072":["hashtag1","hashtag2"]},{"1352150075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150086, 1352150068, 1352150082, 1352150070, 1352150072, 1352150075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64569449424744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:21:32.716741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/12/image_12042025_06_13_07_10346.jpg', '/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_17_10419.jpg', '/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_26_9399.jpg', '/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_37_10341.jpg', '/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_47_9746.jpg', '/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_57_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/12/image_12042025_06_13_07_10346.jpg
/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_17_10419.jpg
/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_26_9399.jpg
/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_37_10341.jpg
/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_47_9746.jpg
/home/pi/Desktop/images/12042025/06/13/image_12042025_06_13_57_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150149","1352150200","1352150203","1352150206","1352150160","1352150148"],"photo_ids_order":["1352150148","1352150149","1352150160","1352150200","1352150203","1352150206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/252bc30e1f18f5ac976fd6f472ee667f.jpg","text":"TemporaryFile(/tmp/multipartBody8166978918215423941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442553253,"filename":"image_12042025_06_13_17_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1545042e5e685e741764521131f2284f.jpg","text":"TemporaryFile(/tmp/multipartBody7346303325881071176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442553253,"filename":"image_12042025_06_13_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db697c4a43cc64dab1b87c934df915ac.jpg","text":"TemporaryFile(/tmp/multipartBody7743173144911851896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442553253,"filename":"image_12042025_06_13_47_9746.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0470824f2198d3d9035b9d81f50ab97d.jpg","text":"TemporaryFile(/tmp/multipartBody946435111948018378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442553253,"filename":"image_12042025_06_13_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da90f20ec2de85fbf847adc31e899ce9.jpg","text":"TemporaryFile(/tmp/multipartBody3845457508508774273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442553253,"filename":"image_12042025_06_13_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2994a2df12c96225f832d5f14d46593e.jpg","text":"TemporaryFile(/tmp/multipartBody3526708533968896561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442553253,"filename":"image_12042025_06_13_07_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150160","file1":"1352150149","file0":"1352150148","file4":"1352150203","file5":"1352150206","file3":"1352150200"},"map_files_photo_id_array":[{"photo_id":"1352150206","filename":"file5"},{"photo_id":"1352150160","filename":"file2"},{"photo_id":"1352150203","filename":"file4"},{"photo_id":"1352150149","filename":"file1"},{"photo_id":"1352150148","filename":"file0"},{"photo_id":"1352150200","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150149":["hashtag1","hashtag2"]},{"1352150200":["hashtag1","hashtag2"]},{"1352150203":["hashtag1","hashtag2"]},{"1352150206":["hashtag1","hashtag2"]},{"1352150160":["hashtag1","hashtag2"]},{"1352150148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150149, 1352150200, 1352150203, 1352150206, 1352150160, 1352150148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02958941459656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:22:32.974335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/13/image_12042025_06_14_06_9466.jpg', '/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_17_10355.jpg', '/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_27_10346.jpg', '/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_36_9424.jpg', '/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_47_10451.jpg', '/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_56_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/13/image_12042025_06_14_06_9466.jpg
/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_17_10355.jpg
/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_27_10346.jpg
/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_36_9424.jpg
/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_47_10451.jpg
/home/pi/Desktop/images/12042025/06/14/image_12042025_06_14_56_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150386","1352150389","1352150362","1352150373","1352150382","1352150339"],"photo_ids_order":["1352150339","1352150362","1352150373","1352150382","1352150386","1352150389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cdb4e70b3e332b6335a8c30bcdcf3569.jpg","text":"TemporaryFile(/tmp/multipartBody1991993746899844173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442613540,"filename":"image_12042025_06_14_47_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f847f6ded98954f3f7dcafabcbe80aa3.jpg","text":"TemporaryFile(/tmp/multipartBody1832562111592481056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442613540,"filename":"image_12042025_06_14_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61eef4c12941c5720417132903aa5b1d.jpg","text":"TemporaryFile(/tmp/multipartBody7713330849987615844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442613540,"filename":"image_12042025_06_14_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb679268cff50faa8725d2bbde04d0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1651385886198612037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442613540,"filename":"image_12042025_06_14_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65ebf9acd34292a3d42f53d1fdc70ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2316098909032029323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442613540,"filename":"image_12042025_06_14_36_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f736f9327ac51e5f0629d2e0f9d2c3ca.jpg","text":"TemporaryFile(/tmp/multipartBody8239014379855913592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442613540,"filename":"image_12042025_06_14_06_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150373","file1":"1352150362","file0":"1352150339","file4":"1352150386","file5":"1352150389","file3":"1352150382"},"map_files_photo_id_array":[{"photo_id":"1352150389","filename":"file5"},{"photo_id":"1352150373","filename":"file2"},{"photo_id":"1352150386","filename":"file4"},{"photo_id":"1352150362","filename":"file1"},{"photo_id":"1352150339","filename":"file0"},{"photo_id":"1352150382","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150386":["hashtag1","hashtag2"]},{"1352150389":["hashtag1","hashtag2"]},{"1352150362":["hashtag1","hashtag2"]},{"1352150373":["hashtag1","hashtag2"]},{"1352150382":["hashtag1","hashtag2"]},{"1352150339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150386, 1352150389, 1352150362, 1352150373, 1352150382, 1352150339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18517470359802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:23:33.044374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/14/image_12042025_06_15_07_10367.jpg', '/home/pi/Desktop/images/12042025/06/15/image_12042025_06_15_37_10383.jpg', '/home/pi/Desktop/images/12042025/06/15/image_12042025_06_15_47_10381.jpg', '/home/pi/Desktop/images/12042025/06/15/image_12042025_06_15_56_9367.jpg', '/home/pi/Desktop/images/12042025/06/15/image_12042025_06_16_07_10358.jpg', '/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_16_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/14/image_12042025_06_15_07_10367.jpg
/home/pi/Desktop/images/12042025/06/15/image_12042025_06_15_37_10383.jpg
/home/pi/Desktop/images/12042025/06/15/image_12042025_06_15_47_10381.jpg
/home/pi/Desktop/images/12042025/06/15/image_12042025_06_15_56_9367.jpg
/home/pi/Desktop/images/12042025/06/15/image_12042025_06_16_07_10358.jpg
/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_16_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150402","1352150431","1352150457","1352150526","1352150505","1352150477"],"photo_ids_order":["1352150402","1352150431","1352150457","1352150477","1352150505","1352150526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4ce5291c12bce35951a7441507be254.jpg","text":"TemporaryFile(/tmp/multipartBody5125872947944928659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442673571,"filename":"image_12042025_06_15_07_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/469433920a0f440d9aaf95f0d3a95ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5536399705097387635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442673571,"filename":"image_12042025_06_15_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22b48966a95df6f5aba0c07050468ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1420900598127082086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442673571,"filename":"image_12042025_06_15_47_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66d177de98afce6b620d36d4d9bfc402.jpg","text":"TemporaryFile(/tmp/multipartBody5260380864109789408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442673571,"filename":"image_12042025_06_16_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6dc9d519c011043260d82c9df6b12d7.jpg","text":"TemporaryFile(/tmp/multipartBody8145424260295937926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442673571,"filename":"image_12042025_06_16_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f471440258cd2ba31311a3212e90342.jpg","text":"TemporaryFile(/tmp/multipartBody2365386175990290688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442673571,"filename":"image_12042025_06_15_56_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150457","file1":"1352150431","file0":"1352150402","file4":"1352150505","file5":"1352150526","file3":"1352150477"},"map_files_photo_id_array":[{"photo_id":"1352150526","filename":"file5"},{"photo_id":"1352150457","filename":"file2"},{"photo_id":"1352150505","filename":"file4"},{"photo_id":"1352150431","filename":"file1"},{"photo_id":"1352150402","filename":"file0"},{"photo_id":"1352150477","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150402":["hashtag1","hashtag2"]},{"1352150431":["hashtag1","hashtag2"]},{"1352150457":["hashtag1","hashtag2"]},{"1352150526":["hashtag1","hashtag2"]},{"1352150505":["hashtag1","hashtag2"]},{"1352150477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150402, 1352150431, 1352150457, 1352150526, 1352150505, 1352150477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10477256774902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:24:32.303475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_26_10355.jpg', '/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_37_10429.jpg', '/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_46_9427.jpg', '/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_57_10395.jpg', '/home/pi/Desktop/images/12042025/06/16/image_12042025_06_17_06_9351.jpg', '/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_17_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_26_10355.jpg
/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_37_10429.jpg
/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_46_9427.jpg
/home/pi/Desktop/images/12042025/06/16/image_12042025_06_16_57_10395.jpg
/home/pi/Desktop/images/12042025/06/16/image_12042025_06_17_06_9351.jpg
/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_17_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150590","1352150593","1352150583","1352150586","1352150580","1352150579"],"photo_ids_order":["1352150579","1352150580","1352150583","1352150586","1352150590","1352150593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6f7999c0489e368cf01dfaad199e640.jpg","text":"TemporaryFile(/tmp/multipartBody8292024100848716802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442732848,"filename":"image_12042025_06_17_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb1fa7ebddef0d9861879888cd5f0d51.jpg","text":"TemporaryFile(/tmp/multipartBody2188328424820169576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442732848,"filename":"image_12042025_06_17_17_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc685031c5073fbb2365828236b4b4b5.jpg","text":"TemporaryFile(/tmp/multipartBody3537629195494041749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442732848,"filename":"image_12042025_06_16_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3fb98734b04996bd0e2dc0bf5f70c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6955971271941533825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442732848,"filename":"image_12042025_06_16_57_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57c4954f0e52cb7fac97ca5fc5eb5ee7.jpg","text":"TemporaryFile(/tmp/multipartBody5220630200262535345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442732848,"filename":"image_12042025_06_16_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0bc804c057b3905029f8ab5ff2bafe31.jpg","text":"TemporaryFile(/tmp/multipartBody3248550297465915237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442732848,"filename":"image_12042025_06_16_26_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150583","file1":"1352150580","file0":"1352150579","file4":"1352150590","file5":"1352150593","file3":"1352150586"},"map_files_photo_id_array":[{"photo_id":"1352150593","filename":"file5"},{"photo_id":"1352150583","filename":"file2"},{"photo_id":"1352150590","filename":"file4"},{"photo_id":"1352150580","filename":"file1"},{"photo_id":"1352150579","filename":"file0"},{"photo_id":"1352150586","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150590":["hashtag1","hashtag2"]},{"1352150593":["hashtag1","hashtag2"]},{"1352150583":["hashtag1","hashtag2"]},{"1352150586":["hashtag1","hashtag2"]},{"1352150580":["hashtag1","hashtag2"]},{"1352150579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150590, 1352150593, 1352150583, 1352150586, 1352150580, 1352150579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01681613922119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:25:32.539543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_27_10380.jpg', '/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_36_9410.jpg', '/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_47_10417.jpg', '/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_57_10365.jpg', '/home/pi/Desktop/images/12042025/06/17/image_12042025_06_18_07_9419.jpg', '/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_17_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_27_10380.jpg
/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_36_9410.jpg
/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_47_10417.jpg
/home/pi/Desktop/images/12042025/06/17/image_12042025_06_17_57_10365.jpg
/home/pi/Desktop/images/12042025/06/17/image_12042025_06_18_07_9419.jpg
/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_17_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150624","1352150609","1352150620","1352150611","1352150643","1352150673"],"photo_ids_order":["1352150609","1352150611","1352150620","1352150624","1352150643","1352150673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6372c04c5a2df2e0d3070a8499bb6f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2558848407879119079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442793068,"filename":"image_12042025_06_17_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b32b97f5860cabc3e79337027b05a675.jpg","text":"TemporaryFile(/tmp/multipartBody2062598899138548292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442793068,"filename":"image_12042025_06_17_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3694935f4a15e335e01b70a219c30f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1875355895564458362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442793068,"filename":"image_12042025_06_17_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3ae5a3b42ee9b50eae4d2c0dda6d1ef.jpg","text":"TemporaryFile(/tmp/multipartBody4800226984228131668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442793068,"filename":"image_12042025_06_17_36_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee6c8be710c79d8650b8f8916a0d431f.jpg","text":"TemporaryFile(/tmp/multipartBody5040746678019161942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442793068,"filename":"image_12042025_06_18_07_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e517276880c3216118707631e221e106.jpg","text":"TemporaryFile(/tmp/multipartBody9206469065230693922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442793068,"filename":"image_12042025_06_18_17_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150620","file1":"1352150611","file0":"1352150609","file4":"1352150643","file5":"1352150673","file3":"1352150624"},"map_files_photo_id_array":[{"photo_id":"1352150673","filename":"file5"},{"photo_id":"1352150620","filename":"file2"},{"photo_id":"1352150643","filename":"file4"},{"photo_id":"1352150611","filename":"file1"},{"photo_id":"1352150609","filename":"file0"},{"photo_id":"1352150624","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150624":["hashtag1","hashtag2"]},{"1352150609":["hashtag1","hashtag2"]},{"1352150620":["hashtag1","hashtag2"]},{"1352150611":["hashtag1","hashtag2"]},{"1352150643":["hashtag1","hashtag2"]},{"1352150673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150624, 1352150609, 1352150620, 1352150611, 1352150643, 1352150673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.305286169052124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:26:32.799544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_26_9410.jpg', '/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_37_10447.jpg', '/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_47_10361.jpg', '/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_56_9392.jpg', '/home/pi/Desktop/images/12042025/06/18/image_12042025_06_19_07_10358.jpg', '/home/pi/Desktop/images/12042025/06/19/image_12042025_06_19_16_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_26_9410.jpg
/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_37_10447.jpg
/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_47_10361.jpg
/home/pi/Desktop/images/12042025/06/18/image_12042025_06_18_56_9392.jpg
/home/pi/Desktop/images/12042025/06/18/image_12042025_06_19_07_10358.jpg
/home/pi/Desktop/images/12042025/06/19/image_12042025_06_19_16_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150896","1352150900","1352150899","1352150890","1352150860","1352150902"],"photo_ids_order":["1352150860","1352150890","1352150896","1352150899","1352150900","1352150902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e58035d2232c051cb973b55362b9e815.jpg","text":"TemporaryFile(/tmp/multipartBody3406071041864166802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442853327,"filename":"image_12042025_06_18_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/402d9f03985a69ab6123cf35d9ffa84e.jpg","text":"TemporaryFile(/tmp/multipartBody8153646062868317882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442853327,"filename":"image_12042025_06_19_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1de061acea06c8653d4db4222cba933d.jpg","text":"TemporaryFile(/tmp/multipartBody6285165692012725156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442853327,"filename":"image_12042025_06_18_56_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e6f7927b03c4c0a8eb0f7b0d6927ec2.jpg","text":"TemporaryFile(/tmp/multipartBody2205882295220813934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442853327,"filename":"image_12042025_06_18_37_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12a65af188e23eb60971e168247a263a.jpg","text":"TemporaryFile(/tmp/multipartBody5027727695754634358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442853327,"filename":"image_12042025_06_18_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/319475e2459dc47a49c5a42122721d55.jpg","text":"TemporaryFile(/tmp/multipartBody3179415859980526769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442853327,"filename":"image_12042025_06_19_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150896","file1":"1352150890","file0":"1352150860","file4":"1352150900","file5":"1352150902","file3":"1352150899"},"map_files_photo_id_array":[{"photo_id":"1352150902","filename":"file5"},{"photo_id":"1352150896","filename":"file2"},{"photo_id":"1352150900","filename":"file4"},{"photo_id":"1352150890","filename":"file1"},{"photo_id":"1352150860","filename":"file0"},{"photo_id":"1352150899","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150896":["hashtag1","hashtag2"]},{"1352150900":["hashtag1","hashtag2"]},{"1352150899":["hashtag1","hashtag2"]},{"1352150890":["hashtag1","hashtag2"]},{"1352150860":["hashtag1","hashtag2"]},{"1352150902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150896, 1352150900, 1352150899, 1352150890, 1352150860, 1352150902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67072629928589 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:27:33.214720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/19/image_12042025_06_19_27_10383.jpg', '/home/pi/Desktop/images/12042025/06/19/image_12042025_06_19_37_10366.jpg', '/home/pi/Desktop/images/12042025/06/20/image_12042025_06_20_16_10368.jpg', '/home/pi/Desktop/images/12042025/06/20/image_12042025_06_20_27_10438.jpg', '/home/pi/Desktop/images/12042025/06/20/image_12042025_06_20_47_10372.jpg', '/home/pi/Desktop/images/12042025/06/20/image_12042025_06_20_56_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/19/image_12042025_06_19_27_10383.jpg
/home/pi/Desktop/images/12042025/06/19/image_12042025_06_19_37_10366.jpg
/home/pi/Desktop/images/12042025/06/20/image_12042025_06_20_16_10368.jpg
/home/pi/Desktop/images/12042025/06/20/image_12042025_06_20_27_10438.jpg
/home/pi/Desktop/images/12042025/06/20/image_12042025_06_20_47_10372.jpg
/home/pi/Desktop/images/12042025/06/20/image_12042025_06_20_56_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352150956","1352150964","1352150952","1352150945","1352150975","1352150948"],"photo_ids_order":["1352150945","1352150948","1352150952","1352150956","1352150964","1352150975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b61c505bfb4f5a8ad6095616aae4b21f.jpg","text":"TemporaryFile(/tmp/multipartBody6131583955028746775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442913727,"filename":"image_12042025_06_20_27_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1dacd74caece73c04968b4553a8f8892.jpg","text":"TemporaryFile(/tmp/multipartBody8230693256942987850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442913727,"filename":"image_12042025_06_20_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a6da8edab63f449583918ce2d83e9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2541704473634042240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442913727,"filename":"image_12042025_06_20_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51e6b000a924360dc8b0e170541b9d16.jpg","text":"TemporaryFile(/tmp/multipartBody749202919053454210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442913727,"filename":"image_12042025_06_19_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80c7b9f72af0da72d039e7ee053dd070.jpg","text":"TemporaryFile(/tmp/multipartBody7405477924695793979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442913727,"filename":"image_12042025_06_20_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13a004d89142ed1e62afdade550fc427.jpg","text":"TemporaryFile(/tmp/multipartBody5668120925513143950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442913727,"filename":"image_12042025_06_19_37_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352150952","file1":"1352150948","file0":"1352150945","file4":"1352150964","file5":"1352150975","file3":"1352150956"},"map_files_photo_id_array":[{"photo_id":"1352150975","filename":"file5"},{"photo_id":"1352150952","filename":"file2"},{"photo_id":"1352150964","filename":"file4"},{"photo_id":"1352150948","filename":"file1"},{"photo_id":"1352150945","filename":"file0"},{"photo_id":"1352150956","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352150956":["hashtag1","hashtag2"]},{"1352150964":["hashtag1","hashtag2"]},{"1352150952":["hashtag1","hashtag2"]},{"1352150945":["hashtag1","hashtag2"]},{"1352150975":["hashtag1","hashtag2"]},{"1352150948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352150956, 1352150964, 1352150952, 1352150945, 1352150975, 1352150948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.000362396240234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:28:32.251726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/21/image_12042025_06_21_17_10368.jpg', '/home/pi/Desktop/images/12042025/06/21/image_12042025_06_21_37_10430.jpg', '/home/pi/Desktop/images/12042025/06/21/image_12042025_06_21_47_10360.jpg', '/home/pi/Desktop/images/12042025/06/21/image_12042025_06_21_56_9419.jpg', '/home/pi/Desktop/images/12042025/06/21/image_12042025_06_22_07_10353.jpg', '/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_16_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/21/image_12042025_06_21_17_10368.jpg
/home/pi/Desktop/images/12042025/06/21/image_12042025_06_21_37_10430.jpg
/home/pi/Desktop/images/12042025/06/21/image_12042025_06_21_47_10360.jpg
/home/pi/Desktop/images/12042025/06/21/image_12042025_06_21_56_9419.jpg
/home/pi/Desktop/images/12042025/06/21/image_12042025_06_22_07_10353.jpg
/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_16_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151073","1352151028","1352151087","1352151051","1352151098","1352151091"],"photo_ids_order":["1352151028","1352151051","1352151073","1352151087","1352151091","1352151098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65bd508469b12ccd25cfda9db79a60ed.jpg","text":"TemporaryFile(/tmp/multipartBody2103942242860011229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442972792,"filename":"image_12042025_06_21_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51e555ac35c5e0c155e68d0400753769.jpg","text":"TemporaryFile(/tmp/multipartBody1394839852762003323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442972792,"filename":"image_12042025_06_21_17_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fa3843c1ea2354b93d16b86a56d4c44.jpg","text":"TemporaryFile(/tmp/multipartBody6195576171854773493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442972792,"filename":"image_12042025_06_21_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22c481579f91bae0cfe0634e9fcca209.jpg","text":"TemporaryFile(/tmp/multipartBody6238642016782534177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442972792,"filename":"image_12042025_06_21_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5801ad22d61f0a98418e7f1e2d4af3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7813460213936278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442972792,"filename":"image_12042025_06_22_16_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/272801e364d5f24d920ee1352ce05519.jpg","text":"TemporaryFile(/tmp/multipartBody5412795810400667725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744442972792,"filename":"image_12042025_06_22_07_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151073","file1":"1352151051","file0":"1352151028","file4":"1352151091","file5":"1352151098","file3":"1352151087"},"map_files_photo_id_array":[{"photo_id":"1352151098","filename":"file5"},{"photo_id":"1352151073","filename":"file2"},{"photo_id":"1352151091","filename":"file4"},{"photo_id":"1352151051","filename":"file1"},{"photo_id":"1352151028","filename":"file0"},{"photo_id":"1352151087","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151073":["hashtag1","hashtag2"]},{"1352151028":["hashtag1","hashtag2"]},{"1352151087":["hashtag1","hashtag2"]},{"1352151051":["hashtag1","hashtag2"]},{"1352151098":["hashtag1","hashtag2"]},{"1352151091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151073, 1352151028, 1352151087, 1352151051, 1352151098, 1352151091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29771542549133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:29:32.537867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_27_10407.jpg', '/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_37_10352.jpg', '/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_46_9452.jpg', '/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_57_10354.jpg', '/home/pi/Desktop/images/12042025/06/22/image_12042025_06_23_06_9355.jpg', '/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_17_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_27_10407.jpg
/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_37_10352.jpg
/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_46_9452.jpg
/home/pi/Desktop/images/12042025/06/22/image_12042025_06_22_57_10354.jpg
/home/pi/Desktop/images/12042025/06/22/image_12042025_06_23_06_9355.jpg
/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_17_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151203","1352151256","1352151247","1352151220","1352151192","1352151243"],"photo_ids_order":["1352151192","1352151203","1352151220","1352151243","1352151247","1352151256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4baa3cee4f376ae360f1878b8d441f6.jpg","text":"TemporaryFile(/tmp/multipartBody1096686312335892417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443033074,"filename":"image_12042025_06_22_37_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec43bbfa3a1d2e2b42a7086150312a1c.jpg","text":"TemporaryFile(/tmp/multipartBody8924291650647759016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443033074,"filename":"image_12042025_06_23_17_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acb4ee9b99979bdf961d32fa245db56c.jpg","text":"TemporaryFile(/tmp/multipartBody172702289778136775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443033074,"filename":"image_12042025_06_23_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6884c8c3f410354693a5975e8941d08.jpg","text":"TemporaryFile(/tmp/multipartBody1055617395702378058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443033074,"filename":"image_12042025_06_22_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62227233ca02517362922866715b8b25.jpg","text":"TemporaryFile(/tmp/multipartBody3088189738037390090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443033074,"filename":"image_12042025_06_22_27_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f59a1579627b5f3f6742cbf7a6a3b14.jpg","text":"TemporaryFile(/tmp/multipartBody1289624424229869504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443033074,"filename":"image_12042025_06_22_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151220","file1":"1352151203","file0":"1352151192","file4":"1352151247","file5":"1352151256","file3":"1352151243"},"map_files_photo_id_array":[{"photo_id":"1352151256","filename":"file5"},{"photo_id":"1352151220","filename":"file2"},{"photo_id":"1352151247","filename":"file4"},{"photo_id":"1352151203","filename":"file1"},{"photo_id":"1352151192","filename":"file0"},{"photo_id":"1352151243","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151203":["hashtag1","hashtag2"]},{"1352151256":["hashtag1","hashtag2"]},{"1352151247":["hashtag1","hashtag2"]},{"1352151220":["hashtag1","hashtag2"]},{"1352151192":["hashtag1","hashtag2"]},{"1352151243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151203, 1352151256, 1352151247, 1352151220, 1352151192, 1352151243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.814924240112305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:30:32.723947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_27_10371.jpg', '/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_36_9405.jpg', '/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_47_10374.jpg', '/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_57_10388.jpg', '/home/pi/Desktop/images/12042025/06/23/image_12042025_06_24_06_9350.jpg', '/home/pi/Desktop/images/12042025/06/24/image_12042025_06_24_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_27_10371.jpg
/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_36_9405.jpg
/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_47_10374.jpg
/home/pi/Desktop/images/12042025/06/23/image_12042025_06_23_57_10388.jpg
/home/pi/Desktop/images/12042025/06/23/image_12042025_06_24_06_9350.jpg
/home/pi/Desktop/images/12042025/06/24/image_12042025_06_24_17_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151361","1352151310","1352151304","1352151357","1352151366","1352151306"],"photo_ids_order":["1352151304","1352151306","1352151310","1352151357","1352151361","1352151366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/932be6541088ff5627438dd3fd62da38.jpg","text":"TemporaryFile(/tmp/multipartBody1163870999599603477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443093258,"filename":"image_12042025_06_24_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c285496e9c937640d138637f51cc7c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1162687115635141613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443093258,"filename":"image_12042025_06_23_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef01c33842c20ab4ed652e9b9b0706cd.jpg","text":"TemporaryFile(/tmp/multipartBody497877365941015833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443093258,"filename":"image_12042025_06_23_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3941a26c75ea3f71b642fb97e0a23165.jpg","text":"TemporaryFile(/tmp/multipartBody8647031003960651651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443093258,"filename":"image_12042025_06_23_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5d78e2dd8c60a2227b7a6aae1fd777b.jpg","text":"TemporaryFile(/tmp/multipartBody5480518475076373053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443093258,"filename":"image_12042025_06_24_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/451df0f6e5ffcd11567e53f6df473e1a.jpg","text":"TemporaryFile(/tmp/multipartBody7368864629883901014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443093258,"filename":"image_12042025_06_23_36_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151310","file1":"1352151306","file0":"1352151304","file4":"1352151361","file5":"1352151366","file3":"1352151357"},"map_files_photo_id_array":[{"photo_id":"1352151366","filename":"file5"},{"photo_id":"1352151310","filename":"file2"},{"photo_id":"1352151361","filename":"file4"},{"photo_id":"1352151306","filename":"file1"},{"photo_id":"1352151304","filename":"file0"},{"photo_id":"1352151357","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151361":["hashtag1","hashtag2"]},{"1352151310":["hashtag1","hashtag2"]},{"1352151304":["hashtag1","hashtag2"]},{"1352151357":["hashtag1","hashtag2"]},{"1352151366":["hashtag1","hashtag2"]},{"1352151306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151361, 1352151310, 1352151304, 1352151357, 1352151366, 1352151306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36085820198059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:31:32.960882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/24/image_12042025_06_24_26_9363.jpg', '/home/pi/Desktop/images/12042025/06/24/image_12042025_06_24_37_10439.jpg', '/home/pi/Desktop/images/12042025/06/24/image_12042025_06_24_56_9420.jpg', '/home/pi/Desktop/images/12042025/06/24/image_12042025_06_25_07_10348.jpg', '/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_17_10331.jpg', '/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_26_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/24/image_12042025_06_24_26_9363.jpg
/home/pi/Desktop/images/12042025/06/24/image_12042025_06_24_37_10439.jpg
/home/pi/Desktop/images/12042025/06/24/image_12042025_06_24_56_9420.jpg
/home/pi/Desktop/images/12042025/06/24/image_12042025_06_25_07_10348.jpg
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_17_10331.jpg
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_26_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151401","1352151393","1352151381","1352151395","1352151389","1352151398"],"photo_ids_order":["1352151381","1352151389","1352151393","1352151395","1352151398","1352151401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8827bb94fe93f310e5ac6a2eafc4ae32.jpg","text":"TemporaryFile(/tmp/multipartBody9109011798451059039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443153495,"filename":"image_12042025_06_25_26_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6aa1577b64de24216fc201a909e204a6.jpg","text":"TemporaryFile(/tmp/multipartBody7672973627279552621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443153495,"filename":"image_12042025_06_24_56_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/016b2062da9f619ea15e7b272d0d867c.jpg","text":"TemporaryFile(/tmp/multipartBody6423942859209159285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443153495,"filename":"image_12042025_06_24_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa8700391086023edee239413a504272.jpg","text":"TemporaryFile(/tmp/multipartBody1793349726492739582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443153495,"filename":"image_12042025_06_25_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a856da1f5b4e0331893e1e30fdee60e.jpg","text":"TemporaryFile(/tmp/multipartBody5356805140646115544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443153495,"filename":"image_12042025_06_24_37_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/537c32738474282b3693c2e5a0728000.jpg","text":"TemporaryFile(/tmp/multipartBody2596602337399750742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443153495,"filename":"image_12042025_06_25_17_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151393","file1":"1352151389","file0":"1352151381","file4":"1352151398","file5":"1352151401","file3":"1352151395"},"map_files_photo_id_array":[{"photo_id":"1352151401","filename":"file5"},{"photo_id":"1352151393","filename":"file2"},{"photo_id":"1352151398","filename":"file4"},{"photo_id":"1352151389","filename":"file1"},{"photo_id":"1352151381","filename":"file0"},{"photo_id":"1352151395","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151401":["hashtag1","hashtag2"]},{"1352151393":["hashtag1","hashtag2"]},{"1352151381":["hashtag1","hashtag2"]},{"1352151395":["hashtag1","hashtag2"]},{"1352151389":["hashtag1","hashtag2"]},{"1352151398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151401, 1352151393, 1352151381, 1352151395, 1352151389, 1352151398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.76299715042114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:32:33.292188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_37_10373.jpg', '/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_46_9358.jpg', '/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_57_10443.jpg', '/home/pi/Desktop/images/12042025/06/25/image_12042025_06_26_07_10341.jpg', '/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_16_9346.jpg', '/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_27_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_37_10373.jpg
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_46_9358.jpg
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_57_10443.jpg
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_26_07_10341.jpg
/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_16_9346.jpg
/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_27_10383.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39716100692749023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 09:32:43.270856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_37_10373.jpg', '/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_46_9358.jpg', '/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_57_10443.jpg', '/home/pi/Desktop/images/12042025/06/25/image_12042025_06_26_07_10341.jpg', '/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_16_9346.jpg', '/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_27_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_37_10373.jpg
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_46_9358.jpg
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_25_57_10443.jpg
/home/pi/Desktop/images/12042025/06/25/image_12042025_06_26_07_10341.jpg
/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_16_9346.jpg
/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_27_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151418","1352151432","1352151435","1352151429","1352151440","1352151425"],"photo_ids_order":["1352151418","1352151425","1352151429","1352151432","1352151435","1352151440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7ad9dbaead3825aad0db1364c63eea6.jpg","text":"TemporaryFile(/tmp/multipartBody2314109042255696176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443223724,"filename":"image_12042025_06_25_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/553bd6e7b485d6742a7cf3815f1ad135.jpg","text":"TemporaryFile(/tmp/multipartBody6775272279917890397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443223724,"filename":"image_12042025_06_26_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d09b2d27e163cce44e7de0ed2d4ba23.jpg","text":"TemporaryFile(/tmp/multipartBody2315762590556977240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443223724,"filename":"image_12042025_06_26_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f26658f4fa9f549e0fe8ac18525df81.jpg","text":"TemporaryFile(/tmp/multipartBody2729939012043564403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443223724,"filename":"image_12042025_06_25_57_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7432d515e287decc743bdf89396dbaf.jpg","text":"TemporaryFile(/tmp/multipartBody2384225743790010638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443223724,"filename":"image_12042025_06_26_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c6f42a89e72d99627d34d63a7b1994d.jpg","text":"TemporaryFile(/tmp/multipartBody1606478886157489311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443223724,"filename":"image_12042025_06_25_46_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151429","file1":"1352151425","file0":"1352151418","file4":"1352151435","file5":"1352151440","file3":"1352151432"},"map_files_photo_id_array":[{"photo_id":"1352151440","filename":"file5"},{"photo_id":"1352151429","filename":"file2"},{"photo_id":"1352151435","filename":"file4"},{"photo_id":"1352151425","filename":"file1"},{"photo_id":"1352151418","filename":"file0"},{"photo_id":"1352151432","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151418":["hashtag1","hashtag2"]},{"1352151432":["hashtag1","hashtag2"]},{"1352151435":["hashtag1","hashtag2"]},{"1352151429":["hashtag1","hashtag2"]},{"1352151440":["hashtag1","hashtag2"]},{"1352151425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151418, 1352151432, 1352151435, 1352151429, 1352151440, 1352151425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92633509635925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:33:33.198355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_37_10376.jpg', '/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_47_9421.jpg', '/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_57_10407.jpg', '/home/pi/Desktop/images/12042025/06/26/image_12042025_06_27_06_9393.jpg', '/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_17_10328.jpg', '/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_27_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_37_10376.jpg
/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_47_9421.jpg
/home/pi/Desktop/images/12042025/06/26/image_12042025_06_26_57_10407.jpg
/home/pi/Desktop/images/12042025/06/26/image_12042025_06_27_06_9393.jpg
/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_17_10328.jpg
/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_27_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151478","1352151487","1352151474","1352151483","1352151467","1352151461"],"photo_ids_order":["1352151461","1352151467","1352151474","1352151478","1352151483","1352151487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20a660e36218902a9e4be95320106dab.jpg","text":"TemporaryFile(/tmp/multipartBody9100898474170836409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443273656,"filename":"image_12042025_06_27_06_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ac85fa31e39ecf2752a0f3a8ff45ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2216625479034814551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443273656,"filename":"image_12042025_06_27_27_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7381fb90c409038a414e3f0b4373882b.jpg","text":"TemporaryFile(/tmp/multipartBody3410902240181092130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443273656,"filename":"image_12042025_06_26_57_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1c61d6e50cdc383dad07c46e713c8ee.jpg","text":"TemporaryFile(/tmp/multipartBody5470707821001434702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443273656,"filename":"image_12042025_06_27_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a0036b9b917b1a5483e531f03233d02.jpg","text":"TemporaryFile(/tmp/multipartBody6833700570618041151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443273656,"filename":"image_12042025_06_26_47_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f88ad4021b66b297b30b2db02900c91.jpg","text":"TemporaryFile(/tmp/multipartBody549126591199866551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443273656,"filename":"image_12042025_06_26_37_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151474","file1":"1352151467","file0":"1352151461","file4":"1352151483","file5":"1352151487","file3":"1352151478"},"map_files_photo_id_array":[{"photo_id":"1352151487","filename":"file5"},{"photo_id":"1352151474","filename":"file2"},{"photo_id":"1352151483","filename":"file4"},{"photo_id":"1352151467","filename":"file1"},{"photo_id":"1352151461","filename":"file0"},{"photo_id":"1352151478","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151478":["hashtag1","hashtag2"]},{"1352151487":["hashtag1","hashtag2"]},{"1352151474":["hashtag1","hashtag2"]},{"1352151483":["hashtag1","hashtag2"]},{"1352151467":["hashtag1","hashtag2"]},{"1352151461":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151478, 1352151487, 1352151474, 1352151483, 1352151467, 1352151461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.90387535095215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:34:32.351022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_36_9441.jpg', '/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_47_10420.jpg', '/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_56_9482.jpg', '/home/pi/Desktop/images/12042025/06/27/image_12042025_06_28_07_10451.jpg', '/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_16_9366.jpg', '/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_27_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_36_9441.jpg
/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_47_10420.jpg
/home/pi/Desktop/images/12042025/06/27/image_12042025_06_27_56_9482.jpg
/home/pi/Desktop/images/12042025/06/27/image_12042025_06_28_07_10451.jpg
/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_16_9366.jpg
/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_27_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151598","1352151607","1352151601","1352151604","1352151618","1352151595"],"photo_ids_order":["1352151595","1352151598","1352151601","1352151604","1352151607","1352151618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0244c76a99690a6fb959bcebab00696.jpg","text":"TemporaryFile(/tmp/multipartBody819751572252064053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443332827,"filename":"image_12042025_06_27_47_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84413226001391027b45542cc82afb90.jpg","text":"TemporaryFile(/tmp/multipartBody2553989123828039723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443332827,"filename":"image_12042025_06_28_16_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a645840f83cea055e224b585b187d0c7.jpg","text":"TemporaryFile(/tmp/multipartBody2209269281472393722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443332827,"filename":"image_12042025_06_27_56_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98a14e95fa17c71e2c4d2a5925dfb23c.jpg","text":"TemporaryFile(/tmp/multipartBody883131693213303780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443332827,"filename":"image_12042025_06_28_07_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44e09524f317dd55b19da36991f95b46.jpg","text":"TemporaryFile(/tmp/multipartBody2929258265674726229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443332827,"filename":"image_12042025_06_28_27_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3334a9735d9a5865861ea1c8f7e6c32.jpg","text":"TemporaryFile(/tmp/multipartBody511157086129968851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443332827,"filename":"image_12042025_06_27_36_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151601","file1":"1352151598","file0":"1352151595","file4":"1352151607","file5":"1352151618","file3":"1352151604"},"map_files_photo_id_array":[{"photo_id":"1352151618","filename":"file5"},{"photo_id":"1352151601","filename":"file2"},{"photo_id":"1352151607","filename":"file4"},{"photo_id":"1352151598","filename":"file1"},{"photo_id":"1352151595","filename":"file0"},{"photo_id":"1352151604","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151598":["hashtag1","hashtag2"]},{"1352151607":["hashtag1","hashtag2"]},{"1352151601":["hashtag1","hashtag2"]},{"1352151604":["hashtag1","hashtag2"]},{"1352151618":["hashtag1","hashtag2"]},{"1352151595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151598, 1352151607, 1352151601, 1352151604, 1352151618, 1352151595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.526448488235474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:35:32.553602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_37_10363.jpg', '/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_46_9440.jpg', '/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_57_10370.jpg', '/home/pi/Desktop/images/12042025/06/28/image_12042025_06_29_06_9341.jpg', '/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_17_10428.jpg', '/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_27_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_37_10363.jpg
/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_46_9440.jpg
/home/pi/Desktop/images/12042025/06/28/image_12042025_06_28_57_10370.jpg
/home/pi/Desktop/images/12042025/06/28/image_12042025_06_29_06_9341.jpg
/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_17_10428.jpg
/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_27_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151643","1352151639","1352151630","1352151635","1352151650","1352151626"],"photo_ids_order":["1352151626","1352151630","1352151635","1352151639","1352151643","1352151650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0a2d670b4ba80b012d8d60935c49a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7315252293274991849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443393120,"filename":"image_12042025_06_29_17_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6be21008963a14d75853e18310e0a7cf.jpg","text":"TemporaryFile(/tmp/multipartBody4920155819196548308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443393120,"filename":"image_12042025_06_29_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93677a47e37a20c91ab6c54ef0b23631.jpg","text":"TemporaryFile(/tmp/multipartBody6425664019152548976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443393120,"filename":"image_12042025_06_28_46_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f2404974a8667150c25d5d9ff8dbb97.jpg","text":"TemporaryFile(/tmp/multipartBody274902537514698327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443393120,"filename":"image_12042025_06_28_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4885ecbba81581b016e0eeed8b30df8e.jpg","text":"TemporaryFile(/tmp/multipartBody3439166052818509974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443393120,"filename":"image_12042025_06_29_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffc8411da7c4e3fadea2cdac9389787b.jpg","text":"TemporaryFile(/tmp/multipartBody117423064314799583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443393120,"filename":"image_12042025_06_28_37_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151635","file1":"1352151630","file0":"1352151626","file4":"1352151643","file5":"1352151650","file3":"1352151639"},"map_files_photo_id_array":[{"photo_id":"1352151650","filename":"file5"},{"photo_id":"1352151635","filename":"file2"},{"photo_id":"1352151643","filename":"file4"},{"photo_id":"1352151630","filename":"file1"},{"photo_id":"1352151626","filename":"file0"},{"photo_id":"1352151639","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151643":["hashtag1","hashtag2"]},{"1352151639":["hashtag1","hashtag2"]},{"1352151630":["hashtag1","hashtag2"]},{"1352151635":["hashtag1","hashtag2"]},{"1352151650":["hashtag1","hashtag2"]},{"1352151626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151643, 1352151639, 1352151630, 1352151635, 1352151650, 1352151626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.504331827163696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:36:32.902551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_36_9427.jpg', '/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_47_10370.jpg', '/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_56_9432.jpg', '/home/pi/Desktop/images/12042025/06/29/image_12042025_06_30_07_10377.jpg', '/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_17_10420.jpg', '/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_26_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_36_9427.jpg
/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_47_10370.jpg
/home/pi/Desktop/images/12042025/06/29/image_12042025_06_29_56_9432.jpg
/home/pi/Desktop/images/12042025/06/29/image_12042025_06_30_07_10377.jpg
/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_17_10420.jpg
/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_26_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151707","1352151673","1352151700","1352151665","1352151694","1352151688"],"photo_ids_order":["1352151665","1352151673","1352151688","1352151694","1352151700","1352151707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b467e7fef58b1c999598df024e323c8.jpg","text":"TemporaryFile(/tmp/multipartBody58864721596693435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443453444,"filename":"image_12042025_06_30_26_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65d3a4475193d9f4a63796aa667d84f5.jpg","text":"TemporaryFile(/tmp/multipartBody345722239946928131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443453444,"filename":"image_12042025_06_29_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c08503c9bfe87a366de26252e3bec4e.jpg","text":"TemporaryFile(/tmp/multipartBody3912078033666182991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443453444,"filename":"image_12042025_06_30_17_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9af8f6b197deb436ab187118204570ba.jpg","text":"TemporaryFile(/tmp/multipartBody1980836999505864651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443453444,"filename":"image_12042025_06_29_36_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7864f76fce26d70d4561a9e26a6cc668.jpg","text":"TemporaryFile(/tmp/multipartBody117559109179002679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443453444,"filename":"image_12042025_06_30_07_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1875fae945151f25811518958f52c6d7.jpg","text":"TemporaryFile(/tmp/multipartBody1073282637912316695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443453444,"filename":"image_12042025_06_29_56_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151688","file1":"1352151673","file0":"1352151665","file4":"1352151700","file5":"1352151707","file3":"1352151694"},"map_files_photo_id_array":[{"photo_id":"1352151707","filename":"file5"},{"photo_id":"1352151688","filename":"file2"},{"photo_id":"1352151700","filename":"file4"},{"photo_id":"1352151673","filename":"file1"},{"photo_id":"1352151665","filename":"file0"},{"photo_id":"1352151694","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151707":["hashtag1","hashtag2"]},{"1352151673":["hashtag1","hashtag2"]},{"1352151700":["hashtag1","hashtag2"]},{"1352151665":["hashtag1","hashtag2"]},{"1352151694":["hashtag1","hashtag2"]},{"1352151688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151707, 1352151673, 1352151700, 1352151665, 1352151694, 1352151688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13321781158447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:37:33.199387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_37_10364.jpg', '/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_46_9358.jpg', '/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_56_10378.jpg', '/home/pi/Desktop/images/12042025/06/30/image_12042025_06_31_07_10351.jpg', '/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_16_9447.jpg', '/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_27_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_37_10364.jpg
/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_46_9358.jpg
/home/pi/Desktop/images/12042025/06/30/image_12042025_06_30_56_10378.jpg
/home/pi/Desktop/images/12042025/06/30/image_12042025_06_31_07_10351.jpg
/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_16_9447.jpg
/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_27_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151802","1352151795","1352151810","1352151807","1352151800","1352151793"],"photo_ids_order":["1352151793","1352151795","1352151800","1352151802","1352151807","1352151810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5feb56fd00c983bd2810c0f49baa0921.jpg","text":"TemporaryFile(/tmp/multipartBody3867196242438030485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443513701,"filename":"image_12042025_06_31_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab149b665c2c3839cee652abf908a00c.jpg","text":"TemporaryFile(/tmp/multipartBody3132331112084350619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443513701,"filename":"image_12042025_06_30_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b775df2cf7e9f5d7a81943e4a037b568.jpg","text":"TemporaryFile(/tmp/multipartBody7069653779930002012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443513701,"filename":"image_12042025_06_31_27_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/473b9661a847a3419d6fc4d65bd87b4c.jpg","text":"TemporaryFile(/tmp/multipartBody6155783292101629366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443513701,"filename":"image_12042025_06_31_16_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43591c6f6ed401ace6bd344a93173d43.jpg","text":"TemporaryFile(/tmp/multipartBody8015367262273336503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443513701,"filename":"image_12042025_06_30_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e11c46cc6b871a8cb2a691ae0c4a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7856611341359697118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443513701,"filename":"image_12042025_06_30_37_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151800","file1":"1352151795","file0":"1352151793","file4":"1352151807","file5":"1352151810","file3":"1352151802"},"map_files_photo_id_array":[{"photo_id":"1352151810","filename":"file5"},{"photo_id":"1352151800","filename":"file2"},{"photo_id":"1352151807","filename":"file4"},{"photo_id":"1352151795","filename":"file1"},{"photo_id":"1352151793","filename":"file0"},{"photo_id":"1352151802","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151802":["hashtag1","hashtag2"]},{"1352151795":["hashtag1","hashtag2"]},{"1352151810":["hashtag1","hashtag2"]},{"1352151807":["hashtag1","hashtag2"]},{"1352151800":["hashtag1","hashtag2"]},{"1352151793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151802, 1352151795, 1352151810, 1352151807, 1352151800, 1352151793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.807830810546875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:38:32.569998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_37_10346.jpg', '/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_46_9347.jpg', '/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_57_10354.jpg', '/home/pi/Desktop/images/12042025/06/31/image_12042025_06_32_06_9418.jpg', '/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_17_10412.jpg', '/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_27_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_37_10346.jpg
/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_46_9347.jpg
/home/pi/Desktop/images/12042025/06/31/image_12042025_06_31_57_10354.jpg
/home/pi/Desktop/images/12042025/06/31/image_12042025_06_32_06_9418.jpg
/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_17_10412.jpg
/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_27_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352151874","1352151853","1352151901","1352151864","1352151956","1352151890"],"photo_ids_order":["1352151853","1352151864","1352151874","1352151890","1352151901","1352151956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7b9ab8fdbdaf6f160c8696d514adb38.jpg","text":"TemporaryFile(/tmp/multipartBody6357188632136388933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443573045,"filename":"image_12042025_06_31_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f355df38bc412954c561ff9a4cc49233.jpg","text":"TemporaryFile(/tmp/multipartBody6439954861284721976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443573045,"filename":"image_12042025_06_31_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2538d5a392718d1130151004a2f43a6.jpg","text":"TemporaryFile(/tmp/multipartBody5323778104097544710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443573045,"filename":"image_12042025_06_32_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f86eba48f543472ffd9b1fa5e4b763c2.jpg","text":"TemporaryFile(/tmp/multipartBody660692979023731864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443573045,"filename":"image_12042025_06_31_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad6b0df34d7238ec427852fab132602e.jpg","text":"TemporaryFile(/tmp/multipartBody5138703677943657285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443573045,"filename":"image_12042025_06_32_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac71f77feb44dc35da277a13b8c6189a.jpg","text":"TemporaryFile(/tmp/multipartBody1898791426785340535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443573045,"filename":"image_12042025_06_32_06_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352151874","file1":"1352151864","file0":"1352151853","file4":"1352151901","file5":"1352151956","file3":"1352151890"},"map_files_photo_id_array":[{"photo_id":"1352151956","filename":"file5"},{"photo_id":"1352151874","filename":"file2"},{"photo_id":"1352151901","filename":"file4"},{"photo_id":"1352151864","filename":"file1"},{"photo_id":"1352151853","filename":"file0"},{"photo_id":"1352151890","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352151874":["hashtag1","hashtag2"]},{"1352151853":["hashtag1","hashtag2"]},{"1352151901":["hashtag1","hashtag2"]},{"1352151864":["hashtag1","hashtag2"]},{"1352151956":["hashtag1","hashtag2"]},{"1352151890":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352151874, 1352151853, 1352151901, 1352151864, 1352151956, 1352151890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37973642349243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:39:32.705290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_36_9462.jpg', '/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_47_10356.jpg', '/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_56_9427.jpg', '/home/pi/Desktop/images/12042025/06/32/image_12042025_06_33_07_10386.jpg', '/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_17_10351.jpg', '/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_26_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_36_9462.jpg
/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_47_10356.jpg
/home/pi/Desktop/images/12042025/06/32/image_12042025_06_32_56_9427.jpg
/home/pi/Desktop/images/12042025/06/32/image_12042025_06_33_07_10386.jpg
/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_17_10351.jpg
/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_26_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352152468","1352152479","1352152488","1352152483","1352152399","1352152444"],"photo_ids_order":["1352152399","1352152444","1352152468","1352152479","1352152483","1352152488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1b9f15c1faa70783dc6a679bac42341.jpg","text":"TemporaryFile(/tmp/multipartBody667989588973672860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443633225,"filename":"image_12042025_06_32_56_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62e67ab9018a330d0bc16f22bd4c8dce.jpg","text":"TemporaryFile(/tmp/multipartBody1642421769775604359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443633225,"filename":"image_12042025_06_33_07_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca44035edae42e24f7f5c1816f1b68c7.jpg","text":"TemporaryFile(/tmp/multipartBody1572338334438522720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443633225,"filename":"image_12042025_06_33_26_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aadacafe4d66108e8c150bacb482e716.jpg","text":"TemporaryFile(/tmp/multipartBody8093144822052348739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443633225,"filename":"image_12042025_06_33_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7c6b3ce800294ab2ed13faf5d4d5bae.jpg","text":"TemporaryFile(/tmp/multipartBody5654535038549732847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443633225,"filename":"image_12042025_06_32_36_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a51c14cc9a50d3f8acffd4482d34ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1230326154752532357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443633225,"filename":"image_12042025_06_32_47_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352152468","file1":"1352152444","file0":"1352152399","file4":"1352152483","file5":"1352152488","file3":"1352152479"},"map_files_photo_id_array":[{"photo_id":"1352152488","filename":"file5"},{"photo_id":"1352152468","filename":"file2"},{"photo_id":"1352152483","filename":"file4"},{"photo_id":"1352152444","filename":"file1"},{"photo_id":"1352152399","filename":"file0"},{"photo_id":"1352152479","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352152468":["hashtag1","hashtag2"]},{"1352152479":["hashtag1","hashtag2"]},{"1352152488":["hashtag1","hashtag2"]},{"1352152483":["hashtag1","hashtag2"]},{"1352152399":["hashtag1","hashtag2"]},{"1352152444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352152468, 1352152479, 1352152488, 1352152483, 1352152399, 1352152444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6421217918396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:40:33.121492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_37_10359.jpg', '/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_47_10354.jpg', '/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_57_9470.jpg', '/home/pi/Desktop/images/12042025/06/33/image_12042025_06_34_07_10372.jpg', '/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_16_9454.jpg', '/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_27_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_37_10359.jpg
/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_47_10354.jpg
/home/pi/Desktop/images/12042025/06/33/image_12042025_06_33_57_9470.jpg
/home/pi/Desktop/images/12042025/06/33/image_12042025_06_34_07_10372.jpg
/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_16_9454.jpg
/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_27_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352152531","1352152533","1352152515","1352152509","1352152520","1352152511"],"photo_ids_order":["1352152509","1352152511","1352152515","1352152520","1352152531","1352152533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6720c46e900a877a66c4f667a015eb62.jpg","text":"TemporaryFile(/tmp/multipartBody8435928464439570417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443693649,"filename":"image_12042025_06_34_16_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a102667b76e543644f99095bb510493.jpg","text":"TemporaryFile(/tmp/multipartBody7153259015713224259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443693649,"filename":"image_12042025_06_34_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/690c246470d935d368c81de623f63aef.jpg","text":"TemporaryFile(/tmp/multipartBody891292796494356450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443693649,"filename":"image_12042025_06_33_57_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55b9c306325bbae8d350c62c7cf6f569.jpg","text":"TemporaryFile(/tmp/multipartBody863415408883912189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443693649,"filename":"image_12042025_06_33_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/784bff3af1bc635c1ba0bfd8e790d567.jpg","text":"TemporaryFile(/tmp/multipartBody6898569951828225120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443693649,"filename":"image_12042025_06_34_07_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d896ba1ccbed9239f9e608f66c46c8e3.jpg","text":"TemporaryFile(/tmp/multipartBody3131782491694476783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443693649,"filename":"image_12042025_06_33_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352152515","file1":"1352152511","file0":"1352152509","file4":"1352152531","file5":"1352152533","file3":"1352152520"},"map_files_photo_id_array":[{"photo_id":"1352152533","filename":"file5"},{"photo_id":"1352152515","filename":"file2"},{"photo_id":"1352152531","filename":"file4"},{"photo_id":"1352152511","filename":"file1"},{"photo_id":"1352152509","filename":"file0"},{"photo_id":"1352152520","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352152531":["hashtag1","hashtag2"]},{"1352152533":["hashtag1","hashtag2"]},{"1352152515":["hashtag1","hashtag2"]},{"1352152509":["hashtag1","hashtag2"]},{"1352152520":["hashtag1","hashtag2"]},{"1352152511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352152531, 1352152533, 1352152515, 1352152509, 1352152520, 1352152511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.995657205581665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:41:32.203562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_37_10364.jpg', '/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_47_9425.jpg', '/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_57_10375.jpg', '/home/pi/Desktop/images/12042025/06/34/image_12042025_06_35_06_9383.jpg', '/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_17_10362.jpg', '/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_27_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_37_10364.jpg
/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_47_9425.jpg
/home/pi/Desktop/images/12042025/06/34/image_12042025_06_34_57_10375.jpg
/home/pi/Desktop/images/12042025/06/34/image_12042025_06_35_06_9383.jpg
/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_17_10362.jpg
/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_27_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352152546","1352152572","1352152569","1352152565","1352152550","1352152558"],"photo_ids_order":["1352152546","1352152550","1352152558","1352152565","1352152569","1352152572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3786d5e1fef9477a79e1d1a867c61dda.jpg","text":"TemporaryFile(/tmp/multipartBody3538607242965970367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443752764,"filename":"image_12042025_06_34_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fe3586d804db3e920a6c3292bcae4af.jpg","text":"TemporaryFile(/tmp/multipartBody429716735722776840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443752764,"filename":"image_12042025_06_35_27_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28f808cf178706cf8cfb950899ef87e4.jpg","text":"TemporaryFile(/tmp/multipartBody8761068898920372571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443752764,"filename":"image_12042025_06_35_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82dd07aca0ac548fd212f55e92c05597.jpg","text":"TemporaryFile(/tmp/multipartBody4515830079157016368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443752764,"filename":"image_12042025_06_35_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/788fb47d43f87ccf196c03c398434028.jpg","text":"TemporaryFile(/tmp/multipartBody4181492199965089343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443752764,"filename":"image_12042025_06_34_47_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8e16fc892e3bcc81b78b169a3533ebc.jpg","text":"TemporaryFile(/tmp/multipartBody499592152664528464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443752764,"filename":"image_12042025_06_34_57_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352152558","file1":"1352152550","file0":"1352152546","file4":"1352152569","file5":"1352152572","file3":"1352152565"},"map_files_photo_id_array":[{"photo_id":"1352152572","filename":"file5"},{"photo_id":"1352152558","filename":"file2"},{"photo_id":"1352152569","filename":"file4"},{"photo_id":"1352152550","filename":"file1"},{"photo_id":"1352152546","filename":"file0"},{"photo_id":"1352152565","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352152546":["hashtag1","hashtag2"]},{"1352152572":["hashtag1","hashtag2"]},{"1352152569":["hashtag1","hashtag2"]},{"1352152565":["hashtag1","hashtag2"]},{"1352152550":["hashtag1","hashtag2"]},{"1352152558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352152546, 1352152572, 1352152569, 1352152565, 1352152550, 1352152558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07693004608154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:42:32.441587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_36_9413.jpg', '/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_47_10361.jpg', '/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_56_9478.jpg', '/home/pi/Desktop/images/12042025/06/35/image_12042025_06_36_07_10358.jpg', '/home/pi/Desktop/images/12042025/06/36/image_12042025_06_36_17_10351.jpg', '/home/pi/Desktop/images/12042025/06/36/image_12042025_06_36_26_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_36_9413.jpg
/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_47_10361.jpg
/home/pi/Desktop/images/12042025/06/35/image_12042025_06_35_56_9478.jpg
/home/pi/Desktop/images/12042025/06/35/image_12042025_06_36_07_10358.jpg
/home/pi/Desktop/images/12042025/06/36/image_12042025_06_36_17_10351.jpg
/home/pi/Desktop/images/12042025/06/36/image_12042025_06_36_26_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352152584","1352152602","1352152589","1352152598","1352152586","1352152594"],"photo_ids_order":["1352152584","1352152586","1352152589","1352152594","1352152598","1352152602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/047b6be1cdf4881eeeb29f9032060f35.jpg","text":"TemporaryFile(/tmp/multipartBody717617001647010140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443812978,"filename":"image_12042025_06_35_36_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/827f24091d5d25898ee1f8fc180f632a.jpg","text":"TemporaryFile(/tmp/multipartBody8645664796018070087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443812978,"filename":"image_12042025_06_36_26_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49086cfa920087ef0865df3535655d8c.jpg","text":"TemporaryFile(/tmp/multipartBody8422785135517869562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443812978,"filename":"image_12042025_06_35_56_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ca9e4924ee273de7a14b7fd1363f682.jpg","text":"TemporaryFile(/tmp/multipartBody4679941718755905408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443812978,"filename":"image_12042025_06_36_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a0c97113a1f635ec8a4a5320e60214d.jpg","text":"TemporaryFile(/tmp/multipartBody848715753530434377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443812978,"filename":"image_12042025_06_35_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79eaff1aa284e2ab74063528a24dbea2.jpg","text":"TemporaryFile(/tmp/multipartBody4293388274793012165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443812978,"filename":"image_12042025_06_36_07_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352152589","file1":"1352152586","file0":"1352152584","file4":"1352152598","file5":"1352152602","file3":"1352152594"},"map_files_photo_id_array":[{"photo_id":"1352152602","filename":"file5"},{"photo_id":"1352152589","filename":"file2"},{"photo_id":"1352152598","filename":"file4"},{"photo_id":"1352152586","filename":"file1"},{"photo_id":"1352152584","filename":"file0"},{"photo_id":"1352152594","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352152584":["hashtag1","hashtag2"]},{"1352152602":["hashtag1","hashtag2"]},{"1352152589":["hashtag1","hashtag2"]},{"1352152598":["hashtag1","hashtag2"]},{"1352152586":["hashtag1","hashtag2"]},{"1352152594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352152584, 1352152602, 1352152589, 1352152598, 1352152586, 1352152594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.64725399017334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:43:32.684770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/36/image_12042025_06_36_37_10382.jpg', '/home/pi/Desktop/images/12042025/06/36/image_12042025_06_36_46_9464.jpg', '/home/pi/Desktop/images/12042025/06/36/image_12042025_06_37_06_9428.jpg', '/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_17_10440.jpg', '/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_27_10377.jpg', '/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_36_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/36/image_12042025_06_36_37_10382.jpg
/home/pi/Desktop/images/12042025/06/36/image_12042025_06_36_46_9464.jpg
/home/pi/Desktop/images/12042025/06/36/image_12042025_06_37_06_9428.jpg
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_17_10440.jpg
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_27_10377.jpg
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_36_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352152645","1352152659","1352152635","1352152631","1352152693","1352152675"],"photo_ids_order":["1352152631","1352152635","1352152645","1352152659","1352152675","1352152693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/81ddc73c3dc1b4d8a4ad230032602dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6060442178078634431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443873264,"filename":"image_12042025_06_37_06_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6fa00b28be7213fea23a18687c91376c.jpg","text":"TemporaryFile(/tmp/multipartBody4815744264591167207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443873264,"filename":"image_12042025_06_37_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96d8771858156b1deb5af183a9bef4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6708341996024811512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443873264,"filename":"image_12042025_06_36_46_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/975952f83fc3084b2b8ae4b7cd5e5e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4154255593745444002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443873264,"filename":"image_12042025_06_36_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16103afdded136d7ac500109243ec489.jpg","text":"TemporaryFile(/tmp/multipartBody1810911590734468161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443873264,"filename":"image_12042025_06_37_36_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b94d7304a224fa1e1952f7fa163110d9.jpg","text":"TemporaryFile(/tmp/multipartBody7027945754664966938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443873264,"filename":"image_12042025_06_37_27_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352152645","file1":"1352152635","file0":"1352152631","file4":"1352152675","file5":"1352152693","file3":"1352152659"},"map_files_photo_id_array":[{"photo_id":"1352152693","filename":"file5"},{"photo_id":"1352152645","filename":"file2"},{"photo_id":"1352152675","filename":"file4"},{"photo_id":"1352152635","filename":"file1"},{"photo_id":"1352152631","filename":"file0"},{"photo_id":"1352152659","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352152645":["hashtag1","hashtag2"]},{"1352152659":["hashtag1","hashtag2"]},{"1352152635":["hashtag1","hashtag2"]},{"1352152631":["hashtag1","hashtag2"]},{"1352152693":["hashtag1","hashtag2"]},{"1352152675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352152645, 1352152659, 1352152635, 1352152631, 1352152693, 1352152675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3421893119812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:44:33.103346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_47_10380.jpg', '/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_56_9349.jpg', '/home/pi/Desktop/images/12042025/06/37/image_12042025_06_38_07_10423.jpg', '/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_17_10411.jpg', '/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_26_9468.jpg', '/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_37_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_47_10380.jpg
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_56_9349.jpg
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_38_07_10423.jpg
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_17_10411.jpg
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_26_9468.jpg
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_37_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44902467727661133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 09:44:43.071301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_47_10380.jpg', '/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_56_9349.jpg', '/home/pi/Desktop/images/12042025/06/37/image_12042025_06_38_07_10423.jpg', '/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_17_10411.jpg', '/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_26_9468.jpg', '/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_37_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_47_10380.jpg
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_37_56_9349.jpg
/home/pi/Desktop/images/12042025/06/37/image_12042025_06_38_07_10423.jpg
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_17_10411.jpg
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_26_9468.jpg
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_37_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352152903","1352152880","1352152862","1352152871","1352152867","1352152933"],"photo_ids_order":["1352152862","1352152867","1352152871","1352152880","1352152903","1352152933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c184ca0c031f77d6d213068ed29aca1e.jpg","text":"TemporaryFile(/tmp/multipartBody153505116028863147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443943529,"filename":"image_12042025_06_38_26_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/451f6d93f6c3b0c7a6310e9bb33b87c4.jpg","text":"TemporaryFile(/tmp/multipartBody7406448762097122696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443943529,"filename":"image_12042025_06_38_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71c3b342b4de6d8c921b966757d2a429.jpg","text":"TemporaryFile(/tmp/multipartBody5603612335351462369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443943529,"filename":"image_12042025_06_37_47_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0569645dc20d0e34b878b7fec7a7a5c1.jpg","text":"TemporaryFile(/tmp/multipartBody1304662574827232598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443943529,"filename":"image_12042025_06_38_07_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/386b35f85dd020834cc8d82d94dc24da.jpg","text":"TemporaryFile(/tmp/multipartBody8595774158670497291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443943529,"filename":"image_12042025_06_37_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63487d8aefb68c399f3d60d7b7c61a51.jpg","text":"TemporaryFile(/tmp/multipartBody8993750980324740995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443943529,"filename":"image_12042025_06_38_37_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352152871","file1":"1352152867","file0":"1352152862","file4":"1352152903","file5":"1352152933","file3":"1352152880"},"map_files_photo_id_array":[{"photo_id":"1352152933","filename":"file5"},{"photo_id":"1352152871","filename":"file2"},{"photo_id":"1352152903","filename":"file4"},{"photo_id":"1352152867","filename":"file1"},{"photo_id":"1352152862","filename":"file0"},{"photo_id":"1352152880","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352152903":["hashtag1","hashtag2"]},{"1352152880":["hashtag1","hashtag2"]},{"1352152862":["hashtag1","hashtag2"]},{"1352152871":["hashtag1","hashtag2"]},{"1352152867":["hashtag1","hashtag2"]},{"1352152933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352152903, 1352152880, 1352152862, 1352152871, 1352152867, 1352152933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12593221664429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:45:32.272065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_46_9346.jpg', '/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_56_10347.jpg', '/home/pi/Desktop/images/12042025/06/38/image_12042025_06_39_07_10341.jpg', '/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_16_9410.jpg', '/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_27_10365.jpg', '/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_37_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_46_9346.jpg
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_38_56_10347.jpg
/home/pi/Desktop/images/12042025/06/38/image_12042025_06_39_07_10341.jpg
/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_16_9410.jpg
/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_27_10365.jpg
/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_37_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352152992","1352152986","1352152995","1352153007","1352153003","1352152999"],"photo_ids_order":["1352152986","1352152992","1352152995","1352152999","1352153003","1352153007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/582c14c3f00baba3751b0fa199ba47a0.jpg","text":"TemporaryFile(/tmp/multipartBody6879166555281772854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443992865,"filename":"image_12042025_06_38_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1777171abffc9e30457e464cf894436e.jpg","text":"TemporaryFile(/tmp/multipartBody3642240855771763050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443992865,"filename":"image_12042025_06_38_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d743b98d9e09c4f9d696f99f667c3a5a.jpg","text":"TemporaryFile(/tmp/multipartBody5290470987460097202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443992865,"filename":"image_12042025_06_39_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ab081639b570db172acc51bd6df607c.jpg","text":"TemporaryFile(/tmp/multipartBody5391677924045166307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443992865,"filename":"image_12042025_06_39_37_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fbabcb8e53f4ce9cb170e6432730842.jpg","text":"TemporaryFile(/tmp/multipartBody1197760789239050385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443992865,"filename":"image_12042025_06_39_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b40da4fe20bf2eaeae4f0bb670f45d76.jpg","text":"TemporaryFile(/tmp/multipartBody5184979865292694843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744443992865,"filename":"image_12042025_06_39_16_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352152995","file1":"1352152992","file0":"1352152986","file4":"1352153003","file5":"1352153007","file3":"1352152999"},"map_files_photo_id_array":[{"photo_id":"1352153007","filename":"file5"},{"photo_id":"1352152995","filename":"file2"},{"photo_id":"1352153003","filename":"file4"},{"photo_id":"1352152992","filename":"file1"},{"photo_id":"1352152986","filename":"file0"},{"photo_id":"1352152999","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352152992":["hashtag1","hashtag2"]},{"1352152986":["hashtag1","hashtag2"]},{"1352152995":["hashtag1","hashtag2"]},{"1352153007":["hashtag1","hashtag2"]},{"1352153003":["hashtag1","hashtag2"]},{"1352152999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352152992, 1352152986, 1352152995, 1352153007, 1352153003, 1352152999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6974356174469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:46:32.479817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_46_9357.jpg', '/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_57_10349.jpg', '/home/pi/Desktop/images/12042025/06/39/image_12042025_06_40_06_9506.jpg', '/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_17_10373.jpg', '/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_27_10368.jpg', '/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_36_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_46_9357.jpg
/home/pi/Desktop/images/12042025/06/39/image_12042025_06_39_57_10349.jpg
/home/pi/Desktop/images/12042025/06/39/image_12042025_06_40_06_9506.jpg
/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_17_10373.jpg
/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_27_10368.jpg
/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_36_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352153154","1352153145","1352153133","1352153165","1352153150","1352153135"],"photo_ids_order":["1352153133","1352153135","1352153145","1352153150","1352153154","1352153165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19772bd1a403eea6052f7f3e9b8533f7.jpg","text":"TemporaryFile(/tmp/multipartBody1700162689369537033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444052946,"filename":"image_12042025_06_40_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/437ba56eb0ed3cf90f73c50bc8301d63.jpg","text":"TemporaryFile(/tmp/multipartBody4371524621000538657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444052946,"filename":"image_12042025_06_40_06_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb0ffd000bba3d1ed41b5c64ec6f555e.jpg","text":"TemporaryFile(/tmp/multipartBody63839809182978057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444052946,"filename":"image_12042025_06_39_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c91a08422a8b8d405a1091b2111369c.jpg","text":"TemporaryFile(/tmp/multipartBody7748734914249681212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444052946,"filename":"image_12042025_06_40_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3476fc3aedcca5a5f9165de88e7864c.jpg","text":"TemporaryFile(/tmp/multipartBody4116969716523714458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444052946,"filename":"image_12042025_06_40_17_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13374943f414decb98ced50517bd1143.jpg","text":"TemporaryFile(/tmp/multipartBody4431756968150692656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444052946,"filename":"image_12042025_06_39_57_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352153145","file1":"1352153135","file0":"1352153133","file4":"1352153154","file5":"1352153165","file3":"1352153150"},"map_files_photo_id_array":[{"photo_id":"1352153165","filename":"file5"},{"photo_id":"1352153145","filename":"file2"},{"photo_id":"1352153154","filename":"file4"},{"photo_id":"1352153135","filename":"file1"},{"photo_id":"1352153133","filename":"file0"},{"photo_id":"1352153150","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352153154":["hashtag1","hashtag2"]},{"1352153145":["hashtag1","hashtag2"]},{"1352153133":["hashtag1","hashtag2"]},{"1352153165":["hashtag1","hashtag2"]},{"1352153150":["hashtag1","hashtag2"]},{"1352153135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352153154, 1352153145, 1352153133, 1352153165, 1352153150, 1352153135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.506181955337524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:47:32.831900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_47_10370.jpg', '/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_56_9360.jpg', '/home/pi/Desktop/images/12042025/06/40/image_12042025_06_41_06_10338.jpg', '/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_17_10359.jpg', '/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_26_9508.jpg', '/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_37_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_47_10370.jpg
/home/pi/Desktop/images/12042025/06/40/image_12042025_06_40_56_9360.jpg
/home/pi/Desktop/images/12042025/06/40/image_12042025_06_41_06_10338.jpg
/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_17_10359.jpg
/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_26_9508.jpg
/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_37_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352153334","1352153339","1352153315","1352153324","1352153293","1352153329"],"photo_ids_order":["1352153293","1352153315","1352153324","1352153329","1352153334","1352153339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c7b81281ecb09f6fabde543012e2f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1982218869445086515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444113353,"filename":"image_12042025_06_41_26_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3fa77985d4600a2a9c18095fa1e56c3.jpg","text":"TemporaryFile(/tmp/multipartBody8859877607993298543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444113353,"filename":"image_12042025_06_41_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8ef61901fc0c21fe9170456336ff252.jpg","text":"TemporaryFile(/tmp/multipartBody2144599510843979557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444113353,"filename":"image_12042025_06_40_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d58be0bd23f9306abb0ad281b8c9487f.jpg","text":"TemporaryFile(/tmp/multipartBody3098128296428754884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444113353,"filename":"image_12042025_06_41_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f9c4576178eb4e0d507f2c617830687.jpg","text":"TemporaryFile(/tmp/multipartBody7742726244529867496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444113353,"filename":"image_12042025_06_40_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32e5ee7d4b521adc30955288442f7975.jpg","text":"TemporaryFile(/tmp/multipartBody5938978898102067028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444113353,"filename":"image_12042025_06_41_17_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352153324","file1":"1352153315","file0":"1352153293","file4":"1352153334","file5":"1352153339","file3":"1352153329"},"map_files_photo_id_array":[{"photo_id":"1352153339","filename":"file5"},{"photo_id":"1352153324","filename":"file2"},{"photo_id":"1352153334","filename":"file4"},{"photo_id":"1352153315","filename":"file1"},{"photo_id":"1352153293","filename":"file0"},{"photo_id":"1352153329","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352153334":["hashtag1","hashtag2"]},{"1352153339":["hashtag1","hashtag2"]},{"1352153315":["hashtag1","hashtag2"]},{"1352153324":["hashtag1","hashtag2"]},{"1352153293":["hashtag1","hashtag2"]},{"1352153329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352153334, 1352153339, 1352153315, 1352153324, 1352153293, 1352153329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.545833587646484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:48:33.073890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_46_9425.jpg', '/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_56_10352.jpg', '/home/pi/Desktop/images/12042025/06/41/image_12042025_06_42_07_10362.jpg', '/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_16_9466.jpg', '/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_27_10441.jpg', '/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_36_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_46_9425.jpg
/home/pi/Desktop/images/12042025/06/41/image_12042025_06_41_56_10352.jpg
/home/pi/Desktop/images/12042025/06/41/image_12042025_06_42_07_10362.jpg
/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_16_9466.jpg
/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_27_10441.jpg
/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_36_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352153364","1352153381","1352153357","1352153369","1352153354","1352153359"],"photo_ids_order":["1352153354","1352153357","1352153359","1352153364","1352153369","1352153381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00ef241c2d8e00669d8fed8eb8af44ed.jpg","text":"TemporaryFile(/tmp/multipartBody5738064382020939997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444173747,"filename":"image_12042025_06_42_16_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9429345595928d1abe6da4b7c718676.jpg","text":"TemporaryFile(/tmp/multipartBody1820299657578275753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444173747,"filename":"image_12042025_06_42_36_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/683d97d9468c72be8e24d17264e70ef6.jpg","text":"TemporaryFile(/tmp/multipartBody5402726624529125078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444173747,"filename":"image_12042025_06_41_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e37921c6a2004bc8c1a16e3a313d68e.jpg","text":"TemporaryFile(/tmp/multipartBody7032311828827095913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444173747,"filename":"image_12042025_06_42_27_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/447d26338708e5ce94bb7c0f122ef31f.jpg","text":"TemporaryFile(/tmp/multipartBody8550645431228237393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444173747,"filename":"image_12042025_06_41_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40992bfb5602daf8527fcf25d3d61948.jpg","text":"TemporaryFile(/tmp/multipartBody5300245455345798596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444173747,"filename":"image_12042025_06_42_07_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352153359","file1":"1352153357","file0":"1352153354","file4":"1352153369","file5":"1352153381","file3":"1352153364"},"map_files_photo_id_array":[{"photo_id":"1352153381","filename":"file5"},{"photo_id":"1352153359","filename":"file2"},{"photo_id":"1352153369","filename":"file4"},{"photo_id":"1352153357","filename":"file1"},{"photo_id":"1352153354","filename":"file0"},{"photo_id":"1352153364","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352153364":["hashtag1","hashtag2"]},{"1352153381":["hashtag1","hashtag2"]},{"1352153357":["hashtag1","hashtag2"]},{"1352153369":["hashtag1","hashtag2"]},{"1352153354":["hashtag1","hashtag2"]},{"1352153359":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352153364, 1352153381, 1352153357, 1352153369, 1352153354, 1352153359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82503128051758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:49:32.319429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_47_10365.jpg', '/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_57_10367.jpg', '/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_17_10341.jpg', '/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_26_9464.jpg', '/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_37_10399.jpg', '/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_47_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_47_10365.jpg
/home/pi/Desktop/images/12042025/06/42/image_12042025_06_42_57_10367.jpg
/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_17_10341.jpg
/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_26_9464.jpg
/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_37_10399.jpg
/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_47_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352153637","1352153601","1352153575","1352153548","1352153644","1352153595"],"photo_ids_order":["1352153548","1352153575","1352153595","1352153601","1352153637","1352153644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0288e7c9d6857c6abadc21be55f4950f.jpg","text":"TemporaryFile(/tmp/multipartBody4083168020368125304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444232867,"filename":"image_12042025_06_43_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/81385b0670a6253e3180212f00257b82.jpg","text":"TemporaryFile(/tmp/multipartBody3115246058868823096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444232867,"filename":"image_12042025_06_43_26_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d70039124aebf83c14ad9f5144e8d7a.jpg","text":"TemporaryFile(/tmp/multipartBody8969701075337667748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444232867,"filename":"image_12042025_06_42_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8328df93d5e2ca88d22e873de02d2f77.jpg","text":"TemporaryFile(/tmp/multipartBody2079662694474971369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444232867,"filename":"image_12042025_06_42_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1eb40cf893d5caaf3fe0f34e9ac400a9.jpg","text":"TemporaryFile(/tmp/multipartBody779651164637435709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444232867,"filename":"image_12042025_06_43_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b416e3b44882b335ccad9000a6d06957.jpg","text":"TemporaryFile(/tmp/multipartBody5509962393046615837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444232867,"filename":"image_12042025_06_43_17_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352153595","file1":"1352153575","file0":"1352153548","file4":"1352153637","file5":"1352153644","file3":"1352153601"},"map_files_photo_id_array":[{"photo_id":"1352153644","filename":"file5"},{"photo_id":"1352153595","filename":"file2"},{"photo_id":"1352153637","filename":"file4"},{"photo_id":"1352153575","filename":"file1"},{"photo_id":"1352153548","filename":"file0"},{"photo_id":"1352153601","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352153637":["hashtag1","hashtag2"]},{"1352153601":["hashtag1","hashtag2"]},{"1352153575":["hashtag1","hashtag2"]},{"1352153548":["hashtag1","hashtag2"]},{"1352153644":["hashtag1","hashtag2"]},{"1352153595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352153637, 1352153601, 1352153575, 1352153548, 1352153644, 1352153595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.87367391586304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:50:32.434946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_56_9481.jpg', '/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_16_9347.jpg', '/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_27_10386.jpg', '/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_37_10378.jpg', '/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_46_9397.jpg', '/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_57_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/43/image_12042025_06_43_56_9481.jpg
/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_16_9347.jpg
/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_27_10386.jpg
/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_37_10378.jpg
/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_46_9397.jpg
/home/pi/Desktop/images/12042025/06/44/image_12042025_06_44_57_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352153967","1352153742","1352153691","1352153908","1352153800","1352153694"],"photo_ids_order":["1352153691","1352153694","1352153742","1352153800","1352153908","1352153967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcd5faa38d6478311fc382737ee352ae.jpg","text":"TemporaryFile(/tmp/multipartBody6863852453973108906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444292955,"filename":"image_12042025_06_44_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2746c4efb81f273d2e9d1740ce9ca579.jpg","text":"TemporaryFile(/tmp/multipartBody3697970760814088661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444292955,"filename":"image_12042025_06_44_27_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/655f627317b7b23b4e82f9bf296d76c0.jpg","text":"TemporaryFile(/tmp/multipartBody659625120556017027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444292955,"filename":"image_12042025_06_43_56_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7190f0756ff219570130798ffcd935dd.jpg","text":"TemporaryFile(/tmp/multipartBody2887431582572317536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444292955,"filename":"image_12042025_06_44_46_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f53615a887975704fc57bca64080e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5946689692184621998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444292955,"filename":"image_12042025_06_44_37_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3af34e4937db2dbdcbc0322e3a4ffd7d.jpg","text":"TemporaryFile(/tmp/multipartBody903389113011816532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444292955,"filename":"image_12042025_06_44_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352153742","file1":"1352153694","file0":"1352153691","file4":"1352153908","file5":"1352153967","file3":"1352153800"},"map_files_photo_id_array":[{"photo_id":"1352153967","filename":"file5"},{"photo_id":"1352153742","filename":"file2"},{"photo_id":"1352153908","filename":"file4"},{"photo_id":"1352153694","filename":"file1"},{"photo_id":"1352153691","filename":"file0"},{"photo_id":"1352153800","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352153967":["hashtag1","hashtag2"]},{"1352153742":["hashtag1","hashtag2"]},{"1352153691":["hashtag1","hashtag2"]},{"1352153908":["hashtag1","hashtag2"]},{"1352153800":["hashtag1","hashtag2"]},{"1352153694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352153967, 1352153742, 1352153691, 1352153908, 1352153800, 1352153694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.633843660354614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:51:32.630946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/44/image_12042025_06_45_07_10354.jpg', '/home/pi/Desktop/images/12042025/06/45/image_12042025_06_45_16_9439.jpg', '/home/pi/Desktop/images/12042025/06/45/image_12042025_06_45_36_9466.jpg', '/home/pi/Desktop/images/12042025/06/45/image_12042025_06_45_47_10361.jpg', '/home/pi/Desktop/images/12042025/06/45/image_12042025_06_45_57_10380.jpg', '/home/pi/Desktop/images/12042025/06/45/image_12042025_06_46_06_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/44/image_12042025_06_45_07_10354.jpg
/home/pi/Desktop/images/12042025/06/45/image_12042025_06_45_16_9439.jpg
/home/pi/Desktop/images/12042025/06/45/image_12042025_06_45_36_9466.jpg
/home/pi/Desktop/images/12042025/06/45/image_12042025_06_45_47_10361.jpg
/home/pi/Desktop/images/12042025/06/45/image_12042025_06_45_57_10380.jpg
/home/pi/Desktop/images/12042025/06/45/image_12042025_06_46_06_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352154236","1352154239","1352154413","1352154352","1352154409","1352154297"],"photo_ids_order":["1352154236","1352154239","1352154297","1352154352","1352154409","1352154413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60743a9676cbba558ca0b9951a533a36.jpg","text":"TemporaryFile(/tmp/multipartBody2881726678390251191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444353176,"filename":"image_12042025_06_45_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d6493b57e94422f05f720ffe3dece08.jpg","text":"TemporaryFile(/tmp/multipartBody8999576075185762374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444353176,"filename":"image_12042025_06_45_16_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/445c62c4dd5d5a9c95c2ce4fdbe1d6f2.jpg","text":"TemporaryFile(/tmp/multipartBody2014467681723691504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444353176,"filename":"image_12042025_06_46_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8a7ae39c52e0384bee1f6fbb511cbac.jpg","text":"TemporaryFile(/tmp/multipartBody1134463813486921094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444353176,"filename":"image_12042025_06_45_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4102d722b9eb45ab0f45864ee4658c1b.jpg","text":"TemporaryFile(/tmp/multipartBody2164163168584723415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444353176,"filename":"image_12042025_06_45_57_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80ffd67a9c2ba84695927db2ec6fd1d0.jpg","text":"TemporaryFile(/tmp/multipartBody5215584680914016377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444353176,"filename":"image_12042025_06_45_36_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352154297","file1":"1352154239","file0":"1352154236","file4":"1352154409","file5":"1352154413","file3":"1352154352"},"map_files_photo_id_array":[{"photo_id":"1352154413","filename":"file5"},{"photo_id":"1352154297","filename":"file2"},{"photo_id":"1352154409","filename":"file4"},{"photo_id":"1352154239","filename":"file1"},{"photo_id":"1352154236","filename":"file0"},{"photo_id":"1352154352","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352154236":["hashtag1","hashtag2"]},{"1352154239":["hashtag1","hashtag2"]},{"1352154413":["hashtag1","hashtag2"]},{"1352154352":["hashtag1","hashtag2"]},{"1352154409":["hashtag1","hashtag2"]},{"1352154297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352154236, 1352154239, 1352154413, 1352154352, 1352154409, 1352154297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.424118757247925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:52:33.023136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/46/image_12042025_06_46_16_9990.jpg', '/home/pi/Desktop/images/12042025/06/46/image_12042025_06_46_27_10359.jpg', '/home/pi/Desktop/images/12042025/06/46/image_12042025_06_46_46_10354.jpg', '/home/pi/Desktop/images/12042025/06/46/image_12042025_06_46_57_10469.jpg', '/home/pi/Desktop/images/12042025/06/46/image_12042025_06_47_06_9382.jpg', '/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_17_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/46/image_12042025_06_46_16_9990.jpg
/home/pi/Desktop/images/12042025/06/46/image_12042025_06_46_27_10359.jpg
/home/pi/Desktop/images/12042025/06/46/image_12042025_06_46_46_10354.jpg
/home/pi/Desktop/images/12042025/06/46/image_12042025_06_46_57_10469.jpg
/home/pi/Desktop/images/12042025/06/46/image_12042025_06_47_06_9382.jpg
/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_17_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352154521","1352154503","1352154626","1352154527","1352154532","1352154508"],"photo_ids_order":["1352154503","1352154508","1352154521","1352154527","1352154532","1352154626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67bfad1dd8f1e72ed91ba0f38fc10c10.jpg","text":"TemporaryFile(/tmp/multipartBody9022968937910576668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444413563,"filename":"image_12042025_06_46_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/774b53a056e3a31934e0b5158556117f.jpg","text":"TemporaryFile(/tmp/multipartBody5043342250273386002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444413563,"filename":"image_12042025_06_46_16_9990.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/031659af1ce90c1338ca73e5ccc8bbc2.jpg","text":"TemporaryFile(/tmp/multipartBody2452549598182741375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444413563,"filename":"image_12042025_06_47_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a5f82b5a6e9df4141062b5a047abb78.jpg","text":"TemporaryFile(/tmp/multipartBody144298013965317553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444413563,"filename":"image_12042025_06_46_57_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3de5d86c6049308e76e320a96f2b66fd.jpg","text":"TemporaryFile(/tmp/multipartBody5638935956631787743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444413563,"filename":"image_12042025_06_47_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3cccafe8b7e73cbd8a877f6a6dff9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7200985674068843731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444413563,"filename":"image_12042025_06_46_27_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352154521","file1":"1352154508","file0":"1352154503","file4":"1352154532","file5":"1352154626","file3":"1352154527"},"map_files_photo_id_array":[{"photo_id":"1352154626","filename":"file5"},{"photo_id":"1352154521","filename":"file2"},{"photo_id":"1352154532","filename":"file4"},{"photo_id":"1352154508","filename":"file1"},{"photo_id":"1352154503","filename":"file0"},{"photo_id":"1352154527","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352154521":["hashtag1","hashtag2"]},{"1352154503":["hashtag1","hashtag2"]},{"1352154626":["hashtag1","hashtag2"]},{"1352154527":["hashtag1","hashtag2"]},{"1352154532":["hashtag1","hashtag2"]},{"1352154508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352154521, 1352154503, 1352154626, 1352154527, 1352154532, 1352154508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.657132625579834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:53:33.213282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_27_10368.jpg', '/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_37_9462.jpg', '/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_47_10374.jpg', '/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_56_9418.jpg', '/home/pi/Desktop/images/12042025/06/47/image_12042025_06_48_07_10394.jpg', '/home/pi/Desktop/images/12042025/06/48/image_12042025_06_48_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_27_10368.jpg
/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_37_9462.jpg
/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_47_10374.jpg
/home/pi/Desktop/images/12042025/06/47/image_12042025_06_47_56_9418.jpg
/home/pi/Desktop/images/12042025/06/47/image_12042025_06_48_07_10394.jpg
/home/pi/Desktop/images/12042025/06/48/image_12042025_06_48_17_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352154651","1352154827","1352155003","1352154709","1352154753","1352154927"],"photo_ids_order":["1352154651","1352154709","1352154753","1352154827","1352154927","1352155003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc4911d100ad6f05aa47a5d079bbdf95.jpg","text":"TemporaryFile(/tmp/multipartBody7846037854788746919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444473759,"filename":"image_12042025_06_47_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf58954c4e05a1bf1f718ebfad493656.jpg","text":"TemporaryFile(/tmp/multipartBody6158857970018932684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444473759,"filename":"image_12042025_06_47_56_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a14b720b0da158b113b46d99efa81f5.jpg","text":"TemporaryFile(/tmp/multipartBody3224837022364751693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444473759,"filename":"image_12042025_06_48_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aecc0b87a21749e098333bdae38ff8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3208918070275431168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444473759,"filename":"image_12042025_06_47_37_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3144f23acaf47935aba80823bc78eb95.jpg","text":"TemporaryFile(/tmp/multipartBody9008590426104197280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444473759,"filename":"image_12042025_06_47_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69d9f59eda27df2d61ecd75af4d49283.jpg","text":"TemporaryFile(/tmp/multipartBody7518641327114643393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444473759,"filename":"image_12042025_06_48_07_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352154753","file1":"1352154709","file0":"1352154651","file4":"1352154927","file5":"1352155003","file3":"1352154827"},"map_files_photo_id_array":[{"photo_id":"1352155003","filename":"file5"},{"photo_id":"1352154753","filename":"file2"},{"photo_id":"1352154927","filename":"file4"},{"photo_id":"1352154709","filename":"file1"},{"photo_id":"1352154651","filename":"file0"},{"photo_id":"1352154827","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352154651":["hashtag1","hashtag2"]},{"1352154827":["hashtag1","hashtag2"]},{"1352155003":["hashtag1","hashtag2"]},{"1352154709":["hashtag1","hashtag2"]},{"1352154753":["hashtag1","hashtag2"]},{"1352154927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352154651, 1352154827, 1352155003, 1352154709, 1352154753, 1352154927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71079993247986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:54:32.204056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/48/image_12042025_06_49_07_10374.jpg', '/home/pi/Desktop/images/12042025/06/49/image_12042025_06_49_16_9407.jpg', '/home/pi/Desktop/images/12042025/06/49/image_12042025_06_49_57_10360.jpg', '/home/pi/Desktop/images/12042025/06/49/image_12042025_06_50_06_9407.jpg', '/home/pi/Desktop/images/12042025/06/50/image_12042025_06_50_17_10358.jpg', '/home/pi/Desktop/images/12042025/06/50/image_12042025_06_50_37_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/48/image_12042025_06_49_07_10374.jpg
/home/pi/Desktop/images/12042025/06/49/image_12042025_06_49_16_9407.jpg
/home/pi/Desktop/images/12042025/06/49/image_12042025_06_49_57_10360.jpg
/home/pi/Desktop/images/12042025/06/49/image_12042025_06_50_06_9407.jpg
/home/pi/Desktop/images/12042025/06/50/image_12042025_06_50_17_10358.jpg
/home/pi/Desktop/images/12042025/06/50/image_12042025_06_50_37_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352155133","1352155159","1352155102","1352155105","1352155098","1352155137"],"photo_ids_order":["1352155098","1352155102","1352155105","1352155133","1352155137","1352155159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1de0fdb788bbb77dc89d861f42402e15.jpg","text":"TemporaryFile(/tmp/multipartBody1064708334111970987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444532751,"filename":"image_12042025_06_50_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af7653f76ff12ab53a39381ac35af9fd.jpg","text":"TemporaryFile(/tmp/multipartBody1702906115122727870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444532751,"filename":"image_12042025_06_50_37_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8169d92fe6fee720f5fddfd2abab7660.jpg","text":"TemporaryFile(/tmp/multipartBody5329164988492421747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444532751,"filename":"image_12042025_06_49_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/708a46ee36c01510561b62d577d0271d.jpg","text":"TemporaryFile(/tmp/multipartBody5342552516531757918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444532751,"filename":"image_12042025_06_49_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b271c9e342fbe55803a3e8f48ca94770.jpg","text":"TemporaryFile(/tmp/multipartBody7851166715526024162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444532751,"filename":"image_12042025_06_49_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a025c97fc193de030bd383feacd75ba.jpg","text":"TemporaryFile(/tmp/multipartBody1849781730903465479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444532751,"filename":"image_12042025_06_50_17_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352155105","file1":"1352155102","file0":"1352155098","file4":"1352155137","file5":"1352155159","file3":"1352155133"},"map_files_photo_id_array":[{"photo_id":"1352155159","filename":"file5"},{"photo_id":"1352155105","filename":"file2"},{"photo_id":"1352155137","filename":"file4"},{"photo_id":"1352155102","filename":"file1"},{"photo_id":"1352155098","filename":"file0"},{"photo_id":"1352155133","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352155133":["hashtag1","hashtag2"]},{"1352155159":["hashtag1","hashtag2"]},{"1352155102":["hashtag1","hashtag2"]},{"1352155105":["hashtag1","hashtag2"]},{"1352155098":["hashtag1","hashtag2"]},{"1352155137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352155133, 1352155159, 1352155102, 1352155105, 1352155098, 1352155137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14018940925598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:55:32.458958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/50/image_12042025_06_50_47_10364.jpg', '/home/pi/Desktop/images/12042025/06/50/image_12042025_06_50_56_9454.jpg', '/home/pi/Desktop/images/12042025/06/50/image_12042025_06_51_07_10371.jpg', '/home/pi/Desktop/images/12042025/06/51/image_12042025_06_51_16_9401.jpg', '/home/pi/Desktop/images/12042025/06/51/image_12042025_06_51_26_10387.jpg', '/home/pi/Desktop/images/12042025/06/51/image_12042025_06_51_37_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/50/image_12042025_06_50_47_10364.jpg
/home/pi/Desktop/images/12042025/06/50/image_12042025_06_50_56_9454.jpg
/home/pi/Desktop/images/12042025/06/50/image_12042025_06_51_07_10371.jpg
/home/pi/Desktop/images/12042025/06/51/image_12042025_06_51_16_9401.jpg
/home/pi/Desktop/images/12042025/06/51/image_12042025_06_51_26_10387.jpg
/home/pi/Desktop/images/12042025/06/51/image_12042025_06_51_37_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352155250","1352155258","1352155243","1352155254","1352155245","1352155239"],"photo_ids_order":["1352155239","1352155243","1352155245","1352155250","1352155254","1352155258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0db3e3926e2800c87385b7056b0f9674.jpg","text":"TemporaryFile(/tmp/multipartBody711773195074226844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444592991,"filename":"image_12042025_06_51_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75b77442467357c344bb57e35af21fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5214444329338675028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444592991,"filename":"image_12042025_06_51_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5881f32750b34b69522f225055cf281.jpg","text":"TemporaryFile(/tmp/multipartBody117338140310032284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444592991,"filename":"image_12042025_06_50_56_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/706e4d93a3b6e658623e28d86866d1ff.jpg","text":"TemporaryFile(/tmp/multipartBody331087752269517035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444592991,"filename":"image_12042025_06_51_26_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d6a9c981e3b56410a8ec3a7c677707f.jpg","text":"TemporaryFile(/tmp/multipartBody8697803107812569169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444592991,"filename":"image_12042025_06_51_07_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55f2120315b16ee6b352d0fc5e0f051f.jpg","text":"TemporaryFile(/tmp/multipartBody6193860864652015954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444592991,"filename":"image_12042025_06_50_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352155245","file1":"1352155243","file0":"1352155239","file4":"1352155254","file5":"1352155258","file3":"1352155250"},"map_files_photo_id_array":[{"photo_id":"1352155258","filename":"file5"},{"photo_id":"1352155245","filename":"file2"},{"photo_id":"1352155254","filename":"file4"},{"photo_id":"1352155243","filename":"file1"},{"photo_id":"1352155239","filename":"file0"},{"photo_id":"1352155250","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352155250":["hashtag1","hashtag2"]},{"1352155258":["hashtag1","hashtag2"]},{"1352155243":["hashtag1","hashtag2"]},{"1352155254":["hashtag1","hashtag2"]},{"1352155245":["hashtag1","hashtag2"]},{"1352155239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352155250, 1352155258, 1352155243, 1352155254, 1352155245, 1352155239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.318243980407715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:56:32.619711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/51/image_12042025_06_51_46_9436.jpg', '/home/pi/Desktop/images/12042025/06/52/image_12042025_06_52_16_9427.jpg', '/home/pi/Desktop/images/12042025/06/52/image_12042025_06_52_27_10365.jpg', '/home/pi/Desktop/images/12042025/06/52/image_12042025_06_52_36_9455.jpg', '/home/pi/Desktop/images/12042025/06/52/image_12042025_06_52_47_10388.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_17_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/51/image_12042025_06_51_46_9436.jpg
/home/pi/Desktop/images/12042025/06/52/image_12042025_06_52_16_9427.jpg
/home/pi/Desktop/images/12042025/06/52/image_12042025_06_52_27_10365.jpg
/home/pi/Desktop/images/12042025/06/52/image_12042025_06_52_36_9455.jpg
/home/pi/Desktop/images/12042025/06/52/image_12042025_06_52_47_10388.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_17_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352155280","1352155328","1352155277","1352155306","1352155311","1352155298"],"photo_ids_order":["1352155277","1352155280","1352155298","1352155306","1352155311","1352155328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1934661a4900dfadd3d980b739eb3a32.jpg","text":"TemporaryFile(/tmp/multipartBody4613514804574555109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444653133,"filename":"image_12042025_06_52_16_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d32c76ec641ebaf85f20870c667f8226.jpg","text":"TemporaryFile(/tmp/multipartBody683421463551834008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444653133,"filename":"image_12042025_06_53_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e816315aed8738d61aaa92ef80eebb0a.jpg","text":"TemporaryFile(/tmp/multipartBody3975856695193855663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444653133,"filename":"image_12042025_06_51_46_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/687bffd8e5454aee96adbc24d827c8a8.jpg","text":"TemporaryFile(/tmp/multipartBody5385350966888665027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444653133,"filename":"image_12042025_06_52_36_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5cb1917a29d3cef127c22743ac558efd.jpg","text":"TemporaryFile(/tmp/multipartBody2345126004446533940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444653133,"filename":"image_12042025_06_52_47_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/844b1cf96c73f387e723e24b7a849184.jpg","text":"TemporaryFile(/tmp/multipartBody6277804496227484313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444653133,"filename":"image_12042025_06_52_27_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352155298","file1":"1352155280","file0":"1352155277","file4":"1352155311","file5":"1352155328","file3":"1352155306"},"map_files_photo_id_array":[{"photo_id":"1352155328","filename":"file5"},{"photo_id":"1352155298","filename":"file2"},{"photo_id":"1352155311","filename":"file4"},{"photo_id":"1352155280","filename":"file1"},{"photo_id":"1352155277","filename":"file0"},{"photo_id":"1352155306","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352155280":["hashtag1","hashtag2"]},{"1352155328":["hashtag1","hashtag2"]},{"1352155277":["hashtag1","hashtag2"]},{"1352155306":["hashtag1","hashtag2"]},{"1352155311":["hashtag1","hashtag2"]},{"1352155298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352155280, 1352155328, 1352155277, 1352155306, 1352155311, 1352155298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77076721191406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:57:32.916764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_26_9364.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_37_10383.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_47_10340.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_56_9477.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_54_07_10429.jpg', '/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_16_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_26_9364.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_37_10383.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_47_10340.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_56_9477.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_54_07_10429.jpg
/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_16_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 09:59:04.150373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_26_9364.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_37_10383.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_47_10340.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_56_9477.jpg', '/home/pi/Desktop/images/12042025/06/53/image_12042025_06_54_07_10429.jpg', '/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_16_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_26_9364.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_37_10383.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_47_10340.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_53_56_9477.jpg
/home/pi/Desktop/images/12042025/06/53/image_12042025_06_54_07_10429.jpg
/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_16_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352155775","1352155897","1352155720","1352155804","1352155746","1352155688"],"photo_ids_order":["1352155688","1352155720","1352155746","1352155775","1352155804","1352155897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/736b6682cb9c85d0f6c1966dcb73c804.jpg","text":"TemporaryFile(/tmp/multipartBody8435863248878864104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444806918,"filename":"image_12042025_06_53_56_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87eec181d082e50d473a1e02f9741202.jpg","text":"TemporaryFile(/tmp/multipartBody6114980571195132361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444806918,"filename":"image_12042025_06_54_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a7a23ae2dca96dd64731cdec7d0ec95.jpg","text":"TemporaryFile(/tmp/multipartBody7331822961644606180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444806918,"filename":"image_12042025_06_53_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64d02d458969b23efeca25c78a7f33b5.jpg","text":"TemporaryFile(/tmp/multipartBody8304747937500893232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444806918,"filename":"image_12042025_06_54_07_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3860549195caeaadf4596eb3597464c6.jpg","text":"TemporaryFile(/tmp/multipartBody8204144970723778578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444806918,"filename":"image_12042025_06_53_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23365f523dd2420118ef139d3654a905.jpg","text":"TemporaryFile(/tmp/multipartBody8297479131592522660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444806918,"filename":"image_12042025_06_53_26_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352155746","file1":"1352155720","file0":"1352155688","file4":"1352155804","file5":"1352155897","file3":"1352155775"},"map_files_photo_id_array":[{"photo_id":"1352155897","filename":"file5"},{"photo_id":"1352155746","filename":"file2"},{"photo_id":"1352155804","filename":"file4"},{"photo_id":"1352155720","filename":"file1"},{"photo_id":"1352155688","filename":"file0"},{"photo_id":"1352155775","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352155775":["hashtag1","hashtag2"]},{"1352155897":["hashtag1","hashtag2"]},{"1352155720":["hashtag1","hashtag2"]},{"1352155804":["hashtag1","hashtag2"]},{"1352155746":["hashtag1","hashtag2"]},{"1352155688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352155775, 1352155897, 1352155720, 1352155804, 1352155746, 1352155688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97231698036194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 09:59:52.775970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_27_10431.jpg', '/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_37_10347.jpg', '/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_46_9426.jpg', '/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_57_10366.jpg', '/home/pi/Desktop/images/12042025/06/54/image_12042025_06_55_06_9410.jpg', '/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_17_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_27_10431.jpg
/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_37_10347.jpg
/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_46_9426.jpg
/home/pi/Desktop/images/12042025/06/54/image_12042025_06_54_57_10366.jpg
/home/pi/Desktop/images/12042025/06/54/image_12042025_06_55_06_9410.jpg
/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_17_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352156228","1352156191","1352156219","1352156170","1352156316","1352156124"],"photo_ids_order":["1352156124","1352156170","1352156191","1352156219","1352156228","1352156316"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30866c16d1748a42f32fe263adae1ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2710012811556725146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444853307,"filename":"image_12042025_06_55_06_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a2436c6cf82482929c729c3f8327ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4973916645954395247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444853307,"filename":"image_12042025_06_54_46_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c8b24107d836fdb0acbea7882b85990.jpg","text":"TemporaryFile(/tmp/multipartBody8319449569039788712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444853307,"filename":"image_12042025_06_54_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/029bf64648a294df456f6521fbf3a82a.jpg","text":"TemporaryFile(/tmp/multipartBody6762283334375063105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444853307,"filename":"image_12042025_06_54_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c802d86d5186c6c79c41d33ceaa2e71.jpg","text":"TemporaryFile(/tmp/multipartBody5151151426044756088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444853307,"filename":"image_12042025_06_55_17_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ada944754196ec44d5719283e36bedb.jpg","text":"TemporaryFile(/tmp/multipartBody3291446616805113091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444853307,"filename":"image_12042025_06_54_27_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352156191","file1":"1352156170","file0":"1352156124","file4":"1352156228","file5":"1352156316","file3":"1352156219"},"map_files_photo_id_array":[{"photo_id":"1352156316","filename":"file5"},{"photo_id":"1352156191","filename":"file2"},{"photo_id":"1352156228","filename":"file4"},{"photo_id":"1352156170","filename":"file1"},{"photo_id":"1352156124","filename":"file0"},{"photo_id":"1352156219","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352156228":["hashtag1","hashtag2"]},{"1352156191":["hashtag1","hashtag2"]},{"1352156219":["hashtag1","hashtag2"]},{"1352156170":["hashtag1","hashtag2"]},{"1352156316":["hashtag1","hashtag2"]},{"1352156124":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352156228, 1352156191, 1352156219, 1352156170, 1352156316, 1352156124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03247928619385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 10:00:43.067232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_27_10368.jpg', '/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_36_9458.jpg', '/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_47_10357.jpg', '/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_56_9427.jpg', '/home/pi/Desktop/images/12042025/06/55/image_12042025_06_56_07_10351.jpg', '/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_17_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_27_10368.jpg
/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_36_9458.jpg
/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_47_10357.jpg
/home/pi/Desktop/images/12042025/06/55/image_12042025_06_55_56_9427.jpg
/home/pi/Desktop/images/12042025/06/55/image_12042025_06_56_07_10351.jpg
/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_17_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352156470","1352156518","1352156506","1352156496","1352156442","1352156415"],"photo_ids_order":["1352156415","1352156442","1352156470","1352156496","1352156506","1352156518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2024743bb19e929ba8204d6bc3c8811c.jpg","text":"TemporaryFile(/tmp/multipartBody5439721566094216013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444903605,"filename":"image_12042025_06_55_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/880dec59fdef2e708917058a8be63a25.jpg","text":"TemporaryFile(/tmp/multipartBody4495880552842885930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444903605,"filename":"image_12042025_06_56_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88d89d028452fede7f35f09823eec824.jpg","text":"TemporaryFile(/tmp/multipartBody6533908419393368122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444903605,"filename":"image_12042025_06_56_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b83e6115e10e60ddb557c23e76c15a03.jpg","text":"TemporaryFile(/tmp/multipartBody249660099128869291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444903605,"filename":"image_12042025_06_55_56_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9140e9263300d3d0861802f3eee55b18.jpg","text":"TemporaryFile(/tmp/multipartBody4155300771612725377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444903605,"filename":"image_12042025_06_55_36_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/691b8b60d6881e80cf148e704d8b5746.jpg","text":"TemporaryFile(/tmp/multipartBody2457313244755910894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444903605,"filename":"image_12042025_06_55_27_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352156470","file1":"1352156442","file0":"1352156415","file4":"1352156506","file5":"1352156518","file3":"1352156496"},"map_files_photo_id_array":[{"photo_id":"1352156518","filename":"file5"},{"photo_id":"1352156470","filename":"file2"},{"photo_id":"1352156506","filename":"file4"},{"photo_id":"1352156442","filename":"file1"},{"photo_id":"1352156415","filename":"file0"},{"photo_id":"1352156496","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352156470":["hashtag1","hashtag2"]},{"1352156518":["hashtag1","hashtag2"]},{"1352156506":["hashtag1","hashtag2"]},{"1352156496":["hashtag1","hashtag2"]},{"1352156442":["hashtag1","hashtag2"]},{"1352156415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352156470, 1352156518, 1352156506, 1352156496, 1352156442, 1352156415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.857574701309204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:01:32.351619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_26_9428.jpg', '/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_37_10382.jpg', '/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_47_10360.jpg', '/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_56_9430.jpg', '/home/pi/Desktop/images/12042025/06/56/image_12042025_06_57_07_10358.jpg', '/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_16_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_26_9428.jpg
/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_37_10382.jpg
/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_47_10360.jpg
/home/pi/Desktop/images/12042025/06/56/image_12042025_06_56_56_9430.jpg
/home/pi/Desktop/images/12042025/06/56/image_12042025_06_57_07_10358.jpg
/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_16_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352156750","1352156659","1352156724","1352156700","1352156622","1352156570"],"photo_ids_order":["1352156570","1352156622","1352156659","1352156700","1352156724","1352156750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9720d38c1af365e2ca1ad90497f1537.jpg","text":"TemporaryFile(/tmp/multipartBody7673585290531502257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444952893,"filename":"image_12042025_06_57_16_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e94a1fd446a0566b085552b3c7801115.jpg","text":"TemporaryFile(/tmp/multipartBody4410496676650817877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444952893,"filename":"image_12042025_06_56_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21b33bb4877cdee747fa118b6899b44f.jpg","text":"TemporaryFile(/tmp/multipartBody1692270287411138022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444952893,"filename":"image_12042025_06_57_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72b58618581721246e982fb390b72ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3232532849139730842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444952893,"filename":"image_12042025_06_56_56_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1fa0baf2f78736b6ea8259747c224e8f.jpg","text":"TemporaryFile(/tmp/multipartBody4115693297667597714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444952893,"filename":"image_12042025_06_56_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/479cbb4802d7dab6034b68ada31fe131.jpg","text":"TemporaryFile(/tmp/multipartBody5313769714551421473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744444952893,"filename":"image_12042025_06_56_26_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352156659","file1":"1352156622","file0":"1352156570","file4":"1352156724","file5":"1352156750","file3":"1352156700"},"map_files_photo_id_array":[{"photo_id":"1352156750","filename":"file5"},{"photo_id":"1352156659","filename":"file2"},{"photo_id":"1352156724","filename":"file4"},{"photo_id":"1352156622","filename":"file1"},{"photo_id":"1352156570","filename":"file0"},{"photo_id":"1352156700","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352156750":["hashtag1","hashtag2"]},{"1352156659":["hashtag1","hashtag2"]},{"1352156724":["hashtag1","hashtag2"]},{"1352156700":["hashtag1","hashtag2"]},{"1352156622":["hashtag1","hashtag2"]},{"1352156570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352156750, 1352156659, 1352156724, 1352156700, 1352156622, 1352156570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61835551261902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:02:32.602882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_27_10372.jpg', '/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_37_10355.jpg', '/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_46_9452.jpg', '/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_57_10370.jpg', '/home/pi/Desktop/images/12042025/06/57/image_12042025_06_58_06_9408.jpg', '/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_17_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_27_10372.jpg
/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_37_10355.jpg
/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_46_9452.jpg
/home/pi/Desktop/images/12042025/06/57/image_12042025_06_57_57_10370.jpg
/home/pi/Desktop/images/12042025/06/57/image_12042025_06_58_06_9408.jpg
/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_17_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352156974","1352157010","1352156872","1352156914","1352156940","1352156897"],"photo_ids_order":["1352156872","1352156897","1352156914","1352156940","1352156974","1352157010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/937dace45474265cd302df858dd8bcba.jpg","text":"TemporaryFile(/tmp/multipartBody5301097511699577447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445013140,"filename":"image_12042025_06_58_06_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e5f32d3af344370c980ef427d3f7e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6233973994027050142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445013140,"filename":"image_12042025_06_58_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78effc3aefb272163f5afc6430980d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4224923111714001488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445013140,"filename":"image_12042025_06_57_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02c9f32c079eb6262ea23b6bab32fca0.jpg","text":"TemporaryFile(/tmp/multipartBody6922347709232962871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445013140,"filename":"image_12042025_06_57_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e01c11a475e422feab1e230b7e0317aa.jpg","text":"TemporaryFile(/tmp/multipartBody5486621312464967228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445013140,"filename":"image_12042025_06_57_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73875491ed444307bdf08e0edc475a50.jpg","text":"TemporaryFile(/tmp/multipartBody4356569370819929663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445013140,"filename":"image_12042025_06_57_37_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352156914","file1":"1352156897","file0":"1352156872","file4":"1352156974","file5":"1352157010","file3":"1352156940"},"map_files_photo_id_array":[{"photo_id":"1352157010","filename":"file5"},{"photo_id":"1352156914","filename":"file2"},{"photo_id":"1352156974","filename":"file4"},{"photo_id":"1352156897","filename":"file1"},{"photo_id":"1352156872","filename":"file0"},{"photo_id":"1352156940","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352156974":["hashtag1","hashtag2"]},{"1352157010":["hashtag1","hashtag2"]},{"1352156872":["hashtag1","hashtag2"]},{"1352156914":["hashtag1","hashtag2"]},{"1352156940":["hashtag1","hashtag2"]},{"1352156897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352156974, 1352157010, 1352156872, 1352156914, 1352156940, 1352156897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83887028694153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:03:32.988326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_27_10388.jpg', '/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_36_9343.jpg', '/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_47_10361.jpg', '/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_56_9433.jpg', '/home/pi/Desktop/images/12042025/06/58/image_12042025_06_59_06_10351.jpg', '/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_27_10388.jpg
/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_36_9343.jpg
/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_47_10361.jpg
/home/pi/Desktop/images/12042025/06/58/image_12042025_06_58_56_9433.jpg
/home/pi/Desktop/images/12042025/06/58/image_12042025_06_59_06_10351.jpg
/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_17_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352157685","1352157739","1352157712","1352157194","1352157233","1352157320"],"photo_ids_order":["1352157194","1352157233","1352157320","1352157685","1352157712","1352157739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/262fa7a6e9afef75d78db2e6263fba69.jpg","text":"TemporaryFile(/tmp/multipartBody2777201498788789751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445073520,"filename":"image_12042025_06_58_56_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2479127a2fa7609d0f7b4a7b25df2015.jpg","text":"TemporaryFile(/tmp/multipartBody1037509126410578523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445073520,"filename":"image_12042025_06_59_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7aa4232db234f15f8de295a1dc6b11b.jpg","text":"TemporaryFile(/tmp/multipartBody4017680322737539132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445073520,"filename":"image_12042025_06_59_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e86da9e8f783b5c60c21a670815685ce.jpg","text":"TemporaryFile(/tmp/multipartBody6927688147212437732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445073520,"filename":"image_12042025_06_58_27_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/354f457af93e1e86678957f9e050b7df.jpg","text":"TemporaryFile(/tmp/multipartBody7423641968211035485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445073520,"filename":"image_12042025_06_58_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8657c8fb42e413f2b9b205ce8dfd4034.jpg","text":"TemporaryFile(/tmp/multipartBody8687720772873542681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445073520,"filename":"image_12042025_06_58_47_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352157320","file1":"1352157233","file0":"1352157194","file4":"1352157712","file5":"1352157739","file3":"1352157685"},"map_files_photo_id_array":[{"photo_id":"1352157739","filename":"file5"},{"photo_id":"1352157320","filename":"file2"},{"photo_id":"1352157712","filename":"file4"},{"photo_id":"1352157233","filename":"file1"},{"photo_id":"1352157194","filename":"file0"},{"photo_id":"1352157685","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352157685":["hashtag1","hashtag2"]},{"1352157739":["hashtag1","hashtag2"]},{"1352157712":["hashtag1","hashtag2"]},{"1352157194":["hashtag1","hashtag2"]},{"1352157233":["hashtag1","hashtag2"]},{"1352157320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352157685, 1352157739, 1352157712, 1352157194, 1352157233, 1352157320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.84320020675659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 10:04:43.132721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_26_9461.jpg', '/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_37_10348.jpg', '/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_47_10419.jpg', '/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_56_9408.jpg', '/home/pi/Desktop/images/12042025/07/00/image_12042025_07_00_16_10072.jpg', '/home/pi/Desktop/images/12042025/07/00/image_12042025_07_00_26_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_26_9461.jpg
/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_37_10348.jpg
/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_47_10419.jpg
/home/pi/Desktop/images/12042025/06/59/image_12042025_06_59_56_9408.jpg
/home/pi/Desktop/images/12042025/07/00/image_12042025_07_00_16_10072.jpg
/home/pi/Desktop/images/12042025/07/00/image_12042025_07_00_26_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352157925","1352157885","1352157972","1352157903","1352158001","1352157947"],"photo_ids_order":["1352157885","1352157903","1352157925","1352157947","1352157972","1352158001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/006dec34c4076eb289bea6cdabd68339.jpg","text":"TemporaryFile(/tmp/multipartBody8131798734575270593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445143657,"filename":"image_12042025_06_59_47_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62f4055fb766be68acc20f4cc31e5d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4192461172051878601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445143657,"filename":"image_12042025_06_59_26_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b233ce1fb9f04762459fca37fa9ef9b3.jpg","text":"TemporaryFile(/tmp/multipartBody3300415660784619366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445143657,"filename":"image_12042025_07_00_16_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72b7c3f18ddf4ae7cf777cc506fe5ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4003971572529123358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445143657,"filename":"image_12042025_06_59_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1edf47800c1cca6a740c802be77e51cc.jpg","text":"TemporaryFile(/tmp/multipartBody8460730801990353238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445143657,"filename":"image_12042025_07_00_26_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73413a3d31e231f4e006b70dc0d71144.jpg","text":"TemporaryFile(/tmp/multipartBody2506449416471501419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445143657,"filename":"image_12042025_06_59_56_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352157925","file1":"1352157903","file0":"1352157885","file4":"1352157972","file5":"1352158001","file3":"1352157947"},"map_files_photo_id_array":[{"photo_id":"1352158001","filename":"file5"},{"photo_id":"1352157925","filename":"file2"},{"photo_id":"1352157972","filename":"file4"},{"photo_id":"1352157903","filename":"file1"},{"photo_id":"1352157885","filename":"file0"},{"photo_id":"1352157947","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352157925":["hashtag1","hashtag2"]},{"1352157885":["hashtag1","hashtag2"]},{"1352157972":["hashtag1","hashtag2"]},{"1352157903":["hashtag1","hashtag2"]},{"1352158001":["hashtag1","hashtag2"]},{"1352157947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352157925, 1352157885, 1352157972, 1352157903, 1352158001, 1352157947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57934784889221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:05:32.403395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/00/image_12042025_07_00_37_10389.jpg', '/home/pi/Desktop/images/12042025/07/00/image_12042025_07_00_46_9371.jpg', '/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_16_10429.jpg', '/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_27_10403.jpg', '/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_36_9468.jpg', '/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_47_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/00/image_12042025_07_00_37_10389.jpg
/home/pi/Desktop/images/12042025/07/00/image_12042025_07_00_46_9371.jpg
/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_16_10429.jpg
/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_27_10403.jpg
/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_36_9468.jpg
/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_47_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352158266","1352158239","1352158167","1352158319","1352158198","1352158126"],"photo_ids_order":["1352158126","1352158167","1352158198","1352158239","1352158266","1352158319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ef65cd29cda25a5271e950c16447832.jpg","text":"TemporaryFile(/tmp/multipartBody810513976373120406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445192944,"filename":"image_12042025_07_01_36_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ef9c5506b5f16e5a74bbde81a6adf85.jpg","text":"TemporaryFile(/tmp/multipartBody2823809425085622197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445192944,"filename":"image_12042025_07_01_27_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ad5f5f2a2f62e0fdb4f94277a9900b5.jpg","text":"TemporaryFile(/tmp/multipartBody564982308202235908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445192944,"filename":"image_12042025_07_00_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b7cb4b8edb425f878765695b72b5964.jpg","text":"TemporaryFile(/tmp/multipartBody2557734759552509178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445192944,"filename":"image_12042025_07_01_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67eddf2bf0d39641b78a6723250a97a3.jpg","text":"TemporaryFile(/tmp/multipartBody3160744038669519133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445192944,"filename":"image_12042025_07_01_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df5279bcc9cf7d402d55e4e15ec06cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6940390560281892271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445192944,"filename":"image_12042025_07_00_37_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352158198","file1":"1352158167","file0":"1352158126","file4":"1352158266","file5":"1352158319","file3":"1352158239"},"map_files_photo_id_array":[{"photo_id":"1352158319","filename":"file5"},{"photo_id":"1352158198","filename":"file2"},{"photo_id":"1352158266","filename":"file4"},{"photo_id":"1352158167","filename":"file1"},{"photo_id":"1352158126","filename":"file0"},{"photo_id":"1352158239","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352158266":["hashtag1","hashtag2"]},{"1352158239":["hashtag1","hashtag2"]},{"1352158167":["hashtag1","hashtag2"]},{"1352158319":["hashtag1","hashtag2"]},{"1352158198":["hashtag1","hashtag2"]},{"1352158126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352158266, 1352158239, 1352158167, 1352158319, 1352158198, 1352158126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38884925842285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:06:32.528996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_56_9416.jpg', '/home/pi/Desktop/images/12042025/07/01/image_12042025_07_02_07_10417.jpg', '/home/pi/Desktop/images/12042025/07/02/image_12042025_07_02_17_10364.jpg', '/home/pi/Desktop/images/12042025/07/02/image_12042025_07_02_26_9445.jpg', '/home/pi/Desktop/images/12042025/07/02/image_12042025_07_02_46_9421.jpg', '/home/pi/Desktop/images/12042025/07/02/image_12042025_07_02_57_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/01/image_12042025_07_01_56_9416.jpg
/home/pi/Desktop/images/12042025/07/01/image_12042025_07_02_07_10417.jpg
/home/pi/Desktop/images/12042025/07/02/image_12042025_07_02_17_10364.jpg
/home/pi/Desktop/images/12042025/07/02/image_12042025_07_02_26_9445.jpg
/home/pi/Desktop/images/12042025/07/02/image_12042025_07_02_46_9421.jpg
/home/pi/Desktop/images/12042025/07/02/image_12042025_07_02_57_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352158695","1352158797","1352158737","1352158638","1352158580","1352158598"],"photo_ids_order":["1352158580","1352158598","1352158638","1352158695","1352158737","1352158797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63ed0982407bc80dbb4cd4b8fb8eaf48.jpg","text":"TemporaryFile(/tmp/multipartBody8067945726197265358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445256665,"filename":"image_12042025_07_02_26_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e0033bafe1bd3bd11d66c73f24c9daf.jpg","text":"TemporaryFile(/tmp/multipartBody7693722963193763830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445256665,"filename":"image_12042025_07_02_57_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/787e3ce62c31db0f364ec4834c99a593.jpg","text":"TemporaryFile(/tmp/multipartBody103133646543409806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445256665,"filename":"image_12042025_07_02_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/febf897903571f6950acaec5cca9e4ed.jpg","text":"TemporaryFile(/tmp/multipartBody1228914002700727648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445256665,"filename":"image_12042025_07_02_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1221dbe32af7b0ee64e952e4a4856bd.jpg","text":"TemporaryFile(/tmp/multipartBody2455008973744864985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445256665,"filename":"image_12042025_07_01_56_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/781cd5b315a08ab2caf0b42c55ab5c8c.jpg","text":"TemporaryFile(/tmp/multipartBody4160907215561655048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445256665,"filename":"image_12042025_07_02_07_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352158638","file1":"1352158598","file0":"1352158580","file4":"1352158737","file5":"1352158797","file3":"1352158695"},"map_files_photo_id_array":[{"photo_id":"1352158797","filename":"file5"},{"photo_id":"1352158638","filename":"file2"},{"photo_id":"1352158737","filename":"file4"},{"photo_id":"1352158598","filename":"file1"},{"photo_id":"1352158580","filename":"file0"},{"photo_id":"1352158695","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352158695":["hashtag1","hashtag2"]},{"1352158797":["hashtag1","hashtag2"]},{"1352158737":["hashtag1","hashtag2"]},{"1352158638":["hashtag1","hashtag2"]},{"1352158580":["hashtag1","hashtag2"]},{"1352158598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352158695, 1352158797, 1352158737, 1352158638, 1352158580, 1352158598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.151182889938354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:07:34.105586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/02/image_12042025_07_03_06_9412.jpg', '/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_16_10451.jpg', '/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_27_10370.jpg', '/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_36_9357.jpg', '/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_47_10473.jpg', '/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_56_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/02/image_12042025_07_03_06_9412.jpg
/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_16_10451.jpg
/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_27_10370.jpg
/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_36_9357.jpg
/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_47_10473.jpg
/home/pi/Desktop/images/12042025/07/03/image_12042025_07_03_56_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352159157","1352159118","1352159046","1352159071","1352159212","1352159023"],"photo_ids_order":["1352159023","1352159046","1352159071","1352159118","1352159157","1352159212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/433c9272e76943b99233350a16f3dec7.jpg","text":"TemporaryFile(/tmp/multipartBody5164425123088121276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445315147,"filename":"image_12042025_07_03_47_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b46e59d1d9b2398961aa5739512ad3c9.jpg","text":"TemporaryFile(/tmp/multipartBody4475954640453318292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445315147,"filename":"image_12042025_07_03_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/272f6e6ec80211901eb2e49da3b0e983.jpg","text":"TemporaryFile(/tmp/multipartBody7976941972605561772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445315147,"filename":"image_12042025_07_03_16_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddd029221c39320da1d77116735795ad.jpg","text":"TemporaryFile(/tmp/multipartBody5943711183649227437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445315147,"filename":"image_12042025_07_03_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f656da2abd63c1842892a8ea6ec03d2.jpg","text":"TemporaryFile(/tmp/multipartBody5072899162977241031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445315147,"filename":"image_12042025_07_03_56_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a89a5059a167a44a91fd92a62b40df4.jpg","text":"TemporaryFile(/tmp/multipartBody3823508859536147859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445315147,"filename":"image_12042025_07_03_06_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352159071","file1":"1352159046","file0":"1352159023","file4":"1352159157","file5":"1352159212","file3":"1352159118"},"map_files_photo_id_array":[{"photo_id":"1352159212","filename":"file5"},{"photo_id":"1352159071","filename":"file2"},{"photo_id":"1352159157","filename":"file4"},{"photo_id":"1352159046","filename":"file1"},{"photo_id":"1352159023","filename":"file0"},{"photo_id":"1352159118","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352159157":["hashtag1","hashtag2"]},{"1352159118":["hashtag1","hashtag2"]},{"1352159046":["hashtag1","hashtag2"]},{"1352159071":["hashtag1","hashtag2"]},{"1352159212":["hashtag1","hashtag2"]},{"1352159023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352159157, 1352159118, 1352159046, 1352159071, 1352159212, 1352159023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.43354916572571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:08:33.098966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/03/image_12042025_07_04_06_10388.jpg', '/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_17_10348.jpg', '/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_26_9418.jpg', '/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_37_10422.jpg', '/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_47_10374.jpg', '/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_56_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/03/image_12042025_07_04_06_10388.jpg
/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_17_10348.jpg
/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_26_9418.jpg
/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_37_10422.jpg
/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_47_10374.jpg
/home/pi/Desktop/images/12042025/07/04/image_12042025_07_04_56_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352159535","1352159507","1352159482","1352159380","1352159422","1352159359"],"photo_ids_order":["1352159359","1352159380","1352159422","1352159482","1352159507","1352159535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1327e1674c4bb3dcff33a33ab8e777db.jpg","text":"TemporaryFile(/tmp/multipartBody3193569416685243015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445373635,"filename":"image_12042025_07_04_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b8ef8f863160dfad2d2f1be52f3e1f2.jpg","text":"TemporaryFile(/tmp/multipartBody6008376834565939659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445373635,"filename":"image_12042025_07_04_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11ed2f55340d31af5410047745b48894.jpg","text":"TemporaryFile(/tmp/multipartBody3532964693471921977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445373635,"filename":"image_12042025_07_04_37_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9caf4a0750dfd660ae4f743a9018fcff.jpg","text":"TemporaryFile(/tmp/multipartBody4681125178463154294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445373635,"filename":"image_12042025_07_04_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa9499145092a28a9849059de452929c.jpg","text":"TemporaryFile(/tmp/multipartBody949957847752954264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445373635,"filename":"image_12042025_07_04_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03f8fa1d7df17d800ec125304ed8d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody421902217643506740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445373635,"filename":"image_12042025_07_04_06_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352159422","file1":"1352159380","file0":"1352159359","file4":"1352159507","file5":"1352159535","file3":"1352159482"},"map_files_photo_id_array":[{"photo_id":"1352159535","filename":"file5"},{"photo_id":"1352159422","filename":"file2"},{"photo_id":"1352159507","filename":"file4"},{"photo_id":"1352159380","filename":"file1"},{"photo_id":"1352159359","filename":"file0"},{"photo_id":"1352159482","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352159535":["hashtag1","hashtag2"]},{"1352159507":["hashtag1","hashtag2"]},{"1352159482":["hashtag1","hashtag2"]},{"1352159380":["hashtag1","hashtag2"]},{"1352159422":["hashtag1","hashtag2"]},{"1352159359":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352159535, 1352159507, 1352159482, 1352159380, 1352159422, 1352159359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41200637817383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:09:32.287260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/04/image_12042025_07_05_07_10350.jpg', '/home/pi/Desktop/images/12042025/07/05/image_12042025_07_05_16_9340.jpg', '/home/pi/Desktop/images/12042025/07/05/image_12042025_07_05_27_10452.jpg', '/home/pi/Desktop/images/12042025/07/05/image_12042025_07_05_37_10399.jpg', '/home/pi/Desktop/images/12042025/07/05/image_12042025_07_05_46_9466.jpg', '/home/pi/Desktop/images/12042025/07/05/image_12042025_07_06_06_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/04/image_12042025_07_05_07_10350.jpg
/home/pi/Desktop/images/12042025/07/05/image_12042025_07_05_16_9340.jpg
/home/pi/Desktop/images/12042025/07/05/image_12042025_07_05_27_10452.jpg
/home/pi/Desktop/images/12042025/07/05/image_12042025_07_05_37_10399.jpg
/home/pi/Desktop/images/12042025/07/05/image_12042025_07_05_46_9466.jpg
/home/pi/Desktop/images/12042025/07/05/image_12042025_07_06_06_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352159889","1352159928","1352159841","1352159778","1352159801","1352159752"],"photo_ids_order":["1352159752","1352159778","1352159801","1352159841","1352159889","1352159928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b44ccdb001029671130d973bdf1e5e46.jpg","text":"TemporaryFile(/tmp/multipartBody6774831535431853666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445432835,"filename":"image_12042025_07_05_46_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3df4087050dd0d08753ca5c49093291a.jpg","text":"TemporaryFile(/tmp/multipartBody5653040941757430866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445432835,"filename":"image_12042025_07_06_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0b619129adbdd1c74805515badafcf0.jpg","text":"TemporaryFile(/tmp/multipartBody8005541127576029665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445432835,"filename":"image_12042025_07_05_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/669d92ba203f836aa0bdc70811953e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5564889425031940921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445432835,"filename":"image_12042025_07_05_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ff0dccf1027ea43f9e3e2e8ea580388.jpg","text":"TemporaryFile(/tmp/multipartBody293160958342206852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445432835,"filename":"image_12042025_07_05_27_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42f8e3832d0d2b329a0f3780b4e07790.jpg","text":"TemporaryFile(/tmp/multipartBody3011119900396057040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445432835,"filename":"image_12042025_07_05_07_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352159801","file1":"1352159778","file0":"1352159752","file4":"1352159889","file5":"1352159928","file3":"1352159841"},"map_files_photo_id_array":[{"photo_id":"1352159928","filename":"file5"},{"photo_id":"1352159801","filename":"file2"},{"photo_id":"1352159889","filename":"file4"},{"photo_id":"1352159778","filename":"file1"},{"photo_id":"1352159752","filename":"file0"},{"photo_id":"1352159841","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352159889":["hashtag1","hashtag2"]},{"1352159928":["hashtag1","hashtag2"]},{"1352159841":["hashtag1","hashtag2"]},{"1352159778":["hashtag1","hashtag2"]},{"1352159801":["hashtag1","hashtag2"]},{"1352159752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352159889, 1352159928, 1352159841, 1352159778, 1352159801, 1352159752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74617600440979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:10:32.705763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_17_10347.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_27_10397.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_36_9467.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_47_10375.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_56_9497.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_07_07_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_17_10347.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_27_10397.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_36_9467.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_47_10375.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_56_9497.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_07_07_10385.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4044458866119385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 10:10:42.624222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_17_10347.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_27_10397.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_36_9467.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_47_10375.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_56_9497.jpg', '/home/pi/Desktop/images/12042025/07/06/image_12042025_07_07_07_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_17_10347.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_27_10397.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_36_9467.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_47_10375.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_06_56_9497.jpg
/home/pi/Desktop/images/12042025/07/06/image_12042025_07_07_07_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352160492","1352160372","1352160479","1352160452","1352160499","1352160532"],"photo_ids_order":["1352160372","1352160452","1352160479","1352160492","1352160499","1352160532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02e8654c13b884d25b69134c8e1d5f70.jpg","text":"TemporaryFile(/tmp/multipartBody2073655541042420503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445503085,"filename":"image_12042025_07_06_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03ac61de3f70066bc3f913fc8e23bc47.jpg","text":"TemporaryFile(/tmp/multipartBody5406499316122457812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445503085,"filename":"image_12042025_07_06_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fed4649c96eb8946999cdd931700becb.jpg","text":"TemporaryFile(/tmp/multipartBody9091574786396308712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445503085,"filename":"image_12042025_07_06_36_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0973cedfffd9005b366b5ece413faeb.jpg","text":"TemporaryFile(/tmp/multipartBody3558021605538426300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445503085,"filename":"image_12042025_07_06_27_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c88827e6b5a5f942eb1f8d08451db820.jpg","text":"TemporaryFile(/tmp/multipartBody557242254033423194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445503085,"filename":"image_12042025_07_06_56_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69e0371563bf4c5ebd3916f3e1166084.jpg","text":"TemporaryFile(/tmp/multipartBody4454333226548508033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445503085,"filename":"image_12042025_07_07_07_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352160479","file1":"1352160452","file0":"1352160372","file4":"1352160499","file5":"1352160532","file3":"1352160492"},"map_files_photo_id_array":[{"photo_id":"1352160532","filename":"file5"},{"photo_id":"1352160479","filename":"file2"},{"photo_id":"1352160499","filename":"file4"},{"photo_id":"1352160452","filename":"file1"},{"photo_id":"1352160372","filename":"file0"},{"photo_id":"1352160492","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352160492":["hashtag1","hashtag2"]},{"1352160372":["hashtag1","hashtag2"]},{"1352160479":["hashtag1","hashtag2"]},{"1352160452":["hashtag1","hashtag2"]},{"1352160499":["hashtag1","hashtag2"]},{"1352160532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352160492, 1352160372, 1352160479, 1352160452, 1352160499, 1352160532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.86752891540527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:11:32.878548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_16_9377.jpg', '/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_26_10367.jpg', '/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_37_10360.jpg', '/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_46_9351.jpg', '/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_56_10377.jpg', '/home/pi/Desktop/images/12042025/07/07/image_12042025_07_08_07_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_16_9377.jpg
/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_26_10367.jpg
/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_37_10360.jpg
/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_46_9351.jpg
/home/pi/Desktop/images/12042025/07/07/image_12042025_07_07_56_10377.jpg
/home/pi/Desktop/images/12042025/07/07/image_12042025_07_08_07_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352160720","1352160606","1352160578","1352160713","1352160736","1352160664"],"photo_ids_order":["1352160578","1352160606","1352160664","1352160713","1352160720","1352160736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e2e5d802cadfae6d193bf2f1b72b376.jpg","text":"TemporaryFile(/tmp/multipartBody3567044357079235858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445553338,"filename":"image_12042025_07_07_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ecefc474f9a8d89645be491997f05ba.jpg","text":"TemporaryFile(/tmp/multipartBody9126262193632206653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445553338,"filename":"image_12042025_07_07_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12253ea25214675785fc5b54ac4ac931.jpg","text":"TemporaryFile(/tmp/multipartBody1182181598342097808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445553338,"filename":"image_12042025_07_07_16_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a02a57fd3688c594c975a29c45d1c78.jpg","text":"TemporaryFile(/tmp/multipartBody4322966307317688640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445553338,"filename":"image_12042025_07_07_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3e2a5d8b0b0756ce22f124615aaf455.jpg","text":"TemporaryFile(/tmp/multipartBody5321041287393568005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445553338,"filename":"image_12042025_07_08_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b901a90a6ed3e3401e5d1b34cf5c5d18.jpg","text":"TemporaryFile(/tmp/multipartBody6629640310464671076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445553338,"filename":"image_12042025_07_07_37_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352160664","file1":"1352160606","file0":"1352160578","file4":"1352160720","file5":"1352160736","file3":"1352160713"},"map_files_photo_id_array":[{"photo_id":"1352160736","filename":"file5"},{"photo_id":"1352160664","filename":"file2"},{"photo_id":"1352160720","filename":"file4"},{"photo_id":"1352160606","filename":"file1"},{"photo_id":"1352160578","filename":"file0"},{"photo_id":"1352160713","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352160720":["hashtag1","hashtag2"]},{"1352160606":["hashtag1","hashtag2"]},{"1352160578":["hashtag1","hashtag2"]},{"1352160713":["hashtag1","hashtag2"]},{"1352160736":["hashtag1","hashtag2"]},{"1352160664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352160720, 1352160606, 1352160578, 1352160713, 1352160736, 1352160664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13190245628357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:12:33.163453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/08/image_12042025_07_08_16_9350.jpg', '/home/pi/Desktop/images/12042025/07/08/image_12042025_07_08_37_10376.jpg', '/home/pi/Desktop/images/12042025/07/08/image_12042025_07_08_57_10394.jpg', '/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_17_10349.jpg', '/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_26_9383.jpg', '/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_36_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/08/image_12042025_07_08_16_9350.jpg
/home/pi/Desktop/images/12042025/07/08/image_12042025_07_08_37_10376.jpg
/home/pi/Desktop/images/12042025/07/08/image_12042025_07_08_57_10394.jpg
/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_17_10349.jpg
/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_26_9383.jpg
/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_36_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161062","1352160913","1352160885","1352160870","1352160939","1352161039"],"photo_ids_order":["1352160870","1352160885","1352160913","1352160939","1352161039","1352161062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad0cbf8ae2f3267d724f59d175cbfdea.jpg","text":"TemporaryFile(/tmp/multipartBody684669509068281645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445613650,"filename":"image_12042025_07_09_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68d859a441349e5e5049bc69cebeddee.jpg","text":"TemporaryFile(/tmp/multipartBody5080019245475468465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445613650,"filename":"image_12042025_07_08_57_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59b78c75ff87844ac99976c8cca83ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3261399332156688882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445613650,"filename":"image_12042025_07_08_37_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54f6b3e36be75cc5d39921ecbb22b920.jpg","text":"TemporaryFile(/tmp/multipartBody5419896018666564104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445613650,"filename":"image_12042025_07_08_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7a20a170273c17398018ec85ce7e9b3.jpg","text":"TemporaryFile(/tmp/multipartBody4547432647912948175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445613650,"filename":"image_12042025_07_09_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c7768b1d07fa67cbd0100d5524a1b3b.jpg","text":"TemporaryFile(/tmp/multipartBody5149644851495875530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445613650,"filename":"image_12042025_07_09_26_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352160913","file1":"1352160885","file0":"1352160870","file4":"1352161039","file5":"1352161062","file3":"1352160939"},"map_files_photo_id_array":[{"photo_id":"1352161062","filename":"file5"},{"photo_id":"1352160913","filename":"file2"},{"photo_id":"1352161039","filename":"file4"},{"photo_id":"1352160885","filename":"file1"},{"photo_id":"1352160870","filename":"file0"},{"photo_id":"1352160939","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161062":["hashtag1","hashtag2"]},{"1352160913":["hashtag1","hashtag2"]},{"1352160885":["hashtag1","hashtag2"]},{"1352160870":["hashtag1","hashtag2"]},{"1352160939":["hashtag1","hashtag2"]},{"1352161039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161062, 1352160913, 1352160885, 1352160870, 1352160939, 1352161039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.716756105422974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:13:32.291447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_47_10368.jpg', '/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_56_9423.jpg', '/home/pi/Desktop/images/12042025/07/09/image_12042025_07_10_07_10357.jpg', '/home/pi/Desktop/images/12042025/07/10/image_12042025_07_10_17_10352.jpg', '/home/pi/Desktop/images/12042025/07/10/image_12042025_07_10_26_9373.jpg', '/home/pi/Desktop/images/12042025/07/10/image_12042025_07_10_37_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_47_10368.jpg
/home/pi/Desktop/images/12042025/07/09/image_12042025_07_09_56_9423.jpg
/home/pi/Desktop/images/12042025/07/09/image_12042025_07_10_07_10357.jpg
/home/pi/Desktop/images/12042025/07/10/image_12042025_07_10_17_10352.jpg
/home/pi/Desktop/images/12042025/07/10/image_12042025_07_10_26_9373.jpg
/home/pi/Desktop/images/12042025/07/10/image_12042025_07_10_37_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161182","1352161193","1352161172","1352161157","1352161130","1352161228"],"photo_ids_order":["1352161130","1352161157","1352161172","1352161182","1352161193","1352161228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5964ba51bf5d7e0c0c38eb2eea151f1.jpg","text":"TemporaryFile(/tmp/multipartBody6915764012685853425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445672901,"filename":"image_12042025_07_10_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc31f3dea2b9631dc7262f34bf4606cb.jpg","text":"TemporaryFile(/tmp/multipartBody2035075553466354443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445672901,"filename":"image_12042025_07_10_26_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b444186549940d5e0c8aabae4073019.jpg","text":"TemporaryFile(/tmp/multipartBody4715010539799153039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445672901,"filename":"image_12042025_07_10_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b7e80f90367659a67edd4b93b6596b5.jpg","text":"TemporaryFile(/tmp/multipartBody7731051863955425751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445672901,"filename":"image_12042025_07_09_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80a802391f7fec339a9011e43035b676.jpg","text":"TemporaryFile(/tmp/multipartBody7651973575586599658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445672901,"filename":"image_12042025_07_09_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88c50b87e22dc474dc7c37530d573fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7718912080217302650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445672901,"filename":"image_12042025_07_10_37_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161172","file1":"1352161157","file0":"1352161130","file4":"1352161193","file5":"1352161228","file3":"1352161182"},"map_files_photo_id_array":[{"photo_id":"1352161228","filename":"file5"},{"photo_id":"1352161172","filename":"file2"},{"photo_id":"1352161193","filename":"file4"},{"photo_id":"1352161157","filename":"file1"},{"photo_id":"1352161130","filename":"file0"},{"photo_id":"1352161182","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161182":["hashtag1","hashtag2"]},{"1352161193":["hashtag1","hashtag2"]},{"1352161172":["hashtag1","hashtag2"]},{"1352161157":["hashtag1","hashtag2"]},{"1352161130":["hashtag1","hashtag2"]},{"1352161228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161182, 1352161193, 1352161172, 1352161157, 1352161130, 1352161228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.364068269729614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:14:32.639779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/10/image_12042025_07_10_46_9350.jpg', '/home/pi/Desktop/images/12042025/07/11/image_12042025_07_11_36_9351.jpg', '/home/pi/Desktop/images/12042025/07/11/image_12042025_07_11_47_10369.jpg', '/home/pi/Desktop/images/12042025/07/11/image_12042025_07_11_57_10370.jpg', '/home/pi/Desktop/images/12042025/07/11/image_12042025_07_12_06_9400.jpg', '/home/pi/Desktop/images/12042025/07/12/image_12042025_07_12_36_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/10/image_12042025_07_10_46_9350.jpg
/home/pi/Desktop/images/12042025/07/11/image_12042025_07_11_36_9351.jpg
/home/pi/Desktop/images/12042025/07/11/image_12042025_07_11_47_10369.jpg
/home/pi/Desktop/images/12042025/07/11/image_12042025_07_11_57_10370.jpg
/home/pi/Desktop/images/12042025/07/11/image_12042025_07_12_06_9400.jpg
/home/pi/Desktop/images/12042025/07/12/image_12042025_07_12_36_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161295","1352161298","1352161283","1352161292","1352161274","1352161272"],"photo_ids_order":["1352161272","1352161274","1352161283","1352161292","1352161295","1352161298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88e763bbab8736f9b701bc364d926e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2094299119576127908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445733160,"filename":"image_12042025_07_12_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5bf6d2fde32ed070a6ab24a93dcd2d24.jpg","text":"TemporaryFile(/tmp/multipartBody1593270419523888526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445733160,"filename":"image_12042025_07_12_36_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59c2166c5d2d5046dbdc041a115fd6fa.jpg","text":"TemporaryFile(/tmp/multipartBody2138316189102634650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445733160,"filename":"image_12042025_07_11_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9312c0bb126d65bd79f69f63d418943c.jpg","text":"TemporaryFile(/tmp/multipartBody6750701443201449930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445733160,"filename":"image_12042025_07_11_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/034a2ffcce2454314398a49dd1b97215.jpg","text":"TemporaryFile(/tmp/multipartBody903812174422992630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445733160,"filename":"image_12042025_07_11_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d1a266cf97904917f9e164e48c69426.jpg","text":"TemporaryFile(/tmp/multipartBody1486624673943211607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445733160,"filename":"image_12042025_07_10_46_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161283","file1":"1352161274","file0":"1352161272","file4":"1352161295","file5":"1352161298","file3":"1352161292"},"map_files_photo_id_array":[{"photo_id":"1352161298","filename":"file5"},{"photo_id":"1352161283","filename":"file2"},{"photo_id":"1352161295","filename":"file4"},{"photo_id":"1352161274","filename":"file1"},{"photo_id":"1352161272","filename":"file0"},{"photo_id":"1352161292","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161295":["hashtag1","hashtag2"]},{"1352161298":["hashtag1","hashtag2"]},{"1352161283":["hashtag1","hashtag2"]},{"1352161292":["hashtag1","hashtag2"]},{"1352161274":["hashtag1","hashtag2"]},{"1352161272":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161295, 1352161298, 1352161283, 1352161292, 1352161274, 1352161272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.644469261169434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:15:32.941528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/12/image_12042025_07_12_47_10406.jpg', '/home/pi/Desktop/images/12042025/07/12/image_12042025_07_12_56_9421.jpg', '/home/pi/Desktop/images/12042025/07/13/image_12042025_07_13_26_10398.jpg', '/home/pi/Desktop/images/12042025/07/13/image_12042025_07_13_37_10368.jpg', '/home/pi/Desktop/images/12042025/07/13/image_12042025_07_13_46_9344.jpg', '/home/pi/Desktop/images/12042025/07/13/image_12042025_07_13_57_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/12/image_12042025_07_12_47_10406.jpg
/home/pi/Desktop/images/12042025/07/12/image_12042025_07_12_56_9421.jpg
/home/pi/Desktop/images/12042025/07/13/image_12042025_07_13_26_10398.jpg
/home/pi/Desktop/images/12042025/07/13/image_12042025_07_13_37_10368.jpg
/home/pi/Desktop/images/12042025/07/13/image_12042025_07_13_46_9344.jpg
/home/pi/Desktop/images/12042025/07/13/image_12042025_07_13_57_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161314","1352161340","1352161328","1352161322","1352161330","1352161318"],"photo_ids_order":["1352161314","1352161318","1352161322","1352161328","1352161330","1352161340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0d8b296dcc48c8911a9f599a0fe165b.jpg","text":"TemporaryFile(/tmp/multipartBody5959498963217114824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445793473,"filename":"image_12042025_07_12_47_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/752229080397a67d6817c96f687b50c2.jpg","text":"TemporaryFile(/tmp/multipartBody896086692611836926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445793473,"filename":"image_12042025_07_13_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dca6cceec98c6c0d3c1bf43af877c337.jpg","text":"TemporaryFile(/tmp/multipartBody4388061031371328304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445793473,"filename":"image_12042025_07_13_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fdeabffd3919761f183dcc4eaca77129.jpg","text":"TemporaryFile(/tmp/multipartBody8589526210467723550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445793473,"filename":"image_12042025_07_13_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/344da3199457bb3260fe1d4d1197c4e4.jpg","text":"TemporaryFile(/tmp/multipartBody6280560582706219053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445793473,"filename":"image_12042025_07_13_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/539bb1a7894e6d028ab5095080e37bd9.jpg","text":"TemporaryFile(/tmp/multipartBody4409503873485670769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445793473,"filename":"image_12042025_07_12_56_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161322","file1":"1352161318","file0":"1352161314","file4":"1352161330","file5":"1352161340","file3":"1352161328"},"map_files_photo_id_array":[{"photo_id":"1352161340","filename":"file5"},{"photo_id":"1352161322","filename":"file2"},{"photo_id":"1352161330","filename":"file4"},{"photo_id":"1352161318","filename":"file1"},{"photo_id":"1352161314","filename":"file0"},{"photo_id":"1352161328","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161314":["hashtag1","hashtag2"]},{"1352161340":["hashtag1","hashtag2"]},{"1352161328":["hashtag1","hashtag2"]},{"1352161322":["hashtag1","hashtag2"]},{"1352161330":["hashtag1","hashtag2"]},{"1352161318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161314, 1352161340, 1352161328, 1352161322, 1352161330, 1352161318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97707962989807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:16:33.219567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/13/image_12042025_07_14_07_10420.jpg', '/home/pi/Desktop/images/12042025/07/14/image_12042025_07_14_27_10366.jpg', '/home/pi/Desktop/images/12042025/07/14/image_12042025_07_14_36_9351.jpg', '/home/pi/Desktop/images/12042025/07/14/image_12042025_07_14_47_10450.jpg', '/home/pi/Desktop/images/12042025/07/14/image_12042025_07_14_57_10356.jpg', '/home/pi/Desktop/images/12042025/07/14/image_12042025_07_15_06_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/13/image_12042025_07_14_07_10420.jpg
/home/pi/Desktop/images/12042025/07/14/image_12042025_07_14_27_10366.jpg
/home/pi/Desktop/images/12042025/07/14/image_12042025_07_14_36_9351.jpg
/home/pi/Desktop/images/12042025/07/14/image_12042025_07_14_47_10450.jpg
/home/pi/Desktop/images/12042025/07/14/image_12042025_07_14_57_10356.jpg
/home/pi/Desktop/images/12042025/07/14/image_12042025_07_15_06_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161428","1352161425","1352161430","1352161366","1352161408","1352161383"],"photo_ids_order":["1352161366","1352161383","1352161408","1352161425","1352161428","1352161430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d93238624fcb698ba2942a247fc5045.jpg","text":"TemporaryFile(/tmp/multipartBody5752697717282572044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445853746,"filename":"image_12042025_07_14_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e59473efb67ad180a52f420ab31fb03e.jpg","text":"TemporaryFile(/tmp/multipartBody6339745420998189861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445853746,"filename":"image_12042025_07_14_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/102edca7df98f7aa716549791024b2ac.jpg","text":"TemporaryFile(/tmp/multipartBody7592764977240513587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445853746,"filename":"image_12042025_07_15_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d35f0c24fea552fd1bb3b4b05fc733b.jpg","text":"TemporaryFile(/tmp/multipartBody1014112395638696592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445853746,"filename":"image_12042025_07_14_07_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1278cef085a96033396ccf958fc4589.jpg","text":"TemporaryFile(/tmp/multipartBody7243783930238051024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445853746,"filename":"image_12042025_07_14_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56f09cc56bc02fc7e0b3028f2dbac2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2426860086181481989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445853746,"filename":"image_12042025_07_14_27_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161408","file1":"1352161383","file0":"1352161366","file4":"1352161428","file5":"1352161430","file3":"1352161425"},"map_files_photo_id_array":[{"photo_id":"1352161430","filename":"file5"},{"photo_id":"1352161408","filename":"file2"},{"photo_id":"1352161428","filename":"file4"},{"photo_id":"1352161383","filename":"file1"},{"photo_id":"1352161366","filename":"file0"},{"photo_id":"1352161425","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161428":["hashtag1","hashtag2"]},{"1352161425":["hashtag1","hashtag2"]},{"1352161430":["hashtag1","hashtag2"]},{"1352161366":["hashtag1","hashtag2"]},{"1352161408":["hashtag1","hashtag2"]},{"1352161383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161428, 1352161425, 1352161430, 1352161366, 1352161408, 1352161383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60520815849304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:17:32.341815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_17_10368.jpg', '/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_26_9378.jpg', '/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_36_10381.jpg', '/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_47_10373.jpg', '/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_56_9356.jpg', '/home/pi/Desktop/images/12042025/07/15/image_12042025_07_16_07_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_17_10368.jpg
/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_26_9378.jpg
/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_36_10381.jpg
/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_47_10373.jpg
/home/pi/Desktop/images/12042025/07/15/image_12042025_07_15_56_9356.jpg
/home/pi/Desktop/images/12042025/07/15/image_12042025_07_16_07_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161530","1352161534","1352161543","1352161546","1352161525","1352161485"],"photo_ids_order":["1352161485","1352161525","1352161530","1352161534","1352161543","1352161546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9105998dcf0ebb587ec9ac49ad6941e2.jpg","text":"TemporaryFile(/tmp/multipartBody2592516364228141489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445912915,"filename":"image_12042025_07_15_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9979c68dcb8a030e024e05f653fa69d7.jpg","text":"TemporaryFile(/tmp/multipartBody6991676999735168982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445912915,"filename":"image_12042025_07_15_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2d933471a683389c9dc447a4a1c6425.jpg","text":"TemporaryFile(/tmp/multipartBody84446309658054230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445912915,"filename":"image_12042025_07_15_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7e123f90ee65be2d567df476122da53.jpg","text":"TemporaryFile(/tmp/multipartBody4734520653601881067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445912915,"filename":"image_12042025_07_16_07_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25db1fc4d47b3306074c4f2e989cb4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5316491513341527843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445912915,"filename":"image_12042025_07_15_26_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e01246ca96aa97aececcbd978e0af37.jpg","text":"TemporaryFile(/tmp/multipartBody4073179647695721535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445912915,"filename":"image_12042025_07_15_17_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161530","file1":"1352161525","file0":"1352161485","file4":"1352161543","file5":"1352161546","file3":"1352161534"},"map_files_photo_id_array":[{"photo_id":"1352161546","filename":"file5"},{"photo_id":"1352161530","filename":"file2"},{"photo_id":"1352161543","filename":"file4"},{"photo_id":"1352161525","filename":"file1"},{"photo_id":"1352161485","filename":"file0"},{"photo_id":"1352161534","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161530":["hashtag1","hashtag2"]},{"1352161534":["hashtag1","hashtag2"]},{"1352161543":["hashtag1","hashtag2"]},{"1352161546":["hashtag1","hashtag2"]},{"1352161525":["hashtag1","hashtag2"]},{"1352161485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161530, 1352161534, 1352161543, 1352161546, 1352161525, 1352161485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14906668663025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:18:32.609146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_17_10363.jpg', '/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_26_9401.jpg', '/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_37_10366.jpg', '/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_46_9339.jpg', '/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_56_10357.jpg', '/home/pi/Desktop/images/12042025/07/16/image_12042025_07_17_07_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_17_10363.jpg
/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_26_9401.jpg
/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_37_10366.jpg
/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_46_9339.jpg
/home/pi/Desktop/images/12042025/07/16/image_12042025_07_16_56_10357.jpg
/home/pi/Desktop/images/12042025/07/16/image_12042025_07_17_07_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161575","1352161577","1352161585","1352161579","1352161588","1352161582"],"photo_ids_order":["1352161575","1352161577","1352161579","1352161582","1352161585","1352161588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6cc26e5089c19d3c2627f28aaed11c72.jpg","text":"TemporaryFile(/tmp/multipartBody5326046357490974476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445973147,"filename":"image_12042025_07_16_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a158b687e6e89d70d413c429dbf7941d.jpg","text":"TemporaryFile(/tmp/multipartBody2069666244418661095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445973147,"filename":"image_12042025_07_16_26_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ae391d27002e7bd4c06b9fb011589a0.jpg","text":"TemporaryFile(/tmp/multipartBody2786388475038677730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445973147,"filename":"image_12042025_07_16_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6fbbba5eabb7aaf3f4de13a24c716df4.jpg","text":"TemporaryFile(/tmp/multipartBody1093637434881375429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445973147,"filename":"image_12042025_07_16_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de543c5c27ca1ee89ac439fc08ca7f92.jpg","text":"TemporaryFile(/tmp/multipartBody7377688338876964747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445973147,"filename":"image_12042025_07_17_07_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd92c4b37b542d1f4d4345540b702792.jpg","text":"TemporaryFile(/tmp/multipartBody7345677437362124393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744445973147,"filename":"image_12042025_07_16_46_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161579","file1":"1352161577","file0":"1352161575","file4":"1352161585","file5":"1352161588","file3":"1352161582"},"map_files_photo_id_array":[{"photo_id":"1352161588","filename":"file5"},{"photo_id":"1352161579","filename":"file2"},{"photo_id":"1352161585","filename":"file4"},{"photo_id":"1352161577","filename":"file1"},{"photo_id":"1352161575","filename":"file0"},{"photo_id":"1352161582","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161575":["hashtag1","hashtag2"]},{"1352161577":["hashtag1","hashtag2"]},{"1352161585":["hashtag1","hashtag2"]},{"1352161579":["hashtag1","hashtag2"]},{"1352161588":["hashtag1","hashtag2"]},{"1352161582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161575, 1352161577, 1352161585, 1352161579, 1352161588, 1352161582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30937886238098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:19:33.003711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_16_9451.jpg', '/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_27_10370.jpg', '/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_36_9355.jpg', '/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_46_10472.jpg', '/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_57_10370.jpg', '/home/pi/Desktop/images/12042025/07/17/image_12042025_07_18_06_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_16_9451.jpg
/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_27_10370.jpg
/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_36_9355.jpg
/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_46_10472.jpg
/home/pi/Desktop/images/12042025/07/17/image_12042025_07_17_57_10370.jpg
/home/pi/Desktop/images/12042025/07/17/image_12042025_07_18_06_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161676","1352161637","1352161652","1352161640","1352161633","1352161720"],"photo_ids_order":["1352161633","1352161637","1352161640","1352161652","1352161676","1352161720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a6ba28672dfbca7f9ca94872725da95.jpg","text":"TemporaryFile(/tmp/multipartBody8326547083131321737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446033549,"filename":"image_12042025_07_17_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57b0f53811c37e90e7545aca891058fe.jpg","text":"TemporaryFile(/tmp/multipartBody711911489965835474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446033549,"filename":"image_12042025_07_17_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b6e059d28032b2d14dec4bd03fdd5eb.jpg","text":"TemporaryFile(/tmp/multipartBody631362770511917383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446033549,"filename":"image_12042025_07_17_46_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/993853a947a73e8ad97309079d98c7a7.jpg","text":"TemporaryFile(/tmp/multipartBody2002568585495529905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446033549,"filename":"image_12042025_07_17_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9777bc404696f33ed51f13dc96760c9.jpg","text":"TemporaryFile(/tmp/multipartBody9036070085662262725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446033549,"filename":"image_12042025_07_17_16_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5591a25b58d6a73d2d2bd248cd7eca64.jpg","text":"TemporaryFile(/tmp/multipartBody8254004729675586359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446033549,"filename":"image_12042025_07_18_06_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161640","file1":"1352161637","file0":"1352161633","file4":"1352161676","file5":"1352161720","file3":"1352161652"},"map_files_photo_id_array":[{"photo_id":"1352161720","filename":"file5"},{"photo_id":"1352161640","filename":"file2"},{"photo_id":"1352161676","filename":"file4"},{"photo_id":"1352161637","filename":"file1"},{"photo_id":"1352161633","filename":"file0"},{"photo_id":"1352161652","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161676":["hashtag1","hashtag2"]},{"1352161637":["hashtag1","hashtag2"]},{"1352161652":["hashtag1","hashtag2"]},{"1352161640":["hashtag1","hashtag2"]},{"1352161633":["hashtag1","hashtag2"]},{"1352161720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161676, 1352161637, 1352161652, 1352161640, 1352161633, 1352161720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40603160858154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:20:33.131395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/18/image_12042025_07_18_17_10351.jpg', '/home/pi/Desktop/images/12042025/07/18/image_12042025_07_18_26_9370.jpg', '/home/pi/Desktop/images/12042025/07/18/image_12042025_07_18_36_10395.jpg', '/home/pi/Desktop/images/12042025/07/18/image_12042025_07_18_56_9358.jpg', '/home/pi/Desktop/images/12042025/07/18/image_12042025_07_19_07_10465.jpg', '/home/pi/Desktop/images/12042025/07/19/image_12042025_07_19_17_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/18/image_12042025_07_18_17_10351.jpg
/home/pi/Desktop/images/12042025/07/18/image_12042025_07_18_26_9370.jpg
/home/pi/Desktop/images/12042025/07/18/image_12042025_07_18_36_10395.jpg
/home/pi/Desktop/images/12042025/07/18/image_12042025_07_18_56_9358.jpg
/home/pi/Desktop/images/12042025/07/18/image_12042025_07_19_07_10465.jpg
/home/pi/Desktop/images/12042025/07/19/image_12042025_07_19_17_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161830","1352161836","1352161844","1352161832","1352161873","1352161840"],"photo_ids_order":["1352161830","1352161832","1352161836","1352161840","1352161844","1352161873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/599cec7bdc974fb23f674180c31dbb7c.jpg","text":"TemporaryFile(/tmp/multipartBody1538493019826280289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446093664,"filename":"image_12042025_07_18_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5d25a6ad976cfae6838955bf2207db5.jpg","text":"TemporaryFile(/tmp/multipartBody3589806507010431099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446093664,"filename":"image_12042025_07_18_36_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1636b038be75544293d80b01cdfadc7b.jpg","text":"TemporaryFile(/tmp/multipartBody7919796957048161198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446093664,"filename":"image_12042025_07_19_07_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4336e5fa10628727efc5ff85378ee06.jpg","text":"TemporaryFile(/tmp/multipartBody6187056472186525833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446093664,"filename":"image_12042025_07_18_26_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4dd748494706f755958b2cbd637e3df.jpg","text":"TemporaryFile(/tmp/multipartBody7090957804063389358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446093664,"filename":"image_12042025_07_19_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc25dd9b90db7e85121120a9e4e0198d.jpg","text":"TemporaryFile(/tmp/multipartBody7539545168199572211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446093664,"filename":"image_12042025_07_18_56_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161836","file1":"1352161832","file0":"1352161830","file4":"1352161844","file5":"1352161873","file3":"1352161840"},"map_files_photo_id_array":[{"photo_id":"1352161873","filename":"file5"},{"photo_id":"1352161836","filename":"file2"},{"photo_id":"1352161844","filename":"file4"},{"photo_id":"1352161832","filename":"file1"},{"photo_id":"1352161830","filename":"file0"},{"photo_id":"1352161840","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161830":["hashtag1","hashtag2"]},{"1352161836":["hashtag1","hashtag2"]},{"1352161844":["hashtag1","hashtag2"]},{"1352161832":["hashtag1","hashtag2"]},{"1352161873":["hashtag1","hashtag2"]},{"1352161840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161830, 1352161836, 1352161844, 1352161832, 1352161873, 1352161840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58235263824463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:21:32.489075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/19/image_12042025_07_19_26_9368.jpg', '/home/pi/Desktop/images/12042025/07/19/image_12042025_07_19_56_10445.jpg', '/home/pi/Desktop/images/12042025/07/19/image_12042025_07_20_07_10353.jpg', '/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_16_9485.jpg', '/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_27_10369.jpg', '/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_36_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/19/image_12042025_07_19_26_9368.jpg
/home/pi/Desktop/images/12042025/07/19/image_12042025_07_19_56_10445.jpg
/home/pi/Desktop/images/12042025/07/19/image_12042025_07_20_07_10353.jpg
/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_16_9485.jpg
/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_27_10369.jpg
/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_36_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352161908","1352161898","1352161895","1352161910","1352161903","1352161893"],"photo_ids_order":["1352161893","1352161895","1352161898","1352161903","1352161908","1352161910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55a91f0a438f7f4b19872f708093695c.jpg","text":"TemporaryFile(/tmp/multipartBody5620428643032629807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446153032,"filename":"image_12042025_07_20_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b3fbb8c0cc272d5f20c61d2f03853c5.jpg","text":"TemporaryFile(/tmp/multipartBody862062487733346790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446153032,"filename":"image_12042025_07_20_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6df8c5e5d06945fe38e7526d807c9b40.jpg","text":"TemporaryFile(/tmp/multipartBody7119871817582478791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446153032,"filename":"image_12042025_07_19_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8df0ac2c1125324da3fa78f630138f24.jpg","text":"TemporaryFile(/tmp/multipartBody340949228404334498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446153032,"filename":"image_12042025_07_20_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c3b9f28fd1a4b5d8b4603bc4d8b0c93.jpg","text":"TemporaryFile(/tmp/multipartBody5731600938746365146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446153032,"filename":"image_12042025_07_20_16_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/539109c037a96e1c8c9e38a375a186d8.jpg","text":"TemporaryFile(/tmp/multipartBody7889734467923024893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446153032,"filename":"image_12042025_07_19_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352161898","file1":"1352161895","file0":"1352161893","file4":"1352161908","file5":"1352161910","file3":"1352161903"},"map_files_photo_id_array":[{"photo_id":"1352161910","filename":"file5"},{"photo_id":"1352161898","filename":"file2"},{"photo_id":"1352161908","filename":"file4"},{"photo_id":"1352161895","filename":"file1"},{"photo_id":"1352161893","filename":"file0"},{"photo_id":"1352161903","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352161908":["hashtag1","hashtag2"]},{"1352161898":["hashtag1","hashtag2"]},{"1352161895":["hashtag1","hashtag2"]},{"1352161910":["hashtag1","hashtag2"]},{"1352161903":["hashtag1","hashtag2"]},{"1352161893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352161908, 1352161898, 1352161895, 1352161910, 1352161903, 1352161893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.162063121795654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:22:32.727801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_46_10382.jpg', '/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_57_10390.jpg', '/home/pi/Desktop/images/12042025/07/20/image_12042025_07_21_06_9347.jpg', '/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_17_10373.jpg', '/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_27_10358.jpg', '/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_36_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_46_10382.jpg
/home/pi/Desktop/images/12042025/07/20/image_12042025_07_20_57_10390.jpg
/home/pi/Desktop/images/12042025/07/20/image_12042025_07_21_06_9347.jpg
/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_17_10373.jpg
/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_27_10358.jpg
/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_36_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352162031","1352162018","1352162074","1352162067","1352161998","1352162037"],"photo_ids_order":["1352161998","1352162018","1352162031","1352162037","1352162067","1352162074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d06728bf1000a6f42db875804b97cdb.jpg","text":"TemporaryFile(/tmp/multipartBody8650966961132427245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446213261,"filename":"image_12042025_07_21_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f3a3131462865ae28ca2f8bfb2af476.jpg","text":"TemporaryFile(/tmp/multipartBody7793029366972878821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446213261,"filename":"image_12042025_07_20_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6d35ca8d9d52acc5ea57212331e81bf.jpg","text":"TemporaryFile(/tmp/multipartBody819466643795115246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446213261,"filename":"image_12042025_07_21_36_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d26d0c7a0908feeb8ea39fceded7acaf.jpg","text":"TemporaryFile(/tmp/multipartBody6890777099056476175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446213261,"filename":"image_12042025_07_21_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd7f581f8d6e7366c6e927ea18812ddf.jpg","text":"TemporaryFile(/tmp/multipartBody4454658412877900403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446213261,"filename":"image_12042025_07_20_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eaa94b0b8d581fa4c77b99952a67efd8.jpg","text":"TemporaryFile(/tmp/multipartBody615112367866455635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446213261,"filename":"image_12042025_07_21_17_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352162031","file1":"1352162018","file0":"1352161998","file4":"1352162067","file5":"1352162074","file3":"1352162037"},"map_files_photo_id_array":[{"photo_id":"1352162074","filename":"file5"},{"photo_id":"1352162031","filename":"file2"},{"photo_id":"1352162067","filename":"file4"},{"photo_id":"1352162018","filename":"file1"},{"photo_id":"1352161998","filename":"file0"},{"photo_id":"1352162037","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352162031":["hashtag1","hashtag2"]},{"1352162018":["hashtag1","hashtag2"]},{"1352162074":["hashtag1","hashtag2"]},{"1352162067":["hashtag1","hashtag2"]},{"1352161998":["hashtag1","hashtag2"]},{"1352162037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352162031, 1352162018, 1352162074, 1352162067, 1352161998, 1352162037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.1779146194458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:23:32.867067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_47_10372.jpg', '/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_56_9443.jpg', '/home/pi/Desktop/images/12042025/07/21/image_12042025_07_22_07_10438.jpg', '/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_17_10351.jpg', '/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_26_9501.jpg', '/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_37_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_47_10372.jpg
/home/pi/Desktop/images/12042025/07/21/image_12042025_07_21_56_9443.jpg
/home/pi/Desktop/images/12042025/07/21/image_12042025_07_22_07_10438.jpg
/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_17_10351.jpg
/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_26_9501.jpg
/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_37_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352162321","1352162309","1352162201","1352162365","1352162317","1352162221"],"photo_ids_order":["1352162201","1352162221","1352162309","1352162317","1352162321","1352162365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/541e3a97ac4c0de79ed68ebc875caf34.jpg","text":"TemporaryFile(/tmp/multipartBody8616111439656627118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446273372,"filename":"image_12042025_07_22_26_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55685d96eb62a43ad607585db87419fb.jpg","text":"TemporaryFile(/tmp/multipartBody1592248903916986121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446273372,"filename":"image_12042025_07_22_07_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a235470aa7e2df324acac2b23cc37d5.jpg","text":"TemporaryFile(/tmp/multipartBody446664154239769590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446273372,"filename":"image_12042025_07_21_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b325336d7b9b974df21c239a699665b1.jpg","text":"TemporaryFile(/tmp/multipartBody8516220696035438267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446273372,"filename":"image_12042025_07_22_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa50739796301c94a698f6d003c09ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2758704655417482573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446273372,"filename":"image_12042025_07_22_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0a84659e15e9a92363f009bd3098a97.jpg","text":"TemporaryFile(/tmp/multipartBody6436265202386447973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446273372,"filename":"image_12042025_07_21_56_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352162309","file1":"1352162221","file0":"1352162201","file4":"1352162321","file5":"1352162365","file3":"1352162317"},"map_files_photo_id_array":[{"photo_id":"1352162365","filename":"file5"},{"photo_id":"1352162309","filename":"file2"},{"photo_id":"1352162321","filename":"file4"},{"photo_id":"1352162221","filename":"file1"},{"photo_id":"1352162201","filename":"file0"},{"photo_id":"1352162317","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352162321":["hashtag1","hashtag2"]},{"1352162309":["hashtag1","hashtag2"]},{"1352162201":["hashtag1","hashtag2"]},{"1352162365":["hashtag1","hashtag2"]},{"1352162317":["hashtag1","hashtag2"]},{"1352162221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352162321, 1352162309, 1352162201, 1352162365, 1352162317, 1352162221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.062994956970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:24:32.152581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_46_9373.jpg', '/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_57_10434.jpg', '/home/pi/Desktop/images/12042025/07/22/image_12042025_07_23_07_10364.jpg', '/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_16_9381.jpg', '/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_27_10374.jpg', '/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_36_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_46_9373.jpg
/home/pi/Desktop/images/12042025/07/22/image_12042025_07_22_57_10434.jpg
/home/pi/Desktop/images/12042025/07/22/image_12042025_07_23_07_10364.jpg
/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_16_9381.jpg
/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_27_10374.jpg
/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_36_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352162415","1352162424","1352162432","1352162428","1352162419","1352162412"],"photo_ids_order":["1352162412","1352162415","1352162419","1352162424","1352162428","1352162432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/316ca19daa2b4d2fa4d29cd2d633aed6.jpg","text":"TemporaryFile(/tmp/multipartBody3908770641370541500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446332627,"filename":"image_12042025_07_22_57_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/680a9fc4e57c430432a18c0932dc2b93.jpg","text":"TemporaryFile(/tmp/multipartBody7504131530795847243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446332627,"filename":"image_12042025_07_23_16_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba488aa2c8af3c148164157bd295f5bf.jpg","text":"TemporaryFile(/tmp/multipartBody1889292024656647124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446332627,"filename":"image_12042025_07_23_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/247398417f01f4946a0782156bbafbc7.jpg","text":"TemporaryFile(/tmp/multipartBody2848518124382334977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446332627,"filename":"image_12042025_07_23_27_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ebc0f8621537f97e0d62a1163b67c25.jpg","text":"TemporaryFile(/tmp/multipartBody1421358910428382738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446332627,"filename":"image_12042025_07_23_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90484e6defdc2e02d6d515d01d2fd1ce.jpg","text":"TemporaryFile(/tmp/multipartBody7658038188709983408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446332627,"filename":"image_12042025_07_22_46_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352162419","file1":"1352162415","file0":"1352162412","file4":"1352162428","file5":"1352162432","file3":"1352162424"},"map_files_photo_id_array":[{"photo_id":"1352162432","filename":"file5"},{"photo_id":"1352162419","filename":"file2"},{"photo_id":"1352162428","filename":"file4"},{"photo_id":"1352162415","filename":"file1"},{"photo_id":"1352162412","filename":"file0"},{"photo_id":"1352162424","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352162415":["hashtag1","hashtag2"]},{"1352162424":["hashtag1","hashtag2"]},{"1352162432":["hashtag1","hashtag2"]},{"1352162428":["hashtag1","hashtag2"]},{"1352162419":["hashtag1","hashtag2"]},{"1352162412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352162415, 1352162424, 1352162432, 1352162428, 1352162419, 1352162412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.862077951431274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:25:32.426544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_47_10456.jpg', '/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_57_10368.jpg', '/home/pi/Desktop/images/12042025/07/23/image_12042025_07_24_06_9425.jpg', '/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_17_10363.jpg', '/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_26_9368.jpg', '/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_37_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_47_10456.jpg
/home/pi/Desktop/images/12042025/07/23/image_12042025_07_23_57_10368.jpg
/home/pi/Desktop/images/12042025/07/23/image_12042025_07_24_06_9425.jpg
/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_17_10363.jpg
/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_26_9368.jpg
/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_37_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352162489","1352162459","1352162513","1352162455","1352162458","1352162469"],"photo_ids_order":["1352162455","1352162458","1352162459","1352162469","1352162489","1352162513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/771dd8c770edec663b54464e102f0249.jpg","text":"TemporaryFile(/tmp/multipartBody7900025892692561267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446392966,"filename":"image_12042025_07_24_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2445784a6cac21eb8af8ae58cea8218d.jpg","text":"TemporaryFile(/tmp/multipartBody8348775787792491441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446392966,"filename":"image_12042025_07_24_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53577d317a38a2f9a9ac6991c2809ee0.jpg","text":"TemporaryFile(/tmp/multipartBody3501535119764661791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446392966,"filename":"image_12042025_07_24_37_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fa6981dd995dbc09277b9abbd424133.jpg","text":"TemporaryFile(/tmp/multipartBody2449977291939950552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446392966,"filename":"image_12042025_07_23_47_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56d077386a4e3e15128f68f770c977e3.jpg","text":"TemporaryFile(/tmp/multipartBody8302788350667326008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446392966,"filename":"image_12042025_07_23_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d50d833d79e524eb80a05504a13efb49.jpg","text":"TemporaryFile(/tmp/multipartBody2702555157220804446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446392966,"filename":"image_12042025_07_24_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352162459","file1":"1352162458","file0":"1352162455","file4":"1352162489","file5":"1352162513","file3":"1352162469"},"map_files_photo_id_array":[{"photo_id":"1352162513","filename":"file5"},{"photo_id":"1352162459","filename":"file2"},{"photo_id":"1352162489","filename":"file4"},{"photo_id":"1352162458","filename":"file1"},{"photo_id":"1352162455","filename":"file0"},{"photo_id":"1352162469","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352162489":["hashtag1","hashtag2"]},{"1352162459":["hashtag1","hashtag2"]},{"1352162513":["hashtag1","hashtag2"]},{"1352162455":["hashtag1","hashtag2"]},{"1352162458":["hashtag1","hashtag2"]},{"1352162469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352162489, 1352162459, 1352162513, 1352162455, 1352162458, 1352162469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.432976961135864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:26:32.702668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_47_10360.jpg', '/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_56_9435.jpg', '/home/pi/Desktop/images/12042025/07/24/image_12042025_07_25_07_10356.jpg', '/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_16_9351.jpg', '/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_26_10446.jpg', '/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_37_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_47_10360.jpg
/home/pi/Desktop/images/12042025/07/24/image_12042025_07_24_56_9435.jpg
/home/pi/Desktop/images/12042025/07/24/image_12042025_07_25_07_10356.jpg
/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_16_9351.jpg
/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_26_10446.jpg
/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_37_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352162709","1352162723","1352162677","1352162686","1352162679","1352162703"],"photo_ids_order":["1352162677","1352162679","1352162686","1352162703","1352162709","1352162723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fc6a358d028a914651dc086a15b983c.jpg","text":"TemporaryFile(/tmp/multipartBody7522061329798526191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446453239,"filename":"image_12042025_07_25_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba41e332eeba606bb7b27fe2ffa16bec.jpg","text":"TemporaryFile(/tmp/multipartBody5876801135349627150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446453239,"filename":"image_12042025_07_25_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47e271c4e3fdbb68099a4722bc186c9d.jpg","text":"TemporaryFile(/tmp/multipartBody6472808573005569591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446453239,"filename":"image_12042025_07_24_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/459541acdd180a3f9d8028e9f7f268b8.jpg","text":"TemporaryFile(/tmp/multipartBody3822972702906752541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446453239,"filename":"image_12042025_07_25_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ba0dc666855c64de726ad8d5bab5198.jpg","text":"TemporaryFile(/tmp/multipartBody3619457446604707254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446453239,"filename":"image_12042025_07_24_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d67daf1f5d74a8b3f3f52890e454527.jpg","text":"TemporaryFile(/tmp/multipartBody7750557313203655149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446453239,"filename":"image_12042025_07_25_16_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352162686","file1":"1352162679","file0":"1352162677","file4":"1352162709","file5":"1352162723","file3":"1352162703"},"map_files_photo_id_array":[{"photo_id":"1352162723","filename":"file5"},{"photo_id":"1352162686","filename":"file2"},{"photo_id":"1352162709","filename":"file4"},{"photo_id":"1352162679","filename":"file1"},{"photo_id":"1352162677","filename":"file0"},{"photo_id":"1352162703","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352162709":["hashtag1","hashtag2"]},{"1352162723":["hashtag1","hashtag2"]},{"1352162677":["hashtag1","hashtag2"]},{"1352162686":["hashtag1","hashtag2"]},{"1352162679":["hashtag1","hashtag2"]},{"1352162703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352162709, 1352162723, 1352162677, 1352162686, 1352162679, 1352162703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24922966957092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:27:32.850179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_46_9352.jpg', '/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_57_10425.jpg', '/home/pi/Desktop/images/12042025/07/25/image_12042025_07_26_07_10363.jpg', '/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_16_9462.jpg', '/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_27_10356.jpg', '/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_36_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_46_9352.jpg
/home/pi/Desktop/images/12042025/07/25/image_12042025_07_25_57_10425.jpg
/home/pi/Desktop/images/12042025/07/25/image_12042025_07_26_07_10363.jpg
/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_16_9462.jpg
/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_27_10356.jpg
/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_36_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352162786","1352162873","1352162831","1352162849","1352162824","1352162818"],"photo_ids_order":["1352162786","1352162818","1352162824","1352162831","1352162849","1352162873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b675cf065b973f231ef02a9493a2afed.jpg","text":"TemporaryFile(/tmp/multipartBody977758608071983269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446513389,"filename":"image_12042025_07_25_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1fdd3e08678e9e02190e714494ccf31.jpg","text":"TemporaryFile(/tmp/multipartBody3964963454287204166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446513389,"filename":"image_12042025_07_26_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/655794407560d98b28a68a8bbc3f4c22.jpg","text":"TemporaryFile(/tmp/multipartBody1792850427363374421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446513389,"filename":"image_12042025_07_26_16_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3b5b33ddc2a3dfdd246d6558cf5ae63.jpg","text":"TemporaryFile(/tmp/multipartBody7590839010650668852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446513389,"filename":"image_12042025_07_26_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/989041f9965d62d7d0cba41f8a863bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2808832355653931993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446513389,"filename":"image_12042025_07_26_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1748538f6a4f50c9763aea5604a76dc3.jpg","text":"TemporaryFile(/tmp/multipartBody5709109719150815723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446513389,"filename":"image_12042025_07_25_57_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352162824","file1":"1352162818","file0":"1352162786","file4":"1352162849","file5":"1352162873","file3":"1352162831"},"map_files_photo_id_array":[{"photo_id":"1352162873","filename":"file5"},{"photo_id":"1352162824","filename":"file2"},{"photo_id":"1352162849","filename":"file4"},{"photo_id":"1352162818","filename":"file1"},{"photo_id":"1352162786","filename":"file0"},{"photo_id":"1352162831","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352162786":["hashtag1","hashtag2"]},{"1352162873":["hashtag1","hashtag2"]},{"1352162831":["hashtag1","hashtag2"]},{"1352162849":["hashtag1","hashtag2"]},{"1352162824":["hashtag1","hashtag2"]},{"1352162818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352162786, 1352162873, 1352162831, 1352162849, 1352162824, 1352162818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.660218715667725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:28:33.050727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_46_10355.jpg', '/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_57_10359.jpg', '/home/pi/Desktop/images/12042025/07/26/image_12042025_07_27_06_9442.jpg', '/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_17_10352.jpg', '/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_26_9352.jpg', '/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_36_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_46_10355.jpg
/home/pi/Desktop/images/12042025/07/26/image_12042025_07_26_57_10359.jpg
/home/pi/Desktop/images/12042025/07/26/image_12042025_07_27_06_9442.jpg
/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_17_10352.jpg
/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_26_9352.jpg
/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_36_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352163098","1352162978","1352163017","1352163052","1352163133","1352162992"],"photo_ids_order":["1352162978","1352162992","1352163017","1352163052","1352163098","1352163133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46b9e61ba84702d787b319788c239d0e.jpg","text":"TemporaryFile(/tmp/multipartBody329395552057903790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446573600,"filename":"image_12042025_07_27_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be944ff1e5f490d5009fc052cda3e08f.jpg","text":"TemporaryFile(/tmp/multipartBody5490108905191217898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446573600,"filename":"image_12042025_07_26_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d8fd26ea83faddb3a7e42ef5db5a19e.jpg","text":"TemporaryFile(/tmp/multipartBody8375867985525960658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446573600,"filename":"image_12042025_07_27_06_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/81f9c23a2eb573ff212e2c8f0e5a2e7d.jpg","text":"TemporaryFile(/tmp/multipartBody9041663582963289459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446573600,"filename":"image_12042025_07_27_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d98d26600263ff04ab1158d392815d7c.jpg","text":"TemporaryFile(/tmp/multipartBody4428658260181150615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446573600,"filename":"image_12042025_07_27_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e1609bbbba81a0d18c2496efb9267fd.jpg","text":"TemporaryFile(/tmp/multipartBody4782699726380930582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446573600,"filename":"image_12042025_07_26_57_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352163017","file1":"1352162992","file0":"1352162978","file4":"1352163098","file5":"1352163133","file3":"1352163052"},"map_files_photo_id_array":[{"photo_id":"1352163133","filename":"file5"},{"photo_id":"1352163017","filename":"file2"},{"photo_id":"1352163098","filename":"file4"},{"photo_id":"1352162992","filename":"file1"},{"photo_id":"1352162978","filename":"file0"},{"photo_id":"1352163052","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352163098":["hashtag1","hashtag2"]},{"1352162978":["hashtag1","hashtag2"]},{"1352163017":["hashtag1","hashtag2"]},{"1352163052":["hashtag1","hashtag2"]},{"1352163133":["hashtag1","hashtag2"]},{"1352162992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352163098, 1352162978, 1352163017, 1352163052, 1352163133, 1352162992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3672239780426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:29:32.223022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_47_10350.jpg', '/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_56_9436.jpg', '/home/pi/Desktop/images/12042025/07/27/image_12042025_07_28_07_10400.jpg', '/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_17_10362.jpg', '/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_26_9445.jpg', '/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_37_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_47_10350.jpg
/home/pi/Desktop/images/12042025/07/27/image_12042025_07_27_56_9436.jpg
/home/pi/Desktop/images/12042025/07/27/image_12042025_07_28_07_10400.jpg
/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_17_10362.jpg
/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_26_9445.jpg
/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_37_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352163659","1352163827","1352163490","1352163786","1352163360","1352163423"],"photo_ids_order":["1352163360","1352163423","1352163490","1352163659","1352163786","1352163827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/021dc142593e53c4e21f44586b3f67ae.jpg","text":"TemporaryFile(/tmp/multipartBody5715021809686804398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446632762,"filename":"image_12042025_07_28_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4698eb3830a2b1f33a55098a14ce3159.jpg","text":"TemporaryFile(/tmp/multipartBody3422879071001881556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446632762,"filename":"image_12042025_07_28_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa118f880c63a9e963f0247eba9f885d.jpg","text":"TemporaryFile(/tmp/multipartBody7091292529584425486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446632762,"filename":"image_12042025_07_28_07_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74b7524daea83d82da844521fa96fd16.jpg","text":"TemporaryFile(/tmp/multipartBody2380955124321982953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446632762,"filename":"image_12042025_07_28_26_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39b3f9d3c70672687e47b4d7938cd0da.jpg","text":"TemporaryFile(/tmp/multipartBody4756245711311517673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446632762,"filename":"image_12042025_07_27_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e01ccd612015ea1b946bd11a452d4300.jpg","text":"TemporaryFile(/tmp/multipartBody4046705623500620699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446632762,"filename":"image_12042025_07_27_56_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352163490","file1":"1352163423","file0":"1352163360","file4":"1352163786","file5":"1352163827","file3":"1352163659"},"map_files_photo_id_array":[{"photo_id":"1352163827","filename":"file5"},{"photo_id":"1352163490","filename":"file2"},{"photo_id":"1352163786","filename":"file4"},{"photo_id":"1352163423","filename":"file1"},{"photo_id":"1352163360","filename":"file0"},{"photo_id":"1352163659","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352163659":["hashtag1","hashtag2"]},{"1352163827":["hashtag1","hashtag2"]},{"1352163490":["hashtag1","hashtag2"]},{"1352163786":["hashtag1","hashtag2"]},{"1352163360":["hashtag1","hashtag2"]},{"1352163423":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352163659, 1352163827, 1352163490, 1352163786, 1352163360, 1352163423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.09140920639038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:30:32.639592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_46_9343.jpg', '/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_56_10340.jpg', '/home/pi/Desktop/images/12042025/07/28/image_12042025_07_29_07_10360.jpg', '/home/pi/Desktop/images/12042025/07/29/image_12042025_07_29_16_9342.jpg', '/home/pi/Desktop/images/12042025/07/29/image_12042025_07_29_27_10427.jpg', '/home/pi/Desktop/images/12042025/07/29/image_12042025_07_29_37_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_46_9343.jpg
/home/pi/Desktop/images/12042025/07/28/image_12042025_07_28_56_10340.jpg
/home/pi/Desktop/images/12042025/07/28/image_12042025_07_29_07_10360.jpg
/home/pi/Desktop/images/12042025/07/29/image_12042025_07_29_16_9342.jpg
/home/pi/Desktop/images/12042025/07/29/image_12042025_07_29_27_10427.jpg
/home/pi/Desktop/images/12042025/07/29/image_12042025_07_29_37_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352164130","1352164096","1352164177","1352164122","1352164119","1352164101"],"photo_ids_order":["1352164096","1352164101","1352164119","1352164122","1352164130","1352164177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f805e343aed023f40c56427015fb010a.jpg","text":"TemporaryFile(/tmp/multipartBody9098161631772519090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446693140,"filename":"image_12042025_07_29_27_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4455600e8ef102b17c3a2068e96cc28c.jpg","text":"TemporaryFile(/tmp/multipartBody5626227629753647972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446693140,"filename":"image_12042025_07_28_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af4ed95d06f2f918f0c1f9cc74836386.jpg","text":"TemporaryFile(/tmp/multipartBody7386758585077452745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446693140,"filename":"image_12042025_07_29_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02b8af022e8987311d24a9c914a7d1a0.jpg","text":"TemporaryFile(/tmp/multipartBody4689185877027832734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446693140,"filename":"image_12042025_07_29_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/372ee4b6e8031fe91b4c7cde96760428.jpg","text":"TemporaryFile(/tmp/multipartBody479675442641803247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446693140,"filename":"image_12042025_07_29_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec96ae50690f21cd38b0eafbfec83d42.jpg","text":"TemporaryFile(/tmp/multipartBody5038105081306477035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446693140,"filename":"image_12042025_07_28_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352164119","file1":"1352164101","file0":"1352164096","file4":"1352164130","file5":"1352164177","file3":"1352164122"},"map_files_photo_id_array":[{"photo_id":"1352164177","filename":"file5"},{"photo_id":"1352164119","filename":"file2"},{"photo_id":"1352164130","filename":"file4"},{"photo_id":"1352164101","filename":"file1"},{"photo_id":"1352164096","filename":"file0"},{"photo_id":"1352164122","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352164130":["hashtag1","hashtag2"]},{"1352164096":["hashtag1","hashtag2"]},{"1352164177":["hashtag1","hashtag2"]},{"1352164122":["hashtag1","hashtag2"]},{"1352164119":["hashtag1","hashtag2"]},{"1352164101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352164130, 1352164096, 1352164177, 1352164122, 1352164119, 1352164101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65305995941162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:31:32.857982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/29/image_12042025_07_29_57_10365.jpg', '/home/pi/Desktop/images/12042025/07/29/image_12042025_07_30_06_9410.jpg', '/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_16_10361.jpg', '/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_27_10358.jpg', '/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_36_9335.jpg', '/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_46_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/29/image_12042025_07_29_57_10365.jpg
/home/pi/Desktop/images/12042025/07/29/image_12042025_07_30_06_9410.jpg
/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_16_10361.jpg
/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_27_10358.jpg
/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_36_9335.jpg
/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_46_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352164316","1352164375","1352164360","1352164386","1352164287","1352164323"],"photo_ids_order":["1352164287","1352164316","1352164323","1352164360","1352164375","1352164386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8d833890b192bb48be789455e8ae2bf.jpg","text":"TemporaryFile(/tmp/multipartBody9101179314913272367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446753399,"filename":"image_12042025_07_30_06_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c98f1166286c82c654e29d3834a1a127.jpg","text":"TemporaryFile(/tmp/multipartBody8550914376580710364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446753399,"filename":"image_12042025_07_30_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff4a833a5dc8f8f050a3ea8d03511fce.jpg","text":"TemporaryFile(/tmp/multipartBody7983716270924134081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446753399,"filename":"image_12042025_07_30_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d0038e2eba7050c73b71875588737e1.jpg","text":"TemporaryFile(/tmp/multipartBody1786174392762527670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446753399,"filename":"image_12042025_07_30_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe28f0bd6a719e854aea99ea0aeea417.jpg","text":"TemporaryFile(/tmp/multipartBody2211131044512889780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446753399,"filename":"image_12042025_07_29_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8307df70d51812c6404063ae9c0a944a.jpg","text":"TemporaryFile(/tmp/multipartBody2663763753945427039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446753399,"filename":"image_12042025_07_30_16_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352164323","file1":"1352164316","file0":"1352164287","file4":"1352164375","file5":"1352164386","file3":"1352164360"},"map_files_photo_id_array":[{"photo_id":"1352164386","filename":"file5"},{"photo_id":"1352164323","filename":"file2"},{"photo_id":"1352164375","filename":"file4"},{"photo_id":"1352164316","filename":"file1"},{"photo_id":"1352164287","filename":"file0"},{"photo_id":"1352164360","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352164316":["hashtag1","hashtag2"]},{"1352164375":["hashtag1","hashtag2"]},{"1352164360":["hashtag1","hashtag2"]},{"1352164386":["hashtag1","hashtag2"]},{"1352164287":["hashtag1","hashtag2"]},{"1352164323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352164316, 1352164375, 1352164360, 1352164386, 1352164287, 1352164323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0737669467926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:32:32.979427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_57_10363.jpg', '/home/pi/Desktop/images/12042025/07/30/image_12042025_07_31_06_9530.jpg', '/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_17_10351.jpg', '/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_26_9364.jpg', '/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_37_10465.jpg', '/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_47_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/30/image_12042025_07_30_57_10363.jpg
/home/pi/Desktop/images/12042025/07/30/image_12042025_07_31_06_9530.jpg
/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_17_10351.jpg
/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_26_9364.jpg
/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_37_10465.jpg
/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_47_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352164498","1352164456","1352164435","1352164488","1352164473","1352164542"],"photo_ids_order":["1352164435","1352164456","1352164473","1352164488","1352164498","1352164542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07fce5d96cc7b85a49130056fc6ace24.jpg","text":"TemporaryFile(/tmp/multipartBody4069323194217636157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446813580,"filename":"image_12042025_07_31_37_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1701e4bf6fdb5b5dd965597acdb7218.jpg","text":"TemporaryFile(/tmp/multipartBody992024182252352941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446813580,"filename":"image_12042025_07_31_06_9530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f3f4e16583ee2b5bd070d774bf7b549.jpg","text":"TemporaryFile(/tmp/multipartBody4426014316025102195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446813580,"filename":"image_12042025_07_30_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9bd4e9d1027835f2bc7697b0779592b.jpg","text":"TemporaryFile(/tmp/multipartBody4339000440273140052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446813580,"filename":"image_12042025_07_31_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c51b22cad61c8cbff58b30aabc532c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1597175275812946983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446813580,"filename":"image_12042025_07_31_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39e6ca4ae8d76bb5fe7496fd2e529429.jpg","text":"TemporaryFile(/tmp/multipartBody374158625062634921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446813580,"filename":"image_12042025_07_31_47_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352164473","file1":"1352164456","file0":"1352164435","file4":"1352164498","file5":"1352164542","file3":"1352164488"},"map_files_photo_id_array":[{"photo_id":"1352164542","filename":"file5"},{"photo_id":"1352164473","filename":"file2"},{"photo_id":"1352164498","filename":"file4"},{"photo_id":"1352164456","filename":"file1"},{"photo_id":"1352164435","filename":"file0"},{"photo_id":"1352164488","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352164498":["hashtag1","hashtag2"]},{"1352164456":["hashtag1","hashtag2"]},{"1352164435":["hashtag1","hashtag2"]},{"1352164488":["hashtag1","hashtag2"]},{"1352164473":["hashtag1","hashtag2"]},{"1352164542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352164498, 1352164456, 1352164435, 1352164488, 1352164473, 1352164542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.893532276153564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:33:32.287944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_56_9395.jpg', '/home/pi/Desktop/images/12042025/07/31/image_12042025_07_32_07_10369.jpg', '/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_16_9356.jpg', '/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_26_10367.jpg', '/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_37_10354.jpg', '/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_46_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/31/image_12042025_07_31_56_9395.jpg
/home/pi/Desktop/images/12042025/07/31/image_12042025_07_32_07_10369.jpg
/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_16_9356.jpg
/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_26_10367.jpg
/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_37_10354.jpg
/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_46_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352164656","1352164659","1352164641","1352164637","1352164652","1352164646"],"photo_ids_order":["1352164637","1352164641","1352164646","1352164652","1352164656","1352164659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d7f048377a2bf3ce304944bb50334a6.jpg","text":"TemporaryFile(/tmp/multipartBody70393667864121909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446872829,"filename":"image_12042025_07_32_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80ab0ed6092fe14155a76eae89c7e77b.jpg","text":"TemporaryFile(/tmp/multipartBody531069005327869073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446872829,"filename":"image_12042025_07_32_46_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df093a1b53c0faed024d2bc82ceaa1b8.jpg","text":"TemporaryFile(/tmp/multipartBody7991651061551024193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446872829,"filename":"image_12042025_07_32_07_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dacf9c3e75fc298a8e55756eb53b5a91.jpg","text":"TemporaryFile(/tmp/multipartBody5294031308009928967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446872829,"filename":"image_12042025_07_31_56_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f2241bb2281698cfa2d0c0b10b6f53d.jpg","text":"TemporaryFile(/tmp/multipartBody7514233363003155782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446872829,"filename":"image_12042025_07_32_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fac1631cc68667cdb54160fe35054852.jpg","text":"TemporaryFile(/tmp/multipartBody7210988399707327752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446872829,"filename":"image_12042025_07_32_16_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352164646","file1":"1352164641","file0":"1352164637","file4":"1352164656","file5":"1352164659","file3":"1352164652"},"map_files_photo_id_array":[{"photo_id":"1352164659","filename":"file5"},{"photo_id":"1352164646","filename":"file2"},{"photo_id":"1352164656","filename":"file4"},{"photo_id":"1352164641","filename":"file1"},{"photo_id":"1352164637","filename":"file0"},{"photo_id":"1352164652","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352164656":["hashtag1","hashtag2"]},{"1352164659":["hashtag1","hashtag2"]},{"1352164641":["hashtag1","hashtag2"]},{"1352164637":["hashtag1","hashtag2"]},{"1352164652":["hashtag1","hashtag2"]},{"1352164646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352164656, 1352164659, 1352164641, 1352164637, 1352164652, 1352164646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57509708404541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:34:32.579251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_57_10373.jpg', '/home/pi/Desktop/images/12042025/07/32/image_12042025_07_33_06_9345.jpg', '/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_16_10448.jpg', '/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_27_10365.jpg', '/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_36_9352.jpg', '/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_47_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/32/image_12042025_07_32_57_10373.jpg
/home/pi/Desktop/images/12042025/07/32/image_12042025_07_33_06_9345.jpg
/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_16_10448.jpg
/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_27_10365.jpg
/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_36_9352.jpg
/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_47_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352164867","1352164863","1352164818","1352164767","1352164847","1352164760"],"photo_ids_order":["1352164760","1352164767","1352164818","1352164847","1352164863","1352164867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/919d1919a865aeb0c6ffca6e9ffd3880.jpg","text":"TemporaryFile(/tmp/multipartBody4103357975206601191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446933108,"filename":"image_12042025_07_33_47_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f6dd4a0a0a271a49430e81f1e199225.jpg","text":"TemporaryFile(/tmp/multipartBody6509711917673764996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446933108,"filename":"image_12042025_07_33_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/416dbb9737200bcc261d694d5e2ef339.jpg","text":"TemporaryFile(/tmp/multipartBody108520057810169755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446933108,"filename":"image_12042025_07_33_16_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2047348169ca7bab805e90a2fad54d2.jpg","text":"TemporaryFile(/tmp/multipartBody794842369941393789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446933108,"filename":"image_12042025_07_33_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbc315276287ea6c5aa87cfff2450f48.jpg","text":"TemporaryFile(/tmp/multipartBody938925359966569908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446933108,"filename":"image_12042025_07_33_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f9cd691c9106a1fa14aec4061636a80.jpg","text":"TemporaryFile(/tmp/multipartBody1044427516045304814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446933108,"filename":"image_12042025_07_32_57_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352164818","file1":"1352164767","file0":"1352164760","file4":"1352164863","file5":"1352164867","file3":"1352164847"},"map_files_photo_id_array":[{"photo_id":"1352164867","filename":"file5"},{"photo_id":"1352164818","filename":"file2"},{"photo_id":"1352164863","filename":"file4"},{"photo_id":"1352164767","filename":"file1"},{"photo_id":"1352164760","filename":"file0"},{"photo_id":"1352164847","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352164867":["hashtag1","hashtag2"]},{"1352164863":["hashtag1","hashtag2"]},{"1352164818":["hashtag1","hashtag2"]},{"1352164767":["hashtag1","hashtag2"]},{"1352164847":["hashtag1","hashtag2"]},{"1352164760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352164867, 1352164863, 1352164818, 1352164767, 1352164847, 1352164760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10711431503296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:35:32.909435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_57_10379.jpg', '/home/pi/Desktop/images/12042025/07/33/image_12042025_07_34_06_9443.jpg', '/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_17_10355.jpg', '/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_26_9425.jpg', '/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_37_10373.jpg', '/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_47_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/33/image_12042025_07_33_57_10379.jpg
/home/pi/Desktop/images/12042025/07/33/image_12042025_07_34_06_9443.jpg
/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_17_10355.jpg
/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_26_9425.jpg
/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_37_10373.jpg
/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_47_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352164954","1352164948","1352164992","1352164941","1352164938","1352164943"],"photo_ids_order":["1352164938","1352164941","1352164943","1352164948","1352164954","1352164992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e20113e6f93f36fa2ff854f03cfd0b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6542601697719323255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446993447,"filename":"image_12042025_07_34_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5520d8ea3dbb114dce1e2d53246679f.jpg","text":"TemporaryFile(/tmp/multipartBody7896332268333793436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446993447,"filename":"image_12042025_07_34_26_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/656f894b0984f2196067a8dab9468245.jpg","text":"TemporaryFile(/tmp/multipartBody749616141587286152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446993447,"filename":"image_12042025_07_34_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22ebf2273f34a496f35a91a34bffc9ee.jpg","text":"TemporaryFile(/tmp/multipartBody5406875699689560017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446993447,"filename":"image_12042025_07_34_06_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51c97249fb2ab1d8aafda126e2e1dbbb.jpg","text":"TemporaryFile(/tmp/multipartBody1778351654353198089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446993447,"filename":"image_12042025_07_33_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/18556a757b5a77a53422bd34292832a0.jpg","text":"TemporaryFile(/tmp/multipartBody7537708507546264011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744446993447,"filename":"image_12042025_07_34_17_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352164943","file1":"1352164941","file0":"1352164938","file4":"1352164954","file5":"1352164992","file3":"1352164948"},"map_files_photo_id_array":[{"photo_id":"1352164992","filename":"file5"},{"photo_id":"1352164943","filename":"file2"},{"photo_id":"1352164954","filename":"file4"},{"photo_id":"1352164941","filename":"file1"},{"photo_id":"1352164938","filename":"file0"},{"photo_id":"1352164948","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352164954":["hashtag1","hashtag2"]},{"1352164948":["hashtag1","hashtag2"]},{"1352164992":["hashtag1","hashtag2"]},{"1352164941":["hashtag1","hashtag2"]},{"1352164938":["hashtag1","hashtag2"]},{"1352164943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352164954, 1352164948, 1352164992, 1352164941, 1352164938, 1352164943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78335404396057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:36:33.100828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_56_9479.jpg', '/home/pi/Desktop/images/12042025/07/34/image_12042025_07_35_07_10357.jpg', '/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_16_9414.jpg', '/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_27_10396.jpg', '/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_37_10381.jpg', '/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_46_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/34/image_12042025_07_34_56_9479.jpg
/home/pi/Desktop/images/12042025/07/34/image_12042025_07_35_07_10357.jpg
/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_16_9414.jpg
/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_27_10396.jpg
/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_37_10381.jpg
/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_46_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352165056","1352165065","1352165085","1352165060","1352165092","1352165095"],"photo_ids_order":["1352165056","1352165060","1352165065","1352165085","1352165092","1352165095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad9622a9162a6b349193f7d531327bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3150448667676980655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447053638,"filename":"image_12042025_07_34_56_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd8d45be97e2b2bb00eac2fd6ef45a53.jpg","text":"TemporaryFile(/tmp/multipartBody5663418758391275456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447053638,"filename":"image_12042025_07_35_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed77e941411fe678ea63d84691f56bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3756800161201905608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447053638,"filename":"image_12042025_07_35_27_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2261775022ac9ee812a4f4cd95d08522.jpg","text":"TemporaryFile(/tmp/multipartBody8928125440843501784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447053638,"filename":"image_12042025_07_35_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd6d5a0144d8a8c8ff149a116b50ee54.jpg","text":"TemporaryFile(/tmp/multipartBody4184369024842557212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447053638,"filename":"image_12042025_07_35_37_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88b27aa83ec9bd40fea29db66b1ac65f.jpg","text":"TemporaryFile(/tmp/multipartBody526688862283047158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447053638,"filename":"image_12042025_07_35_46_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352165065","file1":"1352165060","file0":"1352165056","file4":"1352165092","file5":"1352165095","file3":"1352165085"},"map_files_photo_id_array":[{"photo_id":"1352165095","filename":"file5"},{"photo_id":"1352165065","filename":"file2"},{"photo_id":"1352165092","filename":"file4"},{"photo_id":"1352165060","filename":"file1"},{"photo_id":"1352165056","filename":"file0"},{"photo_id":"1352165085","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352165056":["hashtag1","hashtag2"]},{"1352165065":["hashtag1","hashtag2"]},{"1352165085":["hashtag1","hashtag2"]},{"1352165060":["hashtag1","hashtag2"]},{"1352165092":["hashtag1","hashtag2"]},{"1352165095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352165056, 1352165065, 1352165085, 1352165060, 1352165092, 1352165095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40316891670227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:37:32.439746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_57_10337.jpg', '/home/pi/Desktop/images/12042025/07/35/image_12042025_07_36_06_9355.jpg', '/home/pi/Desktop/images/12042025/07/36/image_12042025_07_36_16_10433.jpg', '/home/pi/Desktop/images/12042025/07/36/image_12042025_07_36_26_9929.jpg', '/home/pi/Desktop/images/12042025/07/36/image_12042025_07_36_57_10432.jpg', '/home/pi/Desktop/images/12042025/07/36/image_12042025_07_37_07_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/35/image_12042025_07_35_57_10337.jpg
/home/pi/Desktop/images/12042025/07/35/image_12042025_07_36_06_9355.jpg
/home/pi/Desktop/images/12042025/07/36/image_12042025_07_36_16_10433.jpg
/home/pi/Desktop/images/12042025/07/36/image_12042025_07_36_26_9929.jpg
/home/pi/Desktop/images/12042025/07/36/image_12042025_07_36_57_10432.jpg
/home/pi/Desktop/images/12042025/07/36/image_12042025_07_37_07_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352165140","1352165131","1352165125","1352165128","1352165136","1352165144"],"photo_ids_order":["1352165125","1352165128","1352165131","1352165136","1352165140","1352165144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48e3fb02c39616570587fac7f6d485d8.jpg","text":"TemporaryFile(/tmp/multipartBody6795374075453305141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447112974,"filename":"image_12042025_07_36_57_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9cc607d4e170c0eba7ea02ec0ea1b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6316575107683712253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447112974,"filename":"image_12042025_07_36_16_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74c041f5d5f9a6f7e95bd3ac9496dea4.jpg","text":"TemporaryFile(/tmp/multipartBody4007218978787408841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447112974,"filename":"image_12042025_07_35_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/807b734701e2aaca24838ec67664a11a.jpg","text":"TemporaryFile(/tmp/multipartBody3442717421357240837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447112974,"filename":"image_12042025_07_36_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1ba667074931b493882f57a8c332214.jpg","text":"TemporaryFile(/tmp/multipartBody4502741194957507195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447112974,"filename":"image_12042025_07_36_26_9929.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e7f850ec4dfeaacc0abca09a55f8c0c.jpg","text":"TemporaryFile(/tmp/multipartBody7651029110150766491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447112974,"filename":"image_12042025_07_37_07_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352165131","file1":"1352165128","file0":"1352165125","file4":"1352165140","file5":"1352165144","file3":"1352165136"},"map_files_photo_id_array":[{"photo_id":"1352165144","filename":"file5"},{"photo_id":"1352165131","filename":"file2"},{"photo_id":"1352165140","filename":"file4"},{"photo_id":"1352165128","filename":"file1"},{"photo_id":"1352165125","filename":"file0"},{"photo_id":"1352165136","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352165140":["hashtag1","hashtag2"]},{"1352165131":["hashtag1","hashtag2"]},{"1352165125":["hashtag1","hashtag2"]},{"1352165128":["hashtag1","hashtag2"]},{"1352165136":["hashtag1","hashtag2"]},{"1352165144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352165140, 1352165131, 1352165125, 1352165128, 1352165136, 1352165144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19318413734436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:38:32.748681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_16_9395.jpg', '/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_27_10350.jpg', '/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_36_9429.jpg', '/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_46_10370.jpg', '/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_57_10345.jpg', '/home/pi/Desktop/images/12042025/07/37/image_12042025_07_38_06_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_16_9395.jpg
/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_27_10350.jpg
/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_36_9429.jpg
/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_46_10370.jpg
/home/pi/Desktop/images/12042025/07/37/image_12042025_07_37_57_10345.jpg
/home/pi/Desktop/images/12042025/07/37/image_12042025_07_38_06_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352165170","1352165164","1352165181","1352165184","1352165193","1352165160"],"photo_ids_order":["1352165160","1352165164","1352165170","1352165181","1352165184","1352165193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d32ec78d0d3cea7d86b8ffc4d7fd09c.jpg","text":"TemporaryFile(/tmp/multipartBody3565457804395326276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447173279,"filename":"image_12042025_07_37_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b29a94bf8cdad8e5d1e17d11d8ac119.jpg","text":"TemporaryFile(/tmp/multipartBody4468135061711963492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447173279,"filename":"image_12042025_07_37_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf6a39db5178c6f9e723d92954cd781e.jpg","text":"TemporaryFile(/tmp/multipartBody5322195369353290683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447173279,"filename":"image_12042025_07_37_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50819c7353f77ad63a26fe8f53983c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1645406696602189039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447173279,"filename":"image_12042025_07_37_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7944a2c555f8bbb8ddc60f2ce15fddfd.jpg","text":"TemporaryFile(/tmp/multipartBody5477821183562570331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447173279,"filename":"image_12042025_07_38_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e79e3d564b779afa30205619175ffb3.jpg","text":"TemporaryFile(/tmp/multipartBody2980177188832478301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447173279,"filename":"image_12042025_07_37_16_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352165170","file1":"1352165164","file0":"1352165160","file4":"1352165184","file5":"1352165193","file3":"1352165181"},"map_files_photo_id_array":[{"photo_id":"1352165193","filename":"file5"},{"photo_id":"1352165170","filename":"file2"},{"photo_id":"1352165184","filename":"file4"},{"photo_id":"1352165164","filename":"file1"},{"photo_id":"1352165160","filename":"file0"},{"photo_id":"1352165181","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352165170":["hashtag1","hashtag2"]},{"1352165164":["hashtag1","hashtag2"]},{"1352165181":["hashtag1","hashtag2"]},{"1352165184":["hashtag1","hashtag2"]},{"1352165193":["hashtag1","hashtag2"]},{"1352165160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352165170, 1352165164, 1352165181, 1352165184, 1352165193, 1352165160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54702281951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:39:32.899590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_16_10341.jpg', '/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_27_10357.jpg', '/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_36_9363.jpg', '/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_47_10444.jpg', '/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_56_9356.jpg', '/home/pi/Desktop/images/12042025/07/38/image_12042025_07_39_06_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_16_10341.jpg
/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_27_10357.jpg
/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_36_9363.jpg
/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_47_10444.jpg
/home/pi/Desktop/images/12042025/07/38/image_12042025_07_38_56_9356.jpg
/home/pi/Desktop/images/12042025/07/38/image_12042025_07_39_06_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352165260","1352165283","1352165250","1352165253","1352165264","1352165267"],"photo_ids_order":["1352165250","1352165253","1352165260","1352165264","1352165267","1352165283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca87a7a8669d39293bf7d7f8a3253034.jpg","text":"TemporaryFile(/tmp/multipartBody934952043604583406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447233431,"filename":"image_12042025_07_38_36_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d47f297ba50489c71a359d32f5a6f4b4.jpg","text":"TemporaryFile(/tmp/multipartBody8631990919060732319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447233431,"filename":"image_12042025_07_39_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef1e17e03e06413c5dbb96a1d086992d.jpg","text":"TemporaryFile(/tmp/multipartBody8143200325870257590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447233431,"filename":"image_12042025_07_38_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6698411e331567cd5cf0f0a49bd71fde.jpg","text":"TemporaryFile(/tmp/multipartBody7814347185153888716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447233431,"filename":"image_12042025_07_38_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fa64a0660be5b04e710943b9e936bde.jpg","text":"TemporaryFile(/tmp/multipartBody187621965478345096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447233431,"filename":"image_12042025_07_38_47_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c77d5674f754e2ccaa1faa79492a38eb.jpg","text":"TemporaryFile(/tmp/multipartBody3891610954868484720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447233431,"filename":"image_12042025_07_38_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352165260","file1":"1352165253","file0":"1352165250","file4":"1352165267","file5":"1352165283","file3":"1352165264"},"map_files_photo_id_array":[{"photo_id":"1352165283","filename":"file5"},{"photo_id":"1352165260","filename":"file2"},{"photo_id":"1352165267","filename":"file4"},{"photo_id":"1352165253","filename":"file1"},{"photo_id":"1352165250","filename":"file0"},{"photo_id":"1352165264","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352165260":["hashtag1","hashtag2"]},{"1352165283":["hashtag1","hashtag2"]},{"1352165250":["hashtag1","hashtag2"]},{"1352165253":["hashtag1","hashtag2"]},{"1352165264":["hashtag1","hashtag2"]},{"1352165267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352165260, 1352165283, 1352165250, 1352165253, 1352165264, 1352165267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.12752056121826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:40:33.119753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_17_10343.jpg', '/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_26_9368.jpg', '/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_37_10476.jpg', '/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_47_10364.jpg', '/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_56_9405.jpg', '/home/pi/Desktop/images/12042025/07/39/image_12042025_07_40_07_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_17_10343.jpg
/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_26_9368.jpg
/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_37_10476.jpg
/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_47_10364.jpg
/home/pi/Desktop/images/12042025/07/39/image_12042025_07_39_56_9405.jpg
/home/pi/Desktop/images/12042025/07/39/image_12042025_07_40_07_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352165551","1352165611","1352165577","1352165724","1352165699","1352165485"],"photo_ids_order":["1352165485","1352165551","1352165577","1352165611","1352165699","1352165724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fe34ef327f952bba9646042f3fc130d.jpg","text":"TemporaryFile(/tmp/multipartBody3560945128608504424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447293644,"filename":"image_12042025_07_39_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aced0a6632f055a1aef7e29887bf7fbd.jpg","text":"TemporaryFile(/tmp/multipartBody6705477524794047422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447293644,"filename":"image_12042025_07_39_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3cfbfe62c79264d0df67e9212e8f3e3b.jpg","text":"TemporaryFile(/tmp/multipartBody640761353410882798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447293644,"filename":"image_12042025_07_39_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc776fa205a5995617d7bb1b46aa5d57.jpg","text":"TemporaryFile(/tmp/multipartBody5464176044636671961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447293644,"filename":"image_12042025_07_40_07_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9318b0f2457c6e78cdade0d6c58ed576.jpg","text":"TemporaryFile(/tmp/multipartBody8319237702005495442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447293644,"filename":"image_12042025_07_39_56_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62935e5a22ced27a7988a323d76026e2.jpg","text":"TemporaryFile(/tmp/multipartBody5512952618158031434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447293644,"filename":"image_12042025_07_39_17_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352165577","file1":"1352165551","file0":"1352165485","file4":"1352165699","file5":"1352165724","file3":"1352165611"},"map_files_photo_id_array":[{"photo_id":"1352165724","filename":"file5"},{"photo_id":"1352165577","filename":"file2"},{"photo_id":"1352165699","filename":"file4"},{"photo_id":"1352165551","filename":"file1"},{"photo_id":"1352165485","filename":"file0"},{"photo_id":"1352165611","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352165551":["hashtag1","hashtag2"]},{"1352165611":["hashtag1","hashtag2"]},{"1352165577":["hashtag1","hashtag2"]},{"1352165724":["hashtag1","hashtag2"]},{"1352165699":["hashtag1","hashtag2"]},{"1352165485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352165551, 1352165611, 1352165577, 1352165724, 1352165699, 1352165485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.13065958023071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:41:32.390968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_16_9349.jpg', '/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_26_10421.jpg', '/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_37_10346.jpg', '/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_46_9332.jpg', '/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_57_10432.jpg', '/home/pi/Desktop/images/12042025/07/40/image_12042025_07_41_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_16_9349.jpg
/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_26_10421.jpg
/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_37_10346.jpg
/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_46_9332.jpg
/home/pi/Desktop/images/12042025/07/40/image_12042025_07_40_57_10432.jpg
/home/pi/Desktop/images/12042025/07/40/image_12042025_07_41_07_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166025","1352166100","1352166129","1352165969","1352166152","1352166160"],"photo_ids_order":["1352165969","1352166025","1352166100","1352166129","1352166152","1352166160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8598d9d996b1f98392a79e5d467ca1d0.jpg","text":"TemporaryFile(/tmp/multipartBody1383159583722882481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447352876,"filename":"image_12042025_07_40_26_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d825a3a256ccb07388ad7a4b92118ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6189075333545009052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447352876,"filename":"image_12042025_07_40_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbbfc6683eba8654d69fc27e619b9049.jpg","text":"TemporaryFile(/tmp/multipartBody3118251750089234353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447352876,"filename":"image_12042025_07_40_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/693429aee7ac4799cd7761780f47cb9f.jpg","text":"TemporaryFile(/tmp/multipartBody5569334086556269716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447352876,"filename":"image_12042025_07_40_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4455e1db3ff57e5efd9f0d6419b23aaf.jpg","text":"TemporaryFile(/tmp/multipartBody8174047348460170749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447352876,"filename":"image_12042025_07_40_57_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac1d6015b7462429537983d112503ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7817205395767084824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447352876,"filename":"image_12042025_07_41_07_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166100","file1":"1352166025","file0":"1352165969","file4":"1352166152","file5":"1352166160","file3":"1352166129"},"map_files_photo_id_array":[{"photo_id":"1352166160","filename":"file5"},{"photo_id":"1352166100","filename":"file2"},{"photo_id":"1352166152","filename":"file4"},{"photo_id":"1352166025","filename":"file1"},{"photo_id":"1352165969","filename":"file0"},{"photo_id":"1352166129","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352166025":["hashtag1","hashtag2"]},{"1352166100":["hashtag1","hashtag2"]},{"1352166129":["hashtag1","hashtag2"]},{"1352165969":["hashtag1","hashtag2"]},{"1352166152":["hashtag1","hashtag2"]},{"1352166160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352166025, 1352166100, 1352166129, 1352165969, 1352166152, 1352166160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86090922355652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:42:32.742686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_16_9402.jpg', '/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_27_10366.jpg', '/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_36_9390.jpg', '/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_46_10356.jpg', '/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_57_10409.jpg', '/home/pi/Desktop/images/12042025/07/41/image_12042025_07_42_06_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_16_9402.jpg
/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_27_10366.jpg
/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_36_9390.jpg
/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_46_10356.jpg
/home/pi/Desktop/images/12042025/07/41/image_12042025_07_41_57_10409.jpg
/home/pi/Desktop/images/12042025/07/41/image_12042025_07_42_06_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166217","1352166231","1352166228","1352166213","1352166222","1352166226"],"photo_ids_order":["1352166213","1352166217","1352166222","1352166226","1352166228","1352166231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4c6cb425b3de125087ea2d020d7ba45.jpg","text":"TemporaryFile(/tmp/multipartBody1292974444010241782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447413210,"filename":"image_12042025_07_41_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d5fe933b7910cfb0f7206f493dfc765.jpg","text":"TemporaryFile(/tmp/multipartBody1372779943857290299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447413210,"filename":"image_12042025_07_42_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17a5763107a9da11defb1e303117dab3.jpg","text":"TemporaryFile(/tmp/multipartBody5381228234611740908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447413210,"filename":"image_12042025_07_41_57_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0628d53c3745b6685db3bd537b5bcc55.jpg","text":"TemporaryFile(/tmp/multipartBody2572720158183879044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447413210,"filename":"image_12042025_07_41_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/077c76bdf98c86e80189829a4c84ec14.jpg","text":"TemporaryFile(/tmp/multipartBody7873446031188213913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447413210,"filename":"image_12042025_07_41_36_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4fe53d34b86eea06dc67fcfbc666950.jpg","text":"TemporaryFile(/tmp/multipartBody6504250349886728165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447413210,"filename":"image_12042025_07_41_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166222","file1":"1352166217","file0":"1352166213","file4":"1352166228","file5":"1352166231","file3":"1352166226"},"map_files_photo_id_array":[{"photo_id":"1352166231","filename":"file5"},{"photo_id":"1352166222","filename":"file2"},{"photo_id":"1352166228","filename":"file4"},{"photo_id":"1352166217","filename":"file1"},{"photo_id":"1352166213","filename":"file0"},{"photo_id":"1352166226","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352166217":["hashtag1","hashtag2"]},{"1352166231":["hashtag1","hashtag2"]},{"1352166228":["hashtag1","hashtag2"]},{"1352166213":["hashtag1","hashtag2"]},{"1352166222":["hashtag1","hashtag2"]},{"1352166226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352166217, 1352166231, 1352166228, 1352166213, 1352166222, 1352166226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.057400941848755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:43:32.918987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_17_10354.jpg', '/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_26_9454.jpg', '/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_36_10382.jpg', '/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_47_10362.jpg', '/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_56_9342.jpg', '/home/pi/Desktop/images/12042025/07/42/image_12042025_07_43_07_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_17_10354.jpg
/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_26_9454.jpg
/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_36_10382.jpg
/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_47_10362.jpg
/home/pi/Desktop/images/12042025/07/42/image_12042025_07_42_56_9342.jpg
/home/pi/Desktop/images/12042025/07/42/image_12042025_07_43_07_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166255","1352166258","1352166267","1352166269","1352166262","1352166265"],"photo_ids_order":["1352166255","1352166258","1352166262","1352166265","1352166267","1352166269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7466bf2db7ed1e8399ead214bdcda358.jpg","text":"TemporaryFile(/tmp/multipartBody7420201287047879781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447473388,"filename":"image_12042025_07_42_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19f24ca14f81301844cbeb3038135100.jpg","text":"TemporaryFile(/tmp/multipartBody612223479430368795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447473388,"filename":"image_12042025_07_42_26_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/578df130b82582028b004d4e4f9650ee.jpg","text":"TemporaryFile(/tmp/multipartBody3780332103803256230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447473388,"filename":"image_12042025_07_42_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21a6ee8984cd0d6cc392dd72b051de56.jpg","text":"TemporaryFile(/tmp/multipartBody445239083826779717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447473388,"filename":"image_12042025_07_43_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59830e0198577b7124ee2550a54be054.jpg","text":"TemporaryFile(/tmp/multipartBody2863359114424570628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447473388,"filename":"image_12042025_07_42_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57e8e2c67f14fc8b8dac70125c918110.jpg","text":"TemporaryFile(/tmp/multipartBody3331008722820307703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447473388,"filename":"image_12042025_07_42_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166262","file1":"1352166258","file0":"1352166255","file4":"1352166267","file5":"1352166269","file3":"1352166265"},"map_files_photo_id_array":[{"photo_id":"1352166269","filename":"file5"},{"photo_id":"1352166262","filename":"file2"},{"photo_id":"1352166267","filename":"file4"},{"photo_id":"1352166258","filename":"file1"},{"photo_id":"1352166255","filename":"file0"},{"photo_id":"1352166265","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352166255":["hashtag1","hashtag2"]},{"1352166258":["hashtag1","hashtag2"]},{"1352166267":["hashtag1","hashtag2"]},{"1352166269":["hashtag1","hashtag2"]},{"1352166262":["hashtag1","hashtag2"]},{"1352166265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352166255, 1352166258, 1352166267, 1352166269, 1352166262, 1352166265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.66313934326172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:44:33.188331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/43/image_12042025_07_43_26_9434.jpg', '/home/pi/Desktop/images/12042025/07/43/image_12042025_07_43_46_9346.jpg', '/home/pi/Desktop/images/12042025/07/43/image_12042025_07_43_56_10362.jpg', '/home/pi/Desktop/images/12042025/07/43/image_12042025_07_44_07_10372.jpg', '/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_16_9433.jpg', '/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_27_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/43/image_12042025_07_43_26_9434.jpg
/home/pi/Desktop/images/12042025/07/43/image_12042025_07_43_46_9346.jpg
/home/pi/Desktop/images/12042025/07/43/image_12042025_07_43_56_10362.jpg
/home/pi/Desktop/images/12042025/07/43/image_12042025_07_44_07_10372.jpg
/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_16_9433.jpg
/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_27_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166310","1352166318","1352166321","1352166334","1352166328","1352166313"],"photo_ids_order":["1352166310","1352166313","1352166318","1352166321","1352166328","1352166334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ff0039f19ce03e29dd993f610a758b6.jpg","text":"TemporaryFile(/tmp/multipartBody7852827047316541365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447533659,"filename":"image_12042025_07_43_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7526ddac8332d9252a8481177dc7e3f8.jpg","text":"TemporaryFile(/tmp/multipartBody1267736038543883113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447533659,"filename":"image_12042025_07_43_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41402fc6ed16bc151490d89a610d17df.jpg","text":"TemporaryFile(/tmp/multipartBody7241015179976845793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447533659,"filename":"image_12042025_07_44_07_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06e16b4572b633381d4289be5b1f2a42.jpg","text":"TemporaryFile(/tmp/multipartBody4043482286511570903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447533659,"filename":"image_12042025_07_44_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f500c615fa83698037ea1a0b8fb8ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2165748072621002812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447533659,"filename":"image_12042025_07_44_16_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3db67e08c0654ba0c8c0ddbaf3e8a996.jpg","text":"TemporaryFile(/tmp/multipartBody8151569146368887934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447533659,"filename":"image_12042025_07_43_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166318","file1":"1352166313","file0":"1352166310","file4":"1352166328","file5":"1352166334","file3":"1352166321"},"map_files_photo_id_array":[{"photo_id":"1352166334","filename":"file5"},{"photo_id":"1352166318","filename":"file2"},{"photo_id":"1352166328","filename":"file4"},{"photo_id":"1352166313","filename":"file1"},{"photo_id":"1352166310","filename":"file0"},{"photo_id":"1352166321","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352166310":["hashtag1","hashtag2"]},{"1352166318":["hashtag1","hashtag2"]},{"1352166321":["hashtag1","hashtag2"]},{"1352166334":["hashtag1","hashtag2"]},{"1352166328":["hashtag1","hashtag2"]},{"1352166313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352166310, 1352166318, 1352166321, 1352166334, 1352166328, 1352166313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78505182266235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:45:32.254119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_36_9426.jpg', '/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_46_10425.jpg', '/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_57_10361.jpg', '/home/pi/Desktop/images/12042025/07/44/image_12042025_07_45_06_9345.jpg', '/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_17_10355.jpg', '/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_27_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_36_9426.jpg
/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_46_10425.jpg
/home/pi/Desktop/images/12042025/07/44/image_12042025_07_44_57_10361.jpg
/home/pi/Desktop/images/12042025/07/44/image_12042025_07_45_06_9345.jpg
/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_17_10355.jpg
/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_27_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166468","1352166543","1352166459","1352166512","1352166583","1352166631"],"photo_ids_order":["1352166459","1352166468","1352166512","1352166543","1352166583","1352166631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72ce76515b370444a00bef2d1a130f32.jpg","text":"TemporaryFile(/tmp/multipartBody4174436707835693601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447592726,"filename":"image_12042025_07_44_46_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fe14f229df8afcab8c4bd3d8b361a91.jpg","text":"TemporaryFile(/tmp/multipartBody862619241309501575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447592726,"filename":"image_12042025_07_45_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b8afd6b8b236fc7cad2acfb75e48137.jpg","text":"TemporaryFile(/tmp/multipartBody3021997143697428847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447592726,"filename":"image_12042025_07_44_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d594ff6952d496b52a607bbbd80ab55.jpg","text":"TemporaryFile(/tmp/multipartBody4267783331864780886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447592726,"filename":"image_12042025_07_44_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/231e8aa82e0d8cb2c35609bf05b218ec.jpg","text":"TemporaryFile(/tmp/multipartBody1951958918142611903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447592726,"filename":"image_12042025_07_45_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8c3fb56b782d93616f38af19b5b094e.jpg","text":"TemporaryFile(/tmp/multipartBody8790467023227707364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447592726,"filename":"image_12042025_07_45_27_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166512","file1":"1352166468","file0":"1352166459","file4":"1352166583","file5":"1352166631","file3":"1352166543"},"map_files_photo_id_array":[{"photo_id":"1352166631","filename":"file5"},{"photo_id":"1352166512","filename":"file2"},{"photo_id":"1352166583","filename":"file4"},{"photo_id":"1352166468","filename":"file1"},{"photo_id":"1352166459","filename":"file0"},{"photo_id":"1352166543","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352166468":["hashtag1","hashtag2"]},{"1352166543":["hashtag1","hashtag2"]},{"1352166459":["hashtag1","hashtag2"]},{"1352166512":["hashtag1","hashtag2"]},{"1352166583":["hashtag1","hashtag2"]},{"1352166631":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352166468, 1352166543, 1352166459, 1352166512, 1352166583, 1352166631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5270733833313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:46:32.502039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_36_9419.jpg', '/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_47_10340.jpg', '/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_56_9342.jpg', '/home/pi/Desktop/images/12042025/07/45/image_12042025_07_46_06_10370.jpg', '/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_17_10348.jpg', '/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_26_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_36_9419.jpg
/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_47_10340.jpg
/home/pi/Desktop/images/12042025/07/45/image_12042025_07_45_56_9342.jpg
/home/pi/Desktop/images/12042025/07/45/image_12042025_07_46_06_10370.jpg
/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_17_10348.jpg
/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_26_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166744","1352166737","1352166790","1352166691","1352166733","1352166763"],"photo_ids_order":["1352166691","1352166733","1352166737","1352166744","1352166763","1352166790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cdf64ab36d7ed7e4f2b5db4ebe523163.jpg","text":"TemporaryFile(/tmp/multipartBody7819888156854992393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447652974,"filename":"image_12042025_07_46_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60e15da454f2605ca434cee6e086b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5193738097639822945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447652974,"filename":"image_12042025_07_45_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/433a4b8ecd47fc690bba137673096ffe.jpg","text":"TemporaryFile(/tmp/multipartBody4541356707240182909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447652974,"filename":"image_12042025_07_46_26_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9248c88f7246273627110a3d4325ad1b.jpg","text":"TemporaryFile(/tmp/multipartBody2859268382721430704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447652974,"filename":"image_12042025_07_45_36_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aaf108a02f447b2b9b008ab86a2a208a.jpg","text":"TemporaryFile(/tmp/multipartBody6032127971878204767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447652974,"filename":"image_12042025_07_45_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbc191a76675d24d9ada725847643560.jpg","text":"TemporaryFile(/tmp/multipartBody3346327348573306035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447652974,"filename":"image_12042025_07_46_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166737","file1":"1352166733","file0":"1352166691","file4":"1352166763","file5":"1352166790","file3":"1352166744"},"map_files_photo_id_array":[{"photo_id":"1352166790","filename":"file5"},{"photo_id":"1352166737","filename":"file2"},{"photo_id":"1352166763","filename":"file4"},{"photo_id":"1352166733","filename":"file1"},{"photo_id":"1352166691","filename":"file0"},{"photo_id":"1352166744","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352166744":["hashtag1","hashtag2"]},{"1352166737":["hashtag1","hashtag2"]},{"1352166790":["hashtag1","hashtag2"]},{"1352166691":["hashtag1","hashtag2"]},{"1352166733":["hashtag1","hashtag2"]},{"1352166763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352166744, 1352166737, 1352166790, 1352166691, 1352166733, 1352166763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92634630203247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:47:32.630067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_37_10413.jpg', '/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_47_10374.jpg', '/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_56_9409.jpg', '/home/pi/Desktop/images/12042025/07/46/image_12042025_07_47_07_10438.jpg', '/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_16_9431.jpg', '/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_27_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_37_10413.jpg
/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_47_10374.jpg
/home/pi/Desktop/images/12042025/07/46/image_12042025_07_46_56_9409.jpg
/home/pi/Desktop/images/12042025/07/46/image_12042025_07_47_07_10438.jpg
/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_16_9431.jpg
/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_27_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166861","1352166867","1352166846","1352166849","1352166871","1352166856"],"photo_ids_order":["1352166846","1352166849","1352166856","1352166861","1352166867","1352166871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e405a9eb79130f91b2e0b40f90c4e51c.jpg","text":"TemporaryFile(/tmp/multipartBody7052097146580862644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447713094,"filename":"image_12042025_07_47_07_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03898881ea3545d551eeb4b1309bee33.jpg","text":"TemporaryFile(/tmp/multipartBody2651703731768016799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447713094,"filename":"image_12042025_07_47_16_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03c641300c0aeb10d85ca91dd1795479.jpg","text":"TemporaryFile(/tmp/multipartBody8098832788431040948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447713094,"filename":"image_12042025_07_46_37_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c3bea45dcf9a67a44aec21822967cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8106188371218255090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447713094,"filename":"image_12042025_07_46_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8af5ff00af464ef235de8e5cac91db98.jpg","text":"TemporaryFile(/tmp/multipartBody6213285214311167821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447713094,"filename":"image_12042025_07_47_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fca82b27c7b1624452da5676b52e83a.jpg","text":"TemporaryFile(/tmp/multipartBody1208359629219200250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447713094,"filename":"image_12042025_07_46_56_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166856","file1":"1352166849","file0":"1352166846","file4":"1352166867","file5":"1352166871","file3":"1352166861"},"map_files_photo_id_array":[{"photo_id":"1352166871","filename":"file5"},{"photo_id":"1352166856","filename":"file2"},{"photo_id":"1352166867","filename":"file4"},{"photo_id":"1352166849","filename":"file1"},{"photo_id":"1352166846","filename":"file0"},{"photo_id":"1352166861","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352166861":["hashtag1","hashtag2"]},{"1352166867":["hashtag1","hashtag2"]},{"1352166846":["hashtag1","hashtag2"]},{"1352166849":["hashtag1","hashtag2"]},{"1352166871":["hashtag1","hashtag2"]},{"1352166856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352166861, 1352166867, 1352166846, 1352166849, 1352166871, 1352166856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2704963684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:48:33.024504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_37_10371.jpg', '/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_46_9507.jpg', '/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_57_10353.jpg', '/home/pi/Desktop/images/12042025/07/47/image_12042025_07_48_06_9412.jpg', '/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_17_10407.jpg', '/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_27_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_37_10371.jpg
/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_46_9507.jpg
/home/pi/Desktop/images/12042025/07/47/image_12042025_07_47_57_10353.jpg
/home/pi/Desktop/images/12042025/07/47/image_12042025_07_48_06_9412.jpg
/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_17_10407.jpg
/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_27_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352166894","1352166885","1352166906","1352166899","1352166890","1352166901"],"photo_ids_order":["1352166885","1352166890","1352166894","1352166899","1352166901","1352166906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a093c9f6eb89bfd6c2be96088c4f65ed.jpg","text":"TemporaryFile(/tmp/multipartBody929012154237972609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447773479,"filename":"image_12042025_07_47_57_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fe896ca06046f762b2346273a54760d.jpg","text":"TemporaryFile(/tmp/multipartBody8547839844149063767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447773479,"filename":"image_12042025_07_47_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b70e7d29143c601608478bb01c2b60af.jpg","text":"TemporaryFile(/tmp/multipartBody6484288782800094512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447773479,"filename":"image_12042025_07_48_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71cac93ae42b3cccd6c282fad7a0d361.jpg","text":"TemporaryFile(/tmp/multipartBody4551645822887441823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447773479,"filename":"image_12042025_07_48_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a47914cf31209f0679af82c5474e1e28.jpg","text":"TemporaryFile(/tmp/multipartBody7587080231299312381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447773479,"filename":"image_12042025_07_47_46_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7beefa0668fd7b4322a8313c2162ce18.jpg","text":"TemporaryFile(/tmp/multipartBody5318614857713739738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447773479,"filename":"image_12042025_07_48_17_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352166894","file1":"1352166890","file0":"1352166885","file4":"1352166901","file5":"1352166906","file3":"1352166899"},"map_files_photo_id_array":[{"photo_id":"1352166906","filename":"file5"},{"photo_id":"1352166894","filename":"file2"},{"photo_id":"1352166901","filename":"file4"},{"photo_id":"1352166890","filename":"file1"},{"photo_id":"1352166885","filename":"file0"},{"photo_id":"1352166899","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352166894":["hashtag1","hashtag2"]},{"1352166885":["hashtag1","hashtag2"]},{"1352166906":["hashtag1","hashtag2"]},{"1352166899":["hashtag1","hashtag2"]},{"1352166890":["hashtag1","hashtag2"]},{"1352166901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352166894, 1352166885, 1352166906, 1352166899, 1352166890, 1352166901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02573370933533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:49:33.213649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_36_9418.jpg', '/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_47_10414.jpg', '/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_56_9345.jpg', '/home/pi/Desktop/images/12042025/07/48/image_12042025_07_49_07_10462.jpg', '/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_17_10337.jpg', '/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_26_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_36_9418.jpg
/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_47_10414.jpg
/home/pi/Desktop/images/12042025/07/48/image_12042025_07_48_56_9345.jpg
/home/pi/Desktop/images/12042025/07/48/image_12042025_07_49_07_10462.jpg
/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_17_10337.jpg
/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_26_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352167091","1352166968","1352167084","1352167048","1352166973","1352167095"],"photo_ids_order":["1352166968","1352166973","1352167048","1352167084","1352167091","1352167095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57322d4b2fe6b345657b9458e78edbff.jpg","text":"TemporaryFile(/tmp/multipartBody4742868869994371912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447833669,"filename":"image_12042025_07_49_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acf85fed2de756c60119ebd1d11ee6ef.jpg","text":"TemporaryFile(/tmp/multipartBody4964104705545936451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447833669,"filename":"image_12042025_07_48_36_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/116711b3744aedf2f2d3f7c533b03ccd.jpg","text":"TemporaryFile(/tmp/multipartBody7919158655759770015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447833669,"filename":"image_12042025_07_49_07_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e798b310da989c6a241693c1fab78989.jpg","text":"TemporaryFile(/tmp/multipartBody3937077714515893454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447833669,"filename":"image_12042025_07_48_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74e6fbf2d2a3085dfde0593b0f8e52ac.jpg","text":"TemporaryFile(/tmp/multipartBody4825870253877870220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447833669,"filename":"image_12042025_07_48_47_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2fecb0b289d79f104658f49f15ae69a.jpg","text":"TemporaryFile(/tmp/multipartBody1707788888447172460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447833669,"filename":"image_12042025_07_49_26_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352167048","file1":"1352166973","file0":"1352166968","file4":"1352167091","file5":"1352167095","file3":"1352167084"},"map_files_photo_id_array":[{"photo_id":"1352167095","filename":"file5"},{"photo_id":"1352167048","filename":"file2"},{"photo_id":"1352167091","filename":"file4"},{"photo_id":"1352166973","filename":"file1"},{"photo_id":"1352166968","filename":"file0"},{"photo_id":"1352167084","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352167091":["hashtag1","hashtag2"]},{"1352166968":["hashtag1","hashtag2"]},{"1352167084":["hashtag1","hashtag2"]},{"1352167048":["hashtag1","hashtag2"]},{"1352166973":["hashtag1","hashtag2"]},{"1352167095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352167091, 1352166968, 1352167084, 1352167048, 1352166973, 1352167095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44965720176697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:50:32.460659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_37_10358.jpg', '/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_46_9347.jpg', '/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_56_10453.jpg', '/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_06_9545.jpg', '/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_16_10420.jpg', '/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_27_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_37_10358.jpg
/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_46_9347.jpg
/home/pi/Desktop/images/12042025/07/49/image_12042025_07_49_56_10453.jpg
/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_06_9545.jpg
/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_16_10420.jpg
/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_27_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352167134","1352167143","1352167137","1352167131","1352167180","1352167168"],"photo_ids_order":["1352167131","1352167134","1352167137","1352167143","1352167168","1352167180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/107129e80413334c64d40f05973dc050.jpg","text":"TemporaryFile(/tmp/multipartBody7784045389387146827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447892925,"filename":"image_12042025_07_49_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21664f4521efc91afbdfffc2f470b9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6638874566982165001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447892925,"filename":"image_12042025_07_50_06_9545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e6f2221d4e05aea54f68c40de860aad.jpg","text":"TemporaryFile(/tmp/multipartBody8465787743644715681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447892925,"filename":"image_12042025_07_49_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6740fcb87333410c4d8e48d2bc52a3fa.jpg","text":"TemporaryFile(/tmp/multipartBody586072152477866670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447892925,"filename":"image_12042025_07_49_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90f08976bee35a5ea72184d3e48e067e.jpg","text":"TemporaryFile(/tmp/multipartBody2847798487135583597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447892925,"filename":"image_12042025_07_50_27_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/645f3deb23e0834145a97ae841eb53b3.jpg","text":"TemporaryFile(/tmp/multipartBody3376204643237802540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447892925,"filename":"image_12042025_07_50_16_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352167137","file1":"1352167134","file0":"1352167131","file4":"1352167168","file5":"1352167180","file3":"1352167143"},"map_files_photo_id_array":[{"photo_id":"1352167180","filename":"file5"},{"photo_id":"1352167137","filename":"file2"},{"photo_id":"1352167168","filename":"file4"},{"photo_id":"1352167134","filename":"file1"},{"photo_id":"1352167131","filename":"file0"},{"photo_id":"1352167143","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352167134":["hashtag1","hashtag2"]},{"1352167143":["hashtag1","hashtag2"]},{"1352167137":["hashtag1","hashtag2"]},{"1352167131":["hashtag1","hashtag2"]},{"1352167180":["hashtag1","hashtag2"]},{"1352167168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352167134, 1352167143, 1352167137, 1352167131, 1352167180, 1352167168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90696835517883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:51:32.689600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_36_9433.jpg', '/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_47_10356.jpg', '/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_56_9338.jpg', '/home/pi/Desktop/images/12042025/07/50/image_12042025_07_51_06_10440.jpg', '/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_17_10241.jpg', '/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_26_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_36_9433.jpg
/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_47_10356.jpg
/home/pi/Desktop/images/12042025/07/50/image_12042025_07_50_56_9338.jpg
/home/pi/Desktop/images/12042025/07/50/image_12042025_07_51_06_10440.jpg
/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_17_10241.jpg
/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_26_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352167242","1352167317","1352167302","1352167286","1352167256","1352167272"],"photo_ids_order":["1352167242","1352167256","1352167272","1352167286","1352167302","1352167317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f785cd4aff24da62382a013bee0dc333.jpg","text":"TemporaryFile(/tmp/multipartBody7726906104177639878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447953144,"filename":"image_12042025_07_50_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b4881d81d41b85255ed58f2de8e4201.jpg","text":"TemporaryFile(/tmp/multipartBody6027916207197868943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447953144,"filename":"image_12042025_07_51_26_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15c7ebb8a0ed7358d35c7d83f8c3df48.jpg","text":"TemporaryFile(/tmp/multipartBody4098011066370181230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447953144,"filename":"image_12042025_07_51_17_10241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb951821b6a3652d231ada9ab1193149.jpg","text":"TemporaryFile(/tmp/multipartBody7187019940607333915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447953144,"filename":"image_12042025_07_51_06_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2dae3a8b51f2666aba2fbfc8aa1219f0.jpg","text":"TemporaryFile(/tmp/multipartBody3286757241656661774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447953144,"filename":"image_12042025_07_50_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d2ba53ce2e53fc1b9706661dce26770.jpg","text":"TemporaryFile(/tmp/multipartBody1028582654009825366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744447953144,"filename":"image_12042025_07_50_56_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352167272","file1":"1352167256","file0":"1352167242","file4":"1352167302","file5":"1352167317","file3":"1352167286"},"map_files_photo_id_array":[{"photo_id":"1352167317","filename":"file5"},{"photo_id":"1352167272","filename":"file2"},{"photo_id":"1352167302","filename":"file4"},{"photo_id":"1352167256","filename":"file1"},{"photo_id":"1352167242","filename":"file0"},{"photo_id":"1352167286","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352167242":["hashtag1","hashtag2"]},{"1352167317":["hashtag1","hashtag2"]},{"1352167302":["hashtag1","hashtag2"]},{"1352167286":["hashtag1","hashtag2"]},{"1352167256":["hashtag1","hashtag2"]},{"1352167272":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352167242, 1352167317, 1352167302, 1352167286, 1352167256, 1352167272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27397274971008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:52:32.950104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_37_10440.jpg', '/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_47_10378.jpg', '/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_56_9487.jpg', '/home/pi/Desktop/images/12042025/07/51/image_12042025_07_52_07_10343.jpg', '/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_16_9437.jpg', '/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_27_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_37_10440.jpg
/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_47_10378.jpg
/home/pi/Desktop/images/12042025/07/51/image_12042025_07_51_56_9487.jpg
/home/pi/Desktop/images/12042025/07/51/image_12042025_07_52_07_10343.jpg
/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_16_9437.jpg
/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_27_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352167548","1352167527","1352167523","1352167570","1352167502","1352167603"],"photo_ids_order":["1352167502","1352167523","1352167527","1352167548","1352167570","1352167603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08644584f7bacbed2ce27dce314641be.jpg","text":"TemporaryFile(/tmp/multipartBody186075885956047115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448013413,"filename":"image_12042025_07_52_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21492b2ef490576588600821ee7daf03.jpg","text":"TemporaryFile(/tmp/multipartBody3556798045682619643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448013413,"filename":"image_12042025_07_51_56_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/436b9223d805ff3623fa4a4900377a38.jpg","text":"TemporaryFile(/tmp/multipartBody5501316878915063252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448013413,"filename":"image_12042025_07_51_47_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d548f62c8b106898348c84039aad83c3.jpg","text":"TemporaryFile(/tmp/multipartBody6371597131024969803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448013413,"filename":"image_12042025_07_52_16_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43feb565f1a8c4114917168f1a9f7b8a.jpg","text":"TemporaryFile(/tmp/multipartBody8390136150534601483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448013413,"filename":"image_12042025_07_51_37_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a5e2a3522d05b23dd78eb9ac3fbeab9.jpg","text":"TemporaryFile(/tmp/multipartBody6638159363432949565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448013413,"filename":"image_12042025_07_52_27_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352167527","file1":"1352167523","file0":"1352167502","file4":"1352167570","file5":"1352167603","file3":"1352167548"},"map_files_photo_id_array":[{"photo_id":"1352167603","filename":"file5"},{"photo_id":"1352167527","filename":"file2"},{"photo_id":"1352167570","filename":"file4"},{"photo_id":"1352167523","filename":"file1"},{"photo_id":"1352167502","filename":"file0"},{"photo_id":"1352167548","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352167548":["hashtag1","hashtag2"]},{"1352167527":["hashtag1","hashtag2"]},{"1352167523":["hashtag1","hashtag2"]},{"1352167570":["hashtag1","hashtag2"]},{"1352167502":["hashtag1","hashtag2"]},{"1352167603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352167548, 1352167527, 1352167523, 1352167570, 1352167502, 1352167603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02497053146362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:53:33.113759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_37_10365.jpg', '/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_46_9397.jpg', '/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_57_10344.jpg', '/home/pi/Desktop/images/12042025/07/52/image_12042025_07_53_06_9355.jpg', '/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_16_10439.jpg', '/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_27_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_37_10365.jpg
/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_46_9397.jpg
/home/pi/Desktop/images/12042025/07/52/image_12042025_07_52_57_10344.jpg
/home/pi/Desktop/images/12042025/07/52/image_12042025_07_53_06_9355.jpg
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_16_10439.jpg
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_27_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352167976","1352167961","1352167934","1352167910","1352167849","1352167900"],"photo_ids_order":["1352167849","1352167900","1352167910","1352167934","1352167961","1352167976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7588f1c49114038292e0880641bb94b.jpg","text":"TemporaryFile(/tmp/multipartBody5262493912947088437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448073587,"filename":"image_12042025_07_53_27_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c62b2f384eb5a4441661d1668a9cae9.jpg","text":"TemporaryFile(/tmp/multipartBody2411172848322812445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448073587,"filename":"image_12042025_07_53_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee401fc61cb2d947d3a8fb0f5a6c16b1.jpg","text":"TemporaryFile(/tmp/multipartBody4661408308968927032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448073587,"filename":"image_12042025_07_53_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0cef844b4a08ce02207d38649f4ef5b.jpg","text":"TemporaryFile(/tmp/multipartBody7983272316905146264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448073587,"filename":"image_12042025_07_52_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9543bfa07619de0c76ff4693c6d06e9.jpg","text":"TemporaryFile(/tmp/multipartBody3094544273855105083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448073587,"filename":"image_12042025_07_52_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0a4cf41fa22f9887323b18e4d8d4bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3127004702082768825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448073587,"filename":"image_12042025_07_52_46_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352167910","file1":"1352167900","file0":"1352167849","file4":"1352167961","file5":"1352167976","file3":"1352167934"},"map_files_photo_id_array":[{"photo_id":"1352167976","filename":"file5"},{"photo_id":"1352167910","filename":"file2"},{"photo_id":"1352167961","filename":"file4"},{"photo_id":"1352167900","filename":"file1"},{"photo_id":"1352167849","filename":"file0"},{"photo_id":"1352167934","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352167976":["hashtag1","hashtag2"]},{"1352167961":["hashtag1","hashtag2"]},{"1352167934":["hashtag1","hashtag2"]},{"1352167910":["hashtag1","hashtag2"]},{"1352167849":["hashtag1","hashtag2"]},{"1352167900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352167976, 1352167961, 1352167934, 1352167910, 1352167849, 1352167900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37525677680969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:54:32.286236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_36_9346.jpg', '/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_47_10434.jpg', '/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_56_9406.jpg', '/home/pi/Desktop/images/12042025/07/53/image_12042025_07_54_06_10436.jpg', '/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_17_10335.jpg', '/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_26_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_36_9346.jpg
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_47_10434.jpg
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_56_9406.jpg
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_54_06_10436.jpg
/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_17_10335.jpg
/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_26_9350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4118504524230957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 10:54:42.317994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_36_9346.jpg', '/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_47_10434.jpg', '/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_56_9406.jpg', '/home/pi/Desktop/images/12042025/07/53/image_12042025_07_54_06_10436.jpg', '/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_17_10335.jpg', '/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_26_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_36_9346.jpg
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_47_10434.jpg
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_53_56_9406.jpg
/home/pi/Desktop/images/12042025/07/53/image_12042025_07_54_06_10436.jpg
/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_17_10335.jpg
/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_26_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352168124","1352168159","1352168161","1352168164","1352168172","1352168148"],"photo_ids_order":["1352168124","1352168148","1352168159","1352168161","1352168164","1352168172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8242f18e7e7f5fee1965a43979125c29.jpg","text":"TemporaryFile(/tmp/multipartBody3815212444030694437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448142779,"filename":"image_12042025_07_53_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23764a9bb06737a423514f851e4fb3f0.jpg","text":"TemporaryFile(/tmp/multipartBody6594724676032924356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448142779,"filename":"image_12042025_07_53_56_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7dc703458e7c36538d6fce9becbb74e3.jpg","text":"TemporaryFile(/tmp/multipartBody2064509662406070285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448142779,"filename":"image_12042025_07_54_06_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3aa7ad365339dfe24b05e56aa06f318d.jpg","text":"TemporaryFile(/tmp/multipartBody8635979752652644269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448142779,"filename":"image_12042025_07_54_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13f54bf0fdcbe0c422a542b821b06069.jpg","text":"TemporaryFile(/tmp/multipartBody3623630315069687316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448142779,"filename":"image_12042025_07_54_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e3c6e8246c20d07d62f72d79794ec2d.jpg","text":"TemporaryFile(/tmp/multipartBody6415591051901592371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448142779,"filename":"image_12042025_07_53_47_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352168159","file1":"1352168148","file0":"1352168124","file4":"1352168164","file5":"1352168172","file3":"1352168161"},"map_files_photo_id_array":[{"photo_id":"1352168172","filename":"file5"},{"photo_id":"1352168159","filename":"file2"},{"photo_id":"1352168164","filename":"file4"},{"photo_id":"1352168148","filename":"file1"},{"photo_id":"1352168124","filename":"file0"},{"photo_id":"1352168161","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352168124":["hashtag1","hashtag2"]},{"1352168159":["hashtag1","hashtag2"]},{"1352168161":["hashtag1","hashtag2"]},{"1352168164":["hashtag1","hashtag2"]},{"1352168172":["hashtag1","hashtag2"]},{"1352168148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352168124, 1352168159, 1352168161, 1352168164, 1352168172, 1352168148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23625063896179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:55:32.506514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_37_10438.jpg', '/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_47_10369.jpg', '/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_56_9477.jpg', '/home/pi/Desktop/images/12042025/07/54/image_12042025_07_55_07_10344.jpg', '/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_16_9350.jpg', '/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_26_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_37_10438.jpg
/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_47_10369.jpg
/home/pi/Desktop/images/12042025/07/54/image_12042025_07_54_56_9477.jpg
/home/pi/Desktop/images/12042025/07/54/image_12042025_07_55_07_10344.jpg
/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_16_9350.jpg
/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_26_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352168403","1352168242","1352168311","1352168361","1352168244","1352168430"],"photo_ids_order":["1352168242","1352168244","1352168311","1352168361","1352168403","1352168430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85480217a397f2ec2a1e1f894af92507.jpg","text":"TemporaryFile(/tmp/multipartBody8228883956493349953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448193020,"filename":"image_12042025_07_55_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30f99653bd56c0187c5f792c74060a23.jpg","text":"TemporaryFile(/tmp/multipartBody919836927928638064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448193020,"filename":"image_12042025_07_54_37_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/339905cbe8489094e154d28cf1bfd6e4.jpg","text":"TemporaryFile(/tmp/multipartBody6459552870536328180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448193020,"filename":"image_12042025_07_54_56_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1a9a9e8abc0fb07420be1bd99ac1864.jpg","text":"TemporaryFile(/tmp/multipartBody3971483193671442268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448193020,"filename":"image_12042025_07_55_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e5f827e7132442a93f999aca764762d.jpg","text":"TemporaryFile(/tmp/multipartBody731506718837525020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448193020,"filename":"image_12042025_07_54_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0bc05aafba3960fb3466912fa900eb9c.jpg","text":"TemporaryFile(/tmp/multipartBody1230406875212008266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448193020,"filename":"image_12042025_07_55_26_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352168311","file1":"1352168244","file0":"1352168242","file4":"1352168403","file5":"1352168430","file3":"1352168361"},"map_files_photo_id_array":[{"photo_id":"1352168430","filename":"file5"},{"photo_id":"1352168311","filename":"file2"},{"photo_id":"1352168403","filename":"file4"},{"photo_id":"1352168244","filename":"file1"},{"photo_id":"1352168242","filename":"file0"},{"photo_id":"1352168361","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352168403":["hashtag1","hashtag2"]},{"1352168242":["hashtag1","hashtag2"]},{"1352168311":["hashtag1","hashtag2"]},{"1352168361":["hashtag1","hashtag2"]},{"1352168244":["hashtag1","hashtag2"]},{"1352168430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352168403, 1352168242, 1352168311, 1352168361, 1352168244, 1352168430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22497797012329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:56:32.700592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_37_10355.jpg', '/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_46_9351.jpg', '/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_57_10387.jpg', '/home/pi/Desktop/images/12042025/07/55/image_12042025_07_56_07_10365.jpg', '/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_16_9443.jpg', '/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_27_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_37_10355.jpg
/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_46_9351.jpg
/home/pi/Desktop/images/12042025/07/55/image_12042025_07_55_57_10387.jpg
/home/pi/Desktop/images/12042025/07/55/image_12042025_07_56_07_10365.jpg
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_16_9443.jpg
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_27_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352168816","1352169061","1352168749","1352169168","1352168886","1352168999"],"photo_ids_order":["1352168749","1352168816","1352168886","1352168999","1352169061","1352169168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f7745bce9332d30dbdc1079af602ac9.jpg","text":"TemporaryFile(/tmp/multipartBody640040085980065993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448253159,"filename":"image_12042025_07_55_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45d62746e371d2abc21b503b6a8bcf96.jpg","text":"TemporaryFile(/tmp/multipartBody2998796428184762165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448253159,"filename":"image_12042025_07_56_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49f0e3d3bf1be8b7038c1d5ef8979e00.jpg","text":"TemporaryFile(/tmp/multipartBody8029232667039969668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448253159,"filename":"image_12042025_07_55_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a660ee5f91e1a3d402ec3d0e60f8497e.jpg","text":"TemporaryFile(/tmp/multipartBody4084913493742844235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448253159,"filename":"image_12042025_07_56_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0db826929762ed5f1d16ff69d61801bc.jpg","text":"TemporaryFile(/tmp/multipartBody8830249224255014360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448253159,"filename":"image_12042025_07_55_57_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17a1eec708ea1af075aa3852eb3be6d5.jpg","text":"TemporaryFile(/tmp/multipartBody2045656168970026226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448253159,"filename":"image_12042025_07_56_07_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352168886","file1":"1352168816","file0":"1352168749","file4":"1352169061","file5":"1352169168","file3":"1352168999"},"map_files_photo_id_array":[{"photo_id":"1352169168","filename":"file5"},{"photo_id":"1352168886","filename":"file2"},{"photo_id":"1352169061","filename":"file4"},{"photo_id":"1352168816","filename":"file1"},{"photo_id":"1352168749","filename":"file0"},{"photo_id":"1352168999","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352168816":["hashtag1","hashtag2"]},{"1352169061":["hashtag1","hashtag2"]},{"1352168749":["hashtag1","hashtag2"]},{"1352169168":["hashtag1","hashtag2"]},{"1352168886":["hashtag1","hashtag2"]},{"1352168999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352168816, 1352169061, 1352168749, 1352169168, 1352168886, 1352168999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.210307598114014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 10:57:32.946616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_36_9336.jpg', '/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_46_10393.jpg', '/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_57_10342.jpg', '/home/pi/Desktop/images/12042025/07/56/image_12042025_07_57_06_9479.jpg', '/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_17_10396.jpg', '/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_26_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_36_9336.jpg
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_46_10393.jpg
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_57_10342.jpg
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_57_06_9479.jpg
/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_17_10396.jpg
/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_26_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 10:59:04.008575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_36_9336.jpg', '/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_46_10393.jpg', '/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_57_10342.jpg', '/home/pi/Desktop/images/12042025/07/56/image_12042025_07_57_06_9479.jpg', '/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_17_10396.jpg', '/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_26_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_36_9336.jpg
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_46_10393.jpg
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_56_57_10342.jpg
/home/pi/Desktop/images/12042025/07/56/image_12042025_07_57_06_9479.jpg
/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_17_10396.jpg
/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_26_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352170628","1352170390","1352170588","1352170480","1352170686","1352170428"],"photo_ids_order":["1352170390","1352170428","1352170480","1352170588","1352170628","1352170686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eeaac8c5976525fd54fe60d575e1d8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2246812167669587251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448404655,"filename":"image_12042025_07_57_17_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3903abe103e931cabc7bfbf63d7b473d.jpg","text":"TemporaryFile(/tmp/multipartBody7248940036423372616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448404655,"filename":"image_12042025_07_56_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3878f5e4a704c00e23af99e8c6f1e2ea.jpg","text":"TemporaryFile(/tmp/multipartBody1019264678560424820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448404655,"filename":"image_12042025_07_57_06_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44a51dab759b3357366237b6cfdf7c73.jpg","text":"TemporaryFile(/tmp/multipartBody7823845888388642469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448404655,"filename":"image_12042025_07_56_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c389b8926ba242051f0a7dd5b866d460.jpg","text":"TemporaryFile(/tmp/multipartBody3620698562323644580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448404655,"filename":"image_12042025_07_57_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60ea32564f4dc0ec8cb139532c3b3a25.jpg","text":"TemporaryFile(/tmp/multipartBody5165410343877833813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448404655,"filename":"image_12042025_07_56_46_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352170480","file1":"1352170428","file0":"1352170390","file4":"1352170628","file5":"1352170686","file3":"1352170588"},"map_files_photo_id_array":[{"photo_id":"1352170686","filename":"file5"},{"photo_id":"1352170480","filename":"file2"},{"photo_id":"1352170628","filename":"file4"},{"photo_id":"1352170428","filename":"file1"},{"photo_id":"1352170390","filename":"file0"},{"photo_id":"1352170588","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352170628":["hashtag1","hashtag2"]},{"1352170390":["hashtag1","hashtag2"]},{"1352170588":["hashtag1","hashtag2"]},{"1352170480":["hashtag1","hashtag2"]},{"1352170686":["hashtag1","hashtag2"]},{"1352170428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352170628, 1352170390, 1352170588, 1352170480, 1352170686, 1352170428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.803624391555786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:00:03.637768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_36_10437.jpg', '/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_47_10358.jpg', '/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_56_9351.jpg', '/home/pi/Desktop/images/12042025/07/57/image_12042025_07_58_07_10408.jpg', '/home/pi/Desktop/images/12042025/07/58/image_12042025_07_58_17_10359.jpg', '/home/pi/Desktop/images/12042025/07/58/image_12042025_07_58_26_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_36_10437.jpg
/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_47_10358.jpg
/home/pi/Desktop/images/12042025/07/57/image_12042025_07_57_56_9351.jpg
/home/pi/Desktop/images/12042025/07/57/image_12042025_07_58_07_10408.jpg
/home/pi/Desktop/images/12042025/07/58/image_12042025_07_58_17_10359.jpg
/home/pi/Desktop/images/12042025/07/58/image_12042025_07_58_26_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352171039","1352171423","1352171140","1352171206","1352171064","1352171294"],"photo_ids_order":["1352171039","1352171064","1352171140","1352171206","1352171294","1352171423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3839188a04b4950aa780b069d449a6e.jpg","text":"TemporaryFile(/tmp/multipartBody2403093980551391223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448464144,"filename":"image_12042025_07_57_36_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cacbb20ebaa40e5c36d895b6bb27ea96.jpg","text":"TemporaryFile(/tmp/multipartBody1831782147185132204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448464144,"filename":"image_12042025_07_58_26_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34991044d01bbcfee40a6703539d97e8.jpg","text":"TemporaryFile(/tmp/multipartBody1640775217158511713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448464144,"filename":"image_12042025_07_57_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d2368d825e757f3bfbfa972a0726661.jpg","text":"TemporaryFile(/tmp/multipartBody79070251417608562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448464144,"filename":"image_12042025_07_58_07_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfba8d569672679122590cc40ed5412a.jpg","text":"TemporaryFile(/tmp/multipartBody2816366439939196408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448464144,"filename":"image_12042025_07_57_47_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eccddd9621ca5717456434628c17e5b7.jpg","text":"TemporaryFile(/tmp/multipartBody7526775762350322962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448464144,"filename":"image_12042025_07_58_17_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352171140","file1":"1352171064","file0":"1352171039","file4":"1352171294","file5":"1352171423","file3":"1352171206"},"map_files_photo_id_array":[{"photo_id":"1352171423","filename":"file5"},{"photo_id":"1352171140","filename":"file2"},{"photo_id":"1352171294","filename":"file4"},{"photo_id":"1352171064","filename":"file1"},{"photo_id":"1352171039","filename":"file0"},{"photo_id":"1352171206","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352171039":["hashtag1","hashtag2"]},{"1352171423":["hashtag1","hashtag2"]},{"1352171140":["hashtag1","hashtag2"]},{"1352171206":["hashtag1","hashtag2"]},{"1352171064":["hashtag1","hashtag2"]},{"1352171294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352171039, 1352171423, 1352171140, 1352171206, 1352171064, 1352171294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.15424656867981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:01:04.629975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/07/58/image_12042025_07_59_07_10354.jpg', '/home/pi/Desktop/images/12042025/07/59/image_12042025_07_59_16_9347.jpg', '/home/pi/Desktop/images/12042025/07/59/image_12042025_07_59_27_10369.jpg', '/home/pi/Desktop/images/12042025/07/59/image_12042025_07_59_46_9451.jpg', '/home/pi/Desktop/images/12042025/07/59/image_12042025_07_59_57_10433.jpg', '/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_14_10073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/07/58/image_12042025_07_59_07_10354.jpg
/home/pi/Desktop/images/12042025/07/59/image_12042025_07_59_16_9347.jpg
/home/pi/Desktop/images/12042025/07/59/image_12042025_07_59_27_10369.jpg
/home/pi/Desktop/images/12042025/07/59/image_12042025_07_59_46_9451.jpg
/home/pi/Desktop/images/12042025/07/59/image_12042025_07_59_57_10433.jpg
/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_14_10073.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352171621","1352171647","1352171670","1352171763","1352171706","1352171588"],"photo_ids_order":["1352171588","1352171621","1352171647","1352171670","1352171706","1352171763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c30044a71c697c88416ba2e2e16787b2.jpg","text":"TemporaryFile(/tmp/multipartBody8839132383645512434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448525320,"filename":"image_12042025_07_59_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/887f4314aa03b42337d30eed13db7fa4.jpg","text":"TemporaryFile(/tmp/multipartBody598520733619931847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448525320,"filename":"image_12042025_07_59_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b78716c64acf88acc261eecb5812db5.jpg","text":"TemporaryFile(/tmp/multipartBody8673021299786341747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448525320,"filename":"image_12042025_07_59_46_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2b4ea1e4f0ffbe70cc580bfddad013b.jpg","text":"TemporaryFile(/tmp/multipartBody3557315548137918094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448525320,"filename":"image_12042025_08_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/421bb1457efbd7e3fe32d4ce1a7d4fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2032913842826220659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448525320,"filename":"image_12042025_07_59_57_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f5e72218c8b671f27dd146cff4b77b3.jpg","text":"TemporaryFile(/tmp/multipartBody4762230282080710287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448525320,"filename":"image_12042025_07_59_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352171647","file1":"1352171621","file0":"1352171588","file4":"1352171706","file5":"1352171763","file3":"1352171670"},"map_files_photo_id_array":[{"photo_id":"1352171763","filename":"file5"},{"photo_id":"1352171647","filename":"file2"},{"photo_id":"1352171706","filename":"file4"},{"photo_id":"1352171621","filename":"file1"},{"photo_id":"1352171588","filename":"file0"},{"photo_id":"1352171670","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352171621":["hashtag1","hashtag2"]},{"1352171647":["hashtag1","hashtag2"]},{"1352171670":["hashtag1","hashtag2"]},{"1352171763":["hashtag1","hashtag2"]},{"1352171706":["hashtag1","hashtag2"]},{"1352171588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352171621, 1352171647, 1352171670, 1352171763, 1352171706, 1352171588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89081692695618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:01:43.067983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_25_10380.jpg', '/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_35_10367.jpg', '/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_45_9432.jpg', '/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_55_10368.jpg', '/home/pi/Desktop/images/12042025/08/01/image_12042025_08_02_04_9452.jpg', '/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_15_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_25_10380.jpg
/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_35_10367.jpg
/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_45_9432.jpg
/home/pi/Desktop/images/12042025/08/01/image_12042025_08_01_55_10368.jpg
/home/pi/Desktop/images/12042025/08/01/image_12042025_08_02_04_9452.jpg
/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_15_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172079","1352172049","1352171992","1352172022","1352172104","1352171942"],"photo_ids_order":["1352171942","1352171992","1352172022","1352172049","1352172079","1352172104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9885b2c4e78a71ee6d74e30fbc39f58b.jpg","text":"TemporaryFile(/tmp/multipartBody4753661653907372941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448563525,"filename":"image_12042025_08_02_04_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bd3e3f1facf991713e730b12fd72a70.jpg","text":"TemporaryFile(/tmp/multipartBody1324670416224212154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448563525,"filename":"image_12042025_08_01_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb47960dca7250c62b8819179b7d1afb.jpg","text":"TemporaryFile(/tmp/multipartBody6393476039732320898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448563525,"filename":"image_12042025_08_01_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5a2f426a9de8e6dd20b703a812753f2.jpg","text":"TemporaryFile(/tmp/multipartBody711274356993497820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448563525,"filename":"image_12042025_08_01_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0cc0459a002262cc7c118b7ed230138.jpg","text":"TemporaryFile(/tmp/multipartBody5473511047717381655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448563525,"filename":"image_12042025_08_02_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/653c5eadde1519e324931caab6593207.jpg","text":"TemporaryFile(/tmp/multipartBody5796818111917794026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448563525,"filename":"image_12042025_08_01_25_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172022","file1":"1352171992","file0":"1352171942","file4":"1352172079","file5":"1352172104","file3":"1352172049"},"map_files_photo_id_array":[{"photo_id":"1352172104","filename":"file5"},{"photo_id":"1352172022","filename":"file2"},{"photo_id":"1352172079","filename":"file4"},{"photo_id":"1352171992","filename":"file1"},{"photo_id":"1352171942","filename":"file0"},{"photo_id":"1352172049","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352172079":["hashtag1","hashtag2"]},{"1352172049":["hashtag1","hashtag2"]},{"1352171992":["hashtag1","hashtag2"]},{"1352172022":["hashtag1","hashtag2"]},{"1352172104":["hashtag1","hashtag2"]},{"1352171942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352172079, 1352172049, 1352171992, 1352172022, 1352172104, 1352171942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54244589805603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:02:32.385487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_25_10386.jpg', '/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_35_9482.jpg', '/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_45_10376.jpg', '/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_54_9364.jpg', '/home/pi/Desktop/images/12042025/08/02/image_12042025_08_03_05_10374.jpg', '/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_25_10386.jpg
/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_35_9482.jpg
/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_45_10376.jpg
/home/pi/Desktop/images/12042025/08/02/image_12042025_08_02_54_9364.jpg
/home/pi/Desktop/images/12042025/08/02/image_12042025_08_03_05_10374.jpg
/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_15_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172373","1352172208","1352172342","1352172243","1352172416","1352172302"],"photo_ids_order":["1352172208","1352172243","1352172302","1352172342","1352172373","1352172416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c7398a3aac36b1b70c4499e3780f8dd.jpg","text":"TemporaryFile(/tmp/multipartBody1607236641135352855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448612851,"filename":"image_12042025_08_03_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9978b6c860ffbd6e32e8e74e88ac9042.jpg","text":"TemporaryFile(/tmp/multipartBody8947481201991348764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448612851,"filename":"image_12042025_08_02_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3065803e2870c558f2cc05af7f4f5f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4217316425795534079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448612851,"filename":"image_12042025_08_02_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7debe84b10329984631895087462a82.jpg","text":"TemporaryFile(/tmp/multipartBody6612923336536364445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448612851,"filename":"image_12042025_08_02_35_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26ac0fcb1b14ba4a099becef9c43f79c.jpg","text":"TemporaryFile(/tmp/multipartBody6897007379012319944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448612851,"filename":"image_12042025_08_03_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94836e791cf9564ef85b098881f77189.jpg","text":"TemporaryFile(/tmp/multipartBody8643151614141836024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448612851,"filename":"image_12042025_08_02_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172302","file1":"1352172243","file0":"1352172208","file4":"1352172373","file5":"1352172416","file3":"1352172342"},"map_files_photo_id_array":[{"photo_id":"1352172416","filename":"file5"},{"photo_id":"1352172302","filename":"file2"},{"photo_id":"1352172373","filename":"file4"},{"photo_id":"1352172243","filename":"file1"},{"photo_id":"1352172208","filename":"file0"},{"photo_id":"1352172342","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352172373":["hashtag1","hashtag2"]},{"1352172208":["hashtag1","hashtag2"]},{"1352172342":["hashtag1","hashtag2"]},{"1352172243":["hashtag1","hashtag2"]},{"1352172416":["hashtag1","hashtag2"]},{"1352172302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352172373, 1352172208, 1352172342, 1352172243, 1352172416, 1352172302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.15646505355835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:03:42.651400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_25_9440.jpg', '/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_35_10376.jpg', '/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_44_9417.jpg', '/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_55_10380.jpg', '/home/pi/Desktop/images/12042025/08/03/image_12042025_08_04_05_10397.jpg', '/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_15_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_25_9440.jpg
/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_35_10376.jpg
/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_44_9417.jpg
/home/pi/Desktop/images/12042025/08/03/image_12042025_08_03_55_10380.jpg
/home/pi/Desktop/images/12042025/08/03/image_12042025_08_04_05_10397.jpg
/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_15_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172574","1352172594","1352172552","1352172480","1352172581","1352172513"],"photo_ids_order":["1352172480","1352172513","1352172552","1352172574","1352172581","1352172594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/464d010898d5825c6beef1ee71b7c9ff.jpg","text":"TemporaryFile(/tmp/multipartBody5711867905038924885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448683131,"filename":"image_12042025_08_03_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/798992dadbbc0683fc18625495c6b97d.jpg","text":"TemporaryFile(/tmp/multipartBody5532733861039561673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448683131,"filename":"image_12042025_08_04_15_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a3ef53c76e021178f88f5feaf347d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1402154066917716453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448683131,"filename":"image_12042025_08_03_44_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37e2e91018026d77451a075c024ca12e.jpg","text":"TemporaryFile(/tmp/multipartBody2958955832772478470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448683131,"filename":"image_12042025_08_03_25_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fffd087e2ced9e9ac94fb491b3934a62.jpg","text":"TemporaryFile(/tmp/multipartBody5807737805395532440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448683131,"filename":"image_12042025_08_04_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ae6a9863761d1a177af22f55133c640.jpg","text":"TemporaryFile(/tmp/multipartBody398594951848783006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448683131,"filename":"image_12042025_08_03_35_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172552","file1":"1352172513","file0":"1352172480","file4":"1352172581","file5":"1352172594","file3":"1352172574"},"map_files_photo_id_array":[{"photo_id":"1352172594","filename":"file5"},{"photo_id":"1352172552","filename":"file2"},{"photo_id":"1352172581","filename":"file4"},{"photo_id":"1352172513","filename":"file1"},{"photo_id":"1352172480","filename":"file0"},{"photo_id":"1352172574","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352172574":["hashtag1","hashtag2"]},{"1352172594":["hashtag1","hashtag2"]},{"1352172552":["hashtag1","hashtag2"]},{"1352172480":["hashtag1","hashtag2"]},{"1352172581":["hashtag1","hashtag2"]},{"1352172513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352172574, 1352172594, 1352172552, 1352172480, 1352172581, 1352172513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74629092216492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:04:32.859776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_25_10369.jpg', '/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_34_9493.jpg', '/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_45_10444.jpg', '/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_55_10409.jpg', '/home/pi/Desktop/images/12042025/08/04/image_12042025_08_05_05_9412.jpg', '/home/pi/Desktop/images/12042025/08/05/image_12042025_08_05_15_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_25_10369.jpg
/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_34_9493.jpg
/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_45_10444.jpg
/home/pi/Desktop/images/12042025/08/04/image_12042025_08_04_55_10409.jpg
/home/pi/Desktop/images/12042025/08/04/image_12042025_08_05_05_9412.jpg
/home/pi/Desktop/images/12042025/08/05/image_12042025_08_05_15_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172652","1352172643","1352172625","1352172669","1352172630","1352172623"],"photo_ids_order":["1352172623","1352172625","1352172630","1352172643","1352172652","1352172669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e5031dbae6958b981392da1b5898176.jpg","text":"TemporaryFile(/tmp/multipartBody3576586047642824242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448733321,"filename":"image_12042025_08_05_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/222a58e3b27790239992a0b82915b455.jpg","text":"TemporaryFile(/tmp/multipartBody2557869181487912256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448733321,"filename":"image_12042025_08_04_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/869e8c7e8cb02d3def0772955d4a2423.jpg","text":"TemporaryFile(/tmp/multipartBody4514153222413739103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448733321,"filename":"image_12042025_08_04_34_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8649f3d2f3b9f04acc23ea006255b8a.jpg","text":"TemporaryFile(/tmp/multipartBody237879455713854893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448733321,"filename":"image_12042025_08_05_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcd05b86a4514ae300adfb93436609dc.jpg","text":"TemporaryFile(/tmp/multipartBody7358604847102130660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448733321,"filename":"image_12042025_08_04_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/745c85db3a10065c096cb2e794f20532.jpg","text":"TemporaryFile(/tmp/multipartBody1451678054741721953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448733321,"filename":"image_12042025_08_04_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172630","file1":"1352172625","file0":"1352172623","file4":"1352172652","file5":"1352172669","file3":"1352172643"},"map_files_photo_id_array":[{"photo_id":"1352172669","filename":"file5"},{"photo_id":"1352172630","filename":"file2"},{"photo_id":"1352172652","filename":"file4"},{"photo_id":"1352172625","filename":"file1"},{"photo_id":"1352172623","filename":"file0"},{"photo_id":"1352172643","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352172652":["hashtag1","hashtag2"]},{"1352172643":["hashtag1","hashtag2"]},{"1352172625":["hashtag1","hashtag2"]},{"1352172669":["hashtag1","hashtag2"]},{"1352172630":["hashtag1","hashtag2"]},{"1352172623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352172652, 1352172643, 1352172625, 1352172669, 1352172630, 1352172623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00676226615906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:05:33.024512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/05/image_12042025_08_05_24_9349.jpg', '/home/pi/Desktop/images/12042025/08/05/image_12042025_08_05_55_9456.jpg', '/home/pi/Desktop/images/12042025/08/05/image_12042025_08_06_05_10380.jpg', '/home/pi/Desktop/images/12042025/08/06/image_12042025_08_06_14_9340.jpg', '/home/pi/Desktop/images/12042025/08/06/image_12042025_08_06_35_10388.jpg', '/home/pi/Desktop/images/12042025/08/06/image_12042025_08_06_55_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/05/image_12042025_08_05_24_9349.jpg
/home/pi/Desktop/images/12042025/08/05/image_12042025_08_05_55_9456.jpg
/home/pi/Desktop/images/12042025/08/05/image_12042025_08_06_05_10380.jpg
/home/pi/Desktop/images/12042025/08/06/image_12042025_08_06_14_9340.jpg
/home/pi/Desktop/images/12042025/08/06/image_12042025_08_06_35_10388.jpg
/home/pi/Desktop/images/12042025/08/06/image_12042025_08_06_55_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352172748","1352172873","1352172771","1352172831","1352172807","1352172779"],"photo_ids_order":["1352172748","1352172771","1352172779","1352172807","1352172831","1352172873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21e163435175d6203b631fd5d2e74c93.jpg","text":"TemporaryFile(/tmp/multipartBody6924084014616715458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448793506,"filename":"image_12042025_08_05_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b3807d8924ba8b9d464992183862075.jpg","text":"TemporaryFile(/tmp/multipartBody2584441963940624556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448793506,"filename":"image_12042025_08_06_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/938ed18f06ef5ec8b3c0edd9910a4778.jpg","text":"TemporaryFile(/tmp/multipartBody1331613524016024133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448793506,"filename":"image_12042025_08_05_55_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a84a94b4d5da270716d872f19d94ad1.jpg","text":"TemporaryFile(/tmp/multipartBody7766113325215946504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448793506,"filename":"image_12042025_08_06_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/507efcfd4f99059d9a60c3fc2599937e.jpg","text":"TemporaryFile(/tmp/multipartBody7528776267644550680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448793506,"filename":"image_12042025_08_06_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef8e7bf3608ecac4551331af88ce4cab.jpg","text":"TemporaryFile(/tmp/multipartBody2866190577311257932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448793506,"filename":"image_12042025_08_06_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352172779","file1":"1352172771","file0":"1352172748","file4":"1352172831","file5":"1352172873","file3":"1352172807"},"map_files_photo_id_array":[{"photo_id":"1352172873","filename":"file5"},{"photo_id":"1352172779","filename":"file2"},{"photo_id":"1352172831","filename":"file4"},{"photo_id":"1352172771","filename":"file1"},{"photo_id":"1352172748","filename":"file0"},{"photo_id":"1352172807","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352172748":["hashtag1","hashtag2"]},{"1352172873":["hashtag1","hashtag2"]},{"1352172771":["hashtag1","hashtag2"]},{"1352172831":["hashtag1","hashtag2"]},{"1352172807":["hashtag1","hashtag2"]},{"1352172779":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352172748, 1352172873, 1352172771, 1352172831, 1352172807, 1352172779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.440096616744995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:06:32.219211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/06/image_12042025_08_07_05_9480.jpg', '/home/pi/Desktop/images/12042025/08/07/image_12042025_08_07_24_9422.jpg', '/home/pi/Desktop/images/12042025/08/07/image_12042025_08_07_35_10370.jpg', '/home/pi/Desktop/images/12042025/08/07/image_12042025_08_07_45_10408.jpg', '/home/pi/Desktop/images/12042025/08/07/image_12042025_08_07_55_9445.jpg', '/home/pi/Desktop/images/12042025/08/07/image_12042025_08_08_05_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/06/image_12042025_08_07_05_9480.jpg
/home/pi/Desktop/images/12042025/08/07/image_12042025_08_07_24_9422.jpg
/home/pi/Desktop/images/12042025/08/07/image_12042025_08_07_35_10370.jpg
/home/pi/Desktop/images/12042025/08/07/image_12042025_08_07_45_10408.jpg
/home/pi/Desktop/images/12042025/08/07/image_12042025_08_07_55_9445.jpg
/home/pi/Desktop/images/12042025/08/07/image_12042025_08_08_05_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352173711","1352173836","1352173440","1352173541","1352173523","1352173675"],"photo_ids_order":["1352173440","1352173523","1352173541","1352173675","1352173711","1352173836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/206101d74569aaf9f16acf3a5deee34a.jpg","text":"TemporaryFile(/tmp/multipartBody748660583546164131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448852698,"filename":"image_12042025_08_07_55_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3b8eec0db2e93512226279b09cda439.jpg","text":"TemporaryFile(/tmp/multipartBody7479439485252525941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448852698,"filename":"image_12042025_08_08_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7de3bc730f5dba6f489750141bc37b0.jpg","text":"TemporaryFile(/tmp/multipartBody2176868249343875013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448852698,"filename":"image_12042025_08_07_05_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/924c42945d505c7477a7f1e32ce03d10.jpg","text":"TemporaryFile(/tmp/multipartBody2941407734289460455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448852698,"filename":"image_12042025_08_07_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d4d9b77d34d047b40ec698edd904a00.jpg","text":"TemporaryFile(/tmp/multipartBody3229030698895580746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448852698,"filename":"image_12042025_08_07_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71d439ccade7e0dfd020a85f762a69f5.jpg","text":"TemporaryFile(/tmp/multipartBody2858555099711581097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448852698,"filename":"image_12042025_08_07_45_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352173541","file1":"1352173523","file0":"1352173440","file4":"1352173711","file5":"1352173836","file3":"1352173675"},"map_files_photo_id_array":[{"photo_id":"1352173836","filename":"file5"},{"photo_id":"1352173541","filename":"file2"},{"photo_id":"1352173711","filename":"file4"},{"photo_id":"1352173523","filename":"file1"},{"photo_id":"1352173440","filename":"file0"},{"photo_id":"1352173675","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352173711":["hashtag1","hashtag2"]},{"1352173836":["hashtag1","hashtag2"]},{"1352173440":["hashtag1","hashtag2"]},{"1352173541":["hashtag1","hashtag2"]},{"1352173523":["hashtag1","hashtag2"]},{"1352173675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352173711, 1352173836, 1352173440, 1352173541, 1352173523, 1352173675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.385213136672974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:07:32.455755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_14_9477.jpg', '/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_25_10373.jpg', '/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_35_10373.jpg', '/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_45_9383.jpg', '/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_55_10374.jpg', '/home/pi/Desktop/images/12042025/08/08/image_12042025_08_09_04_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_14_9477.jpg
/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_25_10373.jpg
/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_35_10373.jpg
/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_45_9383.jpg
/home/pi/Desktop/images/12042025/08/08/image_12042025_08_08_55_10374.jpg
/home/pi/Desktop/images/12042025/08/08/image_12042025_08_09_04_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352174310","1352174168","1352174243","1352174353","1352174401","1352174104"],"photo_ids_order":["1352174104","1352174168","1352174243","1352174310","1352174353","1352174401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd3fe38d0bc68e81eefa31a677505595.jpg","text":"TemporaryFile(/tmp/multipartBody3447346641048237371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448912940,"filename":"image_12042025_08_08_45_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac0d07f03625368ac7661a215e29b268.jpg","text":"TemporaryFile(/tmp/multipartBody2321757975360949982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448912940,"filename":"image_12042025_08_08_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbae910384a6e2452ab890d9ae25697a.jpg","text":"TemporaryFile(/tmp/multipartBody2201077444068875966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448912940,"filename":"image_12042025_08_08_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/675d49d4fe93f15a5f6986ca58f59a84.jpg","text":"TemporaryFile(/tmp/multipartBody31978512280995749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448912940,"filename":"image_12042025_08_08_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8edbc830674fdfd4e6094a005fd180a9.jpg","text":"TemporaryFile(/tmp/multipartBody4158623527547114115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448912940,"filename":"image_12042025_08_09_04_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad5d592601015c027e698d5b490c29dc.jpg","text":"TemporaryFile(/tmp/multipartBody6870922248890922205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448912940,"filename":"image_12042025_08_08_14_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352174243","file1":"1352174168","file0":"1352174104","file4":"1352174353","file5":"1352174401","file3":"1352174310"},"map_files_photo_id_array":[{"photo_id":"1352174401","filename":"file5"},{"photo_id":"1352174243","filename":"file2"},{"photo_id":"1352174353","filename":"file4"},{"photo_id":"1352174168","filename":"file1"},{"photo_id":"1352174104","filename":"file0"},{"photo_id":"1352174310","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352174310":["hashtag1","hashtag2"]},{"1352174168":["hashtag1","hashtag2"]},{"1352174243":["hashtag1","hashtag2"]},{"1352174353":["hashtag1","hashtag2"]},{"1352174401":["hashtag1","hashtag2"]},{"1352174104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352174310, 1352174168, 1352174243, 1352174353, 1352174401, 1352174104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85488295555115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:08:32.671762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_15_10367.jpg', '/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_25_10372.jpg', '/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_35_9460.jpg', '/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_45_10369.jpg', '/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_54_9474.jpg', '/home/pi/Desktop/images/12042025/08/09/image_12042025_08_10_05_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_15_10367.jpg
/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_25_10372.jpg
/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_35_9460.jpg
/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_45_10369.jpg
/home/pi/Desktop/images/12042025/08/09/image_12042025_08_09_54_9474.jpg
/home/pi/Desktop/images/12042025/08/09/image_12042025_08_10_05_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352175009","1352175137","1352175259","1352175073","1352175100","1352175205"],"photo_ids_order":["1352175009","1352175073","1352175100","1352175137","1352175205","1352175259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d458e01ae9b9a5424e6e2d8e3852201b.jpg","text":"TemporaryFile(/tmp/multipartBody3030956270835250884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448973124,"filename":"image_12042025_08_09_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e593a56a64663d0765f1d26b6aa6a8e1.jpg","text":"TemporaryFile(/tmp/multipartBody5669940065541618555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448973124,"filename":"image_12042025_08_09_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/458751e0b48340809480380df59cfb8b.jpg","text":"TemporaryFile(/tmp/multipartBody940219250095466367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448973124,"filename":"image_12042025_08_10_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3577afc6e163ffbb6aed03ff1f271359.jpg","text":"TemporaryFile(/tmp/multipartBody7384210130676730058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448973124,"filename":"image_12042025_08_09_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a85144e4d97609ade5372ca46b5bab4c.jpg","text":"TemporaryFile(/tmp/multipartBody7801948340446719328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448973124,"filename":"image_12042025_08_09_35_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98eda56dca362d17eb78c70154abf15d.jpg","text":"TemporaryFile(/tmp/multipartBody3914018445705507861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744448973124,"filename":"image_12042025_08_09_54_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352175100","file1":"1352175073","file0":"1352175009","file4":"1352175205","file5":"1352175259","file3":"1352175137"},"map_files_photo_id_array":[{"photo_id":"1352175259","filename":"file5"},{"photo_id":"1352175100","filename":"file2"},{"photo_id":"1352175205","filename":"file4"},{"photo_id":"1352175073","filename":"file1"},{"photo_id":"1352175009","filename":"file0"},{"photo_id":"1352175137","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352175009":["hashtag1","hashtag2"]},{"1352175137":["hashtag1","hashtag2"]},{"1352175259":["hashtag1","hashtag2"]},{"1352175073":["hashtag1","hashtag2"]},{"1352175100":["hashtag1","hashtag2"]},{"1352175205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352175009, 1352175137, 1352175259, 1352175073, 1352175100, 1352175205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7736542224884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:09:32.904413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_15_10367.jpg', '/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_25_9429.jpg', '/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_35_10372.jpg', '/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_44_9384.jpg', '/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_55_10409.jpg', '/home/pi/Desktop/images/12042025/08/10/image_12042025_08_11_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_15_10367.jpg
/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_25_9429.jpg
/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_35_10372.jpg
/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_44_9384.jpg
/home/pi/Desktop/images/12042025/08/10/image_12042025_08_10_55_10409.jpg
/home/pi/Desktop/images/12042025/08/10/image_12042025_08_11_05_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352175522","1352175785","1352175571","1352175622","1352175465","1352175744"],"photo_ids_order":["1352175465","1352175522","1352175571","1352175622","1352175744","1352175785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/499816d985c8c9eed2f13900ec736a6d.jpg","text":"TemporaryFile(/tmp/multipartBody586072756456075233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449033362,"filename":"image_12042025_08_10_25_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e60049ac4cef8de89e0e60cb00eb6cb.jpg","text":"TemporaryFile(/tmp/multipartBody8229609280618995297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449033362,"filename":"image_12042025_08_11_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8615d1849924e326bc568f21e012941.jpg","text":"TemporaryFile(/tmp/multipartBody4592505555062355989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449033362,"filename":"image_12042025_08_10_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d83923b6b7df29fa520392cf7e7f1526.jpg","text":"TemporaryFile(/tmp/multipartBody829227279394286318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449033362,"filename":"image_12042025_08_10_44_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a5cff11507e80d86c3ff63f3a6f153e.jpg","text":"TemporaryFile(/tmp/multipartBody1336171369013116069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449033362,"filename":"image_12042025_08_10_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5b02b119f379bda6b9d8d6f9fccdf3e.jpg","text":"TemporaryFile(/tmp/multipartBody5761923226849616147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449033362,"filename":"image_12042025_08_10_55_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352175571","file1":"1352175522","file0":"1352175465","file4":"1352175744","file5":"1352175785","file3":"1352175622"},"map_files_photo_id_array":[{"photo_id":"1352175785","filename":"file5"},{"photo_id":"1352175571","filename":"file2"},{"photo_id":"1352175744","filename":"file4"},{"photo_id":"1352175522","filename":"file1"},{"photo_id":"1352175465","filename":"file0"},{"photo_id":"1352175622","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352175522":["hashtag1","hashtag2"]},{"1352175785":["hashtag1","hashtag2"]},{"1352175571":["hashtag1","hashtag2"]},{"1352175622":["hashtag1","hashtag2"]},{"1352175465":["hashtag1","hashtag2"]},{"1352175744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352175522, 1352175785, 1352175571, 1352175622, 1352175465, 1352175744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.11998200416565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:10:33.129339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_14_9336.jpg', '/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_25_10372.jpg', '/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_35_10373.jpg', '/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_45_9417.jpg', '/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_55_10344.jpg', '/home/pi/Desktop/images/12042025/08/11/image_12042025_08_12_04_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_14_9336.jpg
/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_25_10372.jpg
/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_35_10373.jpg
/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_45_9417.jpg
/home/pi/Desktop/images/12042025/08/11/image_12042025_08_11_55_10344.jpg
/home/pi/Desktop/images/12042025/08/11/image_12042025_08_12_04_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352176328","1352176174","1352176153","1352176126","1352176108","1352176239"],"photo_ids_order":["1352176108","1352176126","1352176153","1352176174","1352176239","1352176328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da4a951d7eb574d2f0183b90a327d958.jpg","text":"TemporaryFile(/tmp/multipartBody7204981513491456934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449093591,"filename":"image_12042025_08_12_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2eec79e8c22309a336c9ec054de7e7fc.jpg","text":"TemporaryFile(/tmp/multipartBody1805660614691969098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449093591,"filename":"image_12042025_08_11_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/409f0f439eb9a616c70dc7846a28e8eb.jpg","text":"TemporaryFile(/tmp/multipartBody2886578443037817680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449093591,"filename":"image_12042025_08_11_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4bb72a74a1162205bfc2ee3cf6327249.jpg","text":"TemporaryFile(/tmp/multipartBody5146062163488776242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449093591,"filename":"image_12042025_08_11_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2c0ae701a16966f22bcaad13b6edc53.jpg","text":"TemporaryFile(/tmp/multipartBody3154961517078066299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449093591,"filename":"image_12042025_08_11_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df6d98fc9fbcd971385b699da861889c.jpg","text":"TemporaryFile(/tmp/multipartBody5450035264342755514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449093591,"filename":"image_12042025_08_11_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352176153","file1":"1352176126","file0":"1352176108","file4":"1352176239","file5":"1352176328","file3":"1352176174"},"map_files_photo_id_array":[{"photo_id":"1352176328","filename":"file5"},{"photo_id":"1352176153","filename":"file2"},{"photo_id":"1352176239","filename":"file4"},{"photo_id":"1352176126","filename":"file1"},{"photo_id":"1352176108","filename":"file0"},{"photo_id":"1352176174","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352176328":["hashtag1","hashtag2"]},{"1352176174":["hashtag1","hashtag2"]},{"1352176153":["hashtag1","hashtag2"]},{"1352176126":["hashtag1","hashtag2"]},{"1352176108":["hashtag1","hashtag2"]},{"1352176239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352176328, 1352176174, 1352176153, 1352176126, 1352176108, 1352176239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.746819496154785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:11:32.447044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_15_10352.jpg', '/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_25_10366.jpg', '/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_35_9467.jpg', '/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_45_10416.jpg', '/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_54_9432.jpg', '/home/pi/Desktop/images/12042025/08/12/image_12042025_08_13_05_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_15_10352.jpg
/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_25_10366.jpg
/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_35_9467.jpg
/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_45_10416.jpg
/home/pi/Desktop/images/12042025/08/12/image_12042025_08_12_54_9432.jpg
/home/pi/Desktop/images/12042025/08/12/image_12042025_08_13_05_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352176673","1352176978","1352176903","1352176732","1352176599","1352176816"],"photo_ids_order":["1352176599","1352176673","1352176732","1352176816","1352176903","1352176978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49b4fe9b75a8ff03fc49d008815ff1a4.jpg","text":"TemporaryFile(/tmp/multipartBody6770229426647187868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449152906,"filename":"image_12042025_08_12_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea529c9675dc38988743b0b3cdd0bec7.jpg","text":"TemporaryFile(/tmp/multipartBody796644787606312658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449152906,"filename":"image_12042025_08_13_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89e7cae30d4018197ae3912b5409d072.jpg","text":"TemporaryFile(/tmp/multipartBody562636025995458484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449152906,"filename":"image_12042025_08_12_54_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e87631c19ccab75e6d75cc64943f1069.jpg","text":"TemporaryFile(/tmp/multipartBody3552310289001358064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449152906,"filename":"image_12042025_08_12_35_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0ec54f1b0cfb1d6ce448a9740fb6568.jpg","text":"TemporaryFile(/tmp/multipartBody8723968850803195134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449152906,"filename":"image_12042025_08_12_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f2a218564d9bbcf60ed7920c74cb922.jpg","text":"TemporaryFile(/tmp/multipartBody688517396600250319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449152906,"filename":"image_12042025_08_12_45_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352176732","file1":"1352176673","file0":"1352176599","file4":"1352176903","file5":"1352176978","file3":"1352176816"},"map_files_photo_id_array":[{"photo_id":"1352176978","filename":"file5"},{"photo_id":"1352176732","filename":"file2"},{"photo_id":"1352176903","filename":"file4"},{"photo_id":"1352176673","filename":"file1"},{"photo_id":"1352176599","filename":"file0"},{"photo_id":"1352176816","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352176673":["hashtag1","hashtag2"]},{"1352176978":["hashtag1","hashtag2"]},{"1352176903":["hashtag1","hashtag2"]},{"1352176732":["hashtag1","hashtag2"]},{"1352176599":["hashtag1","hashtag2"]},{"1352176816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352176673, 1352176978, 1352176903, 1352176732, 1352176599, 1352176816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.283039808273315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:12:32.689378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_15_10384.jpg', '/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_25_9358.jpg', '/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_35_10370.jpg', '/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_44_9426.jpg', '/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_55_10366.jpg', '/home/pi/Desktop/images/12042025/08/13/image_12042025_08_14_05_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_15_10384.jpg
/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_25_9358.jpg
/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_35_10370.jpg
/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_44_9426.jpg
/home/pi/Desktop/images/12042025/08/13/image_12042025_08_13_55_10366.jpg
/home/pi/Desktop/images/12042025/08/13/image_12042025_08_14_05_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352177767","1352177728","1352177685","1352177472","1352177535","1352177616"],"photo_ids_order":["1352177472","1352177535","1352177616","1352177685","1352177728","1352177767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5da247160662932b88632b7b555912d1.jpg","text":"TemporaryFile(/tmp/multipartBody7281106817171839450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449213147,"filename":"image_12042025_08_14_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c7cee40a0039494ed4c5e2b12624d77.jpg","text":"TemporaryFile(/tmp/multipartBody7637376548542885997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449213147,"filename":"image_12042025_08_13_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54bc9217ecdab7d8c5acf08c8f52b536.jpg","text":"TemporaryFile(/tmp/multipartBody6330285589367505065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449213147,"filename":"image_12042025_08_13_44_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5beaa6a6631715b24d8c32f56c01ef2f.jpg","text":"TemporaryFile(/tmp/multipartBody5801664638222242745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449213147,"filename":"image_12042025_08_13_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cdd2105528eab117052f674b679331b.jpg","text":"TemporaryFile(/tmp/multipartBody9210062034741735714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449213147,"filename":"image_12042025_08_13_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efcb4c01b2b2289e0e8eb473645f5c42.jpg","text":"TemporaryFile(/tmp/multipartBody4754398806946813509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449213147,"filename":"image_12042025_08_13_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352177616","file1":"1352177535","file0":"1352177472","file4":"1352177728","file5":"1352177767","file3":"1352177685"},"map_files_photo_id_array":[{"photo_id":"1352177767","filename":"file5"},{"photo_id":"1352177616","filename":"file2"},{"photo_id":"1352177728","filename":"file4"},{"photo_id":"1352177535","filename":"file1"},{"photo_id":"1352177472","filename":"file0"},{"photo_id":"1352177685","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352177767":["hashtag1","hashtag2"]},{"1352177728":["hashtag1","hashtag2"]},{"1352177685":["hashtag1","hashtag2"]},{"1352177472":["hashtag1","hashtag2"]},{"1352177535":["hashtag1","hashtag2"]},{"1352177616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352177767, 1352177728, 1352177685, 1352177472, 1352177535, 1352177616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.495768547058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:13:33.001232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_14_9425.jpg', '/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_25_10373.jpg', '/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_34_9412.jpg', '/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_45_10425.jpg', '/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_55_10370.jpg', '/home/pi/Desktop/images/12042025/08/14/image_12042025_08_15_04_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_14_9425.jpg
/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_25_10373.jpg
/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_34_9412.jpg
/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_45_10425.jpg
/home/pi/Desktop/images/12042025/08/14/image_12042025_08_14_55_10370.jpg
/home/pi/Desktop/images/12042025/08/14/image_12042025_08_15_04_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178058","1352177980","1352178136","1352178159","1352178132","1352178105"],"photo_ids_order":["1352177980","1352178058","1352178105","1352178132","1352178136","1352178159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aafd439fd76e7a8cd794d05616625f24.jpg","text":"TemporaryFile(/tmp/multipartBody6963528391023929926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449273477,"filename":"image_12042025_08_14_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e25184aff3804c29f8285cedf00d113d.jpg","text":"TemporaryFile(/tmp/multipartBody2771068466175420047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449273477,"filename":"image_12042025_08_14_14_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d298bf8fb8bb1ff232052fcbe06b39e.jpg","text":"TemporaryFile(/tmp/multipartBody8309530417495250491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449273477,"filename":"image_12042025_08_14_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54c955cc098d61518aa15cb12f1d1501.jpg","text":"TemporaryFile(/tmp/multipartBody8397321527909536215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449273477,"filename":"image_12042025_08_15_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b09da045d5b9088476ebaba05c0dede9.jpg","text":"TemporaryFile(/tmp/multipartBody2132903345165780678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449273477,"filename":"image_12042025_08_14_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d09286ebe93ffba43cc93dc69794b4e.jpg","text":"TemporaryFile(/tmp/multipartBody790993922286545777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449273477,"filename":"image_12042025_08_14_34_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178105","file1":"1352178058","file0":"1352177980","file4":"1352178136","file5":"1352178159","file3":"1352178132"},"map_files_photo_id_array":[{"photo_id":"1352178159","filename":"file5"},{"photo_id":"1352178105","filename":"file2"},{"photo_id":"1352178136","filename":"file4"},{"photo_id":"1352178058","filename":"file1"},{"photo_id":"1352177980","filename":"file0"},{"photo_id":"1352178132","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352178058":["hashtag1","hashtag2"]},{"1352177980":["hashtag1","hashtag2"]},{"1352178136":["hashtag1","hashtag2"]},{"1352178159":["hashtag1","hashtag2"]},{"1352178132":["hashtag1","hashtag2"]},{"1352178105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352178058, 1352177980, 1352178136, 1352178159, 1352178132, 1352178105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.45450448989868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:14:33.090667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/15/image_12042025_08_15_15_10384.jpg', '/home/pi/Desktop/images/12042025/08/15/image_12042025_08_15_35_10514.jpg', '/home/pi/Desktop/images/12042025/08/15/image_12042025_08_15_44_9425.jpg', '/home/pi/Desktop/images/12042025/08/15/image_12042025_08_16_05_10131.jpg', '/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_14_9456.jpg', '/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/15/image_12042025_08_15_15_10384.jpg
/home/pi/Desktop/images/12042025/08/15/image_12042025_08_15_35_10514.jpg
/home/pi/Desktop/images/12042025/08/15/image_12042025_08_15_44_9425.jpg
/home/pi/Desktop/images/12042025/08/15/image_12042025_08_16_05_10131.jpg
/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_14_9456.jpg
/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_25_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178212","1352178196","1352178208","1352178192","1352178203","1352178187"],"photo_ids_order":["1352178187","1352178192","1352178196","1352178203","1352178208","1352178212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fed8788c13446700ab75a7cbf9b5a507.jpg","text":"TemporaryFile(/tmp/multipartBody8566050667091575980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449333545,"filename":"image_12042025_08_16_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b91a0d73d574b99182927b4282f87cae.jpg","text":"TemporaryFile(/tmp/multipartBody7456927676258765548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449333545,"filename":"image_12042025_08_15_44_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4c8491392c745e9ec7eadbb5aefe90d.jpg","text":"TemporaryFile(/tmp/multipartBody3268467589379131413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449333545,"filename":"image_12042025_08_16_14_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72f0ba8d99488b21a915b8e2cca0d4aa.jpg","text":"TemporaryFile(/tmp/multipartBody8940550397439235749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449333545,"filename":"image_12042025_08_15_35_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/edb85397cd283c3b993ee227ef01963b.jpg","text":"TemporaryFile(/tmp/multipartBody304966803288158477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449333545,"filename":"image_12042025_08_16_05_10131.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3103f8ecc9c846268a71fa62e5478072.jpg","text":"TemporaryFile(/tmp/multipartBody1946312777812312370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449333545,"filename":"image_12042025_08_15_15_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178196","file1":"1352178192","file0":"1352178187","file4":"1352178208","file5":"1352178212","file3":"1352178203"},"map_files_photo_id_array":[{"photo_id":"1352178212","filename":"file5"},{"photo_id":"1352178196","filename":"file2"},{"photo_id":"1352178208","filename":"file4"},{"photo_id":"1352178192","filename":"file1"},{"photo_id":"1352178187","filename":"file0"},{"photo_id":"1352178203","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352178212":["hashtag1","hashtag2"]},{"1352178196":["hashtag1","hashtag2"]},{"1352178208":["hashtag1","hashtag2"]},{"1352178192":["hashtag1","hashtag2"]},{"1352178203":["hashtag1","hashtag2"]},{"1352178187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352178212, 1352178196, 1352178208, 1352178192, 1352178203, 1352178187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.595356702804565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:15:32.326343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_35_10446.jpg', '/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_45_9389.jpg', '/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_55_10388.jpg', '/home/pi/Desktop/images/12042025/08/16/image_12042025_08_17_04_9366.jpg', '/home/pi/Desktop/images/12042025/08/17/image_12042025_08_17_25_10363.jpg', '/home/pi/Desktop/images/12042025/08/17/image_12042025_08_17_34_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_35_10446.jpg
/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_45_9389.jpg
/home/pi/Desktop/images/12042025/08/16/image_12042025_08_16_55_10388.jpg
/home/pi/Desktop/images/12042025/08/16/image_12042025_08_17_04_9366.jpg
/home/pi/Desktop/images/12042025/08/17/image_12042025_08_17_25_10363.jpg
/home/pi/Desktop/images/12042025/08/17/image_12042025_08_17_34_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178259","1352178255","1352178243","1352178237","1352178231","1352178251"],"photo_ids_order":["1352178231","1352178237","1352178243","1352178251","1352178255","1352178259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc5bf43b6e8032aa01a435ec8b44186e.jpg","text":"TemporaryFile(/tmp/multipartBody8939383823026648367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449392812,"filename":"image_12042025_08_17_34_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1d00fb424a40f2656a298d52b234ae4.jpg","text":"TemporaryFile(/tmp/multipartBody3976960383631257958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449392812,"filename":"image_12042025_08_17_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f9b5529144bc930aa0033039124e986.jpg","text":"TemporaryFile(/tmp/multipartBody8756781420579181848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449392812,"filename":"image_12042025_08_16_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4028313f6259b9bcedf7e208681659b.jpg","text":"TemporaryFile(/tmp/multipartBody3000182636587174331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449392812,"filename":"image_12042025_08_16_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6c60c45d1a4f0300f9464c90b2b3abf.jpg","text":"TemporaryFile(/tmp/multipartBody4459293639459698814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449392812,"filename":"image_12042025_08_16_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d75ba2849612e6c412540d1aa89dbf1.jpg","text":"TemporaryFile(/tmp/multipartBody2917280066904795321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449392812,"filename":"image_12042025_08_17_04_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178243","file1":"1352178237","file0":"1352178231","file4":"1352178255","file5":"1352178259","file3":"1352178251"},"map_files_photo_id_array":[{"photo_id":"1352178259","filename":"file5"},{"photo_id":"1352178243","filename":"file2"},{"photo_id":"1352178255","filename":"file4"},{"photo_id":"1352178237","filename":"file1"},{"photo_id":"1352178231","filename":"file0"},{"photo_id":"1352178251","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352178259":["hashtag1","hashtag2"]},{"1352178255":["hashtag1","hashtag2"]},{"1352178243":["hashtag1","hashtag2"]},{"1352178237":["hashtag1","hashtag2"]},{"1352178231":["hashtag1","hashtag2"]},{"1352178251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352178259, 1352178255, 1352178243, 1352178237, 1352178231, 1352178251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23297429084778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:16:32.548635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/17/image_12042025_08_17_54_9482.jpg', '/home/pi/Desktop/images/12042025/08/17/image_12042025_08_18_05_10424.jpg', '/home/pi/Desktop/images/12042025/08/18/image_12042025_08_18_15_10352.jpg', '/home/pi/Desktop/images/12042025/08/18/image_12042025_08_18_25_9466.jpg', '/home/pi/Desktop/images/12042025/08/18/image_12042025_08_18_44_9444.jpg', '/home/pi/Desktop/images/12042025/08/18/image_12042025_08_18_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/17/image_12042025_08_17_54_9482.jpg
/home/pi/Desktop/images/12042025/08/17/image_12042025_08_18_05_10424.jpg
/home/pi/Desktop/images/12042025/08/18/image_12042025_08_18_15_10352.jpg
/home/pi/Desktop/images/12042025/08/18/image_12042025_08_18_25_9466.jpg
/home/pi/Desktop/images/12042025/08/18/image_12042025_08_18_44_9444.jpg
/home/pi/Desktop/images/12042025/08/18/image_12042025_08_18_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178349","1352178351","1352178309","1352178359","1352178344","1352178347"],"photo_ids_order":["1352178309","1352178344","1352178347","1352178349","1352178351","1352178359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6de82f1cd924965438e2231347523a1.jpg","text":"TemporaryFile(/tmp/multipartBody5746610108615361811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449453009,"filename":"image_12042025_08_18_25_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2527b4ccf6fdd6507ef609294a416be0.jpg","text":"TemporaryFile(/tmp/multipartBody4319794597451483841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449453009,"filename":"image_12042025_08_18_44_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2ff4ef2ac9f549a89f58c3872589af8.jpg","text":"TemporaryFile(/tmp/multipartBody1431154473612021627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449453009,"filename":"image_12042025_08_17_54_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac6dc0bf90fb24dd804dd79a64877e4f.jpg","text":"TemporaryFile(/tmp/multipartBody36236836504455685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449453009,"filename":"image_12042025_08_18_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10092059afda4e72002fd55041989521.jpg","text":"TemporaryFile(/tmp/multipartBody2738854205893471562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449453009,"filename":"image_12042025_08_18_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a02773965ca7bdb8e90f58332e64b65d.jpg","text":"TemporaryFile(/tmp/multipartBody4380240424824771132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449453009,"filename":"image_12042025_08_18_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178347","file1":"1352178344","file0":"1352178309","file4":"1352178351","file5":"1352178359","file3":"1352178349"},"map_files_photo_id_array":[{"photo_id":"1352178359","filename":"file5"},{"photo_id":"1352178347","filename":"file2"},{"photo_id":"1352178351","filename":"file4"},{"photo_id":"1352178344","filename":"file1"},{"photo_id":"1352178309","filename":"file0"},{"photo_id":"1352178349","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352178349":["hashtag1","hashtag2"]},{"1352178351":["hashtag1","hashtag2"]},{"1352178309":["hashtag1","hashtag2"]},{"1352178359":["hashtag1","hashtag2"]},{"1352178344":["hashtag1","hashtag2"]},{"1352178347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352178349, 1352178351, 1352178309, 1352178359, 1352178344, 1352178347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.635698080062866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:17:33.013922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/18/image_12042025_08_19_05_10361.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_15_9437.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_25_10447.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_34_9397.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_45_10374.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_54_9491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/18/image_12042025_08_19_05_10361.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_15_9437.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_25_10447.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_34_9397.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_45_10374.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_54_9491.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38243722915649414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:17:43.084054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/18/image_12042025_08_19_05_10361.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_15_9437.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_25_10447.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_34_9397.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_45_10374.jpg', '/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_54_9491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/18/image_12042025_08_19_05_10361.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_15_9437.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_25_10447.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_34_9397.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_45_10374.jpg
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_19_54_9491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178403","1352178412","1352178409","1352178414","1352178398","1352178419"],"photo_ids_order":["1352178398","1352178403","1352178409","1352178412","1352178414","1352178419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/741248db676d7a3abab194b1daa96f29.jpg","text":"TemporaryFile(/tmp/multipartBody7260460371232705536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449523544,"filename":"image_12042025_08_19_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90e5384c96366685a7fe33c13b459df4.jpg","text":"TemporaryFile(/tmp/multipartBody8597407040065488007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449523544,"filename":"image_12042025_08_19_34_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc9a11908e5783ca96d49046a148f1ac.jpg","text":"TemporaryFile(/tmp/multipartBody4549616617563765663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449523544,"filename":"image_12042025_08_19_25_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce6ce037c08d2d4de0f50b6331a246cb.jpg","text":"TemporaryFile(/tmp/multipartBody3916767786091212910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449523544,"filename":"image_12042025_08_19_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9b33bf42a1372f17c047649011dce8e.jpg","text":"TemporaryFile(/tmp/multipartBody1497660721924134497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449523544,"filename":"image_12042025_08_19_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/399b40cabb7685d8cf259c645b399157.jpg","text":"TemporaryFile(/tmp/multipartBody8088689892763563296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449523544,"filename":"image_12042025_08_19_54_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178409","file1":"1352178403","file0":"1352178398","file4":"1352178414","file5":"1352178419","file3":"1352178412"},"map_files_photo_id_array":[{"photo_id":"1352178419","filename":"file5"},{"photo_id":"1352178409","filename":"file2"},{"photo_id":"1352178414","filename":"file4"},{"photo_id":"1352178403","filename":"file1"},{"photo_id":"1352178398","filename":"file0"},{"photo_id":"1352178412","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352178403":["hashtag1","hashtag2"]},{"1352178412":["hashtag1","hashtag2"]},{"1352178409":["hashtag1","hashtag2"]},{"1352178414":["hashtag1","hashtag2"]},{"1352178398":["hashtag1","hashtag2"]},{"1352178419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352178403, 1352178412, 1352178409, 1352178414, 1352178398, 1352178419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0635986328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:18:33.146517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/19/image_12042025_08_20_05_10428.jpg', '/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_15_10358.jpg', '/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_24_9349.jpg', '/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_35_10361.jpg', '/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_45_10369.jpg', '/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_54_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/19/image_12042025_08_20_05_10428.jpg
/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_15_10358.jpg
/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_24_9349.jpg
/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_35_10361.jpg
/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_45_10369.jpg
/home/pi/Desktop/images/12042025/08/20/image_12042025_08_20_54_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178489","1352178498","1352178483","1352178492","1352178494","1352178485"],"photo_ids_order":["1352178483","1352178485","1352178489","1352178492","1352178494","1352178498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d0a8153efe47ccc30db2e997a0b2a0b.jpg","text":"TemporaryFile(/tmp/multipartBody263830332944046751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449573618,"filename":"image_12042025_08_20_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a428eb58d7f5b2f56f9a2f5b39f94f5.jpg","text":"TemporaryFile(/tmp/multipartBody3203800331470229822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449573618,"filename":"image_12042025_08_20_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04f65c913cf9afb01a2f240656088b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1639277505653041243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449573618,"filename":"image_12042025_08_20_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64e9b6243b59575fd8a311c35f274d54.jpg","text":"TemporaryFile(/tmp/multipartBody8909725620682824559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449573618,"filename":"image_12042025_08_20_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6228c94efdbcc0ddae22ce8d1ee0f3ee.jpg","text":"TemporaryFile(/tmp/multipartBody1113756489232660622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449573618,"filename":"image_12042025_08_20_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/586fb01443d5bfbb2a6a3e9ee678c3b3.jpg","text":"TemporaryFile(/tmp/multipartBody174722970931797756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449573618,"filename":"image_12042025_08_20_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178489","file1":"1352178485","file0":"1352178483","file4":"1352178494","file5":"1352178498","file3":"1352178492"},"map_files_photo_id_array":[{"photo_id":"1352178498","filename":"file5"},{"photo_id":"1352178489","filename":"file2"},{"photo_id":"1352178494","filename":"file4"},{"photo_id":"1352178485","filename":"file1"},{"photo_id":"1352178483","filename":"file0"},{"photo_id":"1352178492","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352178489":["hashtag1","hashtag2"]},{"1352178498":["hashtag1","hashtag2"]},{"1352178483":["hashtag1","hashtag2"]},{"1352178492":["hashtag1","hashtag2"]},{"1352178494":["hashtag1","hashtag2"]},{"1352178485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352178489, 1352178498, 1352178483, 1352178492, 1352178494, 1352178485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.522117614746094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:19:32.399156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/20/image_12042025_08_21_05_10353.jpg', '/home/pi/Desktop/images/12042025/08/21/image_12042025_08_21_35_10370.jpg', '/home/pi/Desktop/images/12042025/08/21/image_12042025_08_21_44_9381.jpg', '/home/pi/Desktop/images/12042025/08/21/image_12042025_08_21_55_10372.jpg', '/home/pi/Desktop/images/12042025/08/21/image_12042025_08_22_05_10360.jpg', '/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_14_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/20/image_12042025_08_21_05_10353.jpg
/home/pi/Desktop/images/12042025/08/21/image_12042025_08_21_35_10370.jpg
/home/pi/Desktop/images/12042025/08/21/image_12042025_08_21_44_9381.jpg
/home/pi/Desktop/images/12042025/08/21/image_12042025_08_21_55_10372.jpg
/home/pi/Desktop/images/12042025/08/21/image_12042025_08_22_05_10360.jpg
/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_14_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352178778","1352178679","1352178859","1352178829","1352178867","1352178648"],"photo_ids_order":["1352178648","1352178679","1352178778","1352178829","1352178859","1352178867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9837ccb87e5e4ec96628aa1e7c96e1a4.jpg","text":"TemporaryFile(/tmp/multipartBody6528974412445924668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449632924,"filename":"image_12042025_08_21_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d70682c8f3630415f4132aa968fda9c8.jpg","text":"TemporaryFile(/tmp/multipartBody3363966535803289688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449632924,"filename":"image_12042025_08_21_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/18c23f12cc79f7ed022407100d4be053.jpg","text":"TemporaryFile(/tmp/multipartBody1610526154092461580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449632924,"filename":"image_12042025_08_22_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3418d8144455f0c58115b184a2fba17.jpg","text":"TemporaryFile(/tmp/multipartBody3764527675004199447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449632924,"filename":"image_12042025_08_21_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0a8887e69e915831666e2991699c98c.jpg","text":"TemporaryFile(/tmp/multipartBody3242332222940480249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449632924,"filename":"image_12042025_08_22_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d2d44f70e7a2532547bfd8064f62aaf.jpg","text":"TemporaryFile(/tmp/multipartBody1485980826282786297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449632924,"filename":"image_12042025_08_21_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352178778","file1":"1352178679","file0":"1352178648","file4":"1352178859","file5":"1352178867","file3":"1352178829"},"map_files_photo_id_array":[{"photo_id":"1352178867","filename":"file5"},{"photo_id":"1352178778","filename":"file2"},{"photo_id":"1352178859","filename":"file4"},{"photo_id":"1352178679","filename":"file1"},{"photo_id":"1352178648","filename":"file0"},{"photo_id":"1352178829","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352178778":["hashtag1","hashtag2"]},{"1352178679":["hashtag1","hashtag2"]},{"1352178859":["hashtag1","hashtag2"]},{"1352178829":["hashtag1","hashtag2"]},{"1352178867":["hashtag1","hashtag2"]},{"1352178648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352178778, 1352178679, 1352178859, 1352178829, 1352178867, 1352178648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34024477005005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:20:32.646372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_25_10368.jpg', '/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_34_9505.jpg', '/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_45_10361.jpg', '/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_55_10446.jpg', '/home/pi/Desktop/images/12042025/08/22/image_12042025_08_23_04_9353.jpg', '/home/pi/Desktop/images/12042025/08/23/image_12042025_08_23_15_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_25_10368.jpg
/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_34_9505.jpg
/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_45_10361.jpg
/home/pi/Desktop/images/12042025/08/22/image_12042025_08_22_55_10446.jpg
/home/pi/Desktop/images/12042025/08/22/image_12042025_08_23_04_9353.jpg
/home/pi/Desktop/images/12042025/08/23/image_12042025_08_23_15_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179120","1352179116","1352179097","1352179139","1352179073","1352179136"],"photo_ids_order":["1352179073","1352179097","1352179116","1352179120","1352179136","1352179139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d163838cc5f0137d5411f489c52a40f.jpg","text":"TemporaryFile(/tmp/multipartBody1101925173596063167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449693102,"filename":"image_12042025_08_22_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7db319cdfb8f0b9606834505ff7ec7f9.jpg","text":"TemporaryFile(/tmp/multipartBody5757959803107026683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449693102,"filename":"image_12042025_08_22_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52e2ceab96cc276a494583649d96ec1b.jpg","text":"TemporaryFile(/tmp/multipartBody6791233978803021007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449693102,"filename":"image_12042025_08_22_34_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af6a70373d83da2ea7a4ed3b84fec41d.jpg","text":"TemporaryFile(/tmp/multipartBody2412456942567082309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449693102,"filename":"image_12042025_08_23_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e02fb379d86e4b535c028206b9e50d96.jpg","text":"TemporaryFile(/tmp/multipartBody4697788846950812365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449693102,"filename":"image_12042025_08_22_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/307720ac33e1b3804280d44021fcba88.jpg","text":"TemporaryFile(/tmp/multipartBody9092159605222568189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449693102,"filename":"image_12042025_08_23_04_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179116","file1":"1352179097","file0":"1352179073","file4":"1352179136","file5":"1352179139","file3":"1352179120"},"map_files_photo_id_array":[{"photo_id":"1352179139","filename":"file5"},{"photo_id":"1352179116","filename":"file2"},{"photo_id":"1352179136","filename":"file4"},{"photo_id":"1352179097","filename":"file1"},{"photo_id":"1352179073","filename":"file0"},{"photo_id":"1352179120","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352179120":["hashtag1","hashtag2"]},{"1352179116":["hashtag1","hashtag2"]},{"1352179097":["hashtag1","hashtag2"]},{"1352179139":["hashtag1","hashtag2"]},{"1352179073":["hashtag1","hashtag2"]},{"1352179136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352179120, 1352179116, 1352179097, 1352179139, 1352179073, 1352179136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29627966880798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:21:32.907981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/23/image_12042025_08_23_25_10341.jpg', '/home/pi/Desktop/images/12042025/08/23/image_12042025_08_23_45_10375.jpg', '/home/pi/Desktop/images/12042025/08/23/image_12042025_08_23_54_9449.jpg', '/home/pi/Desktop/images/12042025/08/24/image_12042025_08_24_44_9389.jpg', '/home/pi/Desktop/images/12042025/08/24/image_12042025_08_24_55_10389.jpg', '/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_15_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/23/image_12042025_08_23_25_10341.jpg
/home/pi/Desktop/images/12042025/08/23/image_12042025_08_23_45_10375.jpg
/home/pi/Desktop/images/12042025/08/23/image_12042025_08_23_54_9449.jpg
/home/pi/Desktop/images/12042025/08/24/image_12042025_08_24_44_9389.jpg
/home/pi/Desktop/images/12042025/08/24/image_12042025_08_24_55_10389.jpg
/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_15_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179420","1352179461","1352179743","1352179623","1352179691","1352179546"],"photo_ids_order":["1352179420","1352179461","1352179546","1352179623","1352179691","1352179743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d48acc5891f3c60bcdc2c0966fff1dc4.jpg","text":"TemporaryFile(/tmp/multipartBody4331774574682618684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449753383,"filename":"image_12042025_08_23_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27cddbdd18509ca5965ddb35948a7ed1.jpg","text":"TemporaryFile(/tmp/multipartBody884332150454450610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449753383,"filename":"image_12042025_08_23_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7984e3ddb20d1efed6e7a0cd036c040c.jpg","text":"TemporaryFile(/tmp/multipartBody5146750505777633945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449753383,"filename":"image_12042025_08_25_15_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28202c8fb582631ffdcd0f20685c7d88.jpg","text":"TemporaryFile(/tmp/multipartBody6618858189368697170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449753383,"filename":"image_12042025_08_24_44_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a033521364146b80a808738a502d5179.jpg","text":"TemporaryFile(/tmp/multipartBody5408653787899237743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449753383,"filename":"image_12042025_08_24_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/046760c31da24eeb1b4c7217854c9a5a.jpg","text":"TemporaryFile(/tmp/multipartBody4462048027801465895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449753383,"filename":"image_12042025_08_23_54_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179546","file1":"1352179461","file0":"1352179420","file4":"1352179691","file5":"1352179743","file3":"1352179623"},"map_files_photo_id_array":[{"photo_id":"1352179743","filename":"file5"},{"photo_id":"1352179546","filename":"file2"},{"photo_id":"1352179691","filename":"file4"},{"photo_id":"1352179461","filename":"file1"},{"photo_id":"1352179420","filename":"file0"},{"photo_id":"1352179623","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352179420":["hashtag1","hashtag2"]},{"1352179461":["hashtag1","hashtag2"]},{"1352179743":["hashtag1","hashtag2"]},{"1352179623":["hashtag1","hashtag2"]},{"1352179691":["hashtag1","hashtag2"]},{"1352179546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352179420, 1352179461, 1352179743, 1352179623, 1352179691, 1352179546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.749574422836304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:22:33.131349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_25_10361.jpg', '/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_34_9407.jpg', '/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_45_10356.jpg', '/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_55_10375.jpg', '/home/pi/Desktop/images/12042025/08/25/image_12042025_08_26_04_9375.jpg', '/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_25_10361.jpg
/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_34_9407.jpg
/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_45_10356.jpg
/home/pi/Desktop/images/12042025/08/25/image_12042025_08_25_55_10375.jpg
/home/pi/Desktop/images/12042025/08/25/image_12042025_08_26_04_9375.jpg
/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_15_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179863","1352179872","1352179866","1352179869","1352179874","1352179879"],"photo_ids_order":["1352179863","1352179866","1352179869","1352179872","1352179874","1352179879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02c10f0f3d4583efb28c1df6bb22496b.jpg","text":"TemporaryFile(/tmp/multipartBody2704666823610783288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449813603,"filename":"image_12042025_08_25_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d75e23cc0807a4b7095ffd627f2af857.jpg","text":"TemporaryFile(/tmp/multipartBody2871907316026944831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449813603,"filename":"image_12042025_08_25_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b20f9beccfb987c053ee9931a0b63fe8.jpg","text":"TemporaryFile(/tmp/multipartBody82986728734914100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449813603,"filename":"image_12042025_08_25_34_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64cf9a41021dd0e69d5767724cb93ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3370831295647984957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449813603,"filename":"image_12042025_08_25_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0163670e832453ea73a16d64c0053f6.jpg","text":"TemporaryFile(/tmp/multipartBody4843543628864394919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449813603,"filename":"image_12042025_08_26_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cf7724c1d9ffa6ffce37f375f749c84.jpg","text":"TemporaryFile(/tmp/multipartBody6205649823623646997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449813603,"filename":"image_12042025_08_26_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179869","file1":"1352179866","file0":"1352179863","file4":"1352179874","file5":"1352179879","file3":"1352179872"},"map_files_photo_id_array":[{"photo_id":"1352179879","filename":"file5"},{"photo_id":"1352179869","filename":"file2"},{"photo_id":"1352179874","filename":"file4"},{"photo_id":"1352179866","filename":"file1"},{"photo_id":"1352179863","filename":"file0"},{"photo_id":"1352179872","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352179863":["hashtag1","hashtag2"]},{"1352179872":["hashtag1","hashtag2"]},{"1352179866":["hashtag1","hashtag2"]},{"1352179869":["hashtag1","hashtag2"]},{"1352179874":["hashtag1","hashtag2"]},{"1352179879":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352179863, 1352179872, 1352179866, 1352179869, 1352179874, 1352179879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05936670303345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:23:32.456343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_25_10376.jpg', '/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_35_9413.jpg', '/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_45_10348.jpg', '/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_54_9391.jpg', '/home/pi/Desktop/images/12042025/08/26/image_12042025_08_27_05_10369.jpg', '/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_15_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_25_10376.jpg
/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_35_9413.jpg
/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_45_10348.jpg
/home/pi/Desktop/images/12042025/08/26/image_12042025_08_26_54_9391.jpg
/home/pi/Desktop/images/12042025/08/26/image_12042025_08_27_05_10369.jpg
/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_15_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352179930","1352179927","1352179896","1352179923","1352179898","1352179916"],"photo_ids_order":["1352179896","1352179898","1352179916","1352179923","1352179927","1352179930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c084d2b35256eba9d6a47fa4ac001a66.jpg","text":"TemporaryFile(/tmp/multipartBody2199828957474091875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449872920,"filename":"image_12042025_08_27_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05af9280be070b18c7c22b4d866a8cfb.jpg","text":"TemporaryFile(/tmp/multipartBody1198917561724641263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449872920,"filename":"image_12042025_08_27_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/757d18ec77a886a3248466c0a30065e9.jpg","text":"TemporaryFile(/tmp/multipartBody6632004582711408367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449872920,"filename":"image_12042025_08_26_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89dd3a2f722c3e9c3cafdff441480130.jpg","text":"TemporaryFile(/tmp/multipartBody9139230588059610361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449872920,"filename":"image_12042025_08_26_54_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17e461ec94e69e84006a9d31b4ea3068.jpg","text":"TemporaryFile(/tmp/multipartBody4848697246892028370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449872920,"filename":"image_12042025_08_26_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6af5764b24caf1c7a28d759a2bb13c8.jpg","text":"TemporaryFile(/tmp/multipartBody738056002630737106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449872920,"filename":"image_12042025_08_26_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352179916","file1":"1352179898","file0":"1352179896","file4":"1352179927","file5":"1352179930","file3":"1352179923"},"map_files_photo_id_array":[{"photo_id":"1352179930","filename":"file5"},{"photo_id":"1352179916","filename":"file2"},{"photo_id":"1352179927","filename":"file4"},{"photo_id":"1352179898","filename":"file1"},{"photo_id":"1352179896","filename":"file0"},{"photo_id":"1352179923","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352179930":["hashtag1","hashtag2"]},{"1352179927":["hashtag1","hashtag2"]},{"1352179896":["hashtag1","hashtag2"]},{"1352179923":["hashtag1","hashtag2"]},{"1352179898":["hashtag1","hashtag2"]},{"1352179916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352179930, 1352179927, 1352179896, 1352179923, 1352179898, 1352179916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.259209394454956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:24:32.630278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_25_9476.jpg', '/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_35_10357.jpg', '/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_44_9447.jpg', '/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_55_10387.jpg', '/home/pi/Desktop/images/12042025/08/27/image_12042025_08_28_05_10455.jpg', '/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_15_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_25_9476.jpg
/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_35_10357.jpg
/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_44_9447.jpg
/home/pi/Desktop/images/12042025/08/27/image_12042025_08_27_55_10387.jpg
/home/pi/Desktop/images/12042025/08/27/image_12042025_08_28_05_10455.jpg
/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_15_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352180371","1352180020","1352180236","1352180145","1352180081","1352180441"],"photo_ids_order":["1352180020","1352180081","1352180145","1352180236","1352180371","1352180441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fc313a0c8894a356c00cb4347f49be2.jpg","text":"TemporaryFile(/tmp/multipartBody3525757390285682463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449933083,"filename":"image_12042025_08_28_05_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/384d08a89ea9079bafecab6fc80094c0.jpg","text":"TemporaryFile(/tmp/multipartBody4011341613872497307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449933083,"filename":"image_12042025_08_27_25_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cef6d4628f69b16488589e59cf443d0.jpg","text":"TemporaryFile(/tmp/multipartBody1192426122490088331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449933083,"filename":"image_12042025_08_27_55_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b79c7af9e9d1231f499b6e33e0c092f.jpg","text":"TemporaryFile(/tmp/multipartBody1516989418296616045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449933083,"filename":"image_12042025_08_27_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcc934b236a074cbf9ce6c822610b034.jpg","text":"TemporaryFile(/tmp/multipartBody7115492949344182283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449933083,"filename":"image_12042025_08_27_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ac1fd38638e0a74af221ced97fc7695.jpg","text":"TemporaryFile(/tmp/multipartBody878657273955620534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449933083,"filename":"image_12042025_08_28_15_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352180145","file1":"1352180081","file0":"1352180020","file4":"1352180371","file5":"1352180441","file3":"1352180236"},"map_files_photo_id_array":[{"photo_id":"1352180441","filename":"file5"},{"photo_id":"1352180145","filename":"file2"},{"photo_id":"1352180371","filename":"file4"},{"photo_id":"1352180081","filename":"file1"},{"photo_id":"1352180020","filename":"file0"},{"photo_id":"1352180236","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352180371":["hashtag1","hashtag2"]},{"1352180020":["hashtag1","hashtag2"]},{"1352180236":["hashtag1","hashtag2"]},{"1352180145":["hashtag1","hashtag2"]},{"1352180081":["hashtag1","hashtag2"]},{"1352180441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352180371, 1352180020, 1352180236, 1352180145, 1352180081, 1352180441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.974791288375854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:25:32.946874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_25_10383.jpg', '/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_34_9409.jpg', '/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_45_10365.jpg', '/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_55_10374.jpg', '/home/pi/Desktop/images/12042025/08/28/image_12042025_08_29_05_9375.jpg', '/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_15_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_25_10383.jpg
/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_34_9409.jpg
/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_45_10365.jpg
/home/pi/Desktop/images/12042025/08/28/image_12042025_08_28_55_10374.jpg
/home/pi/Desktop/images/12042025/08/28/image_12042025_08_29_05_9375.jpg
/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_15_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352180874","1352180652","1352180595","1352180817","1352180639","1352180698"],"photo_ids_order":["1352180595","1352180639","1352180652","1352180698","1352180817","1352180874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de5a976d37e0332cf634e5947a76c61f.jpg","text":"TemporaryFile(/tmp/multipartBody2293436592728719524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449993403,"filename":"image_12042025_08_29_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/085bf60597dcefa55a36e49bb02c8660.jpg","text":"TemporaryFile(/tmp/multipartBody5081550019698909564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449993403,"filename":"image_12042025_08_28_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b6dd94333cde28186c3b62329d6a1f1.jpg","text":"TemporaryFile(/tmp/multipartBody5035401788578882377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449993403,"filename":"image_12042025_08_28_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/787e33176f76af93687a9f6aa3cc02d3.jpg","text":"TemporaryFile(/tmp/multipartBody2499045715152571423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449993403,"filename":"image_12042025_08_29_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68de0738e715864237c35d21253fbf93.jpg","text":"TemporaryFile(/tmp/multipartBody1979774575570925421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449993403,"filename":"image_12042025_08_28_34_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0caeea019de2e65cf15a8a9618bd5b8.jpg","text":"TemporaryFile(/tmp/multipartBody422841770665080742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744449993403,"filename":"image_12042025_08_28_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352180652","file1":"1352180639","file0":"1352180595","file4":"1352180817","file5":"1352180874","file3":"1352180698"},"map_files_photo_id_array":[{"photo_id":"1352180874","filename":"file5"},{"photo_id":"1352180652","filename":"file2"},{"photo_id":"1352180817","filename":"file4"},{"photo_id":"1352180639","filename":"file1"},{"photo_id":"1352180595","filename":"file0"},{"photo_id":"1352180698","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352180874":["hashtag1","hashtag2"]},{"1352180652":["hashtag1","hashtag2"]},{"1352180595":["hashtag1","hashtag2"]},{"1352180817":["hashtag1","hashtag2"]},{"1352180639":["hashtag1","hashtag2"]},{"1352180698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352180874, 1352180652, 1352180595, 1352180817, 1352180639, 1352180698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12416887283325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:26:32.978951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_24_9454.jpg', '/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_35_10338.jpg', '/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_45_10398.jpg', '/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_55_9424.jpg', '/home/pi/Desktop/images/12042025/08/29/image_12042025_08_30_05_10359.jpg', '/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_14_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_24_9454.jpg
/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_35_10338.jpg
/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_45_10398.jpg
/home/pi/Desktop/images/12042025/08/29/image_12042025_08_29_55_9424.jpg
/home/pi/Desktop/images/12042025/08/29/image_12042025_08_30_05_10359.jpg
/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_14_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352180962","1352180982","1352180958","1352180940","1352180990","1352180975"],"photo_ids_order":["1352180940","1352180958","1352180962","1352180975","1352180982","1352180990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c02455f34ca65ece0bbe32fb21b34d1.jpg","text":"TemporaryFile(/tmp/multipartBody1317629222923917092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450053436,"filename":"image_12042025_08_29_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f139fc62d44e6fcde896ebb83dfc9dc.jpg","text":"TemporaryFile(/tmp/multipartBody3834786140046570126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450053436,"filename":"image_12042025_08_30_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f783dcc35629a9db85e808c68779c21.jpg","text":"TemporaryFile(/tmp/multipartBody7835836772906980504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450053436,"filename":"image_12042025_08_29_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/579b398f2969bcac102d36bf077f97b4.jpg","text":"TemporaryFile(/tmp/multipartBody1699744579543786107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450053436,"filename":"image_12042025_08_29_24_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2caba1ac7cc363d61132e7bcedd8ef20.jpg","text":"TemporaryFile(/tmp/multipartBody7492336153876118109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450053436,"filename":"image_12042025_08_30_14_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00b1685dbd44e49adfde0736415cf761.jpg","text":"TemporaryFile(/tmp/multipartBody5652682931223046423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450053436,"filename":"image_12042025_08_29_55_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352180962","file1":"1352180958","file0":"1352180940","file4":"1352180982","file5":"1352180990","file3":"1352180975"},"map_files_photo_id_array":[{"photo_id":"1352180990","filename":"file5"},{"photo_id":"1352180962","filename":"file2"},{"photo_id":"1352180982","filename":"file4"},{"photo_id":"1352180958","filename":"file1"},{"photo_id":"1352180940","filename":"file0"},{"photo_id":"1352180975","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352180962":["hashtag1","hashtag2"]},{"1352180982":["hashtag1","hashtag2"]},{"1352180958":["hashtag1","hashtag2"]},{"1352180940":["hashtag1","hashtag2"]},{"1352180990":["hashtag1","hashtag2"]},{"1352180975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352180962, 1352180982, 1352180958, 1352180940, 1352180990, 1352180975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.575891733169556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:27:32.178348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_25_10363.jpg', '/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_35_10369.jpg', '/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_44_9436.jpg', '/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_55_10362.jpg', '/home/pi/Desktop/images/12042025/08/30/image_12042025_08_31_04_9459.jpg', '/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_15_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_25_10363.jpg
/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_35_10369.jpg
/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_44_9436.jpg
/home/pi/Desktop/images/12042025/08/30/image_12042025_08_30_55_10362.jpg
/home/pi/Desktop/images/12042025/08/30/image_12042025_08_31_04_9459.jpg
/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_15_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181037","1352181029","1352181044","1352181032","1352181026","1352181052"],"photo_ids_order":["1352181026","1352181029","1352181032","1352181037","1352181044","1352181052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/253a8129155c84742a1a88e6ce682584.jpg","text":"TemporaryFile(/tmp/multipartBody6805650732638555067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450112632,"filename":"image_12042025_08_30_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4f041eed3cc20e01dc35b0980571d20.jpg","text":"TemporaryFile(/tmp/multipartBody3806026358954436726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450112632,"filename":"image_12042025_08_30_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99db61b3f438d581204ec9429bdc20f9.jpg","text":"TemporaryFile(/tmp/multipartBody6676923172904310656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450112632,"filename":"image_12042025_08_31_04_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fa7007924b03bb5ae24c62dfcbbf5a7.jpg","text":"TemporaryFile(/tmp/multipartBody5802838495937859094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450112632,"filename":"image_12042025_08_30_44_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f598731c1e2bd2fb499ddc455a3c059c.jpg","text":"TemporaryFile(/tmp/multipartBody1856695633289013284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450112632,"filename":"image_12042025_08_30_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c23be0368aafc8d6fc6ceabe8a7f58f5.jpg","text":"TemporaryFile(/tmp/multipartBody7079547796663589843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450112632,"filename":"image_12042025_08_31_15_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181032","file1":"1352181029","file0":"1352181026","file4":"1352181044","file5":"1352181052","file3":"1352181037"},"map_files_photo_id_array":[{"photo_id":"1352181052","filename":"file5"},{"photo_id":"1352181032","filename":"file2"},{"photo_id":"1352181044","filename":"file4"},{"photo_id":"1352181029","filename":"file1"},{"photo_id":"1352181026","filename":"file0"},{"photo_id":"1352181037","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352181037":["hashtag1","hashtag2"]},{"1352181029":["hashtag1","hashtag2"]},{"1352181044":["hashtag1","hashtag2"]},{"1352181032":["hashtag1","hashtag2"]},{"1352181026":["hashtag1","hashtag2"]},{"1352181052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352181037, 1352181029, 1352181044, 1352181032, 1352181026, 1352181052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.678993940353394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:28:32.506319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_25_10417.jpg', '/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_35_9372.jpg', '/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_45_10380.jpg', '/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_54_9435.jpg', '/home/pi/Desktop/images/12042025/08/31/image_12042025_08_32_05_10412.jpg', '/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_15_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_25_10417.jpg
/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_35_9372.jpg
/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_45_10380.jpg
/home/pi/Desktop/images/12042025/08/31/image_12042025_08_31_54_9435.jpg
/home/pi/Desktop/images/12042025/08/31/image_12042025_08_32_05_10412.jpg
/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_15_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181253","1352181148","1352181153","1352181141","1352181144","1352181164"],"photo_ids_order":["1352181141","1352181144","1352181148","1352181153","1352181164","1352181253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38f63dd8e2e9bbd393bea68e9b47ecad.jpg","text":"TemporaryFile(/tmp/multipartBody1614603679502551286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450172965,"filename":"image_12042025_08_32_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aac4e769e9d81f48daafd331a76ff906.jpg","text":"TemporaryFile(/tmp/multipartBody935650948490839158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450172965,"filename":"image_12042025_08_31_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/612d542122da012a6230027d37b62b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6288327404788113256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450172965,"filename":"image_12042025_08_31_54_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73bccd26355610e32e5747119729e505.jpg","text":"TemporaryFile(/tmp/multipartBody8664818358606808901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450172965,"filename":"image_12042025_08_31_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66cbd0734791883ff43ea6e41ad2c741.jpg","text":"TemporaryFile(/tmp/multipartBody8167928394035374512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450172965,"filename":"image_12042025_08_31_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3e7d37094d4265df724193110e8a54d.jpg","text":"TemporaryFile(/tmp/multipartBody2915389341058131766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450172965,"filename":"image_12042025_08_32_05_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181148","file1":"1352181144","file0":"1352181141","file4":"1352181164","file5":"1352181253","file3":"1352181153"},"map_files_photo_id_array":[{"photo_id":"1352181253","filename":"file5"},{"photo_id":"1352181148","filename":"file2"},{"photo_id":"1352181164","filename":"file4"},{"photo_id":"1352181144","filename":"file1"},{"photo_id":"1352181141","filename":"file0"},{"photo_id":"1352181153","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352181253":["hashtag1","hashtag2"]},{"1352181148":["hashtag1","hashtag2"]},{"1352181153":["hashtag1","hashtag2"]},{"1352181141":["hashtag1","hashtag2"]},{"1352181144":["hashtag1","hashtag2"]},{"1352181164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352181253, 1352181148, 1352181153, 1352181141, 1352181144, 1352181164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37242579460144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:29:32.642747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_25_9468.jpg', '/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_35_10354.jpg', '/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_44_9521.jpg', '/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_55_10362.jpg', '/home/pi/Desktop/images/12042025/08/32/image_12042025_08_33_05_10376.jpg', '/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_15_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_25_9468.jpg
/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_35_10354.jpg
/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_44_9521.jpg
/home/pi/Desktop/images/12042025/08/32/image_12042025_08_32_55_10362.jpg
/home/pi/Desktop/images/12042025/08/32/image_12042025_08_33_05_10376.jpg
/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_15_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181400","1352181387","1352181371","1352181368","1352181407","1352181404"],"photo_ids_order":["1352181368","1352181371","1352181387","1352181400","1352181404","1352181407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b090e21adb2ca7d3688df70cf37692aa.jpg","text":"TemporaryFile(/tmp/multipartBody8029722188273167537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450233101,"filename":"image_12042025_08_32_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d123382f20f694456c3e905f1228ad26.jpg","text":"TemporaryFile(/tmp/multipartBody5439225731322883179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450233101,"filename":"image_12042025_08_32_44_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/648aa81fd21fd6d8c6f3bc376d395994.jpg","text":"TemporaryFile(/tmp/multipartBody1572851578357242490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450233101,"filename":"image_12042025_08_32_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96a31a4dd3feb6188d8292a68f0fef13.jpg","text":"TemporaryFile(/tmp/multipartBody3004656095596673928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450233101,"filename":"image_12042025_08_32_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb6665972e8810cfd0ff3eb64e1c5092.jpg","text":"TemporaryFile(/tmp/multipartBody6647667082253358503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450233101,"filename":"image_12042025_08_33_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc3a9cf31c47c3b9f491ad2abc8af278.jpg","text":"TemporaryFile(/tmp/multipartBody1863090577740935372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450233101,"filename":"image_12042025_08_33_05_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181387","file1":"1352181371","file0":"1352181368","file4":"1352181404","file5":"1352181407","file3":"1352181400"},"map_files_photo_id_array":[{"photo_id":"1352181407","filename":"file5"},{"photo_id":"1352181387","filename":"file2"},{"photo_id":"1352181404","filename":"file4"},{"photo_id":"1352181371","filename":"file1"},{"photo_id":"1352181368","filename":"file0"},{"photo_id":"1352181400","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352181400":["hashtag1","hashtag2"]},{"1352181387":["hashtag1","hashtag2"]},{"1352181371":["hashtag1","hashtag2"]},{"1352181368":["hashtag1","hashtag2"]},{"1352181407":["hashtag1","hashtag2"]},{"1352181404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352181400, 1352181387, 1352181371, 1352181368, 1352181407, 1352181404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84364604949951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:30:33.049195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_25_10348.jpg', '/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_34_9510.jpg', '/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_45_10364.jpg', '/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_55_10356.jpg', '/home/pi/Desktop/images/12042025/08/33/image_12042025_08_34_04_9357.jpg', '/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_25_10348.jpg
/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_34_9510.jpg
/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_45_10364.jpg
/home/pi/Desktop/images/12042025/08/33/image_12042025_08_33_55_10356.jpg
/home/pi/Desktop/images/12042025/08/33/image_12042025_08_34_04_9357.jpg
/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181576","1352181561","1352181513","1352181554","1352181530","1352181577"],"photo_ids_order":["1352181513","1352181530","1352181554","1352181561","1352181576","1352181577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16ec7b9f0ad368bed058b96f7226e509.jpg","text":"TemporaryFile(/tmp/multipartBody7901230477604519597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450293506,"filename":"image_12042025_08_34_04_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa8b47506e988230046882de9bf48287.jpg","text":"TemporaryFile(/tmp/multipartBody3634713114967860633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450293506,"filename":"image_12042025_08_33_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/799841dc0be377a7191aa7ce807f5ab4.jpg","text":"TemporaryFile(/tmp/multipartBody6565573408643115028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450293506,"filename":"image_12042025_08_33_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b09a858f7088f5505df86a3ed4a41277.jpg","text":"TemporaryFile(/tmp/multipartBody5343029254073994026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450293506,"filename":"image_12042025_08_33_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62255211a1a43e59d2eec475c3ed4ca2.jpg","text":"TemporaryFile(/tmp/multipartBody6418747100806979976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450293506,"filename":"image_12042025_08_33_34_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/feea5a4877e0fd0a86febc940d5a200d.jpg","text":"TemporaryFile(/tmp/multipartBody3896038688250381520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450293506,"filename":"image_12042025_08_34_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181554","file1":"1352181530","file0":"1352181513","file4":"1352181576","file5":"1352181577","file3":"1352181561"},"map_files_photo_id_array":[{"photo_id":"1352181577","filename":"file5"},{"photo_id":"1352181554","filename":"file2"},{"photo_id":"1352181576","filename":"file4"},{"photo_id":"1352181530","filename":"file1"},{"photo_id":"1352181513","filename":"file0"},{"photo_id":"1352181561","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352181576":["hashtag1","hashtag2"]},{"1352181561":["hashtag1","hashtag2"]},{"1352181513":["hashtag1","hashtag2"]},{"1352181554":["hashtag1","hashtag2"]},{"1352181530":["hashtag1","hashtag2"]},{"1352181577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352181576, 1352181561, 1352181513, 1352181554, 1352181530, 1352181577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.36100697517395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:31:32.243682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_25_10425.jpg', '/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_35_9368.jpg', '/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_45_10348.jpg', '/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_54_9421.jpg', '/home/pi/Desktop/images/12042025/08/34/image_12042025_08_35_05_10364.jpg', '/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_25_10425.jpg
/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_35_9368.jpg
/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_45_10348.jpg
/home/pi/Desktop/images/12042025/08/34/image_12042025_08_34_54_9421.jpg
/home/pi/Desktop/images/12042025/08/34/image_12042025_08_35_05_10364.jpg
/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_15_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181639","1352181630","1352181644","1352181658","1352181655","1352181649"],"photo_ids_order":["1352181630","1352181639","1352181644","1352181649","1352181655","1352181658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d259e71815fb0075be9f480eaa6cf25d.jpg","text":"TemporaryFile(/tmp/multipartBody546863689123019108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450352692,"filename":"image_12042025_08_34_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0758b58ad3137b455daca73e35da1562.jpg","text":"TemporaryFile(/tmp/multipartBody3501100970780356157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450352692,"filename":"image_12042025_08_34_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0bb085ac0045df0902e3c2a66c26dfaa.jpg","text":"TemporaryFile(/tmp/multipartBody587692986498826995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450352692,"filename":"image_12042025_08_34_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd8dceb1a8cf4148302c7cda1a3f2dee.jpg","text":"TemporaryFile(/tmp/multipartBody5783714996893373101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450352692,"filename":"image_12042025_08_35_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8698b0be86cda876dc54eeaeba4e225.jpg","text":"TemporaryFile(/tmp/multipartBody565031008974347535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450352692,"filename":"image_12042025_08_35_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0324cbb9456f1a3d890681d8fb25351c.jpg","text":"TemporaryFile(/tmp/multipartBody8234348972876846913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450352692,"filename":"image_12042025_08_34_54_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181644","file1":"1352181639","file0":"1352181630","file4":"1352181655","file5":"1352181658","file3":"1352181649"},"map_files_photo_id_array":[{"photo_id":"1352181658","filename":"file5"},{"photo_id":"1352181644","filename":"file2"},{"photo_id":"1352181655","filename":"file4"},{"photo_id":"1352181639","filename":"file1"},{"photo_id":"1352181630","filename":"file0"},{"photo_id":"1352181649","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352181639":["hashtag1","hashtag2"]},{"1352181630":["hashtag1","hashtag2"]},{"1352181644":["hashtag1","hashtag2"]},{"1352181658":["hashtag1","hashtag2"]},{"1352181655":["hashtag1","hashtag2"]},{"1352181649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352181639, 1352181630, 1352181644, 1352181658, 1352181655, 1352181649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83518385887146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:32:32.437627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_25_9383.jpg', '/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_35_10390.jpg', '/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_44_9426.jpg', '/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_55_10464.jpg', '/home/pi/Desktop/images/12042025/08/35/image_12042025_08_36_05_10364.jpg', '/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_15_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_25_9383.jpg
/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_35_10390.jpg
/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_44_9426.jpg
/home/pi/Desktop/images/12042025/08/35/image_12042025_08_35_55_10464.jpg
/home/pi/Desktop/images/12042025/08/35/image_12042025_08_36_05_10364.jpg
/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_15_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181693","1352181687","1352181681","1352181669","1352181699","1352181674"],"photo_ids_order":["1352181669","1352181674","1352181681","1352181687","1352181693","1352181699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a96f2245ebfeaf84511e0b1b77914245.jpg","text":"TemporaryFile(/tmp/multipartBody1517584133979663204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450412891,"filename":"image_12042025_08_36_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddb154426b26d857fc9630f848779fef.jpg","text":"TemporaryFile(/tmp/multipartBody4028395617234624291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450412891,"filename":"image_12042025_08_35_55_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e52eabd81cd5fb18ca0ab05be47bd6de.jpg","text":"TemporaryFile(/tmp/multipartBody6136218274160815713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450412891,"filename":"image_12042025_08_35_44_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f6b319932e2b54c7282142e4980846f.jpg","text":"TemporaryFile(/tmp/multipartBody1374011852561525240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450412891,"filename":"image_12042025_08_35_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b5a8c322c427213b0c5dd67210e4900.jpg","text":"TemporaryFile(/tmp/multipartBody1605314732999232428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450412891,"filename":"image_12042025_08_36_15_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4425e42860c2582ef3b27b1e6596732f.jpg","text":"TemporaryFile(/tmp/multipartBody413778637392280173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450412891,"filename":"image_12042025_08_35_35_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181681","file1":"1352181674","file0":"1352181669","file4":"1352181693","file5":"1352181699","file3":"1352181687"},"map_files_photo_id_array":[{"photo_id":"1352181699","filename":"file5"},{"photo_id":"1352181681","filename":"file2"},{"photo_id":"1352181693","filename":"file4"},{"photo_id":"1352181674","filename":"file1"},{"photo_id":"1352181669","filename":"file0"},{"photo_id":"1352181687","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352181693":["hashtag1","hashtag2"]},{"1352181687":["hashtag1","hashtag2"]},{"1352181681":["hashtag1","hashtag2"]},{"1352181669":["hashtag1","hashtag2"]},{"1352181699":["hashtag1","hashtag2"]},{"1352181674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352181693, 1352181687, 1352181681, 1352181669, 1352181699, 1352181674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63881587982178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:33:32.655072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_25_10341.jpg', '/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_34_9435.jpg', '/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_45_10397.jpg', '/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_55_10368.jpg', '/home/pi/Desktop/images/12042025/08/36/image_12042025_08_37_05_9456.jpg', '/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_15_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_25_10341.jpg
/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_34_9435.jpg
/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_45_10397.jpg
/home/pi/Desktop/images/12042025/08/36/image_12042025_08_36_55_10368.jpg
/home/pi/Desktop/images/12042025/08/36/image_12042025_08_37_05_9456.jpg
/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_15_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181742","1352181726","1352181743","1352181737","1352181731","1352181751"],"photo_ids_order":["1352181726","1352181731","1352181737","1352181742","1352181743","1352181751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfc9437a4ffca18cf4de3b39c0593847.jpg","text":"TemporaryFile(/tmp/multipartBody5419342838050154794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450473107,"filename":"image_12042025_08_36_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03b6ebf6aade41139b01a62f6ff592c7.jpg","text":"TemporaryFile(/tmp/multipartBody827491320639867777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450473107,"filename":"image_12042025_08_36_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f891a5b06ad59b66b04071db2ae68da0.jpg","text":"TemporaryFile(/tmp/multipartBody4470014372587256613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450473107,"filename":"image_12042025_08_37_05_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/778c242f0e6364a0b66fbddcb4f35120.jpg","text":"TemporaryFile(/tmp/multipartBody8242723952053795721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450473107,"filename":"image_12042025_08_36_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f686f1f3108260c03a17f30fc9dde61d.jpg","text":"TemporaryFile(/tmp/multipartBody4353101499847914680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450473107,"filename":"image_12042025_08_36_34_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fe5d3f8038705f1afebbe7df7ad1e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4421899133680773389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450473107,"filename":"image_12042025_08_37_15_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181737","file1":"1352181731","file0":"1352181726","file4":"1352181743","file5":"1352181751","file3":"1352181742"},"map_files_photo_id_array":[{"photo_id":"1352181751","filename":"file5"},{"photo_id":"1352181737","filename":"file2"},{"photo_id":"1352181743","filename":"file4"},{"photo_id":"1352181731","filename":"file1"},{"photo_id":"1352181726","filename":"file0"},{"photo_id":"1352181742","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352181742":["hashtag1","hashtag2"]},{"1352181726":["hashtag1","hashtag2"]},{"1352181743":["hashtag1","hashtag2"]},{"1352181737":["hashtag1","hashtag2"]},{"1352181731":["hashtag1","hashtag2"]},{"1352181751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352181742, 1352181726, 1352181743, 1352181737, 1352181731, 1352181751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.307851314544678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:34:32.890034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_24_9373.jpg', '/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_35_10391.jpg', '/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_45_10419.jpg', '/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_55_9424.jpg', '/home/pi/Desktop/images/12042025/08/37/image_12042025_08_38_05_10368.jpg', '/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_14_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_24_9373.jpg
/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_35_10391.jpg
/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_45_10419.jpg
/home/pi/Desktop/images/12042025/08/37/image_12042025_08_37_55_9424.jpg
/home/pi/Desktop/images/12042025/08/37/image_12042025_08_38_05_10368.jpg
/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_14_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352181882","1352181869","1352181880","1352181862","1352181865","1352181859"],"photo_ids_order":["1352181859","1352181862","1352181865","1352181869","1352181880","1352181882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6121f65eacf259ee8a8b3311e505b2f7.jpg","text":"TemporaryFile(/tmp/multipartBody3558373440821771619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450533339,"filename":"image_12042025_08_38_14_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10d38ce43738ba5228e1585c732bc219.jpg","text":"TemporaryFile(/tmp/multipartBody5347128757133971798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450533339,"filename":"image_12042025_08_37_55_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/926e49a2c7cd3f4c3740e5c232a5109c.jpg","text":"TemporaryFile(/tmp/multipartBody7981362962077232884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450533339,"filename":"image_12042025_08_38_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e43ab8894167da2356b5ca1df2a025da.jpg","text":"TemporaryFile(/tmp/multipartBody691408872119476137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450533339,"filename":"image_12042025_08_37_35_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e07c951b70234ab17aa543b622b377ea.jpg","text":"TemporaryFile(/tmp/multipartBody8672083829164199217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450533339,"filename":"image_12042025_08_37_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/333a1b4f745970dd5d09afaeeb7ab544.jpg","text":"TemporaryFile(/tmp/multipartBody918333658954662444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450533339,"filename":"image_12042025_08_37_24_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352181865","file1":"1352181862","file0":"1352181859","file4":"1352181880","file5":"1352181882","file3":"1352181869"},"map_files_photo_id_array":[{"photo_id":"1352181882","filename":"file5"},{"photo_id":"1352181865","filename":"file2"},{"photo_id":"1352181880","filename":"file4"},{"photo_id":"1352181862","filename":"file1"},{"photo_id":"1352181859","filename":"file0"},{"photo_id":"1352181869","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352181882":["hashtag1","hashtag2"]},{"1352181869":["hashtag1","hashtag2"]},{"1352181880":["hashtag1","hashtag2"]},{"1352181862":["hashtag1","hashtag2"]},{"1352181865":["hashtag1","hashtag2"]},{"1352181859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352181882, 1352181869, 1352181880, 1352181862, 1352181865, 1352181859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.779887676239014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:35:32.238607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_25_10357.jpg', '/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_35_10369.jpg', '/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_45_9410.jpg', '/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_55_10374.jpg', '/home/pi/Desktop/images/12042025/08/38/image_12042025_08_39_04_9479.jpg', '/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_15_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_25_10357.jpg
/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_35_10369.jpg
/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_45_9410.jpg
/home/pi/Desktop/images/12042025/08/38/image_12042025_08_38_55_10374.jpg
/home/pi/Desktop/images/12042025/08/38/image_12042025_08_39_04_9479.jpg
/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_15_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352182032","1352182067","1352181977","1352182004","1352182012","1352182009"],"photo_ids_order":["1352181977","1352182004","1352182009","1352182012","1352182032","1352182067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/823b9eb6dbfa4cdf00d869e9c949e6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7298792616744449536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450592720,"filename":"image_12042025_08_39_04_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c81e763e176c3ffddb4bba66ab5fcb5c.jpg","text":"TemporaryFile(/tmp/multipartBody6187391017107502805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450592720,"filename":"image_12042025_08_39_15_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10f62a1cc548f907d6a0a41669e4b7a8.jpg","text":"TemporaryFile(/tmp/multipartBody5691723571304547269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450592720,"filename":"image_12042025_08_38_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13791bb7c08153b273cebaf9c445ed36.jpg","text":"TemporaryFile(/tmp/multipartBody464658282675498209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450592720,"filename":"image_12042025_08_38_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8b453978a647ce4eeb6bff170d6357c.jpg","text":"TemporaryFile(/tmp/multipartBody3564113932589563099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450592720,"filename":"image_12042025_08_38_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d57a5a8f7faa82c6889d8326e255b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody134682252050525836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450592720,"filename":"image_12042025_08_38_45_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352182009","file1":"1352182004","file0":"1352181977","file4":"1352182032","file5":"1352182067","file3":"1352182012"},"map_files_photo_id_array":[{"photo_id":"1352182067","filename":"file5"},{"photo_id":"1352182009","filename":"file2"},{"photo_id":"1352182032","filename":"file4"},{"photo_id":"1352182004","filename":"file1"},{"photo_id":"1352181977","filename":"file0"},{"photo_id":"1352182012","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352182032":["hashtag1","hashtag2"]},{"1352182067":["hashtag1","hashtag2"]},{"1352181977":["hashtag1","hashtag2"]},{"1352182004":["hashtag1","hashtag2"]},{"1352182012":["hashtag1","hashtag2"]},{"1352182009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352182032, 1352182067, 1352181977, 1352182004, 1352182012, 1352182009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.179229497909546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:36:32.458143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_25_10360.jpg', '/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_35_9395.jpg', '/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_45_10370.jpg', '/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_54_9425.jpg', '/home/pi/Desktop/images/12042025/08/39/image_12042025_08_40_05_10379.jpg', '/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_15_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_25_10360.jpg
/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_35_9395.jpg
/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_45_10370.jpg
/home/pi/Desktop/images/12042025/08/39/image_12042025_08_39_54_9425.jpg
/home/pi/Desktop/images/12042025/08/39/image_12042025_08_40_05_10379.jpg
/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_15_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352182467","1352182434","1352182428","1352182490","1352182450","1352182513"],"photo_ids_order":["1352182428","1352182434","1352182450","1352182467","1352182490","1352182513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23f7ca64881d2207ee843d9c434265a7.jpg","text":"TemporaryFile(/tmp/multipartBody2072311651304446358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450652980,"filename":"image_12042025_08_39_54_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfe18c8d33195aeda915cef88c889b79.jpg","text":"TemporaryFile(/tmp/multipartBody6883789249126754245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450652980,"filename":"image_12042025_08_39_35_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbbe152a55bd063c65dfd0ac62f1dc4b.jpg","text":"TemporaryFile(/tmp/multipartBody5774191562933709089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450652980,"filename":"image_12042025_08_39_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fa39e1e82d6a9bc7937221f0c374759.jpg","text":"TemporaryFile(/tmp/multipartBody1534269801373892339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450652980,"filename":"image_12042025_08_40_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/747a53228ca4c88a5d0121d0d32375f1.jpg","text":"TemporaryFile(/tmp/multipartBody8495452623298402417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450652980,"filename":"image_12042025_08_39_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a72fa49bbbfe5cd3f6a403184d41db5a.jpg","text":"TemporaryFile(/tmp/multipartBody4349118108976147321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450652980,"filename":"image_12042025_08_40_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352182450","file1":"1352182434","file0":"1352182428","file4":"1352182490","file5":"1352182513","file3":"1352182467"},"map_files_photo_id_array":[{"photo_id":"1352182513","filename":"file5"},{"photo_id":"1352182450","filename":"file2"},{"photo_id":"1352182490","filename":"file4"},{"photo_id":"1352182434","filename":"file1"},{"photo_id":"1352182428","filename":"file0"},{"photo_id":"1352182467","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352182467":["hashtag1","hashtag2"]},{"1352182434":["hashtag1","hashtag2"]},{"1352182428":["hashtag1","hashtag2"]},{"1352182490":["hashtag1","hashtag2"]},{"1352182450":["hashtag1","hashtag2"]},{"1352182513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352182467, 1352182434, 1352182428, 1352182490, 1352182450, 1352182513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.54079627990723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:37:32.583091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_25_9436.jpg', '/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_35_10381.jpg', '/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_44_9416.jpg', '/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_55_10392.jpg', '/home/pi/Desktop/images/12042025/08/40/image_12042025_08_41_05_10357.jpg', '/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_15_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_25_9436.jpg
/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_35_10381.jpg
/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_44_9416.jpg
/home/pi/Desktop/images/12042025/08/40/image_12042025_08_40_55_10392.jpg
/home/pi/Desktop/images/12042025/08/40/image_12042025_08_41_05_10357.jpg
/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_15_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352182778","1352182661","1352182715","1352182822","1352182630","1352182624"],"photo_ids_order":["1352182624","1352182630","1352182661","1352182715","1352182778","1352182822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba00f6a909fe2bb2d7d831a0425d7297.jpg","text":"TemporaryFile(/tmp/multipartBody866100710011076028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450713067,"filename":"image_12042025_08_41_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/913b356acc2082004255fa24c0021875.jpg","text":"TemporaryFile(/tmp/multipartBody3117182838697125404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450713067,"filename":"image_12042025_08_40_44_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad4b94a3515b4ddb97850a60eb17f6f1.jpg","text":"TemporaryFile(/tmp/multipartBody3906782890931495918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450713067,"filename":"image_12042025_08_40_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f883c266e37a0f792790e3dc0636a8db.jpg","text":"TemporaryFile(/tmp/multipartBody4365105884121102716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450713067,"filename":"image_12042025_08_41_15_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abb7ee8c160643182b2d35ca83748701.jpg","text":"TemporaryFile(/tmp/multipartBody1306665958336809302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450713067,"filename":"image_12042025_08_40_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5cbbf5c6ba17aa3fb1d95fae4f5270d3.jpg","text":"TemporaryFile(/tmp/multipartBody7017949745826138774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450713067,"filename":"image_12042025_08_40_25_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352182661","file1":"1352182630","file0":"1352182624","file4":"1352182778","file5":"1352182822","file3":"1352182715"},"map_files_photo_id_array":[{"photo_id":"1352182822","filename":"file5"},{"photo_id":"1352182661","filename":"file2"},{"photo_id":"1352182778","filename":"file4"},{"photo_id":"1352182630","filename":"file1"},{"photo_id":"1352182624","filename":"file0"},{"photo_id":"1352182715","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352182778":["hashtag1","hashtag2"]},{"1352182661":["hashtag1","hashtag2"]},{"1352182715":["hashtag1","hashtag2"]},{"1352182822":["hashtag1","hashtag2"]},{"1352182630":["hashtag1","hashtag2"]},{"1352182624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352182778, 1352182661, 1352182715, 1352182822, 1352182630, 1352182624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.976497411727905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:38:32.812307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_25_10386.jpg', '/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_34_9421.jpg', '/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_45_10464.jpg', '/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_55_10354.jpg', '/home/pi/Desktop/images/12042025/08/41/image_12042025_08_42_05_9442.jpg', '/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_15_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_25_10386.jpg
/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_34_9421.jpg
/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_45_10464.jpg
/home/pi/Desktop/images/12042025/08/41/image_12042025_08_41_55_10354.jpg
/home/pi/Desktop/images/12042025/08/41/image_12042025_08_42_05_9442.jpg
/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_15_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352183022","1352183147","1352183054","1352183092","1352183131","1352183067"],"photo_ids_order":["1352183022","1352183054","1352183067","1352183092","1352183131","1352183147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5173f5eabe8b9dcf774c43e7bdf88474.jpg","text":"TemporaryFile(/tmp/multipartBody6542083582041264915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450773261,"filename":"image_12042025_08_41_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a86fd21f277a18b4bdab13c2c5c38cbd.jpg","text":"TemporaryFile(/tmp/multipartBody3697088967765944452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450773261,"filename":"image_12042025_08_42_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e4de5fbcbe9babf0b7d27a6c031efb7.jpg","text":"TemporaryFile(/tmp/multipartBody7438744003194596114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450773261,"filename":"image_12042025_08_41_34_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9d8c1ecff8262f9290f4149bf89e203.jpg","text":"TemporaryFile(/tmp/multipartBody2501777984146170583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450773261,"filename":"image_12042025_08_41_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6727c0d198fc834d96079bb6e7a3ba60.jpg","text":"TemporaryFile(/tmp/multipartBody2305824836222260394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450773261,"filename":"image_12042025_08_42_05_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0843a45002d284783303c0c70fbfa398.jpg","text":"TemporaryFile(/tmp/multipartBody2021929486545474936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450773261,"filename":"image_12042025_08_41_45_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352183067","file1":"1352183054","file0":"1352183022","file4":"1352183131","file5":"1352183147","file3":"1352183092"},"map_files_photo_id_array":[{"photo_id":"1352183147","filename":"file5"},{"photo_id":"1352183067","filename":"file2"},{"photo_id":"1352183131","filename":"file4"},{"photo_id":"1352183054","filename":"file1"},{"photo_id":"1352183022","filename":"file0"},{"photo_id":"1352183092","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352183022":["hashtag1","hashtag2"]},{"1352183147":["hashtag1","hashtag2"]},{"1352183054":["hashtag1","hashtag2"]},{"1352183092":["hashtag1","hashtag2"]},{"1352183131":["hashtag1","hashtag2"]},{"1352183067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352183022, 1352183147, 1352183054, 1352183092, 1352183131, 1352183067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96342754364014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:39:33.223938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_24_9448.jpg', '/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_35_10415.jpg', '/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_45_10366.jpg', '/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_55_9421.jpg', '/home/pi/Desktop/images/12042025/08/42/image_12042025_08_43_05_10364.jpg', '/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_14_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_24_9448.jpg
/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_35_10415.jpg
/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_45_10366.jpg
/home/pi/Desktop/images/12042025/08/42/image_12042025_08_42_55_9421.jpg
/home/pi/Desktop/images/12042025/08/42/image_12042025_08_43_05_10364.jpg
/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_14_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352183214","1352183288","1352183273","1352183277","1352183241","1352183259"],"photo_ids_order":["1352183214","1352183241","1352183259","1352183273","1352183277","1352183288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6989b0be066ea07f281fe6f737298ce.jpg","text":"TemporaryFile(/tmp/multipartBody2701049192532051093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450833677,"filename":"image_12042025_08_42_24_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c02fe2f4bad09851ab331100e860570.jpg","text":"TemporaryFile(/tmp/multipartBody3148356821660084086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450833677,"filename":"image_12042025_08_43_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77bad9dc7e1457e51ec5c25581e34f1e.jpg","text":"TemporaryFile(/tmp/multipartBody8294394099149245865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450833677,"filename":"image_12042025_08_42_55_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d3b0473bed240dbcfead1b3c04173a9.jpg","text":"TemporaryFile(/tmp/multipartBody6729209383564574995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450833677,"filename":"image_12042025_08_43_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cccfc1fc219ddaa8a32e1814ac37f5b.jpg","text":"TemporaryFile(/tmp/multipartBody3438229928467028145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450833677,"filename":"image_12042025_08_42_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5b3623c7e35597c1432386b19138cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5186386143954689983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450833677,"filename":"image_12042025_08_42_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352183259","file1":"1352183241","file0":"1352183214","file4":"1352183277","file5":"1352183288","file3":"1352183273"},"map_files_photo_id_array":[{"photo_id":"1352183288","filename":"file5"},{"photo_id":"1352183259","filename":"file2"},{"photo_id":"1352183277","filename":"file4"},{"photo_id":"1352183241","filename":"file1"},{"photo_id":"1352183214","filename":"file0"},{"photo_id":"1352183273","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352183214":["hashtag1","hashtag2"]},{"1352183288":["hashtag1","hashtag2"]},{"1352183273":["hashtag1","hashtag2"]},{"1352183277":["hashtag1","hashtag2"]},{"1352183241":["hashtag1","hashtag2"]},{"1352183259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352183214, 1352183288, 1352183273, 1352183277, 1352183241, 1352183259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38758993148804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:40:32.382976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_25_10363.jpg', '/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_35_10366.jpg', '/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_44_9410.jpg', '/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_55_10413.jpg', '/home/pi/Desktop/images/12042025/08/43/image_12042025_08_44_04_9468.jpg', '/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_25_10363.jpg
/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_35_10366.jpg
/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_44_9410.jpg
/home/pi/Desktop/images/12042025/08/43/image_12042025_08_43_55_10413.jpg
/home/pi/Desktop/images/12042025/08/43/image_12042025_08_44_04_9468.jpg
/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_15_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352183406","1352183483","1352183389","1352183455","1352183428","1352183500"],"photo_ids_order":["1352183389","1352183406","1352183428","1352183455","1352183483","1352183500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b0e7362d70e1b4179630dabc9a5c1f0.jpg","text":"TemporaryFile(/tmp/multipartBody8008464064762947594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450892854,"filename":"image_12042025_08_43_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8caface835ca542ce5dd3325feab9f0e.jpg","text":"TemporaryFile(/tmp/multipartBody7024652102932211764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450892854,"filename":"image_12042025_08_44_04_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c51437fbab2fd2fcec579017d157ddf.jpg","text":"TemporaryFile(/tmp/multipartBody4344347081439806873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450892854,"filename":"image_12042025_08_43_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/226b6a7064674fd97668cee3d7d5a599.jpg","text":"TemporaryFile(/tmp/multipartBody8656211352899341831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450892854,"filename":"image_12042025_08_43_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cfbf6ceff3153929438776999d35135.jpg","text":"TemporaryFile(/tmp/multipartBody2895595810161091822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450892854,"filename":"image_12042025_08_43_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64dd9ed7a4b56030ef5bad2f417cc1a1.jpg","text":"TemporaryFile(/tmp/multipartBody292212880009876435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450892854,"filename":"image_12042025_08_44_15_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352183428","file1":"1352183406","file0":"1352183389","file4":"1352183483","file5":"1352183500","file3":"1352183455"},"map_files_photo_id_array":[{"photo_id":"1352183500","filename":"file5"},{"photo_id":"1352183428","filename":"file2"},{"photo_id":"1352183483","filename":"file4"},{"photo_id":"1352183406","filename":"file1"},{"photo_id":"1352183389","filename":"file0"},{"photo_id":"1352183455","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352183406":["hashtag1","hashtag2"]},{"1352183483":["hashtag1","hashtag2"]},{"1352183389":["hashtag1","hashtag2"]},{"1352183455":["hashtag1","hashtag2"]},{"1352183428":["hashtag1","hashtag2"]},{"1352183500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352183406, 1352183483, 1352183389, 1352183455, 1352183428, 1352183500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.903900384902954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:41:32.798975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_25_10445.jpg', '/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_35_9457.jpg', '/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_45_10373.jpg', '/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_54_9474.jpg', '/home/pi/Desktop/images/12042025/08/44/image_12042025_08_45_05_10357.jpg', '/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_15_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_25_10445.jpg
/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_35_9457.jpg
/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_45_10373.jpg
/home/pi/Desktop/images/12042025/08/44/image_12042025_08_44_54_9474.jpg
/home/pi/Desktop/images/12042025/08/44/image_12042025_08_45_05_10357.jpg
/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_15_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352183687","1352183684","1352183680","1352183691","1352183667","1352183646"],"photo_ids_order":["1352183646","1352183667","1352183680","1352183684","1352183687","1352183691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7280221852f1d57f87ddc39e9939b698.jpg","text":"TemporaryFile(/tmp/multipartBody8143144524241980653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450953251,"filename":"image_12042025_08_45_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/217c24eeef3020fcda3172c368eeb88b.jpg","text":"TemporaryFile(/tmp/multipartBody599687751906117660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450953251,"filename":"image_12042025_08_44_54_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cf0aa582bc82897675b67942778aa46.jpg","text":"TemporaryFile(/tmp/multipartBody5109204842868428380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450953251,"filename":"image_12042025_08_44_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b669bcba2ae56c07ff2d462dc7e35618.jpg","text":"TemporaryFile(/tmp/multipartBody2992451547064114560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450953251,"filename":"image_12042025_08_45_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7064b1b8f6bc9a4207e6b7a451cab377.jpg","text":"TemporaryFile(/tmp/multipartBody2474007132857798382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450953251,"filename":"image_12042025_08_44_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7c27ad13729c82d807fa4b38fcc68aa.jpg","text":"TemporaryFile(/tmp/multipartBody5682600256653970779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744450953251,"filename":"image_12042025_08_44_25_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352183680","file1":"1352183667","file0":"1352183646","file4":"1352183687","file5":"1352183691","file3":"1352183684"},"map_files_photo_id_array":[{"photo_id":"1352183691","filename":"file5"},{"photo_id":"1352183680","filename":"file2"},{"photo_id":"1352183687","filename":"file4"},{"photo_id":"1352183667","filename":"file1"},{"photo_id":"1352183646","filename":"file0"},{"photo_id":"1352183684","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352183687":["hashtag1","hashtag2"]},{"1352183684":["hashtag1","hashtag2"]},{"1352183680":["hashtag1","hashtag2"]},{"1352183691":["hashtag1","hashtag2"]},{"1352183667":["hashtag1","hashtag2"]},{"1352183646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352183687, 1352183684, 1352183680, 1352183691, 1352183667, 1352183646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.128734827041626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:42:32.922587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_25_9342.jpg', '/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_35_10345.jpg', '/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_44_9480.jpg', '/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_55_10427.jpg', '/home/pi/Desktop/images/12042025/08/45/image_12042025_08_46_05_10353.jpg', '/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_15_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_25_9342.jpg
/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_35_10345.jpg
/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_44_9480.jpg
/home/pi/Desktop/images/12042025/08/45/image_12042025_08_45_55_10427.jpg
/home/pi/Desktop/images/12042025/08/45/image_12042025_08_46_05_10353.jpg
/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_15_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352183771","1352183783","1352183746","1352183775","1352183778","1352183787"],"photo_ids_order":["1352183746","1352183771","1352183775","1352183778","1352183783","1352183787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b995634dfdcd5f4644ac85bf2f694ee7.jpg","text":"TemporaryFile(/tmp/multipartBody196110426825853111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451013381,"filename":"image_12042025_08_45_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b062bb4e85ba8e10b0f0022a181df598.jpg","text":"TemporaryFile(/tmp/multipartBody2511564697661421197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451013381,"filename":"image_12042025_08_46_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ccd5210c1733466c22671b8905554a28.jpg","text":"TemporaryFile(/tmp/multipartBody2588404293709263901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451013381,"filename":"image_12042025_08_45_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdbf3aa6d4aa9e378a8bd0b229138231.jpg","text":"TemporaryFile(/tmp/multipartBody8821802006721701831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451013381,"filename":"image_12042025_08_45_44_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8bd829c58f684e98e7c286da5381fc63.jpg","text":"TemporaryFile(/tmp/multipartBody2585407860965123947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451013381,"filename":"image_12042025_08_45_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f0d168df7253de552c3f04861e952bc.jpg","text":"TemporaryFile(/tmp/multipartBody5749166979184362529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451013381,"filename":"image_12042025_08_46_15_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352183775","file1":"1352183771","file0":"1352183746","file4":"1352183783","file5":"1352183787","file3":"1352183778"},"map_files_photo_id_array":[{"photo_id":"1352183787","filename":"file5"},{"photo_id":"1352183775","filename":"file2"},{"photo_id":"1352183783","filename":"file4"},{"photo_id":"1352183771","filename":"file1"},{"photo_id":"1352183746","filename":"file0"},{"photo_id":"1352183778","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352183771":["hashtag1","hashtag2"]},{"1352183783":["hashtag1","hashtag2"]},{"1352183746":["hashtag1","hashtag2"]},{"1352183775":["hashtag1","hashtag2"]},{"1352183778":["hashtag1","hashtag2"]},{"1352183787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352183771, 1352183783, 1352183746, 1352183775, 1352183778, 1352183787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.32728791236877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:43:43.063945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_25_10366.jpg', '/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_34_9469.jpg', '/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_45_10352.jpg', '/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_55_10340.jpg', '/home/pi/Desktop/images/12042025/08/46/image_12042025_08_47_05_9463.jpg', '/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_15_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_25_10366.jpg
/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_34_9469.jpg
/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_45_10352.jpg
/home/pi/Desktop/images/12042025/08/46/image_12042025_08_46_55_10340.jpg
/home/pi/Desktop/images/12042025/08/46/image_12042025_08_47_05_9463.jpg
/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_15_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352183817","1352183837","1352183822","1352183830","1352183832","1352183826"],"photo_ids_order":["1352183817","1352183822","1352183826","1352183830","1352183832","1352183837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a65c3f610d96850d387b162725206987.jpg","text":"TemporaryFile(/tmp/multipartBody3975638708361078298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451083517,"filename":"image_12042025_08_46_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22e26a66b408c077f3bbc9123db62ffc.jpg","text":"TemporaryFile(/tmp/multipartBody180492253278151102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451083517,"filename":"image_12042025_08_47_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a632b056fb801e8f2ec7ed1d26201b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6558542832445822771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451083517,"filename":"image_12042025_08_46_34_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/111a99e9609478b06c62d984367ada55.jpg","text":"TemporaryFile(/tmp/multipartBody4272423283634660491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451083517,"filename":"image_12042025_08_46_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f12f5ecca5e4d0d82c8bda0c3392c0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3681542596043311381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451083517,"filename":"image_12042025_08_47_05_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53d849945cf42ebc5329adc6c7852516.jpg","text":"TemporaryFile(/tmp/multipartBody2481782416062648557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451083517,"filename":"image_12042025_08_46_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352183826","file1":"1352183822","file0":"1352183817","file4":"1352183832","file5":"1352183837","file3":"1352183830"},"map_files_photo_id_array":[{"photo_id":"1352183837","filename":"file5"},{"photo_id":"1352183826","filename":"file2"},{"photo_id":"1352183832","filename":"file4"},{"photo_id":"1352183822","filename":"file1"},{"photo_id":"1352183817","filename":"file0"},{"photo_id":"1352183830","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352183817":["hashtag1","hashtag2"]},{"1352183837":["hashtag1","hashtag2"]},{"1352183822":["hashtag1","hashtag2"]},{"1352183830":["hashtag1","hashtag2"]},{"1352183832":["hashtag1","hashtag2"]},{"1352183826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352183817, 1352183837, 1352183822, 1352183830, 1352183832, 1352183826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11167597770691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:44:32.342393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_24_9423.jpg', '/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_35_10915.jpg', '/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_45_9430.jpg', '/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_55_10293.jpg', '/home/pi/Desktop/images/12042025/08/47/image_12042025_08_48_04_9413.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_15_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_24_9423.jpg
/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_35_10915.jpg
/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_45_9430.jpg
/home/pi/Desktop/images/12042025/08/47/image_12042025_08_47_55_10293.jpg
/home/pi/Desktop/images/12042025/08/47/image_12042025_08_48_04_9413.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_15_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352183978","1352183939","1352184010","1352184018","1352183958","1352184021"],"photo_ids_order":["1352183939","1352183958","1352183978","1352184010","1352184018","1352184021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75f33ab20d69fddc28b7bf08e70e1f72.jpg","text":"TemporaryFile(/tmp/multipartBody8910794871406753677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451132828,"filename":"image_12042025_08_47_45_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/263e87b4e9e24b3377e8184ffcdf6bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1488340444036584120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451132828,"filename":"image_12042025_08_47_24_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f17cf74cb5fdbe0d27e1f92224b97f7.jpg","text":"TemporaryFile(/tmp/multipartBody7150832355878058367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451132828,"filename":"image_12042025_08_47_55_10293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b2413bfe4d29e2f8ee479b74d056f50.jpg","text":"TemporaryFile(/tmp/multipartBody8543275488677511038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451132828,"filename":"image_12042025_08_48_04_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b482db1d8c1cf80fff832d93fbb5f71b.jpg","text":"TemporaryFile(/tmp/multipartBody1331234357891563367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451132828,"filename":"image_12042025_08_47_35_10915.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/baf6399df29994023c16a508ee3a98b4.jpg","text":"TemporaryFile(/tmp/multipartBody6321102549987208970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451132828,"filename":"image_12042025_08_48_15_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352183978","file1":"1352183958","file0":"1352183939","file4":"1352184018","file5":"1352184021","file3":"1352184010"},"map_files_photo_id_array":[{"photo_id":"1352184021","filename":"file5"},{"photo_id":"1352183978","filename":"file2"},{"photo_id":"1352184018","filename":"file4"},{"photo_id":"1352183958","filename":"file1"},{"photo_id":"1352183939","filename":"file0"},{"photo_id":"1352184010","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352183978":["hashtag1","hashtag2"]},{"1352183939":["hashtag1","hashtag2"]},{"1352184010":["hashtag1","hashtag2"]},{"1352184018":["hashtag1","hashtag2"]},{"1352183958":["hashtag1","hashtag2"]},{"1352184021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352183978, 1352183939, 1352184010, 1352184018, 1352183958, 1352184021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.258182764053345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:45:32.699084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_25_10379.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_35_9362.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_45_10356.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_54_9416.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_49_05_10367.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_25_10379.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_35_9362.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_45_10356.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_54_9416.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_49_05_10367.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_15_10340.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38048601150512695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:45:42.649516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_25_10379.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_35_9362.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_45_10356.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_54_9416.jpg', '/home/pi/Desktop/images/12042025/08/48/image_12042025_08_49_05_10367.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_25_10379.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_35_9362.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_45_10356.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_48_54_9416.jpg
/home/pi/Desktop/images/12042025/08/48/image_12042025_08_49_05_10367.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352184071","1352184080","1352184047","1352184076","1352184043","1352184051"],"photo_ids_order":["1352184043","1352184047","1352184051","1352184071","1352184076","1352184080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afc68ac1d964bbb610ed6ebd9f6a503e.jpg","text":"TemporaryFile(/tmp/multipartBody3326248445738374742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451203118,"filename":"image_12042025_08_48_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22b3388289eef14dd799c601d67e11be.jpg","text":"TemporaryFile(/tmp/multipartBody8749251577178175970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451203118,"filename":"image_12042025_08_49_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b53ec666263cde9d731e0d6add58f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6790464784626755782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451203118,"filename":"image_12042025_08_48_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af6a43c093d217e7fc7a893907bf0653.jpg","text":"TemporaryFile(/tmp/multipartBody1830216287013254503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451203118,"filename":"image_12042025_08_49_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e20512a3cc6cb07bfda6559d84a4e1af.jpg","text":"TemporaryFile(/tmp/multipartBody5632647454249128974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451203118,"filename":"image_12042025_08_48_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e7c895de29d05caf8f488611901005c.jpg","text":"TemporaryFile(/tmp/multipartBody1091341771045837357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451203118,"filename":"image_12042025_08_48_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352184051","file1":"1352184047","file0":"1352184043","file4":"1352184076","file5":"1352184080","file3":"1352184071"},"map_files_photo_id_array":[{"photo_id":"1352184080","filename":"file5"},{"photo_id":"1352184051","filename":"file2"},{"photo_id":"1352184076","filename":"file4"},{"photo_id":"1352184047","filename":"file1"},{"photo_id":"1352184043","filename":"file0"},{"photo_id":"1352184071","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352184071":["hashtag1","hashtag2"]},{"1352184080":["hashtag1","hashtag2"]},{"1352184047":["hashtag1","hashtag2"]},{"1352184076":["hashtag1","hashtag2"]},{"1352184043":["hashtag1","hashtag2"]},{"1352184051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352184071, 1352184080, 1352184047, 1352184076, 1352184043, 1352184051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.751436710357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:46:32.964545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_25_9461.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_35_10351.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_44_9419.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_55_10354.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_50_05_10348.jpg', '/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_14_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_25_9461.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_35_10351.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_44_9419.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_55_10354.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_50_05_10348.jpg
/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_14_9455.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39137792587280273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:46:42.885337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_25_9461.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_35_10351.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_44_9419.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_55_10354.jpg', '/home/pi/Desktop/images/12042025/08/49/image_12042025_08_50_05_10348.jpg', '/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_14_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_25_9461.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_35_10351.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_44_9419.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_49_55_10354.jpg
/home/pi/Desktop/images/12042025/08/49/image_12042025_08_50_05_10348.jpg
/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_14_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352184263","1352184233","1352184203","1352184295","1352184275","1352184176"],"photo_ids_order":["1352184176","1352184203","1352184233","1352184263","1352184275","1352184295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4300ca157a9a7b3977c70907864de975.jpg","text":"TemporaryFile(/tmp/multipartBody7578379786937252182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451263350,"filename":"image_12042025_08_49_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/377c0a3986d064d738d2a00cee87bb86.jpg","text":"TemporaryFile(/tmp/multipartBody3012983425273462610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451263350,"filename":"image_12042025_08_49_44_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7c4049896891268d6697e04a8246fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7129587528637865983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451263350,"filename":"image_12042025_08_49_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f68af8ea21757fe2389c84146d11a8ec.jpg","text":"TemporaryFile(/tmp/multipartBody5745688870335124483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451263350,"filename":"image_12042025_08_50_14_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfa4ba687ce16c53f57d9488299172a4.jpg","text":"TemporaryFile(/tmp/multipartBody6888238038625967277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451263350,"filename":"image_12042025_08_50_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae8aeb9948780ede33551d4b592a3df6.jpg","text":"TemporaryFile(/tmp/multipartBody1850403289418343959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451263350,"filename":"image_12042025_08_49_25_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352184233","file1":"1352184203","file0":"1352184176","file4":"1352184275","file5":"1352184295","file3":"1352184263"},"map_files_photo_id_array":[{"photo_id":"1352184295","filename":"file5"},{"photo_id":"1352184233","filename":"file2"},{"photo_id":"1352184275","filename":"file4"},{"photo_id":"1352184203","filename":"file1"},{"photo_id":"1352184176","filename":"file0"},{"photo_id":"1352184263","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352184263":["hashtag1","hashtag2"]},{"1352184233":["hashtag1","hashtag2"]},{"1352184203":["hashtag1","hashtag2"]},{"1352184295":["hashtag1","hashtag2"]},{"1352184275":["hashtag1","hashtag2"]},{"1352184176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352184263, 1352184233, 1352184203, 1352184295, 1352184275, 1352184176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.409122705459595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:47:33.118421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_25_10387.jpg', '/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_35_10350.jpg', '/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_45_9438.jpg', '/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_55_10352.jpg', '/home/pi/Desktop/images/12042025/08/50/image_12042025_08_51_04_9397.jpg', '/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_15_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_25_10387.jpg
/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_35_10350.jpg
/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_45_9438.jpg
/home/pi/Desktop/images/12042025/08/50/image_12042025_08_50_55_10352.jpg
/home/pi/Desktop/images/12042025/08/50/image_12042025_08_51_04_9397.jpg
/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_15_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352184383","1352184397","1352184385","1352184376","1352184393","1352184389"],"photo_ids_order":["1352184376","1352184383","1352184385","1352184389","1352184393","1352184397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10bb32dac3f5a855c13aca215d925df8.jpg","text":"TemporaryFile(/tmp/multipartBody1427763429212202647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451313585,"filename":"image_12042025_08_50_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23842ed4e19ad56b03603a2e1274abd3.jpg","text":"TemporaryFile(/tmp/multipartBody1922280636374275431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451313585,"filename":"image_12042025_08_51_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59dd44533ea236d3b4e087a862643b60.jpg","text":"TemporaryFile(/tmp/multipartBody3782973443671921765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451313585,"filename":"image_12042025_08_50_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d44c0f13a403340963e5098db9880039.jpg","text":"TemporaryFile(/tmp/multipartBody8217781941766517375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451313585,"filename":"image_12042025_08_50_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/870dbbfd2d527c5721753aa9269c7ff8.jpg","text":"TemporaryFile(/tmp/multipartBody3085476242430224971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451313585,"filename":"image_12042025_08_51_04_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e0df06918026bfa198eb3b779223575.jpg","text":"TemporaryFile(/tmp/multipartBody5406986906756731581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451313585,"filename":"image_12042025_08_50_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352184385","file1":"1352184383","file0":"1352184376","file4":"1352184393","file5":"1352184397","file3":"1352184389"},"map_files_photo_id_array":[{"photo_id":"1352184397","filename":"file5"},{"photo_id":"1352184385","filename":"file2"},{"photo_id":"1352184393","filename":"file4"},{"photo_id":"1352184383","filename":"file1"},{"photo_id":"1352184376","filename":"file0"},{"photo_id":"1352184389","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352184383":["hashtag1","hashtag2"]},{"1352184397":["hashtag1","hashtag2"]},{"1352184385":["hashtag1","hashtag2"]},{"1352184376":["hashtag1","hashtag2"]},{"1352184393":["hashtag1","hashtag2"]},{"1352184389":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352184383, 1352184397, 1352184385, 1352184376, 1352184393, 1352184389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07437443733215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:48:32.340073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_25_10366.jpg', '/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_35_9422.jpg', '/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_45_10369.jpg', '/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_54_9459.jpg', '/home/pi/Desktop/images/12042025/08/51/image_12042025_08_52_05_10427.jpg', '/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_15_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_25_10366.jpg
/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_35_9422.jpg
/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_45_10369.jpg
/home/pi/Desktop/images/12042025/08/51/image_12042025_08_51_54_9459.jpg
/home/pi/Desktop/images/12042025/08/51/image_12042025_08_52_05_10427.jpg
/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_15_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352184892","1352184839","1352184775","1352184664","1352184721","1352184899"],"photo_ids_order":["1352184664","1352184721","1352184775","1352184839","1352184892","1352184899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d25da6a0ffc839fb3709e18fe282d8fc.jpg","text":"TemporaryFile(/tmp/multipartBody8991785098634169915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451372824,"filename":"image_12042025_08_52_05_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bb155be52a5fe88f69fb459b8a1fdc6.jpg","text":"TemporaryFile(/tmp/multipartBody3543406126901498223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451372824,"filename":"image_12042025_08_51_54_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08770c740c6f14a29af6a382208eb122.jpg","text":"TemporaryFile(/tmp/multipartBody1890778754936856259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451372824,"filename":"image_12042025_08_51_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7bc1df82254dcf123bdf3bcc374d7022.jpg","text":"TemporaryFile(/tmp/multipartBody2823280472126197775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451372824,"filename":"image_12042025_08_51_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb8e01fa9e518b8ac29fd05497636682.jpg","text":"TemporaryFile(/tmp/multipartBody1148082732552050622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451372824,"filename":"image_12042025_08_51_35_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe6fc05c05079e4000a0f0f6151a6b50.jpg","text":"TemporaryFile(/tmp/multipartBody4248803330255542520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451372824,"filename":"image_12042025_08_52_15_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352184775","file1":"1352184721","file0":"1352184664","file4":"1352184892","file5":"1352184899","file3":"1352184839"},"map_files_photo_id_array":[{"photo_id":"1352184899","filename":"file5"},{"photo_id":"1352184775","filename":"file2"},{"photo_id":"1352184892","filename":"file4"},{"photo_id":"1352184721","filename":"file1"},{"photo_id":"1352184664","filename":"file0"},{"photo_id":"1352184839","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352184892":["hashtag1","hashtag2"]},{"1352184839":["hashtag1","hashtag2"]},{"1352184775":["hashtag1","hashtag2"]},{"1352184664":["hashtag1","hashtag2"]},{"1352184721":["hashtag1","hashtag2"]},{"1352184899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352184892, 1352184839, 1352184775, 1352184664, 1352184721, 1352184899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60592031478882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:49:32.590302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_25_9412.jpg', '/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_35_10343.jpg', '/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_44_9437.jpg', '/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_55_10364.jpg', '/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_15_9337.jpg', '/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_25_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_25_9412.jpg
/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_35_10343.jpg
/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_44_9437.jpg
/home/pi/Desktop/images/12042025/08/52/image_12042025_08_52_55_10364.jpg
/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_15_9337.jpg
/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_25_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185171","1352185138","1352185117","1352185152","1352185175","1352185091"],"photo_ids_order":["1352185091","1352185117","1352185138","1352185152","1352185171","1352185175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72c736669fac29cf5b53b0bbff22b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody8826150311282970653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451433050,"filename":"image_12042025_08_53_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c40b4ebebcc50365850c88286440016d.jpg","text":"TemporaryFile(/tmp/multipartBody8761493604318638678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451433050,"filename":"image_12042025_08_52_44_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13d21c78eec36120c0614a24d69398dd.jpg","text":"TemporaryFile(/tmp/multipartBody4102568977321260490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451433050,"filename":"image_12042025_08_52_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8264e9c990cba2f066ba2dfc683430e.jpg","text":"TemporaryFile(/tmp/multipartBody1708240182384190437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451433050,"filename":"image_12042025_08_52_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e0afc1a83147b803c2d9888aacd5b96.jpg","text":"TemporaryFile(/tmp/multipartBody5886969663387786066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451433050,"filename":"image_12042025_08_53_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df14e39eb1ca767cce4c0e2b1546d67d.jpg","text":"TemporaryFile(/tmp/multipartBody4759476843636385913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451433050,"filename":"image_12042025_08_52_25_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185138","file1":"1352185117","file0":"1352185091","file4":"1352185171","file5":"1352185175","file3":"1352185152"},"map_files_photo_id_array":[{"photo_id":"1352185175","filename":"file5"},{"photo_id":"1352185138","filename":"file2"},{"photo_id":"1352185171","filename":"file4"},{"photo_id":"1352185117","filename":"file1"},{"photo_id":"1352185091","filename":"file0"},{"photo_id":"1352185152","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352185171":["hashtag1","hashtag2"]},{"1352185138":["hashtag1","hashtag2"]},{"1352185117":["hashtag1","hashtag2"]},{"1352185152":["hashtag1","hashtag2"]},{"1352185175":["hashtag1","hashtag2"]},{"1352185091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352185171, 1352185138, 1352185117, 1352185152, 1352185175, 1352185091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65357184410095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:50:32.735551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_34_9456.jpg', '/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_45_10362.jpg', '/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_55_10439.jpg', '/home/pi/Desktop/images/12042025/08/53/image_12042025_08_54_05_9346.jpg', '/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_15_10344.jpg', '/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_24_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_34_9456.jpg
/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_45_10362.jpg
/home/pi/Desktop/images/12042025/08/53/image_12042025_08_53_55_10439.jpg
/home/pi/Desktop/images/12042025/08/53/image_12042025_08_54_05_9346.jpg
/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_15_10344.jpg
/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_24_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185601","1352185505","1352185489","1352185528","1352185479","1352185565"],"photo_ids_order":["1352185479","1352185489","1352185505","1352185528","1352185565","1352185601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fcb542b2cd017e5b65968291b330245e.jpg","text":"TemporaryFile(/tmp/multipartBody3552426415797735788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451493196,"filename":"image_12042025_08_54_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b491ac7b6ae620388cede3ecb70fc8e.jpg","text":"TemporaryFile(/tmp/multipartBody5267718121217620755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451493196,"filename":"image_12042025_08_53_55_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eba63a20bced73639373ed9ec06bfc6b.jpg","text":"TemporaryFile(/tmp/multipartBody2301478991414703557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451493196,"filename":"image_12042025_08_53_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4d5c7b6e964e79e2b27d5a875f83aff.jpg","text":"TemporaryFile(/tmp/multipartBody4123082596086749717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451493196,"filename":"image_12042025_08_54_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6371e839901e42e1a00a8f52318f715f.jpg","text":"TemporaryFile(/tmp/multipartBody7214217206938888262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451493196,"filename":"image_12042025_08_53_34_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37bdbfc2f14fc477c90f93578f402909.jpg","text":"TemporaryFile(/tmp/multipartBody350577653977802789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451493196,"filename":"image_12042025_08_54_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185505","file1":"1352185489","file0":"1352185479","file4":"1352185565","file5":"1352185601","file3":"1352185528"},"map_files_photo_id_array":[{"photo_id":"1352185601","filename":"file5"},{"photo_id":"1352185505","filename":"file2"},{"photo_id":"1352185565","filename":"file4"},{"photo_id":"1352185489","filename":"file1"},{"photo_id":"1352185479","filename":"file0"},{"photo_id":"1352185528","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352185601":["hashtag1","hashtag2"]},{"1352185505":["hashtag1","hashtag2"]},{"1352185489":["hashtag1","hashtag2"]},{"1352185528":["hashtag1","hashtag2"]},{"1352185479":["hashtag1","hashtag2"]},{"1352185565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352185601, 1352185505, 1352185489, 1352185528, 1352185479, 1352185565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11066818237305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:51:33.093195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_35_10374.jpg', '/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_45_10371.jpg', '/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_55_9425.jpg', '/home/pi/Desktop/images/12042025/08/54/image_12042025_08_55_05_10367.jpg', '/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_14_9434.jpg', '/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_35_10374.jpg
/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_45_10371.jpg
/home/pi/Desktop/images/12042025/08/54/image_12042025_08_54_55_9425.jpg
/home/pi/Desktop/images/12042025/08/54/image_12042025_08_55_05_10367.jpg
/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_14_9434.jpg
/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_25_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185637","1352185648","1352185647","1352185641","1352185632","1352185634"],"photo_ids_order":["1352185632","1352185634","1352185637","1352185641","1352185647","1352185648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e39b67c0ddb7cd158f55e91baa5e287.jpg","text":"TemporaryFile(/tmp/multipartBody7539493394645865775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451553552,"filename":"image_12042025_08_54_55_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b381176be8217d0e4ad54c04e7a4960.jpg","text":"TemporaryFile(/tmp/multipartBody2422428168834511704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451553552,"filename":"image_12042025_08_55_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c07f00cdbaabbf21111deb30e7f2f4e5.jpg","text":"TemporaryFile(/tmp/multipartBody6189778227176576845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451553552,"filename":"image_12042025_08_55_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e94157e4a420874cf3ae74437ec466f.jpg","text":"TemporaryFile(/tmp/multipartBody3425806662604225672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451553552,"filename":"image_12042025_08_55_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95ba84f8e3faac82fa0f56f59cc235a5.jpg","text":"TemporaryFile(/tmp/multipartBody7842341862350177330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451553552,"filename":"image_12042025_08_54_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11bb6297dc37494a77f56f5d039b378f.jpg","text":"TemporaryFile(/tmp/multipartBody2721998444153311738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451553552,"filename":"image_12042025_08_54_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185637","file1":"1352185634","file0":"1352185632","file4":"1352185647","file5":"1352185648","file3":"1352185641"},"map_files_photo_id_array":[{"photo_id":"1352185648","filename":"file5"},{"photo_id":"1352185637","filename":"file2"},{"photo_id":"1352185647","filename":"file4"},{"photo_id":"1352185634","filename":"file1"},{"photo_id":"1352185632","filename":"file0"},{"photo_id":"1352185641","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352185637":["hashtag1","hashtag2"]},{"1352185648":["hashtag1","hashtag2"]},{"1352185647":["hashtag1","hashtag2"]},{"1352185641":["hashtag1","hashtag2"]},{"1352185632":["hashtag1","hashtag2"]},{"1352185634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352185637, 1352185648, 1352185647, 1352185641, 1352185632, 1352185634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32682800292969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:52:32.334792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_35_10341.jpg', '/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_44_9402.jpg', '/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_55_10368.jpg', '/home/pi/Desktop/images/12042025/08/55/image_12042025_08_56_05_10352.jpg', '/home/pi/Desktop/images/12042025/08/56/image_12042025_08_56_15_9434.jpg', '/home/pi/Desktop/images/12042025/08/56/image_12042025_08_56_34_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_35_10341.jpg
/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_44_9402.jpg
/home/pi/Desktop/images/12042025/08/55/image_12042025_08_55_55_10368.jpg
/home/pi/Desktop/images/12042025/08/55/image_12042025_08_56_05_10352.jpg
/home/pi/Desktop/images/12042025/08/56/image_12042025_08_56_15_9434.jpg
/home/pi/Desktop/images/12042025/08/56/image_12042025_08_56_34_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185672","1352185683","1352185671","1352185680","1352185674","1352185677"],"photo_ids_order":["1352185671","1352185672","1352185674","1352185677","1352185680","1352185683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9fc615c13d7847b23024cedca53bfda.jpg","text":"TemporaryFile(/tmp/multipartBody668516166334096044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451612802,"filename":"image_12042025_08_55_44_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9cb270e973f3ea51abad6cd9af2c1d2.jpg","text":"TemporaryFile(/tmp/multipartBody6233167213462697320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451612802,"filename":"image_12042025_08_56_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cabe7dac91608588de4b0c35ac8034de.jpg","text":"TemporaryFile(/tmp/multipartBody4544886944377876103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451612802,"filename":"image_12042025_08_55_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cad0578a3488c24887f1aa150280567.jpg","text":"TemporaryFile(/tmp/multipartBody6884401531532763515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451612802,"filename":"image_12042025_08_56_15_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f2ee0d98e765f0f6d2eb800bd17d647.jpg","text":"TemporaryFile(/tmp/multipartBody227279729952885317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451612802,"filename":"image_12042025_08_55_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/161e4423c50d7e1614fc33b369dcd6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3920862367251246668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451612802,"filename":"image_12042025_08_56_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185674","file1":"1352185672","file0":"1352185671","file4":"1352185680","file5":"1352185683","file3":"1352185677"},"map_files_photo_id_array":[{"photo_id":"1352185683","filename":"file5"},{"photo_id":"1352185674","filename":"file2"},{"photo_id":"1352185680","filename":"file4"},{"photo_id":"1352185672","filename":"file1"},{"photo_id":"1352185671","filename":"file0"},{"photo_id":"1352185677","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352185672":["hashtag1","hashtag2"]},{"1352185683":["hashtag1","hashtag2"]},{"1352185671":["hashtag1","hashtag2"]},{"1352185680":["hashtag1","hashtag2"]},{"1352185674":["hashtag1","hashtag2"]},{"1352185677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352185672, 1352185683, 1352185671, 1352185680, 1352185674, 1352185677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.139766693115234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:53:32.885429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/56/image_12042025_08_56_45_10356.jpg', '/home/pi/Desktop/images/12042025/08/56/image_12042025_08_57_05_9450.jpg', '/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_15_10352.jpg', '/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_25_10372.jpg', '/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_35_9383.jpg', '/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/56/image_12042025_08_56_45_10356.jpg
/home/pi/Desktop/images/12042025/08/56/image_12042025_08_57_05_9450.jpg
/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_15_10352.jpg
/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_25_10372.jpg
/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_35_9383.jpg
/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185802","1352185744","1352185794","1352185747","1352185755","1352185740"],"photo_ids_order":["1352185740","1352185744","1352185747","1352185755","1352185794","1352185802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7b7b23a35290b5129f2c675b828a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody8861526095001614504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451673345,"filename":"image_12042025_08_57_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0d04eb77308ffa9b092605396181683.jpg","text":"TemporaryFile(/tmp/multipartBody5041073378644285508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451673345,"filename":"image_12042025_08_57_05_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f5aee44caef5816a11108e8df141bb4.jpg","text":"TemporaryFile(/tmp/multipartBody8664103096892936326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451673345,"filename":"image_12042025_08_57_35_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cc4bfb537a01e616442ce1de1933f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5742846922106588107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451673345,"filename":"image_12042025_08_57_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0989567a9b62ca7377b15350aadb61a7.jpg","text":"TemporaryFile(/tmp/multipartBody1618266886816833438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451673345,"filename":"image_12042025_08_57_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16aac1597782d14f4330371ee5a9780c.jpg","text":"TemporaryFile(/tmp/multipartBody4080937817532161944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451673345,"filename":"image_12042025_08_56_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185747","file1":"1352185744","file0":"1352185740","file4":"1352185794","file5":"1352185802","file3":"1352185755"},"map_files_photo_id_array":[{"photo_id":"1352185802","filename":"file5"},{"photo_id":"1352185747","filename":"file2"},{"photo_id":"1352185794","filename":"file4"},{"photo_id":"1352185744","filename":"file1"},{"photo_id":"1352185740","filename":"file0"},{"photo_id":"1352185755","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352185802":["hashtag1","hashtag2"]},{"1352185744":["hashtag1","hashtag2"]},{"1352185794":["hashtag1","hashtag2"]},{"1352185747":["hashtag1","hashtag2"]},{"1352185755":["hashtag1","hashtag2"]},{"1352185740":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352185802, 1352185744, 1352185794, 1352185747, 1352185755, 1352185740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.506815671920776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:54:32.923524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_54_9395.jpg', '/home/pi/Desktop/images/12042025/08/57/image_12042025_08_58_05_10349.jpg', '/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_15_10371.jpg', '/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_25_9438.jpg', '/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_35_10352.jpg', '/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_44_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/57/image_12042025_08_57_54_9395.jpg
/home/pi/Desktop/images/12042025/08/57/image_12042025_08_58_05_10349.jpg
/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_15_10371.jpg
/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_25_9438.jpg
/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_35_10352.jpg
/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_44_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352185990","1352185984","1352185992","1352185930","1352185995","1352185997"],"photo_ids_order":["1352185930","1352185984","1352185990","1352185992","1352185995","1352185997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6a8b92fda5b30f13da1a949e3db9c24.jpg","text":"TemporaryFile(/tmp/multipartBody6705478293048992017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451733403,"filename":"image_12042025_08_58_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49cf0f62471554bbd8a46cc050e173a2.jpg","text":"TemporaryFile(/tmp/multipartBody7883187263751961731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451733403,"filename":"image_12042025_08_58_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9090cac2acab1144a4a95bd288dc4708.jpg","text":"TemporaryFile(/tmp/multipartBody215574252742952366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451733403,"filename":"image_12042025_08_58_25_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5d5ffd19ab21efb5a24f93327ba325d.jpg","text":"TemporaryFile(/tmp/multipartBody6300080928853368748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451733403,"filename":"image_12042025_08_57_54_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/708c0fcf6f8f7db50d0f1bb2e6f4eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody3727107878749394596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451733403,"filename":"image_12042025_08_58_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5d94ba85c3316d485379ef5a2faa3b0.jpg","text":"TemporaryFile(/tmp/multipartBody5430847442752218595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451733403,"filename":"image_12042025_08_58_44_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352185990","file1":"1352185984","file0":"1352185930","file4":"1352185995","file5":"1352185997","file3":"1352185992"},"map_files_photo_id_array":[{"photo_id":"1352185997","filename":"file5"},{"photo_id":"1352185990","filename":"file2"},{"photo_id":"1352185995","filename":"file4"},{"photo_id":"1352185984","filename":"file1"},{"photo_id":"1352185930","filename":"file0"},{"photo_id":"1352185992","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352185990":["hashtag1","hashtag2"]},{"1352185984":["hashtag1","hashtag2"]},{"1352185992":["hashtag1","hashtag2"]},{"1352185930":["hashtag1","hashtag2"]},{"1352185995":["hashtag1","hashtag2"]},{"1352185997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352185990, 1352185984, 1352185992, 1352185930, 1352185995, 1352185997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.887784004211426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:55:33.230431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_55_10365.jpg', '/home/pi/Desktop/images/12042025/08/58/image_12042025_08_59_05_10398.jpg', '/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_15_9438.jpg', '/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_25_10431.jpg', '/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_34_9409.jpg', '/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_45_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/58/image_12042025_08_58_55_10365.jpg
/home/pi/Desktop/images/12042025/08/58/image_12042025_08_59_05_10398.jpg
/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_15_9438.jpg
/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_25_10431.jpg
/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_34_9409.jpg
/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_45_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186014","1352186017","1352186166","1352186129","1352186039","1352186012"],"photo_ids_order":["1352186012","1352186014","1352186017","1352186039","1352186129","1352186166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c7e1282b3bb630d5eca28d6f9336c88.jpg","text":"TemporaryFile(/tmp/multipartBody4050326596947110212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451793701,"filename":"image_12042025_08_59_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/290896b0f283b8d2774cf3600c78297b.jpg","text":"TemporaryFile(/tmp/multipartBody8145222237309131154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451793701,"filename":"image_12042025_08_59_15_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c97476ce606280a9c2f6bdb338528770.jpg","text":"TemporaryFile(/tmp/multipartBody593175460348356028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451793701,"filename":"image_12042025_08_59_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e28b84da591cca0342feee2db3287d8.jpg","text":"TemporaryFile(/tmp/multipartBody8247792858775222749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451793701,"filename":"image_12042025_08_59_34_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/380e20921388ef3279a9bc181da56aab.jpg","text":"TemporaryFile(/tmp/multipartBody1457513914417149329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451793701,"filename":"image_12042025_08_59_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec8c2fa102779e2780bc84457ac6f8e0.jpg","text":"TemporaryFile(/tmp/multipartBody2761673123848354641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451793701,"filename":"image_12042025_08_58_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186017","file1":"1352186014","file0":"1352186012","file4":"1352186129","file5":"1352186166","file3":"1352186039"},"map_files_photo_id_array":[{"photo_id":"1352186166","filename":"file5"},{"photo_id":"1352186017","filename":"file2"},{"photo_id":"1352186129","filename":"file4"},{"photo_id":"1352186014","filename":"file1"},{"photo_id":"1352186012","filename":"file0"},{"photo_id":"1352186039","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352186014":["hashtag1","hashtag2"]},{"1352186017":["hashtag1","hashtag2"]},{"1352186166":["hashtag1","hashtag2"]},{"1352186129":["hashtag1","hashtag2"]},{"1352186039":["hashtag1","hashtag2"]},{"1352186012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352186014, 1352186017, 1352186166, 1352186129, 1352186039, 1352186012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.94037914276123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:56:32.394866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_55_10372.jpg', '/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_16_10074.jpg', '/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_27_10484.jpg', '/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_37_10433.jpg', '/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_47_9431.jpg', '/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_57_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/08/59/image_12042025_08_59_55_10372.jpg
/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_16_10074.jpg
/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_27_10484.jpg
/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_37_10433.jpg
/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_47_9431.jpg
/home/pi/Desktop/images/12042025/09/00/image_12042025_09_00_57_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186212","1352186215","1352186208","1352186216","1352186210","1352186207"],"photo_ids_order":["1352186207","1352186208","1352186210","1352186212","1352186215","1352186216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30f735974ca3869f6fd6389fd537a2b8.jpg","text":"TemporaryFile(/tmp/multipartBody2256939339964731863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451852861,"filename":"image_12042025_09_00_37_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d1b87ad07b0a2a5d2a7d2f050b8c89f.jpg","text":"TemporaryFile(/tmp/multipartBody1455256936232764599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451852861,"filename":"image_12042025_09_00_47_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13b5a1e73210f05bdaeb88f1307fac34.jpg","text":"TemporaryFile(/tmp/multipartBody105921700337669974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451852861,"filename":"image_12042025_09_00_16_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d6ac2904231bed5ba80547161aa500f.jpg","text":"TemporaryFile(/tmp/multipartBody831571961542249664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451852861,"filename":"image_12042025_09_00_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfdf85fb0ec320e5c3a36b1210854134.jpg","text":"TemporaryFile(/tmp/multipartBody5209882319425154980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451852861,"filename":"image_12042025_09_00_27_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d4515e6ba588ee03495e20c037e9c25.jpg","text":"TemporaryFile(/tmp/multipartBody6644403356233497537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744451852861,"filename":"image_12042025_08_59_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186210","file1":"1352186208","file0":"1352186207","file4":"1352186215","file5":"1352186216","file3":"1352186212"},"map_files_photo_id_array":[{"photo_id":"1352186216","filename":"file5"},{"photo_id":"1352186210","filename":"file2"},{"photo_id":"1352186215","filename":"file4"},{"photo_id":"1352186208","filename":"file1"},{"photo_id":"1352186207","filename":"file0"},{"photo_id":"1352186212","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352186212":["hashtag1","hashtag2"]},{"1352186215":["hashtag1","hashtag2"]},{"1352186208":["hashtag1","hashtag2"]},{"1352186216":["hashtag1","hashtag2"]},{"1352186210":["hashtag1","hashtag2"]},{"1352186207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352186212, 1352186215, 1352186208, 1352186216, 1352186210, 1352186207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.340128898620605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:57:32.584906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/00/image_12042025_09_01_06_9467.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_17_10351.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_27_10383.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_36_9392.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_47_10373.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/00/image_12042025_09_01_06_9467.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_17_10351.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_27_10383.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_36_9392.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_47_10373.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_56_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 11:59:04.778574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/00/image_12042025_09_01_06_9467.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_17_10351.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_27_10383.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_36_9392.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_47_10373.jpg', '/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/00/image_12042025_09_01_06_9467.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_17_10351.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_27_10383.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_36_9392.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_47_10373.jpg
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_01_56_9350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186316","1352186310","1352186301","1352186321","1352186330","1352186324"],"photo_ids_order":["1352186301","1352186310","1352186316","1352186321","1352186324","1352186330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e89e3c3176f14a931156e899329fb38f.jpg","text":"TemporaryFile(/tmp/multipartBody6314421472327489329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452005434,"filename":"image_12042025_09_01_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef9bf09f97ba8aa5d0199256afda2b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6844639819951306075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452005434,"filename":"image_12042025_09_01_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7744ae8b8a0bbaf376ca6a6c0ec47bd.jpg","text":"TemporaryFile(/tmp/multipartBody5512582819134385856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452005434,"filename":"image_12042025_09_01_06_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df4c425c58f12e02484f4dc184fe7f40.jpg","text":"TemporaryFile(/tmp/multipartBody6101939218327636752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452005434,"filename":"image_12042025_09_01_36_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13afd833b57a5df59ede66320e0f42e6.jpg","text":"TemporaryFile(/tmp/multipartBody2487092189092972680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452005434,"filename":"image_12042025_09_01_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba45a7fc1a79c15062baae378be4d03b.jpg","text":"TemporaryFile(/tmp/multipartBody3141823416037473479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452005434,"filename":"image_12042025_09_01_47_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186316","file1":"1352186310","file0":"1352186301","file4":"1352186324","file5":"1352186330","file3":"1352186321"},"map_files_photo_id_array":[{"photo_id":"1352186330","filename":"file5"},{"photo_id":"1352186316","filename":"file2"},{"photo_id":"1352186324","filename":"file4"},{"photo_id":"1352186310","filename":"file1"},{"photo_id":"1352186301","filename":"file0"},{"photo_id":"1352186321","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352186316":["hashtag1","hashtag2"]},{"1352186310":["hashtag1","hashtag2"]},{"1352186301":["hashtag1","hashtag2"]},{"1352186321":["hashtag1","hashtag2"]},{"1352186330":["hashtag1","hashtag2"]},{"1352186324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352186316, 1352186310, 1352186301, 1352186321, 1352186330, 1352186324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.248130798339844 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 11:59:53.198793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/01/image_12042025_09_02_07_10362.jpg', '/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_17_10358.jpg', '/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_26_9452.jpg', '/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_37_10357.jpg', '/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_46_9366.jpg', '/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_56_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/01/image_12042025_09_02_07_10362.jpg
/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_17_10358.jpg
/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_26_9452.jpg
/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_37_10357.jpg
/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_46_9366.jpg
/home/pi/Desktop/images/12042025/09/02/image_12042025_09_02_56_10375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186356","1352186357","1352186387","1352186369","1352186360","1352186354"],"photo_ids_order":["1352186354","1352186356","1352186357","1352186360","1352186369","1352186387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a7c0c68c182f2c51cc08efbca664a30.jpg","text":"TemporaryFile(/tmp/multipartBody1652206509891399591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452053655,"filename":"image_12042025_09_02_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a270021e05bfdea582d39f855e1cc005.jpg","text":"TemporaryFile(/tmp/multipartBody2333315808273108142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452053655,"filename":"image_12042025_09_02_26_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8161771c64bbd0211de2ebe8c512b51.jpg","text":"TemporaryFile(/tmp/multipartBody1659169109053524182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452053655,"filename":"image_12042025_09_02_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/405bd70f64d440ab936ce69bad91a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody7643063879297608174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452053655,"filename":"image_12042025_09_02_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/587a60f05716c57cc79d55b22006386a.jpg","text":"TemporaryFile(/tmp/multipartBody4509326421064689308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452053655,"filename":"image_12042025_09_02_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a609b59e13df1008eb97304afae167e5.jpg","text":"TemporaryFile(/tmp/multipartBody5019162176506568861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452053655,"filename":"image_12042025_09_02_07_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186357","file1":"1352186356","file0":"1352186354","file4":"1352186369","file5":"1352186387","file3":"1352186360"},"map_files_photo_id_array":[{"photo_id":"1352186387","filename":"file5"},{"photo_id":"1352186357","filename":"file2"},{"photo_id":"1352186369","filename":"file4"},{"photo_id":"1352186356","filename":"file1"},{"photo_id":"1352186354","filename":"file0"},{"photo_id":"1352186360","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352186356":["hashtag1","hashtag2"]},{"1352186357":["hashtag1","hashtag2"]},{"1352186387":["hashtag1","hashtag2"]},{"1352186369":["hashtag1","hashtag2"]},{"1352186360":["hashtag1","hashtag2"]},{"1352186354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352186356, 1352186357, 1352186387, 1352186369, 1352186360, 1352186354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20712852478027 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 12:00:42.420772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/02/image_12042025_09_03_07_10358.jpg', '/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_16_9344.jpg', '/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_27_10519.jpg', '/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_36_9488.jpg', '/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_47_10379.jpg', '/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_57_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/02/image_12042025_09_03_07_10358.jpg
/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_16_9344.jpg
/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_27_10519.jpg
/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_36_9488.jpg
/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_47_10379.jpg
/home/pi/Desktop/images/12042025/09/03/image_12042025_09_03_57_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352186563","1352186518","1352186500","1352186508","1352186513","1352186566"],"photo_ids_order":["1352186500","1352186508","1352186513","1352186518","1352186563","1352186566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5cdb726272eb1062a1370aca721906fd.jpg","text":"TemporaryFile(/tmp/multipartBody311707699626773013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452102890,"filename":"image_12042025_09_03_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f78252a0d9159f1b9b191c4be1eb187c.jpg","text":"TemporaryFile(/tmp/multipartBody3485826341105960315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452102890,"filename":"image_12042025_09_03_36_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16f95d3d77170859ed1018d28661bb9a.jpg","text":"TemporaryFile(/tmp/multipartBody1421880163515676646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452102890,"filename":"image_12042025_09_03_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0eb34a6582543effbcfbe2fe79155124.jpg","text":"TemporaryFile(/tmp/multipartBody6216856525370288364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452102890,"filename":"image_12042025_09_03_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af7c2638eabab1d2c4893ed3996a0606.jpg","text":"TemporaryFile(/tmp/multipartBody6260504154317862992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452102890,"filename":"image_12042025_09_03_27_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf93d30121cfe3b7b6aca9d72effb790.jpg","text":"TemporaryFile(/tmp/multipartBody5550797870722397148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452102890,"filename":"image_12042025_09_03_57_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186513","file1":"1352186508","file0":"1352186500","file4":"1352186563","file5":"1352186566","file3":"1352186518"},"map_files_photo_id_array":[{"photo_id":"1352186566","filename":"file5"},{"photo_id":"1352186513","filename":"file2"},{"photo_id":"1352186563","filename":"file4"},{"photo_id":"1352186508","filename":"file1"},{"photo_id":"1352186500","filename":"file0"},{"photo_id":"1352186518","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352186563":["hashtag1","hashtag2"]},{"1352186518":["hashtag1","hashtag2"]},{"1352186500":["hashtag1","hashtag2"]},{"1352186508":["hashtag1","hashtag2"]},{"1352186513":["hashtag1","hashtag2"]},{"1352186566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352186563, 1352186518, 1352186500, 1352186508, 1352186513, 1352186566)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 190.41247725486755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 12:04:02.905694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/03/image_12042025_09_04_06_9402.jpg', '/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_17_10388.jpg', '/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_27_10354.jpg', '/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_37_9447.jpg', '/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_47_10354.jpg', '/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_56_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/03/image_12042025_09_04_06_9402.jpg
/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_17_10388.jpg
/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_27_10354.jpg
/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_37_9447.jpg
/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_47_10354.jpg
/home/pi/Desktop/images/12042025/09/04/image_12042025_09_04_56_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352187021","1352186868","1352186897","1352186984","1352186933","1352186956"],"photo_ids_order":["1352186868","1352186897","1352186933","1352186956","1352186984","1352187021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6a1716d0b2a621b0359dbbc84b3cd0b.jpg","text":"TemporaryFile(/tmp/multipartBody2761079470443309975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452307990,"filename":"image_12042025_09_04_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c72086ba406a64775719d42272b841c9.jpg","text":"TemporaryFile(/tmp/multipartBody2303821741995887606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452307990,"filename":"image_12042025_09_04_06_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eeacc03e592f2c0231e9ff917e7f3f55.jpg","text":"TemporaryFile(/tmp/multipartBody3887919190672948069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452307990,"filename":"image_12042025_09_04_17_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fa969529006e8d18e4355e6387b5ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3118139697734833452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452307990,"filename":"image_12042025_09_04_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45457f22b8f8941f98eb2c9c765e60d4.jpg","text":"TemporaryFile(/tmp/multipartBody4897930688101611321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452307990,"filename":"image_12042025_09_04_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9315f3462e39e69d5d4270b96390ac9f.jpg","text":"TemporaryFile(/tmp/multipartBody1717849089622704212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452307990,"filename":"image_12042025_09_04_37_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352186933","file1":"1352186897","file0":"1352186868","file4":"1352186984","file5":"1352187021","file3":"1352186956"},"map_files_photo_id_array":[{"photo_id":"1352187021","filename":"file5"},{"photo_id":"1352186933","filename":"file2"},{"photo_id":"1352186984","filename":"file4"},{"photo_id":"1352186897","filename":"file1"},{"photo_id":"1352186868","filename":"file0"},{"photo_id":"1352186956","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352187021":["hashtag1","hashtag2"]},{"1352186868":["hashtag1","hashtag2"]},{"1352186897":["hashtag1","hashtag2"]},{"1352186984":["hashtag1","hashtag2"]},{"1352186933":["hashtag1","hashtag2"]},{"1352186956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352187021, 1352186868, 1352186897, 1352186984, 1352186933, 1352186956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.372610330581665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:04:52.210242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/04/image_12042025_09_05_07_10267.jpg', '/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_17_10358.jpg', '/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_26_9420.jpg', '/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_37_10360.jpg', '/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_47_10365.jpg', '/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_56_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/04/image_12042025_09_05_07_10267.jpg
/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_17_10358.jpg
/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_26_9420.jpg
/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_37_10360.jpg
/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_47_10365.jpg
/home/pi/Desktop/images/12042025/09/05/image_12042025_09_05_56_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352187412","1352187284","1352187662","1352187611","1352187484","1352187532"],"photo_ids_order":["1352187284","1352187412","1352187484","1352187532","1352187611","1352187662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84c3cf2257edac5d0a24e8887f474a23.jpg","text":"TemporaryFile(/tmp/multipartBody6362719322497809203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452352666,"filename":"image_12042025_09_05_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/01da5cf7fe4d1da523078a8d5d0eb9ba.jpg","text":"TemporaryFile(/tmp/multipartBody463154748287599545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452352666,"filename":"image_12042025_09_05_07_10267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92d0597ea5a100578b90ebbd7c8297ff.jpg","text":"TemporaryFile(/tmp/multipartBody3456453969701124442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452352666,"filename":"image_12042025_09_05_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67b6ba4fda5b55bb35b0ffdb984e5283.jpg","text":"TemporaryFile(/tmp/multipartBody6159719407284402220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452352666,"filename":"image_12042025_09_05_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f9c2fb6445c068b2c11cd55d4de9478.jpg","text":"TemporaryFile(/tmp/multipartBody2207785310663196645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452352666,"filename":"image_12042025_09_05_26_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b5464cc45896bb0611525bf112b3058.jpg","text":"TemporaryFile(/tmp/multipartBody2692697307925414184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452352666,"filename":"image_12042025_09_05_37_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352187484","file1":"1352187412","file0":"1352187284","file4":"1352187611","file5":"1352187662","file3":"1352187532"},"map_files_photo_id_array":[{"photo_id":"1352187662","filename":"file5"},{"photo_id":"1352187484","filename":"file2"},{"photo_id":"1352187611","filename":"file4"},{"photo_id":"1352187412","filename":"file1"},{"photo_id":"1352187284","filename":"file0"},{"photo_id":"1352187532","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352187412":["hashtag1","hashtag2"]},{"1352187284":["hashtag1","hashtag2"]},{"1352187662":["hashtag1","hashtag2"]},{"1352187611":["hashtag1","hashtag2"]},{"1352187484":["hashtag1","hashtag2"]},{"1352187532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352187412, 1352187284, 1352187662, 1352187611, 1352187484, 1352187532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.95610213279724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 12:05:42.510991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/05/image_12042025_09_06_07_10373.jpg', '/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_16_9352.jpg', '/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_27_10491.jpg', '/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_37_10356.jpg', '/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_46_9361.jpg', '/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_57_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/05/image_12042025_09_06_07_10373.jpg
/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_16_9352.jpg
/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_27_10491.jpg
/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_37_10356.jpg
/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_46_9361.jpg
/home/pi/Desktop/images/12042025/09/06/image_12042025_09_06_57_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352188122","1352188002","1352187924","1352188064","1352188151","1352187862"],"photo_ids_order":["1352187862","1352187924","1352188002","1352188064","1352188122","1352188151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75dee354859a624cb4a75cd94b2daa7c.jpg","text":"TemporaryFile(/tmp/multipartBody5449218777013125732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452403003,"filename":"image_12042025_09_06_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/229ce52ac375ba92c4ae6eb4e79694fe.jpg","text":"TemporaryFile(/tmp/multipartBody7002565079348716269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452403003,"filename":"image_12042025_09_06_27_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20ae504ced7c0b466bef70b72d6a7071.jpg","text":"TemporaryFile(/tmp/multipartBody1388774672290088022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452403003,"filename":"image_12042025_09_06_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b54139946d509560bcdcf2416d2c59a8.jpg","text":"TemporaryFile(/tmp/multipartBody2628335043019061225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452403003,"filename":"image_12042025_09_06_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf18eacad79beab126ccd0483c970a11.jpg","text":"TemporaryFile(/tmp/multipartBody7460567613281281222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452403003,"filename":"image_12042025_09_06_57_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b993820b8f11e7324329e54d19a93176.jpg","text":"TemporaryFile(/tmp/multipartBody8076598583366124574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452403003,"filename":"image_12042025_09_06_07_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352188002","file1":"1352187924","file0":"1352187862","file4":"1352188122","file5":"1352188151","file3":"1352188064"},"map_files_photo_id_array":[{"photo_id":"1352188151","filename":"file5"},{"photo_id":"1352188002","filename":"file2"},{"photo_id":"1352188122","filename":"file4"},{"photo_id":"1352187924","filename":"file1"},{"photo_id":"1352187862","filename":"file0"},{"photo_id":"1352188064","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352188122":["hashtag1","hashtag2"]},{"1352188002":["hashtag1","hashtag2"]},{"1352187924":["hashtag1","hashtag2"]},{"1352188064":["hashtag1","hashtag2"]},{"1352188151":["hashtag1","hashtag2"]},{"1352187862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352188122, 1352188002, 1352187924, 1352188064, 1352188151, 1352187862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28536367416382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:06:32.656830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/06/image_12042025_09_07_06_9357.jpg', '/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_17_10441.jpg', '/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_27_10362.jpg', '/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_36_9398.jpg', '/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_47_10426.jpg', '/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_56_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/06/image_12042025_09_07_06_9357.jpg
/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_17_10441.jpg
/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_27_10362.jpg
/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_36_9398.jpg
/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_47_10426.jpg
/home/pi/Desktop/images/12042025/09/07/image_12042025_09_07_56_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352188533","1352188482","1352188641","1352188422","1352188707","1352188582"],"photo_ids_order":["1352188422","1352188482","1352188533","1352188582","1352188641","1352188707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/077da1717fee213a4900f92ee752cb22.jpg","text":"TemporaryFile(/tmp/multipartBody6809837313511158265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452453115,"filename":"image_12042025_09_07_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a10bbcb7db257b74f1e60e66b118d9f1.jpg","text":"TemporaryFile(/tmp/multipartBody4719959643718077273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452453115,"filename":"image_12042025_09_07_17_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db3b7e60909e64b2673262aec64dd5fd.jpg","text":"TemporaryFile(/tmp/multipartBody7181617628987519038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452453115,"filename":"image_12042025_09_07_47_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a255521f22b20a380d18b571ce85300.jpg","text":"TemporaryFile(/tmp/multipartBody5282139319830549036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452453115,"filename":"image_12042025_09_07_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af628aa617e4647a4d62b3f041b38008.jpg","text":"TemporaryFile(/tmp/multipartBody3866302150868082356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452453115,"filename":"image_12042025_09_07_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/241c0b97d77b5daca79e73411fb42305.jpg","text":"TemporaryFile(/tmp/multipartBody5879973043846369368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452453115,"filename":"image_12042025_09_07_36_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352188533","file1":"1352188482","file0":"1352188422","file4":"1352188641","file5":"1352188707","file3":"1352188582"},"map_files_photo_id_array":[{"photo_id":"1352188707","filename":"file5"},{"photo_id":"1352188533","filename":"file2"},{"photo_id":"1352188641","filename":"file4"},{"photo_id":"1352188482","filename":"file1"},{"photo_id":"1352188422","filename":"file0"},{"photo_id":"1352188582","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352188533":["hashtag1","hashtag2"]},{"1352188482":["hashtag1","hashtag2"]},{"1352188641":["hashtag1","hashtag2"]},{"1352188422":["hashtag1","hashtag2"]},{"1352188707":["hashtag1","hashtag2"]},{"1352188582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352188533, 1352188482, 1352188641, 1352188422, 1352188707, 1352188582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.926353216171265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:07:32.983888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/07/image_12042025_09_08_07_10459.jpg', '/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_17_10346.jpg', '/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_26_9417.jpg', '/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_37_10404.jpg', '/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_46_9411.jpg', '/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_57_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/07/image_12042025_09_08_07_10459.jpg
/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_17_10346.jpg
/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_26_9417.jpg
/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_37_10404.jpg
/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_46_9411.jpg
/home/pi/Desktop/images/12042025/09/08/image_12042025_09_08_57_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352189282","1352189144","1352189056","1352189349","1352189229","1352188998"],"photo_ids_order":["1352188998","1352189056","1352189144","1352189229","1352189282","1352189349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e60fb4ee0783b11a05591426524979e3.jpg","text":"TemporaryFile(/tmp/multipartBody2895160732530992373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452513450,"filename":"image_12042025_09_08_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff7eec009974f5e9861a85f56bc3c5a5.jpg","text":"TemporaryFile(/tmp/multipartBody8173730461713366627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452513450,"filename":"image_12042025_09_08_26_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3cfd0ed8b190be8e5c637b41084e2732.jpg","text":"TemporaryFile(/tmp/multipartBody5110253038400721642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452513450,"filename":"image_12042025_09_08_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3209a3573c2a5e4a41c2752647fa249.jpg","text":"TemporaryFile(/tmp/multipartBody2478763310733096005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452513450,"filename":"image_12042025_09_08_57_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10f08e38c2038ec0f3d9a6fec68c3d8d.jpg","text":"TemporaryFile(/tmp/multipartBody555144871583477025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452513450,"filename":"image_12042025_09_08_37_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4bf450ee10afe65612593974ff898e40.jpg","text":"TemporaryFile(/tmp/multipartBody8794872073652574647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452513450,"filename":"image_12042025_09_08_07_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352189144","file1":"1352189056","file0":"1352188998","file4":"1352189282","file5":"1352189349","file3":"1352189229"},"map_files_photo_id_array":[{"photo_id":"1352189349","filename":"file5"},{"photo_id":"1352189144","filename":"file2"},{"photo_id":"1352189282","filename":"file4"},{"photo_id":"1352189056","filename":"file1"},{"photo_id":"1352188998","filename":"file0"},{"photo_id":"1352189229","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352189282":["hashtag1","hashtag2"]},{"1352189144":["hashtag1","hashtag2"]},{"1352189056":["hashtag1","hashtag2"]},{"1352189349":["hashtag1","hashtag2"]},{"1352189229":["hashtag1","hashtag2"]},{"1352188998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352189282, 1352189144, 1352189056, 1352189349, 1352189229, 1352188998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97289204597473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:08:32.266294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/08/image_12042025_09_09_07_10353.jpg', '/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_16_9401.jpg', '/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_27_10521.jpg', '/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_36_9463.jpg', '/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_47_10445.jpg', '/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_56_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/08/image_12042025_09_09_07_10353.jpg
/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_16_9401.jpg
/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_27_10521.jpg
/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_36_9463.jpg
/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_47_10445.jpg
/home/pi/Desktop/images/12042025/09/09/image_12042025_09_09_56_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352189792","1352189843","1352189750","1352189939","1352189892","1352189961"],"photo_ids_order":["1352189750","1352189792","1352189843","1352189892","1352189939","1352189961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8df9ea397edf0b4d41103df049f6a9f4.jpg","text":"TemporaryFile(/tmp/multipartBody4947908764168369932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452572792,"filename":"image_12042025_09_09_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c6a39b64e3cba6e155b8bd9a8a94445.jpg","text":"TemporaryFile(/tmp/multipartBody4574910913274208447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452572792,"filename":"image_12042025_09_09_27_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1e791b668b169dc39f23734d3e63755.jpg","text":"TemporaryFile(/tmp/multipartBody6939039039016973922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452572792,"filename":"image_12042025_09_09_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/386af6ca0fdf027a6e8cea4ef30bf446.jpg","text":"TemporaryFile(/tmp/multipartBody205706847280345900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452572792,"filename":"image_12042025_09_09_47_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8cc04c05cdb87e8eba04de43ce0bf115.jpg","text":"TemporaryFile(/tmp/multipartBody5369635501359718005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452572792,"filename":"image_12042025_09_09_36_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b96db7c75b33b85f0f3c2f605967509a.jpg","text":"TemporaryFile(/tmp/multipartBody2936634126943136450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452572792,"filename":"image_12042025_09_09_56_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352189843","file1":"1352189792","file0":"1352189750","file4":"1352189939","file5":"1352189961","file3":"1352189892"},"map_files_photo_id_array":[{"photo_id":"1352189961","filename":"file5"},{"photo_id":"1352189843","filename":"file2"},{"photo_id":"1352189939","filename":"file4"},{"photo_id":"1352189792","filename":"file1"},{"photo_id":"1352189750","filename":"file0"},{"photo_id":"1352189892","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352189792":["hashtag1","hashtag2"]},{"1352189843":["hashtag1","hashtag2"]},{"1352189750":["hashtag1","hashtag2"]},{"1352189939":["hashtag1","hashtag2"]},{"1352189892":["hashtag1","hashtag2"]},{"1352189961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352189792, 1352189843, 1352189750, 1352189939, 1352189892, 1352189961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.99727702140808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:09:32.515592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/09/image_12042025_09_10_07_10363.jpg', '/home/pi/Desktop/images/12042025/09/10/image_12042025_09_10_17_10408.jpg', '/home/pi/Desktop/images/12042025/09/10/image_12042025_09_10_26_9425.jpg', '/home/pi/Desktop/images/12042025/09/10/image_12042025_09_10_37_10371.jpg', '/home/pi/Desktop/images/12042025/09/10/image_12042025_09_10_57_9451.jpg', '/home/pi/Desktop/images/12042025/09/10/image_12042025_09_11_07_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/09/image_12042025_09_10_07_10363.jpg
/home/pi/Desktop/images/12042025/09/10/image_12042025_09_10_17_10408.jpg
/home/pi/Desktop/images/12042025/09/10/image_12042025_09_10_26_9425.jpg
/home/pi/Desktop/images/12042025/09/10/image_12042025_09_10_37_10371.jpg
/home/pi/Desktop/images/12042025/09/10/image_12042025_09_10_57_9451.jpg
/home/pi/Desktop/images/12042025/09/10/image_12042025_09_11_07_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352190755","1352190347","1352190598","1352190679","1352190433","1352190505"],"photo_ids_order":["1352190347","1352190433","1352190505","1352190598","1352190679","1352190755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/589c8cde9738f5b3df040c5f379b72f4.jpg","text":"TemporaryFile(/tmp/multipartBody7597340038309812436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452632979,"filename":"image_12042025_09_11_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a89b8c208c819edfdba9eebf4e21b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody8352433515922942677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452632979,"filename":"image_12042025_09_10_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/339060f1f7a42c5f549473dd4e573afe.jpg","text":"TemporaryFile(/tmp/multipartBody7101532932720468689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452632979,"filename":"image_12042025_09_10_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a1990d26464310f81be8f281e8ce645.jpg","text":"TemporaryFile(/tmp/multipartBody661135911250977639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452632979,"filename":"image_12042025_09_10_57_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02234a7d84bb4199a52ebacd7254e520.jpg","text":"TemporaryFile(/tmp/multipartBody8411981959382125437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452632979,"filename":"image_12042025_09_10_17_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/373683ef1f00a7ea3cd087547487870b.jpg","text":"TemporaryFile(/tmp/multipartBody4079207049564828399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452632979,"filename":"image_12042025_09_10_26_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352190505","file1":"1352190433","file0":"1352190347","file4":"1352190679","file5":"1352190755","file3":"1352190598"},"map_files_photo_id_array":[{"photo_id":"1352190755","filename":"file5"},{"photo_id":"1352190505","filename":"file2"},{"photo_id":"1352190679","filename":"file4"},{"photo_id":"1352190433","filename":"file1"},{"photo_id":"1352190347","filename":"file0"},{"photo_id":"1352190598","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352190755":["hashtag1","hashtag2"]},{"1352190347":["hashtag1","hashtag2"]},{"1352190598":["hashtag1","hashtag2"]},{"1352190679":["hashtag1","hashtag2"]},{"1352190433":["hashtag1","hashtag2"]},{"1352190505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352190755, 1352190347, 1352190598, 1352190679, 1352190433, 1352190505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.55622744560242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:10:32.757168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/11/image_12042025_09_11_27_10417.jpg', '/home/pi/Desktop/images/12042025/09/11/image_12042025_09_11_36_9374.jpg', '/home/pi/Desktop/images/12042025/09/11/image_12042025_09_11_47_10468.jpg', '/home/pi/Desktop/images/12042025/09/11/image_12042025_09_12_06_9430.jpg', '/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_17_10369.jpg', '/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_26_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/11/image_12042025_09_11_27_10417.jpg
/home/pi/Desktop/images/12042025/09/11/image_12042025_09_11_36_9374.jpg
/home/pi/Desktop/images/12042025/09/11/image_12042025_09_11_47_10468.jpg
/home/pi/Desktop/images/12042025/09/11/image_12042025_09_12_06_9430.jpg
/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_17_10369.jpg
/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_26_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352191320","1352191416","1352191163","1352191103","1352191372","1352191245"],"photo_ids_order":["1352191103","1352191163","1352191245","1352191320","1352191372","1352191416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6533901fc58dd3709ca2fa762bdb2e10.jpg","text":"TemporaryFile(/tmp/multipartBody5417237502034404069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452693224,"filename":"image_12042025_09_12_06_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1aaa6a54577698fd290d205ff62c602f.jpg","text":"TemporaryFile(/tmp/multipartBody6462635165728803428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452693224,"filename":"image_12042025_09_12_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3654acab750c5ff7e5cd9e88da9c4b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8482471042319111618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452693224,"filename":"image_12042025_09_11_36_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1fee2fc143ee136905e37406a73be45f.jpg","text":"TemporaryFile(/tmp/multipartBody3788711572053376759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452693224,"filename":"image_12042025_09_11_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46b13bfef49b6e0f0317478328c4ce96.jpg","text":"TemporaryFile(/tmp/multipartBody3644998835839273642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452693224,"filename":"image_12042025_09_12_17_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25c64667653bf2f3a866a32eabf8fc45.jpg","text":"TemporaryFile(/tmp/multipartBody1582913454904140627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452693224,"filename":"image_12042025_09_11_47_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352191245","file1":"1352191163","file0":"1352191103","file4":"1352191372","file5":"1352191416","file3":"1352191320"},"map_files_photo_id_array":[{"photo_id":"1352191416","filename":"file5"},{"photo_id":"1352191245","filename":"file2"},{"photo_id":"1352191372","filename":"file4"},{"photo_id":"1352191163","filename":"file1"},{"photo_id":"1352191103","filename":"file0"},{"photo_id":"1352191320","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352191320":["hashtag1","hashtag2"]},{"1352191416":["hashtag1","hashtag2"]},{"1352191163":["hashtag1","hashtag2"]},{"1352191103":["hashtag1","hashtag2"]},{"1352191372":["hashtag1","hashtag2"]},{"1352191245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352191320, 1352191416, 1352191163, 1352191103, 1352191372, 1352191245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35339593887329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:11:32.981318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_37_10450.jpg', '/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_47_10387.jpg', '/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_56_9381.jpg', '/home/pi/Desktop/images/12042025/09/12/image_12042025_09_13_07_10453.jpg', '/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_16_9355.jpg', '/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_27_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_37_10450.jpg
/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_47_10387.jpg
/home/pi/Desktop/images/12042025/09/12/image_12042025_09_12_56_9381.jpg
/home/pi/Desktop/images/12042025/09/12/image_12042025_09_13_07_10453.jpg
/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_16_9355.jpg
/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_27_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352192129","1352192083","1352192000","1352191885","1352192038","1352192186"],"photo_ids_order":["1352191885","1352192000","1352192038","1352192083","1352192129","1352192186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/043a0b9a4b0ed1c21cd903807d79fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody6910670982145849819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452753453,"filename":"image_12042025_09_13_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84a9ec749d404ffaf23d3c9224989ff2.jpg","text":"TemporaryFile(/tmp/multipartBody438582441179601618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452753453,"filename":"image_12042025_09_13_07_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8e89f78818de64ce7a86cb018ee46f1.jpg","text":"TemporaryFile(/tmp/multipartBody7919701909965480058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452753453,"filename":"image_12042025_09_12_47_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3cdd7d606a21880c60c549577a1efcfe.jpg","text":"TemporaryFile(/tmp/multipartBody8382137660550751938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452753453,"filename":"image_12042025_09_12_37_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e1bc8f42af611b0cf5221a06f82223d.jpg","text":"TemporaryFile(/tmp/multipartBody1717961390292669944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452753453,"filename":"image_12042025_09_12_56_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/693f940bb861e6a0b08655e31c92c570.jpg","text":"TemporaryFile(/tmp/multipartBody509843129009000555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452753453,"filename":"image_12042025_09_13_27_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352192038","file1":"1352192000","file0":"1352191885","file4":"1352192129","file5":"1352192186","file3":"1352192083"},"map_files_photo_id_array":[{"photo_id":"1352192186","filename":"file5"},{"photo_id":"1352192038","filename":"file2"},{"photo_id":"1352192129","filename":"file4"},{"photo_id":"1352192000","filename":"file1"},{"photo_id":"1352191885","filename":"file0"},{"photo_id":"1352192083","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352192129":["hashtag1","hashtag2"]},{"1352192083":["hashtag1","hashtag2"]},{"1352192000":["hashtag1","hashtag2"]},{"1352191885":["hashtag1","hashtag2"]},{"1352192038":["hashtag1","hashtag2"]},{"1352192186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352192129, 1352192083, 1352192000, 1352191885, 1352192038, 1352192186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52565932273865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:12:33.089091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_37_10368.jpg', '/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_46_9451.jpg', '/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_57_10380.jpg', '/home/pi/Desktop/images/12042025/09/13/image_12042025_09_14_07_10358.jpg', '/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_17_9443.jpg', '/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_27_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_37_10368.jpg
/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_46_9451.jpg
/home/pi/Desktop/images/12042025/09/13/image_12042025_09_13_57_10380.jpg
/home/pi/Desktop/images/12042025/09/13/image_12042025_09_14_07_10358.jpg
/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_17_9443.jpg
/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_27_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352192813","1352192708","1352192830","1352192689","1352192826","1352192654"],"photo_ids_order":["1352192654","1352192689","1352192708","1352192813","1352192826","1352192830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d115ef296e748cdced4dc5eb38864c86.jpg","text":"TemporaryFile(/tmp/multipartBody1756204793004251158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452813639,"filename":"image_12042025_09_14_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35b90c9215a5d6925c6d7418da7134cc.jpg","text":"TemporaryFile(/tmp/multipartBody9000313458296225678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452813639,"filename":"image_12042025_09_13_57_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b065ddbe56c8065303ccbc24addfa6a.jpg","text":"TemporaryFile(/tmp/multipartBody2579990069397078912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452813639,"filename":"image_12042025_09_14_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0da154a3adfa1ece6bc8b3dd06208c2f.jpg","text":"TemporaryFile(/tmp/multipartBody6741244111129302919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452813639,"filename":"image_12042025_09_13_46_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/682ed08f430f0612241e68913c9043c2.jpg","text":"TemporaryFile(/tmp/multipartBody4791396236524649520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452813639,"filename":"image_12042025_09_14_17_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bfe582ba1a2c14355fbad98c12d3071.jpg","text":"TemporaryFile(/tmp/multipartBody1774865001432858653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452813639,"filename":"image_12042025_09_13_37_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352192708","file1":"1352192689","file0":"1352192654","file4":"1352192826","file5":"1352192830","file3":"1352192813"},"map_files_photo_id_array":[{"photo_id":"1352192830","filename":"file5"},{"photo_id":"1352192708","filename":"file2"},{"photo_id":"1352192826","filename":"file4"},{"photo_id":"1352192689","filename":"file1"},{"photo_id":"1352192654","filename":"file0"},{"photo_id":"1352192813","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352192813":["hashtag1","hashtag2"]},{"1352192708":["hashtag1","hashtag2"]},{"1352192830":["hashtag1","hashtag2"]},{"1352192689":["hashtag1","hashtag2"]},{"1352192826":["hashtag1","hashtag2"]},{"1352192654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352192813, 1352192708, 1352192830, 1352192689, 1352192826, 1352192654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.87928581237793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:13:32.283951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_36_9431.jpg', '/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_47_10380.jpg', '/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_57_10355.jpg', '/home/pi/Desktop/images/12042025/09/14/image_12042025_09_15_07_9457.jpg', '/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_17_10371.jpg', '/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_26_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_36_9431.jpg
/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_47_10380.jpg
/home/pi/Desktop/images/12042025/09/14/image_12042025_09_14_57_10355.jpg
/home/pi/Desktop/images/12042025/09/14/image_12042025_09_15_07_9457.jpg
/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_17_10371.jpg
/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_26_9476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352193334","1352193223","1352193115","1352193299","1352193272","1352193191"],"photo_ids_order":["1352193115","1352193191","1352193223","1352193272","1352193299","1352193334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80dad5d10345919a375af3d069ef222b.jpg","text":"TemporaryFile(/tmp/multipartBody5268998458624693134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452872781,"filename":"image_12042025_09_15_26_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cd23f09da174988370ea718c06b8abd.jpg","text":"TemporaryFile(/tmp/multipartBody3341442159214056374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452872781,"filename":"image_12042025_09_14_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c3072fc6ca3fc7d9c5eec0dd11cf3cc.jpg","text":"TemporaryFile(/tmp/multipartBody617533100961285566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452872781,"filename":"image_12042025_09_14_36_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84c8a9af66a128b1cb39d80da900704e.jpg","text":"TemporaryFile(/tmp/multipartBody365907815914374533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452872781,"filename":"image_12042025_09_15_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30fe1ffb585ad44dea0ddd53eb8b31d8.jpg","text":"TemporaryFile(/tmp/multipartBody1295712006930932230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452872781,"filename":"image_12042025_09_15_07_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c29160f29a37456afeb465bffbeff13.jpg","text":"TemporaryFile(/tmp/multipartBody2546788427090701943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452872781,"filename":"image_12042025_09_14_47_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352193223","file1":"1352193191","file0":"1352193115","file4":"1352193299","file5":"1352193334","file3":"1352193272"},"map_files_photo_id_array":[{"photo_id":"1352193334","filename":"file5"},{"photo_id":"1352193223","filename":"file2"},{"photo_id":"1352193299","filename":"file4"},{"photo_id":"1352193191","filename":"file1"},{"photo_id":"1352193115","filename":"file0"},{"photo_id":"1352193272","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352193334":["hashtag1","hashtag2"]},{"1352193223":["hashtag1","hashtag2"]},{"1352193115":["hashtag1","hashtag2"]},{"1352193299":["hashtag1","hashtag2"]},{"1352193272":["hashtag1","hashtag2"]},{"1352193191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352193334, 1352193223, 1352193115, 1352193299, 1352193272, 1352193191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5976037979126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:14:32.550375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_37_10373.jpg', '/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_46_9360.jpg', '/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_56_10387.jpg', '/home/pi/Desktop/images/12042025/09/15/image_12042025_09_16_07_10357.jpg', '/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_16_9361.jpg', '/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_27_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_37_10373.jpg
/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_46_9360.jpg
/home/pi/Desktop/images/12042025/09/15/image_12042025_09_15_56_10387.jpg
/home/pi/Desktop/images/12042025/09/15/image_12042025_09_16_07_10357.jpg
/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_16_9361.jpg
/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_27_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352193610","1352193624","1352193603","1352193606","1352193600","1352193587"],"photo_ids_order":["1352193587","1352193600","1352193603","1352193606","1352193610","1352193624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31adf97b2ca97c24baad2fa81cc6eee2.jpg","text":"TemporaryFile(/tmp/multipartBody5916065149250866056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452933014,"filename":"image_12042025_09_16_16_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/becf8be48a52fb6e072e1e0317778bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6277259161419559444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452933014,"filename":"image_12042025_09_16_27_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd00d9ede662af2f685f0a2673e003e7.jpg","text":"TemporaryFile(/tmp/multipartBody2226106550098436220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452933014,"filename":"image_12042025_09_15_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b328f896e6d7a925544d9e2ed67be962.jpg","text":"TemporaryFile(/tmp/multipartBody3883576949328021678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452933014,"filename":"image_12042025_09_16_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/557ed35a3ecd1d1033cf017a460446dd.jpg","text":"TemporaryFile(/tmp/multipartBody23245332911932188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452933014,"filename":"image_12042025_09_15_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38691a7882ff125ce4e19876bcfbdcf1.jpg","text":"TemporaryFile(/tmp/multipartBody2404208536347477356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452933014,"filename":"image_12042025_09_15_37_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352193603","file1":"1352193600","file0":"1352193587","file4":"1352193610","file5":"1352193624","file3":"1352193606"},"map_files_photo_id_array":[{"photo_id":"1352193624","filename":"file5"},{"photo_id":"1352193603","filename":"file2"},{"photo_id":"1352193610","filename":"file4"},{"photo_id":"1352193600","filename":"file1"},{"photo_id":"1352193587","filename":"file0"},{"photo_id":"1352193606","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352193610":["hashtag1","hashtag2"]},{"1352193624":["hashtag1","hashtag2"]},{"1352193603":["hashtag1","hashtag2"]},{"1352193606":["hashtag1","hashtag2"]},{"1352193600":["hashtag1","hashtag2"]},{"1352193587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352193610, 1352193624, 1352193603, 1352193606, 1352193600, 1352193587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79874324798584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:15:32.983662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_37_10375.jpg', '/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_46_9504.jpg', '/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_57_10393.jpg', '/home/pi/Desktop/images/12042025/09/16/image_12042025_09_17_06_9447.jpg', '/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_17_10371.jpg', '/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_27_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_37_10375.jpg
/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_46_9504.jpg
/home/pi/Desktop/images/12042025/09/16/image_12042025_09_16_57_10393.jpg
/home/pi/Desktop/images/12042025/09/16/image_12042025_09_17_06_9447.jpg
/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_17_10371.jpg
/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_27_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352193824","1352193820","1352193864","1352193849","1352193822","1352193830"],"photo_ids_order":["1352193820","1352193822","1352193824","1352193830","1352193849","1352193864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afbe180b80148a9acb067b125cd3cd79.jpg","text":"TemporaryFile(/tmp/multipartBody1960689598548016698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452993444,"filename":"image_12042025_09_16_57_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca3f7d64e041e3d97ef0e52b630671e3.jpg","text":"TemporaryFile(/tmp/multipartBody2716698339339950609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452993444,"filename":"image_12042025_09_16_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d21de8f7b94178aae76968c3d185fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1177116818984509290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452993444,"filename":"image_12042025_09_17_27_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e91da387bf79d0ffce2683da38621873.jpg","text":"TemporaryFile(/tmp/multipartBody2089046229147158270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452993444,"filename":"image_12042025_09_17_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11a73f9ab5783472b3907d36174aabd3.jpg","text":"TemporaryFile(/tmp/multipartBody7126290802133834883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452993444,"filename":"image_12042025_09_16_46_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19dba0a72fda90fa1644b48e5e0dbfd1.jpg","text":"TemporaryFile(/tmp/multipartBody5628753937853880178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744452993444,"filename":"image_12042025_09_17_06_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352193824","file1":"1352193822","file0":"1352193820","file4":"1352193849","file5":"1352193864","file3":"1352193830"},"map_files_photo_id_array":[{"photo_id":"1352193864","filename":"file5"},{"photo_id":"1352193824","filename":"file2"},{"photo_id":"1352193849","filename":"file4"},{"photo_id":"1352193822","filename":"file1"},{"photo_id":"1352193820","filename":"file0"},{"photo_id":"1352193830","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352193824":["hashtag1","hashtag2"]},{"1352193820":["hashtag1","hashtag2"]},{"1352193864":["hashtag1","hashtag2"]},{"1352193849":["hashtag1","hashtag2"]},{"1352193822":["hashtag1","hashtag2"]},{"1352193830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352193824, 1352193820, 1352193864, 1352193849, 1352193822, 1352193830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0702269077301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:16:32.990380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_36_9350.jpg', '/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_47_10370.jpg', '/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_56_9412.jpg', '/home/pi/Desktop/images/12042025/09/17/image_12042025_09_18_07_10420.jpg', '/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_17_10473.jpg', '/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_27_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_36_9350.jpg
/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_47_10370.jpg
/home/pi/Desktop/images/12042025/09/17/image_12042025_09_17_56_9412.jpg
/home/pi/Desktop/images/12042025/09/17/image_12042025_09_18_07_10420.jpg
/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_17_10473.jpg
/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_27_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352194138","1352194199","1352194005","1352194196","1352194177","1352194100"],"photo_ids_order":["1352194005","1352194100","1352194138","1352194177","1352194196","1352194199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2c4aa70d5f9e335a7162c4b4ac29255.jpg","text":"TemporaryFile(/tmp/multipartBody4680703643542891028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453053471,"filename":"image_12042025_09_17_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94ff677b4c996e4f74b72e8428603b16.jpg","text":"TemporaryFile(/tmp/multipartBody4365544244448058183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453053471,"filename":"image_12042025_09_18_27_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93a1ef15f49589c75a1cbb967b689477.jpg","text":"TemporaryFile(/tmp/multipartBody4087456598590481675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453053471,"filename":"image_12042025_09_17_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65e365c1db3ef33e7b2972d7d25fd03e.jpg","text":"TemporaryFile(/tmp/multipartBody8663898777150171034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453053471,"filename":"image_12042025_09_18_17_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/faa99373faddc789f7d405036c233d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2535467648732189703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453053471,"filename":"image_12042025_09_18_07_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/841a1ce466717e3e87e42cafc2b8f7e1.jpg","text":"TemporaryFile(/tmp/multipartBody5354593668752065182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453053471,"filename":"image_12042025_09_17_47_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352194138","file1":"1352194100","file0":"1352194005","file4":"1352194196","file5":"1352194199","file3":"1352194177"},"map_files_photo_id_array":[{"photo_id":"1352194199","filename":"file5"},{"photo_id":"1352194138","filename":"file2"},{"photo_id":"1352194196","filename":"file4"},{"photo_id":"1352194100","filename":"file1"},{"photo_id":"1352194005","filename":"file0"},{"photo_id":"1352194177","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352194138":["hashtag1","hashtag2"]},{"1352194199":["hashtag1","hashtag2"]},{"1352194005":["hashtag1","hashtag2"]},{"1352194196":["hashtag1","hashtag2"]},{"1352194177":["hashtag1","hashtag2"]},{"1352194100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352194138, 1352194199, 1352194005, 1352194196, 1352194177, 1352194100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.050681829452515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:17:32.208536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_37_10371.jpg', '/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_46_9419.jpg', '/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_57_10355.jpg', '/home/pi/Desktop/images/12042025/09/18/image_12042025_09_19_07_10398.jpg', '/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_17_9448.jpg', '/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_27_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_37_10371.jpg
/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_46_9419.jpg
/home/pi/Desktop/images/12042025/09/18/image_12042025_09_18_57_10355.jpg
/home/pi/Desktop/images/12042025/09/18/image_12042025_09_19_07_10398.jpg
/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_17_9448.jpg
/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_27_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352194432","1352194333","1352194350","1352194404","1352194373","1352194301"],"photo_ids_order":["1352194301","1352194333","1352194350","1352194373","1352194404","1352194432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6428a6d51b2668229ab35f1a1499962c.jpg","text":"TemporaryFile(/tmp/multipartBody3650919778096771445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453112677,"filename":"image_12042025_09_19_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d20acf7e127e5f8dbfdae5802d24cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5986997757085836283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453112677,"filename":"image_12042025_09_18_46_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fecd1a7e8f162ed9f611a2bfccdab783.jpg","text":"TemporaryFile(/tmp/multipartBody4544481909365223068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453112677,"filename":"image_12042025_09_18_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f7ed8f954189a32d8b774685aa7ab35.jpg","text":"TemporaryFile(/tmp/multipartBody3673382149233568267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453112677,"filename":"image_12042025_09_19_17_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8ea11cbf337307a783484e37f4b7230.jpg","text":"TemporaryFile(/tmp/multipartBody784309059025305437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453112677,"filename":"image_12042025_09_19_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a78d1601d0d0f82e70dda36eec02a412.jpg","text":"TemporaryFile(/tmp/multipartBody5940785958802351945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453112677,"filename":"image_12042025_09_18_37_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352194350","file1":"1352194333","file0":"1352194301","file4":"1352194404","file5":"1352194432","file3":"1352194373"},"map_files_photo_id_array":[{"photo_id":"1352194432","filename":"file5"},{"photo_id":"1352194350","filename":"file2"},{"photo_id":"1352194404","filename":"file4"},{"photo_id":"1352194333","filename":"file1"},{"photo_id":"1352194301","filename":"file0"},{"photo_id":"1352194373","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352194432":["hashtag1","hashtag2"]},{"1352194333":["hashtag1","hashtag2"]},{"1352194350":["hashtag1","hashtag2"]},{"1352194404":["hashtag1","hashtag2"]},{"1352194373":["hashtag1","hashtag2"]},{"1352194301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352194432, 1352194333, 1352194350, 1352194404, 1352194373, 1352194301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.55226731300354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:18:32.461490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_36_9422.jpg', '/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_47_10502.jpg', '/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_56_9355.jpg', '/home/pi/Desktop/images/12042025/09/19/image_12042025_09_20_07_10341.jpg', '/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_17_10358.jpg', '/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_26_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_36_9422.jpg
/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_47_10502.jpg
/home/pi/Desktop/images/12042025/09/19/image_12042025_09_19_56_9355.jpg
/home/pi/Desktop/images/12042025/09/19/image_12042025_09_20_07_10341.jpg
/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_17_10358.jpg
/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_26_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352194558","1352194590","1352194734","1352194691","1352194530","1352194648"],"photo_ids_order":["1352194530","1352194558","1352194590","1352194648","1352194691","1352194734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6cca77750579adc3dcc24ec894b6405.jpg","text":"TemporaryFile(/tmp/multipartBody6803588164627567912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453172931,"filename":"image_12042025_09_19_47_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfdb4379ebb5929be141ca2618113025.jpg","text":"TemporaryFile(/tmp/multipartBody5296858942476149215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453172931,"filename":"image_12042025_09_19_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3bf1dff189fafb69af9cc350fafec5c.jpg","text":"TemporaryFile(/tmp/multipartBody8538137347519112129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453172931,"filename":"image_12042025_09_20_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ef52630c067b119a2970c903ce11254.jpg","text":"TemporaryFile(/tmp/multipartBody3433106623172820133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453172931,"filename":"image_12042025_09_20_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1efc30b7afcd61b8bf7a44ac372788f4.jpg","text":"TemporaryFile(/tmp/multipartBody3840898238255580727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453172931,"filename":"image_12042025_09_19_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10e934724a2b139705436e0ce9bdac04.jpg","text":"TemporaryFile(/tmp/multipartBody3365446031749721098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453172931,"filename":"image_12042025_09_20_07_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352194590","file1":"1352194558","file0":"1352194530","file4":"1352194691","file5":"1352194734","file3":"1352194648"},"map_files_photo_id_array":[{"photo_id":"1352194734","filename":"file5"},{"photo_id":"1352194590","filename":"file2"},{"photo_id":"1352194691","filename":"file4"},{"photo_id":"1352194558","filename":"file1"},{"photo_id":"1352194530","filename":"file0"},{"photo_id":"1352194648","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352194558":["hashtag1","hashtag2"]},{"1352194590":["hashtag1","hashtag2"]},{"1352194734":["hashtag1","hashtag2"]},{"1352194691":["hashtag1","hashtag2"]},{"1352194530":["hashtag1","hashtag2"]},{"1352194648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352194558, 1352194590, 1352194734, 1352194691, 1352194530, 1352194648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.030537128448486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:19:32.859998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_37_10362.jpg', '/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_47_10373.jpg', '/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_56_9437.jpg', '/home/pi/Desktop/images/12042025/09/20/image_12042025_09_21_07_10359.jpg', '/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_16_9353.jpg', '/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_27_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_37_10362.jpg
/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_47_10373.jpg
/home/pi/Desktop/images/12042025/09/20/image_12042025_09_20_56_9437.jpg
/home/pi/Desktop/images/12042025/09/20/image_12042025_09_21_07_10359.jpg
/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_16_9353.jpg
/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_27_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352195259","1352195203","1352195226","1352195306","1352195386","1352195284"],"photo_ids_order":["1352195203","1352195226","1352195259","1352195284","1352195306","1352195386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7925e223154ca5bbcf98d88f41bca92e.jpg","text":"TemporaryFile(/tmp/multipartBody1674975948118519660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453233321,"filename":"image_12042025_09_20_56_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d2cc93645bed1823488f19d67545b48.jpg","text":"TemporaryFile(/tmp/multipartBody1059484005130179155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453233321,"filename":"image_12042025_09_20_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0531e143a1b7b47afe88556b3ee73db9.jpg","text":"TemporaryFile(/tmp/multipartBody5389976218190339214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453233321,"filename":"image_12042025_09_20_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fac4177bc207e2278a74d1ce4173b77.jpg","text":"TemporaryFile(/tmp/multipartBody4770580012208819754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453233321,"filename":"image_12042025_09_21_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12bf117d62ec77b806bdf78d4d2938d7.jpg","text":"TemporaryFile(/tmp/multipartBody7962381720991889483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453233321,"filename":"image_12042025_09_21_27_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19d522d085b0c2c077d0f249a2f29aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1604890845630046634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453233321,"filename":"image_12042025_09_21_07_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352195259","file1":"1352195226","file0":"1352195203","file4":"1352195306","file5":"1352195386","file3":"1352195284"},"map_files_photo_id_array":[{"photo_id":"1352195386","filename":"file5"},{"photo_id":"1352195259","filename":"file2"},{"photo_id":"1352195306","filename":"file4"},{"photo_id":"1352195226","filename":"file1"},{"photo_id":"1352195203","filename":"file0"},{"photo_id":"1352195284","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352195259":["hashtag1","hashtag2"]},{"1352195203":["hashtag1","hashtag2"]},{"1352195226":["hashtag1","hashtag2"]},{"1352195306":["hashtag1","hashtag2"]},{"1352195386":["hashtag1","hashtag2"]},{"1352195284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352195259, 1352195203, 1352195226, 1352195306, 1352195386, 1352195284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63701391220093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:20:33.034932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_37_10379.jpg', '/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_57_10428.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_17_10438.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_26_9451.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_36_10396.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_47_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_37_10379.jpg
/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_57_10428.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_17_10438.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_26_9451.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_36_10396.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_47_10359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.388272762298584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 12:20:42.992981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_37_10379.jpg', '/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_57_10428.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_17_10438.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_26_9451.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_36_10396.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_47_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_37_10379.jpg
/home/pi/Desktop/images/12042025/09/21/image_12042025_09_21_57_10428.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_17_10438.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_26_9451.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_36_10396.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_47_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352195667","1352195687","1352195597","1352195735","1352195642","1352195621"],"photo_ids_order":["1352195597","1352195621","1352195642","1352195667","1352195687","1352195735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/909b291ace11b4afddff9f4f3533ce0d.jpg","text":"TemporaryFile(/tmp/multipartBody5782509789946994519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453303456,"filename":"image_12042025_09_22_26_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3485b1950cf03a92be92960ff55ceb1a.jpg","text":"TemporaryFile(/tmp/multipartBody6446945685060571810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453303456,"filename":"image_12042025_09_22_36_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c93c1d1441dd9d5359f9e15b2cbcceb.jpg","text":"TemporaryFile(/tmp/multipartBody15018101822936490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453303456,"filename":"image_12042025_09_21_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf502ef309fc5599e0707f0076c9ac1c.jpg","text":"TemporaryFile(/tmp/multipartBody882974499322676084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453303456,"filename":"image_12042025_09_22_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8cf99b520256b759a915b353dec9e27e.jpg","text":"TemporaryFile(/tmp/multipartBody820301940795922749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453303456,"filename":"image_12042025_09_22_17_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4dd4e4ba6f8f3976b1d9de4a9e6e4d1.jpg","text":"TemporaryFile(/tmp/multipartBody2470102557374540460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453303456,"filename":"image_12042025_09_21_57_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352195642","file1":"1352195621","file0":"1352195597","file4":"1352195687","file5":"1352195735","file3":"1352195667"},"map_files_photo_id_array":[{"photo_id":"1352195735","filename":"file5"},{"photo_id":"1352195642","filename":"file2"},{"photo_id":"1352195687","filename":"file4"},{"photo_id":"1352195621","filename":"file1"},{"photo_id":"1352195597","filename":"file0"},{"photo_id":"1352195667","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352195667":["hashtag1","hashtag2"]},{"1352195687":["hashtag1","hashtag2"]},{"1352195597":["hashtag1","hashtag2"]},{"1352195735":["hashtag1","hashtag2"]},{"1352195642":["hashtag1","hashtag2"]},{"1352195621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352195667, 1352195687, 1352195597, 1352195735, 1352195642, 1352195621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11187505722046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:21:32.245880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_56_9476.jpg', '/home/pi/Desktop/images/12042025/09/22/image_12042025_09_23_07_10355.jpg', '/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_17_10365.jpg', '/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_26_9441.jpg', '/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_37_10353.jpg', '/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_46_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_22_56_9476.jpg
/home/pi/Desktop/images/12042025/09/22/image_12042025_09_23_07_10355.jpg
/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_17_10365.jpg
/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_26_9441.jpg
/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_37_10353.jpg
/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_46_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352196126","1352195985","1352196009","1352195952","1352196098","1352196040"],"photo_ids_order":["1352195952","1352195985","1352196009","1352196040","1352196098","1352196126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/921b997caee1aeecc96f581ad370dfa8.jpg","text":"TemporaryFile(/tmp/multipartBody1230309174979288419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453352719,"filename":"image_12042025_09_23_46_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e906b4eb8da530f548a3ae40c0d79851.jpg","text":"TemporaryFile(/tmp/multipartBody4459590481618501067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453352719,"filename":"image_12042025_09_23_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c5685d86d3ab24d6dd78c9cb8d52b16.jpg","text":"TemporaryFile(/tmp/multipartBody640041199036792878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453352719,"filename":"image_12042025_09_23_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f66738bab2c8920c06c40d24b2f25e0.jpg","text":"TemporaryFile(/tmp/multipartBody863314751603105354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453352719,"filename":"image_12042025_09_22_56_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43729a1ef08a853ff84511dec03f6797.jpg","text":"TemporaryFile(/tmp/multipartBody7650184971845915334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453352719,"filename":"image_12042025_09_23_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9d9e6e4b33baab93199509fa93dd818.jpg","text":"TemporaryFile(/tmp/multipartBody4777099784471442271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453352719,"filename":"image_12042025_09_23_26_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352196009","file1":"1352195985","file0":"1352195952","file4":"1352196098","file5":"1352196126","file3":"1352196040"},"map_files_photo_id_array":[{"photo_id":"1352196126","filename":"file5"},{"photo_id":"1352196009","filename":"file2"},{"photo_id":"1352196098","filename":"file4"},{"photo_id":"1352195985","filename":"file1"},{"photo_id":"1352195952","filename":"file0"},{"photo_id":"1352196040","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352196126":["hashtag1","hashtag2"]},{"1352195985":["hashtag1","hashtag2"]},{"1352196009":["hashtag1","hashtag2"]},{"1352195952":["hashtag1","hashtag2"]},{"1352196098":["hashtag1","hashtag2"]},{"1352196040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352196126, 1352195985, 1352196009, 1352195952, 1352196098, 1352196040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39745855331421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:22:32.454201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_57_10427.jpg', '/home/pi/Desktop/images/12042025/09/23/image_12042025_09_24_07_10423.jpg', '/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_16_9431.jpg', '/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_27_10371.jpg', '/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_36_9476.jpg', '/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_47_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/23/image_12042025_09_23_57_10427.jpg
/home/pi/Desktop/images/12042025/09/23/image_12042025_09_24_07_10423.jpg
/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_16_9431.jpg
/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_27_10371.jpg
/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_36_9476.jpg
/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_47_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352196312","1352196398","1352196401","1352196403","1352196396","1352196378"],"photo_ids_order":["1352196312","1352196378","1352196396","1352196398","1352196401","1352196403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c113dceed574b9f826d4799853106962.jpg","text":"TemporaryFile(/tmp/multipartBody8536978150765812023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453412941,"filename":"image_12042025_09_23_57_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69dba0fbf66a2d2ad5777b58b2c95513.jpg","text":"TemporaryFile(/tmp/multipartBody7587857337841859715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453412941,"filename":"image_12042025_09_24_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4bf8fdc62b3f03052e72b686a3cd66ae.jpg","text":"TemporaryFile(/tmp/multipartBody3390066674032154030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453412941,"filename":"image_12042025_09_24_36_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d54681fa059431e0268b2fbf74b1da7.jpg","text":"TemporaryFile(/tmp/multipartBody9208064427040917008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453412941,"filename":"image_12042025_09_24_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40fd88e47c10aca63e1ea34730c1958f.jpg","text":"TemporaryFile(/tmp/multipartBody2149103887516022435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453412941,"filename":"image_12042025_09_24_16_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aec27dd3804312a85c08b02288e25bff.jpg","text":"TemporaryFile(/tmp/multipartBody890911167066711922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453412941,"filename":"image_12042025_09_24_07_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352196396","file1":"1352196378","file0":"1352196312","file4":"1352196401","file5":"1352196403","file3":"1352196398"},"map_files_photo_id_array":[{"photo_id":"1352196403","filename":"file5"},{"photo_id":"1352196396","filename":"file2"},{"photo_id":"1352196401","filename":"file4"},{"photo_id":"1352196378","filename":"file1"},{"photo_id":"1352196312","filename":"file0"},{"photo_id":"1352196398","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352196312":["hashtag1","hashtag2"]},{"1352196398":["hashtag1","hashtag2"]},{"1352196401":["hashtag1","hashtag2"]},{"1352196403":["hashtag1","hashtag2"]},{"1352196396":["hashtag1","hashtag2"]},{"1352196378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352196312, 1352196398, 1352196401, 1352196403, 1352196396, 1352196378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34792900085449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:23:32.746714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_57_10379.jpg', '/home/pi/Desktop/images/12042025/09/24/image_12042025_09_25_06_9341.jpg', '/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_17_10375.jpg', '/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_26_9360.jpg', '/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_37_10449.jpg', '/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_47_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/24/image_12042025_09_24_57_10379.jpg
/home/pi/Desktop/images/12042025/09/24/image_12042025_09_25_06_9341.jpg
/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_17_10375.jpg
/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_26_9360.jpg
/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_37_10449.jpg
/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_47_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352196501","1352196484","1352196469","1352196498","1352196495","1352196489"],"photo_ids_order":["1352196469","1352196484","1352196489","1352196495","1352196498","1352196501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4133ff5525550896e75002a0b8ced1f9.jpg","text":"TemporaryFile(/tmp/multipartBody8247293279028171927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453473208,"filename":"image_12042025_09_25_47_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5651af648d19a80a8c148a30cc2be87c.jpg","text":"TemporaryFile(/tmp/multipartBody3042353891714316361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453473208,"filename":"image_12042025_09_25_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/959588010e4bbafd96862a0197299286.jpg","text":"TemporaryFile(/tmp/multipartBody2541949142258382544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453473208,"filename":"image_12042025_09_24_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f8eaa147905d4333faa0ca3cf29c07a.jpg","text":"TemporaryFile(/tmp/multipartBody1533602854764888411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453473208,"filename":"image_12042025_09_25_37_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be02518e9d3cd8acb4818bc253cd4d33.jpg","text":"TemporaryFile(/tmp/multipartBody1267133622239391819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453473208,"filename":"image_12042025_09_25_26_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e56923f656d1552e16f9388500d704e.jpg","text":"TemporaryFile(/tmp/multipartBody3194909444659415634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453473208,"filename":"image_12042025_09_25_17_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352196489","file1":"1352196484","file0":"1352196469","file4":"1352196498","file5":"1352196501","file3":"1352196495"},"map_files_photo_id_array":[{"photo_id":"1352196501","filename":"file5"},{"photo_id":"1352196489","filename":"file2"},{"photo_id":"1352196498","filename":"file4"},{"photo_id":"1352196484","filename":"file1"},{"photo_id":"1352196469","filename":"file0"},{"photo_id":"1352196495","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352196501":["hashtag1","hashtag2"]},{"1352196484":["hashtag1","hashtag2"]},{"1352196469":["hashtag1","hashtag2"]},{"1352196498":["hashtag1","hashtag2"]},{"1352196495":["hashtag1","hashtag2"]},{"1352196489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352196501, 1352196484, 1352196469, 1352196498, 1352196495, 1352196489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80577731132507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:24:32.926408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_56_9364.jpg', '/home/pi/Desktop/images/12042025/09/25/image_12042025_09_26_07_10363.jpg', '/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_16_9363.jpg', '/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_26_10385.jpg', '/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_37_10408.jpg', '/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_46_9489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/25/image_12042025_09_25_56_9364.jpg
/home/pi/Desktop/images/12042025/09/25/image_12042025_09_26_07_10363.jpg
/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_16_9363.jpg
/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_26_10385.jpg
/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_37_10408.jpg
/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_46_9489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352196528","1352196533","1352196542","1352196538","1352196526","1352196523"],"photo_ids_order":["1352196523","1352196526","1352196528","1352196533","1352196538","1352196542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51690408358d2a5310994ffdec3bec21.jpg","text":"TemporaryFile(/tmp/multipartBody2230453767918384809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453533395,"filename":"image_12042025_09_26_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4aeed45c6c81562185d6be43129ac882.jpg","text":"TemporaryFile(/tmp/multipartBody2639384649817724137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453533395,"filename":"image_12042025_09_26_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f0a79aab25824d4942816849817f560.jpg","text":"TemporaryFile(/tmp/multipartBody8188223099956101218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453533395,"filename":"image_12042025_09_26_46_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f24249a45dd06cdbd7a06b396d28df6.jpg","text":"TemporaryFile(/tmp/multipartBody5156549077339334428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453533395,"filename":"image_12042025_09_26_37_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a3d4cbde641db3af803f40aff45ab1a.jpg","text":"TemporaryFile(/tmp/multipartBody1667025897293846623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453533395,"filename":"image_12042025_09_26_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d860390983b04a9a8209b06968d56b60.jpg","text":"TemporaryFile(/tmp/multipartBody6627212779396162390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453533395,"filename":"image_12042025_09_25_56_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352196528","file1":"1352196526","file0":"1352196523","file4":"1352196538","file5":"1352196542","file3":"1352196533"},"map_files_photo_id_array":[{"photo_id":"1352196542","filename":"file5"},{"photo_id":"1352196528","filename":"file2"},{"photo_id":"1352196538","filename":"file4"},{"photo_id":"1352196526","filename":"file1"},{"photo_id":"1352196523","filename":"file0"},{"photo_id":"1352196533","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352196528":["hashtag1","hashtag2"]},{"1352196533":["hashtag1","hashtag2"]},{"1352196542":["hashtag1","hashtag2"]},{"1352196538":["hashtag1","hashtag2"]},{"1352196526":["hashtag1","hashtag2"]},{"1352196523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352196528, 1352196533, 1352196542, 1352196538, 1352196526, 1352196523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.775166749954224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:25:33.182881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_57_10461.jpg', '/home/pi/Desktop/images/12042025/09/27/image_12042025_09_27_17_10418.jpg', '/home/pi/Desktop/images/12042025/09/27/image_12042025_09_27_36_9454.jpg', '/home/pi/Desktop/images/12042025/09/27/image_12042025_09_27_47_10364.jpg', '/home/pi/Desktop/images/12042025/09/27/image_12042025_09_27_56_9411.jpg', '/home/pi/Desktop/images/12042025/09/27/image_12042025_09_28_07_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/26/image_12042025_09_26_57_10461.jpg
/home/pi/Desktop/images/12042025/09/27/image_12042025_09_27_17_10418.jpg
/home/pi/Desktop/images/12042025/09/27/image_12042025_09_27_36_9454.jpg
/home/pi/Desktop/images/12042025/09/27/image_12042025_09_27_47_10364.jpg
/home/pi/Desktop/images/12042025/09/27/image_12042025_09_27_56_9411.jpg
/home/pi/Desktop/images/12042025/09/27/image_12042025_09_28_07_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352196630","1352196563","1352196580","1352196655","1352196559","1352196604"],"photo_ids_order":["1352196559","1352196563","1352196580","1352196604","1352196630","1352196655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb506298fc1ccf30755b74481e2464b1.jpg","text":"TemporaryFile(/tmp/multipartBody7071996445210690748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453593657,"filename":"image_12042025_09_27_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d5a9594ef4104d970f9e12529fe2916.jpg","text":"TemporaryFile(/tmp/multipartBody6380702688862603339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453593657,"filename":"image_12042025_09_27_17_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fe378fd5fdc41d1fd6b90ad14d60d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5724828012306338316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453593657,"filename":"image_12042025_09_27_36_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fce37a9339760336a1a64b8a5653493c.jpg","text":"TemporaryFile(/tmp/multipartBody1676585531917049844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453593657,"filename":"image_12042025_09_28_07_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9471659bb27d2dd1a8bd7b33e67cf46c.jpg","text":"TemporaryFile(/tmp/multipartBody176952678074870385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453593657,"filename":"image_12042025_09_26_57_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32fcbd89431956089a0b52c22b9b67f2.jpg","text":"TemporaryFile(/tmp/multipartBody4029814203441404965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453593657,"filename":"image_12042025_09_27_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352196580","file1":"1352196563","file0":"1352196559","file4":"1352196630","file5":"1352196655","file3":"1352196604"},"map_files_photo_id_array":[{"photo_id":"1352196655","filename":"file5"},{"photo_id":"1352196580","filename":"file2"},{"photo_id":"1352196630","filename":"file4"},{"photo_id":"1352196563","filename":"file1"},{"photo_id":"1352196559","filename":"file0"},{"photo_id":"1352196604","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352196630":["hashtag1","hashtag2"]},{"1352196563":["hashtag1","hashtag2"]},{"1352196580":["hashtag1","hashtag2"]},{"1352196655":["hashtag1","hashtag2"]},{"1352196559":["hashtag1","hashtag2"]},{"1352196604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352196630, 1352196563, 1352196580, 1352196655, 1352196559, 1352196604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18783354759216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:26:32.345675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_17_10419.jpg', '/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_26_9386.jpg', '/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_37_10362.jpg', '/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_46_9363.jpg', '/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_56_10374.jpg', '/home/pi/Desktop/images/12042025/09/28/image_12042025_09_29_07_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_17_10419.jpg
/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_26_9386.jpg
/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_37_10362.jpg
/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_46_9363.jpg
/home/pi/Desktop/images/12042025/09/28/image_12042025_09_28_56_10374.jpg
/home/pi/Desktop/images/12042025/09/28/image_12042025_09_29_07_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352196840","1352196936","1352196965","1352196905","1352196868","1352196993"],"photo_ids_order":["1352196840","1352196868","1352196905","1352196936","1352196965","1352196993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e22c56a50fd78bd78fa6b1d11fa8ce50.jpg","text":"TemporaryFile(/tmp/multipartBody3161446282973680899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453652928,"filename":"image_12042025_09_28_17_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fdd67137772499eefeb527ffda5cab4a.jpg","text":"TemporaryFile(/tmp/multipartBody7366589271937457538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453652928,"filename":"image_12042025_09_28_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ac158abb580f2202dda808acc12e087.jpg","text":"TemporaryFile(/tmp/multipartBody5536346983747682960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453652928,"filename":"image_12042025_09_28_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b8704fee5864e466ce9ced9be96cb17.jpg","text":"TemporaryFile(/tmp/multipartBody8371169796871694167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453652928,"filename":"image_12042025_09_28_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f791de629986e8818306105bc81d989e.jpg","text":"TemporaryFile(/tmp/multipartBody3619166860730025214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453652928,"filename":"image_12042025_09_28_26_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb2308d8a05038b674e3df5286402e2c.jpg","text":"TemporaryFile(/tmp/multipartBody975103043235136984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453652928,"filename":"image_12042025_09_29_07_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352196905","file1":"1352196868","file0":"1352196840","file4":"1352196965","file5":"1352196993","file3":"1352196936"},"map_files_photo_id_array":[{"photo_id":"1352196993","filename":"file5"},{"photo_id":"1352196905","filename":"file2"},{"photo_id":"1352196965","filename":"file4"},{"photo_id":"1352196868","filename":"file1"},{"photo_id":"1352196840","filename":"file0"},{"photo_id":"1352196936","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352196840":["hashtag1","hashtag2"]},{"1352196936":["hashtag1","hashtag2"]},{"1352196965":["hashtag1","hashtag2"]},{"1352196905":["hashtag1","hashtag2"]},{"1352196868":["hashtag1","hashtag2"]},{"1352196993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352196840, 1352196936, 1352196965, 1352196905, 1352196868, 1352196993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66685247421265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:27:32.518635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_16_9336.jpg', '/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_27_10358.jpg', '/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_37_10400.jpg', '/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_46_9527.jpg', '/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_57_10357.jpg', '/home/pi/Desktop/images/12042025/09/29/image_12042025_09_30_06_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_16_9336.jpg
/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_27_10358.jpg
/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_37_10400.jpg
/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_46_9527.jpg
/home/pi/Desktop/images/12042025/09/29/image_12042025_09_29_57_10357.jpg
/home/pi/Desktop/images/12042025/09/29/image_12042025_09_30_06_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352197209","1352197190","1352197261","1352197264","1352197267","1352197233"],"photo_ids_order":["1352197190","1352197209","1352197233","1352197261","1352197264","1352197267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b330d91e1a50161f9ea9f9403881cff3.jpg","text":"TemporaryFile(/tmp/multipartBody1010776499625098080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453713002,"filename":"image_12042025_09_29_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e36f09d34f3962639945f9b36d944bd.jpg","text":"TemporaryFile(/tmp/multipartBody3519184678576157250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453713002,"filename":"image_12042025_09_29_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52c943f9dc92387191d8588e691ee613.jpg","text":"TemporaryFile(/tmp/multipartBody3553107578989941411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453713002,"filename":"image_12042025_09_29_46_9527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bef729b691669ea4e9f3c32f198bdff6.jpg","text":"TemporaryFile(/tmp/multipartBody3239603343152448076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453713002,"filename":"image_12042025_09_29_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d34538df7c08af4d120cc82466c681ae.jpg","text":"TemporaryFile(/tmp/multipartBody6144021540862262276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453713002,"filename":"image_12042025_09_30_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8adb65a70066f174008a55e508199937.jpg","text":"TemporaryFile(/tmp/multipartBody4846696022070147869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453713002,"filename":"image_12042025_09_29_37_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352197233","file1":"1352197209","file0":"1352197190","file4":"1352197264","file5":"1352197267","file3":"1352197261"},"map_files_photo_id_array":[{"photo_id":"1352197267","filename":"file5"},{"photo_id":"1352197233","filename":"file2"},{"photo_id":"1352197264","filename":"file4"},{"photo_id":"1352197209","filename":"file1"},{"photo_id":"1352197190","filename":"file0"},{"photo_id":"1352197261","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352197209":["hashtag1","hashtag2"]},{"1352197190":["hashtag1","hashtag2"]},{"1352197261":["hashtag1","hashtag2"]},{"1352197264":["hashtag1","hashtag2"]},{"1352197267":["hashtag1","hashtag2"]},{"1352197233":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352197209, 1352197190, 1352197261, 1352197264, 1352197267, 1352197233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84177207946777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:28:32.811555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/30/image_12042025_09_30_17_10430.jpg', '/home/pi/Desktop/images/12042025/09/30/image_12042025_09_30_27_10376.jpg', '/home/pi/Desktop/images/12042025/09/30/image_12042025_09_30_36_9369.jpg', '/home/pi/Desktop/images/12042025/09/30/image_12042025_09_30_56_9350.jpg', '/home/pi/Desktop/images/12042025/09/30/image_12042025_09_31_07_10470.jpg', '/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_17_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/30/image_12042025_09_30_17_10430.jpg
/home/pi/Desktop/images/12042025/09/30/image_12042025_09_30_27_10376.jpg
/home/pi/Desktop/images/12042025/09/30/image_12042025_09_30_36_9369.jpg
/home/pi/Desktop/images/12042025/09/30/image_12042025_09_30_56_9350.jpg
/home/pi/Desktop/images/12042025/09/30/image_12042025_09_31_07_10470.jpg
/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_17_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352197320","1352197352","1352197316","1352197291","1352197341","1352197344"],"photo_ids_order":["1352197291","1352197316","1352197320","1352197341","1352197344","1352197352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6edeb86d935873882f2b91b080b26d9b.jpg","text":"TemporaryFile(/tmp/multipartBody502846887641906327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453773335,"filename":"image_12042025_09_30_36_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e8e0dd4e9edf7f1cf7178644bf3d183.jpg","text":"TemporaryFile(/tmp/multipartBody1075847989845820314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453773335,"filename":"image_12042025_09_31_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc99e7c653adc4c967820b2b52bf2da0.jpg","text":"TemporaryFile(/tmp/multipartBody7383549974249434141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453773335,"filename":"image_12042025_09_30_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0beea1616d47a80d3722f535d7ccb891.jpg","text":"TemporaryFile(/tmp/multipartBody851129376746001962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453773335,"filename":"image_12042025_09_30_17_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f270d68df2391c2d259c7823021b091.jpg","text":"TemporaryFile(/tmp/multipartBody3496832607510790995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453773335,"filename":"image_12042025_09_30_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39a14c8423b7896162942603048dbcf2.jpg","text":"TemporaryFile(/tmp/multipartBody3249593828568810068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453773335,"filename":"image_12042025_09_31_07_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352197320","file1":"1352197316","file0":"1352197291","file4":"1352197344","file5":"1352197352","file3":"1352197341"},"map_files_photo_id_array":[{"photo_id":"1352197352","filename":"file5"},{"photo_id":"1352197320","filename":"file2"},{"photo_id":"1352197344","filename":"file4"},{"photo_id":"1352197316","filename":"file1"},{"photo_id":"1352197291","filename":"file0"},{"photo_id":"1352197341","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352197320":["hashtag1","hashtag2"]},{"1352197352":["hashtag1","hashtag2"]},{"1352197316":["hashtag1","hashtag2"]},{"1352197291":["hashtag1","hashtag2"]},{"1352197341":["hashtag1","hashtag2"]},{"1352197344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352197320, 1352197352, 1352197316, 1352197291, 1352197341, 1352197344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.443588972091675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:29:33.146638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_26_9451.jpg', '/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_37_10355.jpg', '/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_47_10359.jpg', '/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_57_9423.jpg', '/home/pi/Desktop/images/12042025/09/31/image_12042025_09_32_07_10415.jpg', '/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_16_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_26_9451.jpg
/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_37_10355.jpg
/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_47_10359.jpg
/home/pi/Desktop/images/12042025/09/31/image_12042025_09_31_57_9423.jpg
/home/pi/Desktop/images/12042025/09/31/image_12042025_09_32_07_10415.jpg
/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_16_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352197512","1352197604","1352197543","1352197482","1352197614","1352197608"],"photo_ids_order":["1352197482","1352197512","1352197543","1352197604","1352197608","1352197614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e287ea1fd2d817ccc7e8fc61adb58f2.jpg","text":"TemporaryFile(/tmp/multipartBody6044059532472138226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453833608,"filename":"image_12042025_09_31_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6863590532c45da8b35b51600efdbdd.jpg","text":"TemporaryFile(/tmp/multipartBody8024822120913687324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453833608,"filename":"image_12042025_09_31_57_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b09d3d92739a087e1b6fe532e68c401b.jpg","text":"TemporaryFile(/tmp/multipartBody2388198843379809838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453833608,"filename":"image_12042025_09_31_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/729bf76df508483897f98799b8d11888.jpg","text":"TemporaryFile(/tmp/multipartBody6144374485372642633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453833608,"filename":"image_12042025_09_31_26_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a3f898c613353bb8c5d323bacd6298d.jpg","text":"TemporaryFile(/tmp/multipartBody5414348315199008429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453833608,"filename":"image_12042025_09_32_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58367bc2f71367aabbcd78ef4024fbdc.jpg","text":"TemporaryFile(/tmp/multipartBody6789331821352117153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453833608,"filename":"image_12042025_09_32_07_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352197543","file1":"1352197512","file0":"1352197482","file4":"1352197608","file5":"1352197614","file3":"1352197604"},"map_files_photo_id_array":[{"photo_id":"1352197614","filename":"file5"},{"photo_id":"1352197543","filename":"file2"},{"photo_id":"1352197608","filename":"file4"},{"photo_id":"1352197512","filename":"file1"},{"photo_id":"1352197482","filename":"file0"},{"photo_id":"1352197604","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352197512":["hashtag1","hashtag2"]},{"1352197604":["hashtag1","hashtag2"]},{"1352197543":["hashtag1","hashtag2"]},{"1352197482":["hashtag1","hashtag2"]},{"1352197614":["hashtag1","hashtag2"]},{"1352197608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352197512, 1352197604, 1352197543, 1352197482, 1352197614, 1352197608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.20798182487488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:30:32.257925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_27_10435.jpg', '/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_36_9356.jpg', '/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_47_10452.jpg', '/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_57_10364.jpg', '/home/pi/Desktop/images/12042025/09/32/image_12042025_09_33_06_9440.jpg', '/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_17_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_27_10435.jpg
/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_36_9356.jpg
/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_47_10452.jpg
/home/pi/Desktop/images/12042025/09/32/image_12042025_09_32_57_10364.jpg
/home/pi/Desktop/images/12042025/09/32/image_12042025_09_33_06_9440.jpg
/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_17_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352197649","1352197624","1352197626","1352197641","1352197635","1352197629"],"photo_ids_order":["1352197624","1352197626","1352197629","1352197635","1352197641","1352197649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7bc5610ca58161305aea285c8bfc7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5354788342045691157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453892746,"filename":"image_12042025_09_33_17_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3127bd0abc8e2f22d02a6013530695d5.jpg","text":"TemporaryFile(/tmp/multipartBody2102711950497214687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453892746,"filename":"image_12042025_09_32_27_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/924d4b4716b81a32ab41fd814d9fdcbb.jpg","text":"TemporaryFile(/tmp/multipartBody2115028772939136035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453892746,"filename":"image_12042025_09_32_36_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/623809f77f3beb820dcc99108715e633.jpg","text":"TemporaryFile(/tmp/multipartBody8889559885183976688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453892746,"filename":"image_12042025_09_33_06_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24832c3220c0fe4b7ad1f0fbef66753d.jpg","text":"TemporaryFile(/tmp/multipartBody7208733478310607232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453892746,"filename":"image_12042025_09_32_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2608dedd18c7d70af9e6db85f08f3b2.jpg","text":"TemporaryFile(/tmp/multipartBody5034749078483693240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453892746,"filename":"image_12042025_09_32_47_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352197629","file1":"1352197626","file0":"1352197624","file4":"1352197641","file5":"1352197649","file3":"1352197635"},"map_files_photo_id_array":[{"photo_id":"1352197649","filename":"file5"},{"photo_id":"1352197629","filename":"file2"},{"photo_id":"1352197641","filename":"file4"},{"photo_id":"1352197626","filename":"file1"},{"photo_id":"1352197624","filename":"file0"},{"photo_id":"1352197635","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352197649":["hashtag1","hashtag2"]},{"1352197624":["hashtag1","hashtag2"]},{"1352197626":["hashtag1","hashtag2"]},{"1352197641":["hashtag1","hashtag2"]},{"1352197635":["hashtag1","hashtag2"]},{"1352197629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352197649, 1352197624, 1352197626, 1352197641, 1352197635, 1352197629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28377628326416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:31:32.499484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_26_9343.jpg', '/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_37_10434.jpg', '/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_47_10437.jpg', '/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_56_9423.jpg', '/home/pi/Desktop/images/12042025/09/33/image_12042025_09_34_07_10374.jpg', '/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_16_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_26_9343.jpg
/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_37_10434.jpg
/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_47_10437.jpg
/home/pi/Desktop/images/12042025/09/33/image_12042025_09_33_56_9423.jpg
/home/pi/Desktop/images/12042025/09/33/image_12042025_09_34_07_10374.jpg
/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_16_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352197853","1352197760","1352197907","1352197879","1352197789","1352197828"],"photo_ids_order":["1352197760","1352197789","1352197828","1352197853","1352197879","1352197907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8a09e403e05b3ac38050d69cdad178a.jpg","text":"TemporaryFile(/tmp/multipartBody2203455643694714067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453952965,"filename":"image_12042025_09_33_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d021cf90ac60aa0bd67d4f11d15f881a.jpg","text":"TemporaryFile(/tmp/multipartBody628327223005387190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453952965,"filename":"image_12042025_09_33_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae68a4f0698b75e3e76288024b89a09c.jpg","text":"TemporaryFile(/tmp/multipartBody7274331340681411193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453952965,"filename":"image_12042025_09_34_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5bb9fe5377d804315220687ae77ddbd.jpg","text":"TemporaryFile(/tmp/multipartBody6603175802726526245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453952965,"filename":"image_12042025_09_34_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ee879ef5eaec51ab3073cf7f7cb0991.jpg","text":"TemporaryFile(/tmp/multipartBody1892775175859001404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453952965,"filename":"image_12042025_09_33_37_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27aa12138505de3ae3fcaaa79539d706.jpg","text":"TemporaryFile(/tmp/multipartBody2532697098307508437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744453952965,"filename":"image_12042025_09_33_47_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352197828","file1":"1352197789","file0":"1352197760","file4":"1352197879","file5":"1352197907","file3":"1352197853"},"map_files_photo_id_array":[{"photo_id":"1352197907","filename":"file5"},{"photo_id":"1352197828","filename":"file2"},{"photo_id":"1352197879","filename":"file4"},{"photo_id":"1352197789","filename":"file1"},{"photo_id":"1352197760","filename":"file0"},{"photo_id":"1352197853","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352197853":["hashtag1","hashtag2"]},{"1352197760":["hashtag1","hashtag2"]},{"1352197907":["hashtag1","hashtag2"]},{"1352197879":["hashtag1","hashtag2"]},{"1352197789":["hashtag1","hashtag2"]},{"1352197828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352197853, 1352197760, 1352197907, 1352197879, 1352197789, 1352197828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.725584506988525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:32:32.766454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_27_10357.jpg', '/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_37_10355.jpg', '/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_46_9352.jpg', '/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_57_10340.jpg', '/home/pi/Desktop/images/12042025/09/34/image_12042025_09_35_07_10373.jpg', '/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_16_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_27_10357.jpg
/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_37_10355.jpg
/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_46_9352.jpg
/home/pi/Desktop/images/12042025/09/34/image_12042025_09_34_57_10340.jpg
/home/pi/Desktop/images/12042025/09/34/image_12042025_09_35_07_10373.jpg
/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_16_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352198102","1352198080","1352198125","1352198134","1352198106","1352198144"],"photo_ids_order":["1352198080","1352198102","1352198106","1352198125","1352198134","1352198144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa6322b5f2cf3ee5e3b4bc33906af58c.jpg","text":"TemporaryFile(/tmp/multipartBody8170931224414991534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454013261,"filename":"image_12042025_09_34_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3f4d699c1e4682e226fbbb50da3f362.jpg","text":"TemporaryFile(/tmp/multipartBody3017293113620029116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454013261,"filename":"image_12042025_09_34_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/729fc09dc6d62a82715db7d67721e0ce.jpg","text":"TemporaryFile(/tmp/multipartBody1231999312926407732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454013261,"filename":"image_12042025_09_34_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7ee300d902282c80b4dbd83127c663b.jpg","text":"TemporaryFile(/tmp/multipartBody6393372407613940600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454013261,"filename":"image_12042025_09_35_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00379bac83561b3b140141a1ccaf7583.jpg","text":"TemporaryFile(/tmp/multipartBody234747839122438454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454013261,"filename":"image_12042025_09_34_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da7da691dedea404ca3aaf841e54c7d7.jpg","text":"TemporaryFile(/tmp/multipartBody5912876092429816058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454013261,"filename":"image_12042025_09_35_16_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198106","file1":"1352198102","file0":"1352198080","file4":"1352198134","file5":"1352198144","file3":"1352198125"},"map_files_photo_id_array":[{"photo_id":"1352198144","filename":"file5"},{"photo_id":"1352198106","filename":"file2"},{"photo_id":"1352198134","filename":"file4"},{"photo_id":"1352198102","filename":"file1"},{"photo_id":"1352198080","filename":"file0"},{"photo_id":"1352198125","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352198102":["hashtag1","hashtag2"]},{"1352198080":["hashtag1","hashtag2"]},{"1352198125":["hashtag1","hashtag2"]},{"1352198134":["hashtag1","hashtag2"]},{"1352198106":["hashtag1","hashtag2"]},{"1352198144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352198102, 1352198080, 1352198125, 1352198134, 1352198106, 1352198144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0320258140564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:33:32.963217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_27_10361.jpg', '/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_37_10361.jpg', '/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_46_9397.jpg', '/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_57_10360.jpg', '/home/pi/Desktop/images/12042025/09/35/image_12042025_09_36_06_9483.jpg', '/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_17_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_27_10361.jpg
/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_37_10361.jpg
/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_46_9397.jpg
/home/pi/Desktop/images/12042025/09/35/image_12042025_09_35_57_10360.jpg
/home/pi/Desktop/images/12042025/09/35/image_12042025_09_36_06_9483.jpg
/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_17_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352198185","1352198170","1352198166","1352198175","1352198180","1352198183"],"photo_ids_order":["1352198166","1352198170","1352198175","1352198180","1352198183","1352198185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0ffd6460c252f74eeb4ea87ab745e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5054417742561380435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454073440,"filename":"image_12042025_09_36_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9c5535476f9c9bcf98f3f9bd75c6399.jpg","text":"TemporaryFile(/tmp/multipartBody4319702090541922341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454073440,"filename":"image_12042025_09_35_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6c562b24e451e5ad9a5551e049ce185.jpg","text":"TemporaryFile(/tmp/multipartBody4389025195603790933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454073440,"filename":"image_12042025_09_35_27_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fe5229cb5895f863dfea88abfe4ab3d.jpg","text":"TemporaryFile(/tmp/multipartBody6999024649462575971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454073440,"filename":"image_12042025_09_35_46_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f06b5066f1c88eda0076660f1b36db6a.jpg","text":"TemporaryFile(/tmp/multipartBody4476435330467303730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454073440,"filename":"image_12042025_09_35_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b40440c289b003c0014ca8ea3f669600.jpg","text":"TemporaryFile(/tmp/multipartBody8059847058525254032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454073440,"filename":"image_12042025_09_36_06_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198175","file1":"1352198170","file0":"1352198166","file4":"1352198183","file5":"1352198185","file3":"1352198180"},"map_files_photo_id_array":[{"photo_id":"1352198185","filename":"file5"},{"photo_id":"1352198175","filename":"file2"},{"photo_id":"1352198183","filename":"file4"},{"photo_id":"1352198170","filename":"file1"},{"photo_id":"1352198166","filename":"file0"},{"photo_id":"1352198180","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352198185":["hashtag1","hashtag2"]},{"1352198170":["hashtag1","hashtag2"]},{"1352198166":["hashtag1","hashtag2"]},{"1352198175":["hashtag1","hashtag2"]},{"1352198180":["hashtag1","hashtag2"]},{"1352198183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352198185, 1352198170, 1352198166, 1352198175, 1352198180, 1352198183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.859187602996826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:34:33.137817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_27_10367.jpg', '/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_36_9356.jpg', '/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_47_10354.jpg', '/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_57_10365.jpg', '/home/pi/Desktop/images/12042025/09/36/image_12042025_09_37_07_9466.jpg', '/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_17_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_27_10367.jpg
/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_36_9356.jpg
/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_47_10354.jpg
/home/pi/Desktop/images/12042025/09/36/image_12042025_09_36_57_10365.jpg
/home/pi/Desktop/images/12042025/09/36/image_12042025_09_37_07_9466.jpg
/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_17_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352198278","1352198286","1352198280","1352198262","1352198304","1352198297"],"photo_ids_order":["1352198262","1352198278","1352198280","1352198286","1352198297","1352198304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53af8369a2f769f447f950033bb12feb.jpg","text":"TemporaryFile(/tmp/multipartBody327497629177513985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454133619,"filename":"image_12042025_09_36_36_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b68d592f0ae70b340cf5c79f1546df0.jpg","text":"TemporaryFile(/tmp/multipartBody1973243968659160980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454133619,"filename":"image_12042025_09_36_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/101e0d57736155a337772d7a31fb64a5.jpg","text":"TemporaryFile(/tmp/multipartBody8193206093773083040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454133619,"filename":"image_12042025_09_36_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9655da8912092a4174754ca11c9af3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3326388969183538894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454133619,"filename":"image_12042025_09_36_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7da8833cbdceeb159c2c529a239b010d.jpg","text":"TemporaryFile(/tmp/multipartBody6061938058779647915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454133619,"filename":"image_12042025_09_37_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36511707b7a54041379075e1a5c057d0.jpg","text":"TemporaryFile(/tmp/multipartBody7243969756632299780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454133619,"filename":"image_12042025_09_37_07_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198280","file1":"1352198278","file0":"1352198262","file4":"1352198297","file5":"1352198304","file3":"1352198286"},"map_files_photo_id_array":[{"photo_id":"1352198304","filename":"file5"},{"photo_id":"1352198280","filename":"file2"},{"photo_id":"1352198297","filename":"file4"},{"photo_id":"1352198278","filename":"file1"},{"photo_id":"1352198262","filename":"file0"},{"photo_id":"1352198286","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352198278":["hashtag1","hashtag2"]},{"1352198286":["hashtag1","hashtag2"]},{"1352198280":["hashtag1","hashtag2"]},{"1352198262":["hashtag1","hashtag2"]},{"1352198304":["hashtag1","hashtag2"]},{"1352198297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352198278, 1352198286, 1352198280, 1352198262, 1352198304, 1352198297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75246214866638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:35:32.475731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_26_9418.jpg', '/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_37_10363.jpg', '/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_47_10365.jpg', '/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_57_9465.jpg', '/home/pi/Desktop/images/12042025/09/37/image_12042025_09_38_07_10344.jpg', '/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_16_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_26_9418.jpg
/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_37_10363.jpg
/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_47_10365.jpg
/home/pi/Desktop/images/12042025/09/37/image_12042025_09_37_57_9465.jpg
/home/pi/Desktop/images/12042025/09/37/image_12042025_09_38_07_10344.jpg
/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_16_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352198339","1352198447","1352198411","1352198362","1352198391","1352198328"],"photo_ids_order":["1352198328","1352198339","1352198362","1352198391","1352198411","1352198447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8201ac56297a709f6ed70b17bceb43a7.jpg","text":"TemporaryFile(/tmp/multipartBody7314236617206648586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454192955,"filename":"image_12042025_09_37_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/156f628d0a0cc6026ffdb69aa7c283f2.jpg","text":"TemporaryFile(/tmp/multipartBody1860243599666250236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454192955,"filename":"image_12042025_09_38_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd0c91c43c842229df58929f573379ac.jpg","text":"TemporaryFile(/tmp/multipartBody9197357504692407426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454192955,"filename":"image_12042025_09_38_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3dae73ae5026399a1de0b0db7397dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7153843664678940057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454192955,"filename":"image_12042025_09_37_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/761b154546a9bee38f66a6d70b08dfa2.jpg","text":"TemporaryFile(/tmp/multipartBody6726773019270715772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454192955,"filename":"image_12042025_09_37_57_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0b68e7c36627d8db18edb2b3432ad59.jpg","text":"TemporaryFile(/tmp/multipartBody6304056541247668755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454192955,"filename":"image_12042025_09_37_26_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198362","file1":"1352198339","file0":"1352198328","file4":"1352198411","file5":"1352198447","file3":"1352198391"},"map_files_photo_id_array":[{"photo_id":"1352198447","filename":"file5"},{"photo_id":"1352198362","filename":"file2"},{"photo_id":"1352198411","filename":"file4"},{"photo_id":"1352198339","filename":"file1"},{"photo_id":"1352198328","filename":"file0"},{"photo_id":"1352198391","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352198339":["hashtag1","hashtag2"]},{"1352198447":["hashtag1","hashtag2"]},{"1352198411":["hashtag1","hashtag2"]},{"1352198362":["hashtag1","hashtag2"]},{"1352198391":["hashtag1","hashtag2"]},{"1352198328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352198339, 1352198447, 1352198411, 1352198362, 1352198391, 1352198328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.483076095581055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:36:32.546103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_27_10354.jpg', '/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_37_10365.jpg', '/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_46_9343.jpg', '/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_57_10388.jpg', '/home/pi/Desktop/images/12042025/09/38/image_12042025_09_39_06_9445.jpg', '/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_17_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_27_10354.jpg
/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_37_10365.jpg
/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_46_9343.jpg
/home/pi/Desktop/images/12042025/09/38/image_12042025_09_38_57_10388.jpg
/home/pi/Desktop/images/12042025/09/38/image_12042025_09_39_06_9445.jpg
/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_17_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352198482","1352198485","1352198470","1352198473","1352198489","1352198477"],"photo_ids_order":["1352198470","1352198473","1352198477","1352198482","1352198485","1352198489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/804f073bf5c06a2aafc5a7eeb210fd0d.jpg","text":"TemporaryFile(/tmp/multipartBody30865714251908593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454253018,"filename":"image_12042025_09_38_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/741f3665105afe9389d21a604a66fb22.jpg","text":"TemporaryFile(/tmp/multipartBody3133562824085025615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454253018,"filename":"image_12042025_09_39_06_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be917c9ca9fbce26d738ac4fbf0a1132.jpg","text":"TemporaryFile(/tmp/multipartBody1243721513135459564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454253018,"filename":"image_12042025_09_38_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bd08cbe12608226deb2fdfe0751e301.jpg","text":"TemporaryFile(/tmp/multipartBody8826684314002452034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454253018,"filename":"image_12042025_09_38_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6523b93a90b722c650863466d280a88b.jpg","text":"TemporaryFile(/tmp/multipartBody2575328100164961993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454253018,"filename":"image_12042025_09_39_17_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36773d1d0be2bc7160466f04e7a3e883.jpg","text":"TemporaryFile(/tmp/multipartBody6343887382481956736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454253018,"filename":"image_12042025_09_38_46_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198477","file1":"1352198473","file0":"1352198470","file4":"1352198485","file5":"1352198489","file3":"1352198482"},"map_files_photo_id_array":[{"photo_id":"1352198489","filename":"file5"},{"photo_id":"1352198477","filename":"file2"},{"photo_id":"1352198485","filename":"file4"},{"photo_id":"1352198473","filename":"file1"},{"photo_id":"1352198470","filename":"file0"},{"photo_id":"1352198482","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352198482":["hashtag1","hashtag2"]},{"1352198485":["hashtag1","hashtag2"]},{"1352198470":["hashtag1","hashtag2"]},{"1352198473":["hashtag1","hashtag2"]},{"1352198489":["hashtag1","hashtag2"]},{"1352198477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352198482, 1352198485, 1352198470, 1352198473, 1352198489, 1352198477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.877543687820435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:37:32.849866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_27_10475.jpg', '/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_36_9354.jpg', '/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_47_10364.jpg', '/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_56_9352.jpg', '/home/pi/Desktop/images/12042025/09/39/image_12042025_09_40_07_10400.jpg', '/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_17_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_27_10475.jpg
/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_36_9354.jpg
/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_47_10364.jpg
/home/pi/Desktop/images/12042025/09/39/image_12042025_09_39_56_9352.jpg
/home/pi/Desktop/images/12042025/09/39/image_12042025_09_40_07_10400.jpg
/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_17_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352198533","1352198515","1352198524","1352198512","1352198529","1352198520"],"photo_ids_order":["1352198512","1352198515","1352198520","1352198524","1352198529","1352198533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62066cbee5da7c996e2e8be2507d45a1.jpg","text":"TemporaryFile(/tmp/multipartBody5965386933424174994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454313320,"filename":"image_12042025_09_40_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/800395e3cb07d4d2a5789ac4a640e35b.jpg","text":"TemporaryFile(/tmp/multipartBody916527045166971706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454313320,"filename":"image_12042025_09_39_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16bc3934c4c43653f1a8034d4e2bd756.jpg","text":"TemporaryFile(/tmp/multipartBody6973291985884919057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454313320,"filename":"image_12042025_09_39_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b7b48d318e970347701203c87a331c3.jpg","text":"TemporaryFile(/tmp/multipartBody2269435560758737769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454313320,"filename":"image_12042025_09_39_27_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62a7bb76ce09d5e558a5498e5c8b18a9.jpg","text":"TemporaryFile(/tmp/multipartBody6540467047350521374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454313320,"filename":"image_12042025_09_40_07_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4ad684e551300117d371d569b969cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6636739585352268100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454313320,"filename":"image_12042025_09_39_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198520","file1":"1352198515","file0":"1352198512","file4":"1352198529","file5":"1352198533","file3":"1352198524"},"map_files_photo_id_array":[{"photo_id":"1352198533","filename":"file5"},{"photo_id":"1352198520","filename":"file2"},{"photo_id":"1352198529","filename":"file4"},{"photo_id":"1352198515","filename":"file1"},{"photo_id":"1352198512","filename":"file0"},{"photo_id":"1352198524","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352198533":["hashtag1","hashtag2"]},{"1352198515":["hashtag1","hashtag2"]},{"1352198524":["hashtag1","hashtag2"]},{"1352198512":["hashtag1","hashtag2"]},{"1352198529":["hashtag1","hashtag2"]},{"1352198520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352198533, 1352198515, 1352198524, 1352198512, 1352198529, 1352198520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23499584197998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:38:32.939498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_26_9420.jpg', '/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_37_10378.jpg', '/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_47_10364.jpg', '/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_56_9344.jpg', '/home/pi/Desktop/images/12042025/09/40/image_12042025_09_41_07_10359.jpg', '/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_26_9420.jpg
/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_37_10378.jpg
/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_47_10364.jpg
/home/pi/Desktop/images/12042025/09/40/image_12042025_09_40_56_9344.jpg
/home/pi/Desktop/images/12042025/09/40/image_12042025_09_41_07_10359.jpg
/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_16_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352198668","1352198647","1352198722","1352198757","1352198616","1352198693"],"photo_ids_order":["1352198616","1352198647","1352198668","1352198693","1352198722","1352198757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ec4897c0afadc523965f66e046764bc.jpg","text":"TemporaryFile(/tmp/multipartBody7247128286619536292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454374038,"filename":"image_12042025_09_40_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/343ef1269acf0f82f34a4d241308f24b.jpg","text":"TemporaryFile(/tmp/multipartBody8352267750855860201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454374038,"filename":"image_12042025_09_40_37_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/717decc74516e5bd8cbc98b54b48d019.jpg","text":"TemporaryFile(/tmp/multipartBody6494387679002678271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454374038,"filename":"image_12042025_09_41_07_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69271d450cfe18a96068049487543a80.jpg","text":"TemporaryFile(/tmp/multipartBody1427352903090146531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454374038,"filename":"image_12042025_09_41_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62104cb7dd1d1ef40a18c0ec96c3b232.jpg","text":"TemporaryFile(/tmp/multipartBody415899303710523855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454374038,"filename":"image_12042025_09_40_26_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68bc48ecd8c7ed5652fd911fac1cfaf2.jpg","text":"TemporaryFile(/tmp/multipartBody2844956548251601831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454374038,"filename":"image_12042025_09_40_56_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198668","file1":"1352198647","file0":"1352198616","file4":"1352198722","file5":"1352198757","file3":"1352198693"},"map_files_photo_id_array":[{"photo_id":"1352198757","filename":"file5"},{"photo_id":"1352198668","filename":"file2"},{"photo_id":"1352198722","filename":"file4"},{"photo_id":"1352198647","filename":"file1"},{"photo_id":"1352198616","filename":"file0"},{"photo_id":"1352198693","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352198668":["hashtag1","hashtag2"]},{"1352198647":["hashtag1","hashtag2"]},{"1352198722":["hashtag1","hashtag2"]},{"1352198757":["hashtag1","hashtag2"]},{"1352198616":["hashtag1","hashtag2"]},{"1352198693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352198668, 1352198647, 1352198722, 1352198757, 1352198616, 1352198693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89125680923462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:39:32.251371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_27_10370.jpg', '/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_37_10361.jpg', '/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_46_9430.jpg', '/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_57_10374.jpg', '/home/pi/Desktop/images/12042025/09/41/image_12042025_09_42_06_9401.jpg', '/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_17_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_27_10370.jpg
/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_37_10361.jpg
/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_46_9430.jpg
/home/pi/Desktop/images/12042025/09/41/image_12042025_09_41_57_10374.jpg
/home/pi/Desktop/images/12042025/09/41/image_12042025_09_42_06_9401.jpg
/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_17_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352199049","1352198971","1352198918","1352199022","1352198944","1352198991"],"photo_ids_order":["1352198918","1352198944","1352198971","1352198991","1352199022","1352199049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85ecaf13f6f04afa41bfab108c151982.jpg","text":"TemporaryFile(/tmp/multipartBody4655185654975046712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454432725,"filename":"image_12042025_09_42_17_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afc6d6a45ae3ea7713e92ea55cb36153.jpg","text":"TemporaryFile(/tmp/multipartBody6147909876355084845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454432725,"filename":"image_12042025_09_41_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f7d645140d3879f5009b7a714c5a3a4.jpg","text":"TemporaryFile(/tmp/multipartBody1316769856965248302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454432725,"filename":"image_12042025_09_41_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0446ffc192b6a29cf19ecf64823d1aca.jpg","text":"TemporaryFile(/tmp/multipartBody3661919731315238709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454432725,"filename":"image_12042025_09_42_06_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85ed0c3bfe1946fae47c3c0ea9c3fbe4.jpg","text":"TemporaryFile(/tmp/multipartBody6742473184576955359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454432725,"filename":"image_12042025_09_41_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4fdb1d9b53ac5438f7f7a2687677659.jpg","text":"TemporaryFile(/tmp/multipartBody4704372080464733308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454432725,"filename":"image_12042025_09_41_57_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352198971","file1":"1352198944","file0":"1352198918","file4":"1352199022","file5":"1352199049","file3":"1352198991"},"map_files_photo_id_array":[{"photo_id":"1352199049","filename":"file5"},{"photo_id":"1352198971","filename":"file2"},{"photo_id":"1352199022","filename":"file4"},{"photo_id":"1352198944","filename":"file1"},{"photo_id":"1352198918","filename":"file0"},{"photo_id":"1352198991","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352199049":["hashtag1","hashtag2"]},{"1352198971":["hashtag1","hashtag2"]},{"1352198918":["hashtag1","hashtag2"]},{"1352199022":["hashtag1","hashtag2"]},{"1352198944":["hashtag1","hashtag2"]},{"1352198991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352199049, 1352198971, 1352198918, 1352199022, 1352198944, 1352198991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.763699769973755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:40:32.472076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_27_10374.jpg', '/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_36_9382.jpg', '/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_47_10349.jpg', '/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_57_10379.jpg', '/home/pi/Desktop/images/12042025/09/42/image_12042025_09_43_06_9423.jpg', '/home/pi/Desktop/images/12042025/09/43/image_12042025_09_43_17_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_27_10374.jpg
/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_36_9382.jpg
/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_47_10349.jpg
/home/pi/Desktop/images/12042025/09/42/image_12042025_09_42_57_10379.jpg
/home/pi/Desktop/images/12042025/09/42/image_12042025_09_43_06_9423.jpg
/home/pi/Desktop/images/12042025/09/43/image_12042025_09_43_17_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352199511","1352199462","1352199327","1352199609","1352199425","1352199404"],"photo_ids_order":["1352199327","1352199404","1352199425","1352199462","1352199511","1352199609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/497963abda3af8cf85b42b1259af1553.jpg","text":"TemporaryFile(/tmp/multipartBody14989879919112745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454493227,"filename":"image_12042025_09_43_06_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df3c801646be2049973210743d89cb47.jpg","text":"TemporaryFile(/tmp/multipartBody1617499625785426195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454493227,"filename":"image_12042025_09_42_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b2a24b5a6aaa80546da72e79053dd4e.jpg","text":"TemporaryFile(/tmp/multipartBody5929920071565046614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454493227,"filename":"image_12042025_09_42_27_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3c729dd6742a8324a2c28f3f66ce456.jpg","text":"TemporaryFile(/tmp/multipartBody3107171667088134398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454493227,"filename":"image_12042025_09_43_17_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/caca6a4226556872a56379652d12ce0f.jpg","text":"TemporaryFile(/tmp/multipartBody1792076028042976681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454493227,"filename":"image_12042025_09_42_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae701e27e3a7d800c4a32664529b19fa.jpg","text":"TemporaryFile(/tmp/multipartBody2007614597219308876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454493227,"filename":"image_12042025_09_42_36_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352199425","file1":"1352199404","file0":"1352199327","file4":"1352199511","file5":"1352199609","file3":"1352199462"},"map_files_photo_id_array":[{"photo_id":"1352199609","filename":"file5"},{"photo_id":"1352199425","filename":"file2"},{"photo_id":"1352199511","filename":"file4"},{"photo_id":"1352199404","filename":"file1"},{"photo_id":"1352199327","filename":"file0"},{"photo_id":"1352199462","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352199511":["hashtag1","hashtag2"]},{"1352199462":["hashtag1","hashtag2"]},{"1352199327":["hashtag1","hashtag2"]},{"1352199609":["hashtag1","hashtag2"]},{"1352199425":["hashtag1","hashtag2"]},{"1352199404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352199511, 1352199462, 1352199327, 1352199609, 1352199425, 1352199404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19734477996826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:41:32.571414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/43/image_12042025_09_43_37_10411.jpg', '/home/pi/Desktop/images/12042025/09/43/image_12042025_09_43_47_10360.jpg', '/home/pi/Desktop/images/12042025/09/43/image_12042025_09_43_56_9466.jpg', '/home/pi/Desktop/images/12042025/09/43/image_12042025_09_44_07_10349.jpg', '/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_16_9390.jpg', '/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_27_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/43/image_12042025_09_43_37_10411.jpg
/home/pi/Desktop/images/12042025/09/43/image_12042025_09_43_47_10360.jpg
/home/pi/Desktop/images/12042025/09/43/image_12042025_09_43_56_9466.jpg
/home/pi/Desktop/images/12042025/09/43/image_12042025_09_44_07_10349.jpg
/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_16_9390.jpg
/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_27_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352199820","1352199823","1352199738","1352199776","1352199743","1352199740"],"photo_ids_order":["1352199738","1352199740","1352199743","1352199776","1352199820","1352199823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a0b8ad9528841e7e7be9cfc25add384.jpg","text":"TemporaryFile(/tmp/multipartBody3846104611399033922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454553055,"filename":"image_12042025_09_44_16_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0011125c129b6d0802b897c4e551368.jpg","text":"TemporaryFile(/tmp/multipartBody2322014832371587857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454553055,"filename":"image_12042025_09_44_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f9b6ad3de01b5841951f2336561c837.jpg","text":"TemporaryFile(/tmp/multipartBody3236458928599185451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454553055,"filename":"image_12042025_09_43_37_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21d5fdfd274727d7fcc092311efdc7f4.jpg","text":"TemporaryFile(/tmp/multipartBody1196466304849535567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454553055,"filename":"image_12042025_09_44_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0993d87fb854e0b40d72060fb379aad.jpg","text":"TemporaryFile(/tmp/multipartBody7663121994963169819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454553055,"filename":"image_12042025_09_43_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/802d0e17f505f1b796b36119d3a6d991.jpg","text":"TemporaryFile(/tmp/multipartBody2917736253778823480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454553055,"filename":"image_12042025_09_43_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352199743","file1":"1352199740","file0":"1352199738","file4":"1352199820","file5":"1352199823","file3":"1352199776"},"map_files_photo_id_array":[{"photo_id":"1352199823","filename":"file5"},{"photo_id":"1352199743","filename":"file2"},{"photo_id":"1352199820","filename":"file4"},{"photo_id":"1352199740","filename":"file1"},{"photo_id":"1352199738","filename":"file0"},{"photo_id":"1352199776","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352199820":["hashtag1","hashtag2"]},{"1352199823":["hashtag1","hashtag2"]},{"1352199738":["hashtag1","hashtag2"]},{"1352199776":["hashtag1","hashtag2"]},{"1352199743":["hashtag1","hashtag2"]},{"1352199740":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352199820, 1352199823, 1352199738, 1352199776, 1352199743, 1352199740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88772439956665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:42:32.786467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_37_10370.jpg', '/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_46_9417.jpg', '/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_57_10364.jpg', '/home/pi/Desktop/images/12042025/09/44/image_12042025_09_45_07_10356.jpg', '/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_16_9332.jpg', '/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_27_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_37_10370.jpg
/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_46_9417.jpg
/home/pi/Desktop/images/12042025/09/44/image_12042025_09_44_57_10364.jpg
/home/pi/Desktop/images/12042025/09/44/image_12042025_09_45_07_10356.jpg
/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_16_9332.jpg
/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_27_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352199847","1352199850","1352199838","1352199832","1352199849","1352199836"],"photo_ids_order":["1352199832","1352199836","1352199838","1352199847","1352199849","1352199850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca0b3a17b5a9dc36b998075152f70ba3.jpg","text":"TemporaryFile(/tmp/multipartBody975616336071362001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454613305,"filename":"image_12042025_09_45_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21cc50b6ddce7dd005018655c9807e9c.jpg","text":"TemporaryFile(/tmp/multipartBody8891187883964261203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454613305,"filename":"image_12042025_09_45_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f7531fd8b4a4a3adf6c71a832a05e27.jpg","text":"TemporaryFile(/tmp/multipartBody9218696748977136028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454613305,"filename":"image_12042025_09_44_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c4e2f2309a3bb617310d1840f948f90.jpg","text":"TemporaryFile(/tmp/multipartBody6043890509820541544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454613305,"filename":"image_12042025_09_44_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56b8e94a26dd580873236fbd45d224fa.jpg","text":"TemporaryFile(/tmp/multipartBody6883783547879282041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454613305,"filename":"image_12042025_09_45_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db99eb0865279fc20d4f7c5ff01be8be.jpg","text":"TemporaryFile(/tmp/multipartBody7215919360879845899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454613305,"filename":"image_12042025_09_44_46_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352199838","file1":"1352199836","file0":"1352199832","file4":"1352199849","file5":"1352199850","file3":"1352199847"},"map_files_photo_id_array":[{"photo_id":"1352199850","filename":"file5"},{"photo_id":"1352199838","filename":"file2"},{"photo_id":"1352199849","filename":"file4"},{"photo_id":"1352199836","filename":"file1"},{"photo_id":"1352199832","filename":"file0"},{"photo_id":"1352199847","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352199847":["hashtag1","hashtag2"]},{"1352199850":["hashtag1","hashtag2"]},{"1352199838":["hashtag1","hashtag2"]},{"1352199832":["hashtag1","hashtag2"]},{"1352199849":["hashtag1","hashtag2"]},{"1352199836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352199847, 1352199850, 1352199838, 1352199832, 1352199849, 1352199836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.614742040634155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:43:32.996533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_36_9345.jpg', '/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_46_10372.jpg', '/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_57_10372.jpg', '/home/pi/Desktop/images/12042025/09/45/image_12042025_09_46_06_9350.jpg', '/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_17_10430.jpg', '/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_27_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_36_9345.jpg
/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_46_10372.jpg
/home/pi/Desktop/images/12042025/09/45/image_12042025_09_45_57_10372.jpg
/home/pi/Desktop/images/12042025/09/45/image_12042025_09_46_06_9350.jpg
/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_17_10430.jpg
/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_27_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352200089","1352200112","1352199977","1352200066","1352200039","1352200006"],"photo_ids_order":["1352199977","1352200006","1352200039","1352200066","1352200089","1352200112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2f220b76c34dde891b8001209208ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2347848799589986929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454673481,"filename":"image_12042025_09_46_17_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e65d7c2bf62b19e98ec0c4d25da15a7.jpg","text":"TemporaryFile(/tmp/multipartBody2810309952643033799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454673481,"filename":"image_12042025_09_46_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c67e23e59d37310cabb6d53b78033d5.jpg","text":"TemporaryFile(/tmp/multipartBody6115921470555050715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454673481,"filename":"image_12042025_09_45_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43d11486501fa9cfbabfdd2a1cee6ce5.jpg","text":"TemporaryFile(/tmp/multipartBody1655589020197074730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454673481,"filename":"image_12042025_09_46_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3359dddda800139e188a481d5b7150b.jpg","text":"TemporaryFile(/tmp/multipartBody1452957061901690466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454673481,"filename":"image_12042025_09_45_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9e0f1a9e2e076082d5ed91ef380fe24.jpg","text":"TemporaryFile(/tmp/multipartBody7727915074719704372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454673481,"filename":"image_12042025_09_45_46_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352200039","file1":"1352200006","file0":"1352199977","file4":"1352200089","file5":"1352200112","file3":"1352200066"},"map_files_photo_id_array":[{"photo_id":"1352200112","filename":"file5"},{"photo_id":"1352200039","filename":"file2"},{"photo_id":"1352200089","filename":"file4"},{"photo_id":"1352200006","filename":"file1"},{"photo_id":"1352199977","filename":"file0"},{"photo_id":"1352200066","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352200089":["hashtag1","hashtag2"]},{"1352200112":["hashtag1","hashtag2"]},{"1352199977":["hashtag1","hashtag2"]},{"1352200066":["hashtag1","hashtag2"]},{"1352200039":["hashtag1","hashtag2"]},{"1352200006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352200089, 1352200112, 1352199977, 1352200066, 1352200039, 1352200006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.467960596084595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:44:32.171997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_36_9395.jpg', '/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_47_10379.jpg', '/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_56_9374.jpg', '/home/pi/Desktop/images/12042025/09/46/image_12042025_09_47_06_10346.jpg', '/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_17_10360.jpg', '/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_27_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_36_9395.jpg
/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_47_10379.jpg
/home/pi/Desktop/images/12042025/09/46/image_12042025_09_46_56_9374.jpg
/home/pi/Desktop/images/12042025/09/46/image_12042025_09_47_06_10346.jpg
/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_17_10360.jpg
/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_27_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352200312","1352200284","1352200332","1352200259","1352200340","1352200324"],"photo_ids_order":["1352200259","1352200284","1352200312","1352200324","1352200332","1352200340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d68da057a381c4935b9b95287c4af6e.jpg","text":"TemporaryFile(/tmp/multipartBody8011103689510993178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454732638,"filename":"image_12042025_09_46_56_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/017665ba685affc2af8f5373306d0264.jpg","text":"TemporaryFile(/tmp/multipartBody2834909215560347378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454732638,"filename":"image_12042025_09_46_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0511d8dabb0006cd9ee5325c57491c3d.jpg","text":"TemporaryFile(/tmp/multipartBody7546951728651989240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454732638,"filename":"image_12042025_09_47_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22ddce711fa04d883eb9b98c302357fa.jpg","text":"TemporaryFile(/tmp/multipartBody1466623898041564391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454732638,"filename":"image_12042025_09_46_36_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6acb49380b4e57eabeefb3ed9dbc9b38.jpg","text":"TemporaryFile(/tmp/multipartBody3410432772414809589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454732638,"filename":"image_12042025_09_47_27_9878.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/681eb6165107d4565ff84899fc3dcc4a.jpg","text":"TemporaryFile(/tmp/multipartBody2112260757743778737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454732638,"filename":"image_12042025_09_47_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352200312","file1":"1352200284","file0":"1352200259","file4":"1352200332","file5":"1352200340","file3":"1352200324"},"map_files_photo_id_array":[{"photo_id":"1352200340","filename":"file5"},{"photo_id":"1352200312","filename":"file2"},{"photo_id":"1352200332","filename":"file4"},{"photo_id":"1352200284","filename":"file1"},{"photo_id":"1352200259","filename":"file0"},{"photo_id":"1352200324","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352200312":["hashtag1","hashtag2"]},{"1352200284":["hashtag1","hashtag2"]},{"1352200332":["hashtag1","hashtag2"]},{"1352200259":["hashtag1","hashtag2"]},{"1352200340":["hashtag1","hashtag2"]},{"1352200324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352200312, 1352200284, 1352200332, 1352200259, 1352200340, 1352200324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.804246187210083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:45:32.472663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_37_10349.jpg', '/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_46_9355.jpg', '/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_57_10360.jpg', '/home/pi/Desktop/images/12042025/09/47/image_12042025_09_48_06_9357.jpg', '/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_17_10477.jpg', '/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_27_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_37_10349.jpg
/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_46_9355.jpg
/home/pi/Desktop/images/12042025/09/47/image_12042025_09_47_57_10360.jpg
/home/pi/Desktop/images/12042025/09/47/image_12042025_09_48_06_9357.jpg
/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_17_10477.jpg
/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_27_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352200473","1352200407","1352200442","1352200502","1352200384","1352200522"],"photo_ids_order":["1352200384","1352200407","1352200442","1352200473","1352200502","1352200522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/349300faaa4c4a6ec188830ac3a8d9d3.jpg","text":"TemporaryFile(/tmp/multipartBody5173686006796714704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454792944,"filename":"image_12042025_09_48_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da02e70975576622e09027dd044366c7.jpg","text":"TemporaryFile(/tmp/multipartBody4059611215180822823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454792944,"filename":"image_12042025_09_47_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40aadda60af41a0bcd707efb738f98f1.jpg","text":"TemporaryFile(/tmp/multipartBody3450374114230272578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454792944,"filename":"image_12042025_09_47_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be5de1670b9ecc903e618d951930f3ef.jpg","text":"TemporaryFile(/tmp/multipartBody9021901193376443597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454792944,"filename":"image_12042025_09_48_17_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88b7fd6a12ca1585f258a1559b2ab943.jpg","text":"TemporaryFile(/tmp/multipartBody7040800786819829654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454792944,"filename":"image_12042025_09_47_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1dccf7be4d8e2f3933c54416adec66a9.jpg","text":"TemporaryFile(/tmp/multipartBody7267307243133353204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454792944,"filename":"image_12042025_09_48_27_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352200442","file1":"1352200407","file0":"1352200384","file4":"1352200502","file5":"1352200522","file3":"1352200473"},"map_files_photo_id_array":[{"photo_id":"1352200522","filename":"file5"},{"photo_id":"1352200442","filename":"file2"},{"photo_id":"1352200502","filename":"file4"},{"photo_id":"1352200407","filename":"file1"},{"photo_id":"1352200384","filename":"file0"},{"photo_id":"1352200473","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352200473":["hashtag1","hashtag2"]},{"1352200407":["hashtag1","hashtag2"]},{"1352200442":["hashtag1","hashtag2"]},{"1352200502":["hashtag1","hashtag2"]},{"1352200384":["hashtag1","hashtag2"]},{"1352200522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352200473, 1352200407, 1352200442, 1352200502, 1352200384, 1352200522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80354404449463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:46:34.719418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_36_9434.jpg', '/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_47_10443.jpg', '/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_56_9354.jpg', '/home/pi/Desktop/images/12042025/09/48/image_12042025_09_49_07_10351.jpg', '/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_17_10367.jpg', '/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_26_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_36_9434.jpg
/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_47_10443.jpg
/home/pi/Desktop/images/12042025/09/48/image_12042025_09_48_56_9354.jpg
/home/pi/Desktop/images/12042025/09/48/image_12042025_09_49_07_10351.jpg
/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_17_10367.jpg
/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_26_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352200618","1352200611","1352200601","1352200619","1352200613","1352200615"],"photo_ids_order":["1352200601","1352200611","1352200613","1352200615","1352200618","1352200619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab4152a0d009a4ba100981a9f9a8028d.jpg","text":"TemporaryFile(/tmp/multipartBody8292827594355757199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454855179,"filename":"image_12042025_09_49_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5edbc2e635f4c605476003fe26f0a177.jpg","text":"TemporaryFile(/tmp/multipartBody773221395490665061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454855179,"filename":"image_12042025_09_48_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5a3926c4845104001e5103801298787.jpg","text":"TemporaryFile(/tmp/multipartBody8172435196944212662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454855179,"filename":"image_12042025_09_48_36_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/573f5a1c80b77f110cafeefef09bb186.jpg","text":"TemporaryFile(/tmp/multipartBody5220412980752154620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454855179,"filename":"image_12042025_09_49_26_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1a2b36a22e88c971bd8bb0b7543723a.jpg","text":"TemporaryFile(/tmp/multipartBody1467027410534085637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454855179,"filename":"image_12042025_09_48_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6d3bd418aa5562f7d8a57c32a6ef3a1.jpg","text":"TemporaryFile(/tmp/multipartBody6840750243430991115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454855179,"filename":"image_12042025_09_49_07_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352200613","file1":"1352200611","file0":"1352200601","file4":"1352200618","file5":"1352200619","file3":"1352200615"},"map_files_photo_id_array":[{"photo_id":"1352200619","filename":"file5"},{"photo_id":"1352200613","filename":"file2"},{"photo_id":"1352200618","filename":"file4"},{"photo_id":"1352200611","filename":"file1"},{"photo_id":"1352200601","filename":"file0"},{"photo_id":"1352200615","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352200618":["hashtag1","hashtag2"]},{"1352200611":["hashtag1","hashtag2"]},{"1352200601":["hashtag1","hashtag2"]},{"1352200619":["hashtag1","hashtag2"]},{"1352200613":["hashtag1","hashtag2"]},{"1352200615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352200618, 1352200611, 1352200601, 1352200619, 1352200613, 1352200615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61977005004883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:47:32.889214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_37_10347.jpg', '/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_47_10356.jpg', '/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_56_9335.jpg', '/home/pi/Desktop/images/12042025/09/49/image_12042025_09_50_07_10368.jpg', '/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_16_9346.jpg', '/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_27_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_37_10347.jpg
/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_47_10356.jpg
/home/pi/Desktop/images/12042025/09/49/image_12042025_09_49_56_9335.jpg
/home/pi/Desktop/images/12042025/09/49/image_12042025_09_50_07_10368.jpg
/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_16_9346.jpg
/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_27_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352200833","1352200806","1352200877","1352200862","1352200789","1352200762"],"photo_ids_order":["1352200762","1352200789","1352200806","1352200833","1352200862","1352200877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a60bc4eccfa08c707c7f87360bde8acb.jpg","text":"TemporaryFile(/tmp/multipartBody4380589283466489748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454913356,"filename":"image_12042025_09_50_07_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17361cfead95a9afc789f3b1714bbe4a.jpg","text":"TemporaryFile(/tmp/multipartBody6787486019737683978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454913356,"filename":"image_12042025_09_49_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a807f9ecc1b753608ff2c86d3c99f4e9.jpg","text":"TemporaryFile(/tmp/multipartBody6164473877112239009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454913356,"filename":"image_12042025_09_50_27_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1cea58e521ad9d792d3d861d5b3d7104.jpg","text":"TemporaryFile(/tmp/multipartBody2186710527208664341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454913356,"filename":"image_12042025_09_50_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aaae1c6b39ffa0081eb86db68df433bf.jpg","text":"TemporaryFile(/tmp/multipartBody8564761837481705796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454913356,"filename":"image_12042025_09_49_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d944628ec10eb8e3ee25bed5c7f9df20.jpg","text":"TemporaryFile(/tmp/multipartBody7234619857002700468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454913356,"filename":"image_12042025_09_49_37_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352200806","file1":"1352200789","file0":"1352200762","file4":"1352200862","file5":"1352200877","file3":"1352200833"},"map_files_photo_id_array":[{"photo_id":"1352200877","filename":"file5"},{"photo_id":"1352200806","filename":"file2"},{"photo_id":"1352200862","filename":"file4"},{"photo_id":"1352200789","filename":"file1"},{"photo_id":"1352200762","filename":"file0"},{"photo_id":"1352200833","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352200833":["hashtag1","hashtag2"]},{"1352200806":["hashtag1","hashtag2"]},{"1352200877":["hashtag1","hashtag2"]},{"1352200862":["hashtag1","hashtag2"]},{"1352200789":["hashtag1","hashtag2"]},{"1352200762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352200833, 1352200806, 1352200877, 1352200862, 1352200789, 1352200762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.430349826812744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:48:33.127645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_37_10381.jpg', '/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_46_9481.jpg', '/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_57_10355.jpg', '/home/pi/Desktop/images/12042025/09/50/image_12042025_09_51_07_10355.jpg', '/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_16_9344.jpg', '/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_27_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_37_10381.jpg
/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_46_9481.jpg
/home/pi/Desktop/images/12042025/09/50/image_12042025_09_50_57_10355.jpg
/home/pi/Desktop/images/12042025/09/50/image_12042025_09_51_07_10355.jpg
/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_16_9344.jpg
/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_27_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201019","1352200955","1352200943","1352201018","1352200948","1352200951"],"photo_ids_order":["1352200943","1352200948","1352200951","1352200955","1352201018","1352201019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a95f20f7b5e4ed96dee267b8556cde64.jpg","text":"TemporaryFile(/tmp/multipartBody5705400612864443526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454975082,"filename":"image_12042025_09_51_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f16aceefdb86e57fe012bebe0a18a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8963301464569548424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454975082,"filename":"image_12042025_09_51_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1a42fe1f99c25febf05eef1d2baced3.jpg","text":"TemporaryFile(/tmp/multipartBody5840054853002503935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454975082,"filename":"image_12042025_09_50_37_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfa37c6ea179d0dc6eb1f907892b329f.jpg","text":"TemporaryFile(/tmp/multipartBody1963088589044825745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454975082,"filename":"image_12042025_09_51_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/638489a2aed7984b9a4f26937f7c50d7.jpg","text":"TemporaryFile(/tmp/multipartBody3531197354180709546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454975082,"filename":"image_12042025_09_50_46_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7042467f9fbce89a5ec3557de7179b46.jpg","text":"TemporaryFile(/tmp/multipartBody240547714143531626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744454975082,"filename":"image_12042025_09_50_57_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352200951","file1":"1352200948","file0":"1352200943","file4":"1352201018","file5":"1352201019","file3":"1352200955"},"map_files_photo_id_array":[{"photo_id":"1352201019","filename":"file5"},{"photo_id":"1352200951","filename":"file2"},{"photo_id":"1352201018","filename":"file4"},{"photo_id":"1352200948","filename":"file1"},{"photo_id":"1352200943","filename":"file0"},{"photo_id":"1352200955","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201019":["hashtag1","hashtag2"]},{"1352200955":["hashtag1","hashtag2"]},{"1352200943":["hashtag1","hashtag2"]},{"1352201018":["hashtag1","hashtag2"]},{"1352200948":["hashtag1","hashtag2"]},{"1352200951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201019, 1352200955, 1352200943, 1352201018, 1352200948, 1352200951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.972339391708374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:49:32.370023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_36_9343.jpg', '/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_47_10395.jpg', '/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_57_10367.jpg', '/home/pi/Desktop/images/12042025/09/51/image_12042025_09_52_06_9475.jpg', '/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_17_10402.jpg', '/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_26_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_36_9343.jpg
/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_47_10395.jpg
/home/pi/Desktop/images/12042025/09/51/image_12042025_09_51_57_10367.jpg
/home/pi/Desktop/images/12042025/09/51/image_12042025_09_52_06_9475.jpg
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_17_10402.jpg
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_26_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201052","1352201055","1352201028","1352201048","1352201033","1352201038"],"photo_ids_order":["1352201028","1352201033","1352201038","1352201048","1352201052","1352201055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28df328391057ba13af1f8876947cf18.jpg","text":"TemporaryFile(/tmp/multipartBody7713045554023371836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455032871,"filename":"image_12042025_09_52_17_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93421b8ddfdc2c960b74d34616e6e276.jpg","text":"TemporaryFile(/tmp/multipartBody7972242288882192761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455032871,"filename":"image_12042025_09_52_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8a2bc4d5755b6b8308ef870a81b22c6.jpg","text":"TemporaryFile(/tmp/multipartBody7738448475406507323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455032871,"filename":"image_12042025_09_51_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8abad43cf287cad163694323af8392cb.jpg","text":"TemporaryFile(/tmp/multipartBody751588759374498964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455032871,"filename":"image_12042025_09_52_06_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38ea4623ce5b6343a938b53e03cb0060.jpg","text":"TemporaryFile(/tmp/multipartBody7784591406229042219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455032871,"filename":"image_12042025_09_51_47_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75f7414af744e7ab3b1a37999a60f1cd.jpg","text":"TemporaryFile(/tmp/multipartBody1993301609279343984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455032871,"filename":"image_12042025_09_51_57_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201038","file1":"1352201033","file0":"1352201028","file4":"1352201052","file5":"1352201055","file3":"1352201048"},"map_files_photo_id_array":[{"photo_id":"1352201055","filename":"file5"},{"photo_id":"1352201038","filename":"file2"},{"photo_id":"1352201052","filename":"file4"},{"photo_id":"1352201033","filename":"file1"},{"photo_id":"1352201028","filename":"file0"},{"photo_id":"1352201048","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201052":["hashtag1","hashtag2"]},{"1352201055":["hashtag1","hashtag2"]},{"1352201028":["hashtag1","hashtag2"]},{"1352201048":["hashtag1","hashtag2"]},{"1352201033":["hashtag1","hashtag2"]},{"1352201038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201052, 1352201055, 1352201028, 1352201048, 1352201033, 1352201038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30980920791626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:50:32.571589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_37_10476.jpg', '/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_47_10365.jpg', '/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_56_9421.jpg', '/home/pi/Desktop/images/12042025/09/52/image_12042025_09_53_07_10341.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_16_9349.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_27_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_37_10476.jpg
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_47_10365.jpg
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_56_9421.jpg
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_53_07_10341.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_16_9349.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_27_10437.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3842794895172119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 12:50:42.548826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_37_10476.jpg', '/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_47_10365.jpg', '/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_56_9421.jpg', '/home/pi/Desktop/images/12042025/09/52/image_12042025_09_53_07_10341.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_16_9349.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_27_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_37_10476.jpg
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_47_10365.jpg
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_52_56_9421.jpg
/home/pi/Desktop/images/12042025/09/52/image_12042025_09_53_07_10341.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_16_9349.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_27_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201087","1352201081","1352201075","1352201092","1352201101","1352201097"],"photo_ids_order":["1352201075","1352201081","1352201087","1352201092","1352201097","1352201101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/144407993cbfefd017563e4c0c0b3515.jpg","text":"TemporaryFile(/tmp/multipartBody4787111044024493131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455103009,"filename":"image_12042025_09_52_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b41e5d7a59f2dbe7ebedc22a1316e38e.jpg","text":"TemporaryFile(/tmp/multipartBody6913513852882731765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455103009,"filename":"image_12042025_09_52_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a649b0bd5cb636e7f4ff2109b99657cc.jpg","text":"TemporaryFile(/tmp/multipartBody1320831192679961860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455103009,"filename":"image_12042025_09_52_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac5ace693cba33768acb7393d0aac989.jpg","text":"TemporaryFile(/tmp/multipartBody3576675392393706242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455103009,"filename":"image_12042025_09_53_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/860e1b5e375fcebd650ab2792dd46405.jpg","text":"TemporaryFile(/tmp/multipartBody428459494813491666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455103009,"filename":"image_12042025_09_53_27_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a28b72181a2027b6d44071d8cb2ccbf8.jpg","text":"TemporaryFile(/tmp/multipartBody5850890449603689469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455103009,"filename":"image_12042025_09_53_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201087","file1":"1352201081","file0":"1352201075","file4":"1352201097","file5":"1352201101","file3":"1352201092"},"map_files_photo_id_array":[{"photo_id":"1352201101","filename":"file5"},{"photo_id":"1352201087","filename":"file2"},{"photo_id":"1352201097","filename":"file4"},{"photo_id":"1352201081","filename":"file1"},{"photo_id":"1352201075","filename":"file0"},{"photo_id":"1352201092","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201087":["hashtag1","hashtag2"]},{"1352201081":["hashtag1","hashtag2"]},{"1352201075":["hashtag1","hashtag2"]},{"1352201092":["hashtag1","hashtag2"]},{"1352201101":["hashtag1","hashtag2"]},{"1352201097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201087, 1352201081, 1352201075, 1352201092, 1352201101, 1352201097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61540246009827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:51:32.873821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_37_10430.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_46_9437.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_57_10354.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_54_06_9340.jpg', '/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_17_10402.jpg', '/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_27_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_37_10430.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_46_9437.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_57_10354.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_54_06_9340.jpg
/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_17_10402.jpg
/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_27_10365.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3825094699859619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 12:51:42.746188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_37_10430.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_46_9437.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_57_10354.jpg', '/home/pi/Desktop/images/12042025/09/53/image_12042025_09_54_06_9340.jpg', '/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_17_10402.jpg', '/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_27_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_37_10430.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_46_9437.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_53_57_10354.jpg
/home/pi/Desktop/images/12042025/09/53/image_12042025_09_54_06_9340.jpg
/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_17_10402.jpg
/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_27_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201148","1352201205","1352201153","1352201156","1352201173","1352201143"],"photo_ids_order":["1352201143","1352201148","1352201153","1352201156","1352201173","1352201205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9a28a46776c01019eaa82de8fa21060.jpg","text":"TemporaryFile(/tmp/multipartBody5074297728853090541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455163227,"filename":"image_12042025_09_53_46_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c172d9ecc7f5442b0bddffd5cf51ba6c.jpg","text":"TemporaryFile(/tmp/multipartBody8017848204898936953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455163227,"filename":"image_12042025_09_54_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f15535ad776e25b3dc5a6cc7ac1dac0.jpg","text":"TemporaryFile(/tmp/multipartBody3366968176031049640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455163227,"filename":"image_12042025_09_53_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fed918de5fccaa87fda3c2e43a3c3c86.jpg","text":"TemporaryFile(/tmp/multipartBody5125639247098921557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455163227,"filename":"image_12042025_09_54_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12b97e3ed63719d12e394bf935979944.jpg","text":"TemporaryFile(/tmp/multipartBody1001930125408243562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455163227,"filename":"image_12042025_09_54_17_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/903346b377f06504d829c3b446d7c8f8.jpg","text":"TemporaryFile(/tmp/multipartBody485970163965926241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455163227,"filename":"image_12042025_09_53_37_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201153","file1":"1352201148","file0":"1352201143","file4":"1352201173","file5":"1352201205","file3":"1352201156"},"map_files_photo_id_array":[{"photo_id":"1352201205","filename":"file5"},{"photo_id":"1352201153","filename":"file2"},{"photo_id":"1352201173","filename":"file4"},{"photo_id":"1352201148","filename":"file1"},{"photo_id":"1352201143","filename":"file0"},{"photo_id":"1352201156","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201148":["hashtag1","hashtag2"]},{"1352201205":["hashtag1","hashtag2"]},{"1352201153":["hashtag1","hashtag2"]},{"1352201156":["hashtag1","hashtag2"]},{"1352201173":["hashtag1","hashtag2"]},{"1352201143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201148, 1352201205, 1352201153, 1352201156, 1352201173, 1352201143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.378299713134766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:52:33.044334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_36_9520.jpg', '/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_47_10407.jpg', '/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_56_9356.jpg', '/home/pi/Desktop/images/12042025/09/54/image_12042025_09_55_07_10382.jpg', '/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_17_10359.jpg', '/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_26_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_36_9520.jpg
/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_47_10407.jpg
/home/pi/Desktop/images/12042025/09/54/image_12042025_09_54_56_9356.jpg
/home/pi/Desktop/images/12042025/09/54/image_12042025_09_55_07_10382.jpg
/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_17_10359.jpg
/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_26_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201223","1352201234","1352201231","1352201219","1352201266","1352201227"],"photo_ids_order":["1352201219","1352201223","1352201227","1352201231","1352201234","1352201266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c27e371ffcc7d407dffb00002098f99.jpg","text":"TemporaryFile(/tmp/multipartBody6101209000934311163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455213509,"filename":"image_12042025_09_54_47_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2fe8e54fefeabf4ca785a1c2f04a931.jpg","text":"TemporaryFile(/tmp/multipartBody5800468209852317417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455213509,"filename":"image_12042025_09_55_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f7b02735eb5448e11b98471a6e06856.jpg","text":"TemporaryFile(/tmp/multipartBody2581882397582320533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455213509,"filename":"image_12042025_09_55_07_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b29cb2e04a18d0d174077cc52f20f76d.jpg","text":"TemporaryFile(/tmp/multipartBody6433552654199358527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455213509,"filename":"image_12042025_09_54_36_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19ae613f49df4deab5ecddbae85fa868.jpg","text":"TemporaryFile(/tmp/multipartBody7415853587711057183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455213509,"filename":"image_12042025_09_55_26_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab48cbc89e08ffd6978053d8958c5559.jpg","text":"TemporaryFile(/tmp/multipartBody1866395360111399135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455213509,"filename":"image_12042025_09_54_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201227","file1":"1352201223","file0":"1352201219","file4":"1352201234","file5":"1352201266","file3":"1352201231"},"map_files_photo_id_array":[{"photo_id":"1352201266","filename":"file5"},{"photo_id":"1352201227","filename":"file2"},{"photo_id":"1352201234","filename":"file4"},{"photo_id":"1352201223","filename":"file1"},{"photo_id":"1352201219","filename":"file0"},{"photo_id":"1352201231","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201223":["hashtag1","hashtag2"]},{"1352201234":["hashtag1","hashtag2"]},{"1352201231":["hashtag1","hashtag2"]},{"1352201219":["hashtag1","hashtag2"]},{"1352201266":["hashtag1","hashtag2"]},{"1352201227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201223, 1352201234, 1352201231, 1352201219, 1352201266, 1352201227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.136568784713745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:53:32.193238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_37_10365.jpg', '/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_46_9365.jpg', '/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_57_10462.jpg', '/home/pi/Desktop/images/12042025/09/55/image_12042025_09_56_07_10381.jpg', '/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_16_9382.jpg', '/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_27_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_37_10365.jpg
/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_46_9365.jpg
/home/pi/Desktop/images/12042025/09/55/image_12042025_09_55_57_10462.jpg
/home/pi/Desktop/images/12042025/09/55/image_12042025_09_56_07_10381.jpg
/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_16_9382.jpg
/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_27_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201316","1352201324","1352201327","1352201312","1352201320","1352201308"],"photo_ids_order":["1352201308","1352201312","1352201316","1352201320","1352201324","1352201327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6e124379cd40b919756590b3f75aec7.jpg","text":"TemporaryFile(/tmp/multipartBody2152102912109601584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455272659,"filename":"image_12042025_09_55_57_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cefb5202c3cc71cde1e82e9cf944c1b3.jpg","text":"TemporaryFile(/tmp/multipartBody299826801429036177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455272659,"filename":"image_12042025_09_56_16_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c0fc3637dc3ce1022b98b11631d24b7.jpg","text":"TemporaryFile(/tmp/multipartBody4254926952277190310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455272659,"filename":"image_12042025_09_56_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a73006c2dc99dcd60d6223cb3105984d.jpg","text":"TemporaryFile(/tmp/multipartBody5354638224208050668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455272659,"filename":"image_12042025_09_55_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb4c624cf15b709d291b5e095855f019.jpg","text":"TemporaryFile(/tmp/multipartBody4963305029529896876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455272659,"filename":"image_12042025_09_56_07_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4a8f39779bfa1a918028658e099c660.jpg","text":"TemporaryFile(/tmp/multipartBody2356434778826556808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455272659,"filename":"image_12042025_09_55_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201316","file1":"1352201312","file0":"1352201308","file4":"1352201324","file5":"1352201327","file3":"1352201320"},"map_files_photo_id_array":[{"photo_id":"1352201327","filename":"file5"},{"photo_id":"1352201316","filename":"file2"},{"photo_id":"1352201324","filename":"file4"},{"photo_id":"1352201312","filename":"file1"},{"photo_id":"1352201308","filename":"file0"},{"photo_id":"1352201320","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201316":["hashtag1","hashtag2"]},{"1352201324":["hashtag1","hashtag2"]},{"1352201327":["hashtag1","hashtag2"]},{"1352201312":["hashtag1","hashtag2"]},{"1352201320":["hashtag1","hashtag2"]},{"1352201308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201316, 1352201324, 1352201327, 1352201312, 1352201320, 1352201308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13994216918945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:54:32.461228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_36_9363.jpg', '/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_47_10480.jpg', '/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_57_10368.jpg', '/home/pi/Desktop/images/12042025/09/56/image_12042025_09_57_06_9387.jpg', '/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_17_10376.jpg', '/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_27_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_36_9363.jpg
/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_47_10480.jpg
/home/pi/Desktop/images/12042025/09/56/image_12042025_09_56_57_10368.jpg
/home/pi/Desktop/images/12042025/09/56/image_12042025_09_57_06_9387.jpg
/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_17_10376.jpg
/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_27_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201348","1352201357","1352201344","1352201353","1352201367","1352201361"],"photo_ids_order":["1352201344","1352201348","1352201353","1352201357","1352201361","1352201367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4af7e40be8176f660368ffe376914d1.jpg","text":"TemporaryFile(/tmp/multipartBody6616651321083718816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455332939,"filename":"image_12042025_09_56_47_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1cc4aab2ad8ff312aed477697bd51123.jpg","text":"TemporaryFile(/tmp/multipartBody439253499720257843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455332939,"filename":"image_12042025_09_57_06_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a060142af9839723056e4404c71c12e0.jpg","text":"TemporaryFile(/tmp/multipartBody4184459608355121247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455332939,"filename":"image_12042025_09_56_36_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f40594e667feeacb63e474e0c352819.jpg","text":"TemporaryFile(/tmp/multipartBody5841642549187779193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455332939,"filename":"image_12042025_09_56_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25e4cc3f25b8ba19131ea0ed70065ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5819863935474618684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455332939,"filename":"image_12042025_09_57_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/580bd3447367063e6c6a94844fb9eaae.jpg","text":"TemporaryFile(/tmp/multipartBody7635557394624934271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455332939,"filename":"image_12042025_09_57_17_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201353","file1":"1352201348","file0":"1352201344","file4":"1352201361","file5":"1352201367","file3":"1352201357"},"map_files_photo_id_array":[{"photo_id":"1352201367","filename":"file5"},{"photo_id":"1352201353","filename":"file2"},{"photo_id":"1352201361","filename":"file4"},{"photo_id":"1352201348","filename":"file1"},{"photo_id":"1352201344","filename":"file0"},{"photo_id":"1352201357","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201348":["hashtag1","hashtag2"]},{"1352201357":["hashtag1","hashtag2"]},{"1352201344":["hashtag1","hashtag2"]},{"1352201353":["hashtag1","hashtag2"]},{"1352201367":["hashtag1","hashtag2"]},{"1352201361":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201348, 1352201357, 1352201344, 1352201353, 1352201367, 1352201361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66795635223389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:55:32.703301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_36_9437.jpg', '/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_47_10372.jpg', '/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_56_9339.jpg', '/home/pi/Desktop/images/12042025/09/57/image_12042025_09_58_07_10377.jpg', '/home/pi/Desktop/images/12042025/09/58/image_12042025_09_58_17_10363.jpg', '/home/pi/Desktop/images/12042025/09/58/image_12042025_09_58_26_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_36_9437.jpg
/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_47_10372.jpg
/home/pi/Desktop/images/12042025/09/57/image_12042025_09_57_56_9339.jpg
/home/pi/Desktop/images/12042025/09/57/image_12042025_09_58_07_10377.jpg
/home/pi/Desktop/images/12042025/09/58/image_12042025_09_58_17_10363.jpg
/home/pi/Desktop/images/12042025/09/58/image_12042025_09_58_26_9500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201403","1352201399","1352201390","1352201387","1352201383","1352201394"],"photo_ids_order":["1352201383","1352201387","1352201390","1352201394","1352201399","1352201403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91953d8e4ed3f35b74295f8dac35d7d9.jpg","text":"TemporaryFile(/tmp/multipartBody6844335703374444175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455393172,"filename":"image_12042025_09_58_26_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb5aa89cae2af922cea2a1208ae4e5c2.jpg","text":"TemporaryFile(/tmp/multipartBody126777504390769399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455393172,"filename":"image_12042025_09_58_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc9a1b7263a2604d3ba910024d21e530.jpg","text":"TemporaryFile(/tmp/multipartBody7209365900167758938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455393172,"filename":"image_12042025_09_57_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a3b89feb4ef0f0227f973e0c120af10.jpg","text":"TemporaryFile(/tmp/multipartBody1993691788722688698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455393172,"filename":"image_12042025_09_57_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e686107959499ce5d621ac0174180d1.jpg","text":"TemporaryFile(/tmp/multipartBody3578990083079720240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455393172,"filename":"image_12042025_09_57_36_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b89bc020ede39539ab9e9299b4d2ff8f.jpg","text":"TemporaryFile(/tmp/multipartBody6423422872709657497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455393172,"filename":"image_12042025_09_58_07_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201390","file1":"1352201387","file0":"1352201383","file4":"1352201399","file5":"1352201403","file3":"1352201394"},"map_files_photo_id_array":[{"photo_id":"1352201403","filename":"file5"},{"photo_id":"1352201390","filename":"file2"},{"photo_id":"1352201399","filename":"file4"},{"photo_id":"1352201387","filename":"file1"},{"photo_id":"1352201383","filename":"file0"},{"photo_id":"1352201394","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201403":["hashtag1","hashtag2"]},{"1352201399":["hashtag1","hashtag2"]},{"1352201390":["hashtag1","hashtag2"]},{"1352201387":["hashtag1","hashtag2"]},{"1352201383":["hashtag1","hashtag2"]},{"1352201394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201403, 1352201399, 1352201390, 1352201387, 1352201383, 1352201394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.715266704559326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:56:32.840377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/58/image_12042025_09_58_37_10365.jpg', '/home/pi/Desktop/images/12042025/09/58/image_12042025_09_58_57_10487.jpg', '/home/pi/Desktop/images/12042025/09/58/image_12042025_09_59_07_10394.jpg', '/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_17_9448.jpg', '/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_27_10358.jpg', '/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_36_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/58/image_12042025_09_58_37_10365.jpg
/home/pi/Desktop/images/12042025/09/58/image_12042025_09_58_57_10487.jpg
/home/pi/Desktop/images/12042025/09/58/image_12042025_09_59_07_10394.jpg
/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_17_9448.jpg
/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_27_10358.jpg
/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_36_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201421","1352201439","1352201435","1352201417","1352201425","1352201434"],"photo_ids_order":["1352201417","1352201421","1352201425","1352201434","1352201435","1352201439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9ccd793e86089a09b79f7f59dff1f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7423963165112955203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455453310,"filename":"image_12042025_09_58_57_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ebaaf8be61b43f6d0ad7da6009ccff5.jpg","text":"TemporaryFile(/tmp/multipartBody6600012013617252618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455453310,"filename":"image_12042025_09_59_36_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65f8f47c9a3375faeeba4f651b08cce8.jpg","text":"TemporaryFile(/tmp/multipartBody4234127500702644380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455453310,"filename":"image_12042025_09_59_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8646e1a8bc3f935a68aa632445071502.jpg","text":"TemporaryFile(/tmp/multipartBody7300311975836570182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455453310,"filename":"image_12042025_09_58_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/356a2cf4210e3b0d348b07c7f35b62bc.jpg","text":"TemporaryFile(/tmp/multipartBody5348602681188859859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455453310,"filename":"image_12042025_09_59_07_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed8a6469aa06617cb8fc8c27283f2206.jpg","text":"TemporaryFile(/tmp/multipartBody9080610473843992865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455453310,"filename":"image_12042025_09_59_17_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201425","file1":"1352201421","file0":"1352201417","file4":"1352201435","file5":"1352201439","file3":"1352201434"},"map_files_photo_id_array":[{"photo_id":"1352201439","filename":"file5"},{"photo_id":"1352201425","filename":"file2"},{"photo_id":"1352201435","filename":"file4"},{"photo_id":"1352201421","filename":"file1"},{"photo_id":"1352201417","filename":"file0"},{"photo_id":"1352201434","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201421":["hashtag1","hashtag2"]},{"1352201439":["hashtag1","hashtag2"]},{"1352201435":["hashtag1","hashtag2"]},{"1352201417":["hashtag1","hashtag2"]},{"1352201425":["hashtag1","hashtag2"]},{"1352201434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201421, 1352201439, 1352201435, 1352201417, 1352201425, 1352201434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38934350013733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:57:33.187388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_47_10371.jpg', '/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_57_10367.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_15_10069.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_26_10457.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_36_10362.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_45_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_47_10371.jpg
/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_57_10367.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_15_10069.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_26_10457.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_36_10362.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_45_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 12:59:04.787664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_47_10371.jpg', '/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_57_10367.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_15_10069.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_26_10457.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_36_10362.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_45_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_47_10371.jpg
/home/pi/Desktop/images/12042025/09/59/image_12042025_09_59_57_10367.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_15_10069.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_26_10457.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_36_10362.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_45_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201577","1352201573","1352201567","1352201560","1352201554","1352201545"],"photo_ids_order":["1352201545","1352201554","1352201560","1352201567","1352201573","1352201577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af6c0055174fe8f8a93a6f77dceeb1de.jpg","text":"TemporaryFile(/tmp/multipartBody3154079635692790045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455605431,"filename":"image_12042025_10_00_45_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ceeedd0ac3b9240d0c7e340dbc4fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody310611710296078570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455605431,"filename":"image_12042025_10_00_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04c490d3d1706cb92dcbad16f26faf82.jpg","text":"TemporaryFile(/tmp/multipartBody7025824092182280936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455605431,"filename":"image_12042025_10_00_26_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09636257259442b205031709283fee75.jpg","text":"TemporaryFile(/tmp/multipartBody2278422593863950613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455605431,"filename":"image_12042025_10_00_15_10069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4db4ddaf2086a8f3731d882039f6ce7f.jpg","text":"TemporaryFile(/tmp/multipartBody1515679318989542569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455605431,"filename":"image_12042025_09_59_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78b31fc76fd088726cbb19cbb5f4c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody5534526221564861260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455605431,"filename":"image_12042025_09_59_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201560","file1":"1352201554","file0":"1352201545","file4":"1352201573","file5":"1352201577","file3":"1352201567"},"map_files_photo_id_array":[{"photo_id":"1352201577","filename":"file5"},{"photo_id":"1352201560","filename":"file2"},{"photo_id":"1352201573","filename":"file4"},{"photo_id":"1352201554","filename":"file1"},{"photo_id":"1352201545","filename":"file0"},{"photo_id":"1352201567","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201577":["hashtag1","hashtag2"]},{"1352201573":["hashtag1","hashtag2"]},{"1352201567":["hashtag1","hashtag2"]},{"1352201560":["hashtag1","hashtag2"]},{"1352201554":["hashtag1","hashtag2"]},{"1352201545":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201577, 1352201573, 1352201567, 1352201560, 1352201554, 1352201545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.205145597457886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 12:59:53.143594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_56_10369.jpg', '/home/pi/Desktop/images/12042025/10/00/image_12042025_10_01_05_9331.jpg', '/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_15_10382.jpg', '/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_26_10360.jpg', '/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_35_9357.jpg', '/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_46_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_00_56_10369.jpg
/home/pi/Desktop/images/12042025/10/00/image_12042025_10_01_05_9331.jpg
/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_15_10382.jpg
/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_26_10360.jpg
/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_35_9357.jpg
/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_46_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201628","1352201622","1352201610","1352201594","1352201587","1352201586"],"photo_ids_order":["1352201586","1352201587","1352201594","1352201610","1352201622","1352201628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cace4cc72013d659ae4c0f927baacee7.jpg","text":"TemporaryFile(/tmp/multipartBody211160230383142005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455653781,"filename":"image_12042025_10_01_46_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72b434d0e88f39c18f2ad0a3a6991e08.jpg","text":"TemporaryFile(/tmp/multipartBody4169528710018628913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455653781,"filename":"image_12042025_10_01_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2de6d0eca16f370b77bc90d0a828432e.jpg","text":"TemporaryFile(/tmp/multipartBody7772241485372916991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455653781,"filename":"image_12042025_10_01_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ebc806de74b6f83cbf65a7f6e47851a.jpg","text":"TemporaryFile(/tmp/multipartBody6120836659768463661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455653781,"filename":"image_12042025_10_01_15_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69f20abf12e6beaa7d5d070e60f8e060.jpg","text":"TemporaryFile(/tmp/multipartBody5575539125867520996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455653781,"filename":"image_12042025_10_01_05_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbf52dd29354a2eba7a5ffdb660c021e.jpg","text":"TemporaryFile(/tmp/multipartBody4677189742731369493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455653781,"filename":"image_12042025_10_00_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201594","file1":"1352201587","file0":"1352201586","file4":"1352201622","file5":"1352201628","file3":"1352201610"},"map_files_photo_id_array":[{"photo_id":"1352201628","filename":"file5"},{"photo_id":"1352201594","filename":"file2"},{"photo_id":"1352201622","filename":"file4"},{"photo_id":"1352201587","filename":"file1"},{"photo_id":"1352201586","filename":"file0"},{"photo_id":"1352201610","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201628":["hashtag1","hashtag2"]},{"1352201622":["hashtag1","hashtag2"]},{"1352201610":["hashtag1","hashtag2"]},{"1352201594":["hashtag1","hashtag2"]},{"1352201587":["hashtag1","hashtag2"]},{"1352201586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201628, 1352201622, 1352201610, 1352201594, 1352201587, 1352201586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94277834892273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 13:00:42.320714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_56_10408.jpg', '/home/pi/Desktop/images/12042025/10/01/image_12042025_10_02_05_9503.jpg', '/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_16_10350.jpg', '/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_25_9336.jpg', '/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_36_10348.jpg', '/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/01/image_12042025_10_01_56_10408.jpg
/home/pi/Desktop/images/12042025/10/01/image_12042025_10_02_05_9503.jpg
/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_16_10350.jpg
/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_25_9336.jpg
/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_36_10348.jpg
/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_46_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201643","1352201687","1352201668","1352201691","1352201685","1352201679"],"photo_ids_order":["1352201643","1352201668","1352201679","1352201685","1352201687","1352201691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50e27b502cf7b92ae383196d5ce4b5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6051979120733961182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455702799,"filename":"image_12042025_10_01_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0ab7cb8d908bb2a61595d963194d31e.jpg","text":"TemporaryFile(/tmp/multipartBody6441255962432286997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455702799,"filename":"image_12042025_10_02_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e2773ab9a4880617e3ee13caa8f373a.jpg","text":"TemporaryFile(/tmp/multipartBody179872647792183088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455702799,"filename":"image_12042025_10_02_05_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85cd30a3152ddd565a9f7422ab5a044e.jpg","text":"TemporaryFile(/tmp/multipartBody1816421500350869252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455702799,"filename":"image_12042025_10_02_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ceee527813a1f0446dfa5be981346565.jpg","text":"TemporaryFile(/tmp/multipartBody3845577350151478707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455702799,"filename":"image_12042025_10_02_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59bd028ade4732d4074c515a8ea9956f.jpg","text":"TemporaryFile(/tmp/multipartBody2110730279043747148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455702799,"filename":"image_12042025_10_02_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201679","file1":"1352201668","file0":"1352201643","file4":"1352201687","file5":"1352201691","file3":"1352201685"},"map_files_photo_id_array":[{"photo_id":"1352201691","filename":"file5"},{"photo_id":"1352201679","filename":"file2"},{"photo_id":"1352201687","filename":"file4"},{"photo_id":"1352201668","filename":"file1"},{"photo_id":"1352201643","filename":"file0"},{"photo_id":"1352201685","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201643":["hashtag1","hashtag2"]},{"1352201687":["hashtag1","hashtag2"]},{"1352201668":["hashtag1","hashtag2"]},{"1352201691":["hashtag1","hashtag2"]},{"1352201685":["hashtag1","hashtag2"]},{"1352201679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201643, 1352201687, 1352201668, 1352201691, 1352201685, 1352201679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.028971672058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:01:32.676710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_55_9395.jpg', '/home/pi/Desktop/images/12042025/10/02/image_12042025_10_03_06_10367.jpg', '/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_16_10360.jpg', '/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_25_9443.jpg', '/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_36_10424.jpg', '/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_45_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/02/image_12042025_10_02_55_9395.jpg
/home/pi/Desktop/images/12042025/10/02/image_12042025_10_03_06_10367.jpg
/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_16_10360.jpg
/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_25_9443.jpg
/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_36_10424.jpg
/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_45_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201832","1352201826","1352201829","1352201774","1352201849","1352201803"],"photo_ids_order":["1352201774","1352201803","1352201826","1352201829","1352201832","1352201849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bca3a67103b0a1eb5718913b268fd6df.jpg","text":"TemporaryFile(/tmp/multipartBody1458035708822161721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455753157,"filename":"image_12042025_10_03_36_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69881bc028536f44036b27d2cc025862.jpg","text":"TemporaryFile(/tmp/multipartBody2957697709386494792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455753157,"filename":"image_12042025_10_03_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/caf17808eefccb315cc07e1210413e22.jpg","text":"TemporaryFile(/tmp/multipartBody3776035340533694039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455753157,"filename":"image_12042025_10_03_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea8ffe4a7c85dbde9266ce7bdbab5560.jpg","text":"TemporaryFile(/tmp/multipartBody7023626287453511406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455753157,"filename":"image_12042025_10_02_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08f96d2723e846e8443a1b72b2d1cdd7.jpg","text":"TemporaryFile(/tmp/multipartBody4460349323746024881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455753157,"filename":"image_12042025_10_03_45_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e76ecd27c6b6f6e82fcfc44ad2bdf8c8.jpg","text":"TemporaryFile(/tmp/multipartBody580897445264663043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455753157,"filename":"image_12042025_10_03_06_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201826","file1":"1352201803","file0":"1352201774","file4":"1352201832","file5":"1352201849","file3":"1352201829"},"map_files_photo_id_array":[{"photo_id":"1352201849","filename":"file5"},{"photo_id":"1352201826","filename":"file2"},{"photo_id":"1352201832","filename":"file4"},{"photo_id":"1352201803","filename":"file1"},{"photo_id":"1352201774","filename":"file0"},{"photo_id":"1352201829","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201832":["hashtag1","hashtag2"]},{"1352201826":["hashtag1","hashtag2"]},{"1352201829":["hashtag1","hashtag2"]},{"1352201774":["hashtag1","hashtag2"]},{"1352201849":["hashtag1","hashtag2"]},{"1352201803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201832, 1352201826, 1352201829, 1352201774, 1352201849, 1352201803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.804054737091064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:02:32.863885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_56_10389.jpg', '/home/pi/Desktop/images/12042025/10/03/image_12042025_10_04_05_9374.jpg', '/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_16_10451.jpg', '/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_26_10366.jpg', '/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_35_9409.jpg', '/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_46_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/03/image_12042025_10_03_56_10389.jpg
/home/pi/Desktop/images/12042025/10/03/image_12042025_10_04_05_9374.jpg
/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_16_10451.jpg
/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_26_10366.jpg
/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_35_9409.jpg
/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_46_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352201930","1352201884","1352201887","1352201968","1352201941","1352201926"],"photo_ids_order":["1352201884","1352201887","1352201926","1352201930","1352201941","1352201968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc0894ed6604bf1fdc927af093848cbb.jpg","text":"TemporaryFile(/tmp/multipartBody8335233968623781420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455813323,"filename":"image_12042025_10_04_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a90d4335904abf3ad5636c6ff26f3337.jpg","text":"TemporaryFile(/tmp/multipartBody4302197309921251267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455813323,"filename":"image_12042025_10_03_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8982adeb9de391a5955c332e5acde477.jpg","text":"TemporaryFile(/tmp/multipartBody9066068508314215099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455813323,"filename":"image_12042025_10_04_05_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0165a186e09c276b9a7e64c1a8cc7c71.jpg","text":"TemporaryFile(/tmp/multipartBody7564669499831683426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455813323,"filename":"image_12042025_10_04_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13826b396b0ea1a2d6d4c99f6c1d7928.jpg","text":"TemporaryFile(/tmp/multipartBody4936210161948104446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455813323,"filename":"image_12042025_10_04_35_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8e9c8fe91088021c2227c70f21e6473.jpg","text":"TemporaryFile(/tmp/multipartBody5420855457049953797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455813323,"filename":"image_12042025_10_04_16_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352201926","file1":"1352201887","file0":"1352201884","file4":"1352201941","file5":"1352201968","file3":"1352201930"},"map_files_photo_id_array":[{"photo_id":"1352201968","filename":"file5"},{"photo_id":"1352201926","filename":"file2"},{"photo_id":"1352201941","filename":"file4"},{"photo_id":"1352201887","filename":"file1"},{"photo_id":"1352201884","filename":"file0"},{"photo_id":"1352201930","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352201930":["hashtag1","hashtag2"]},{"1352201884":["hashtag1","hashtag2"]},{"1352201887":["hashtag1","hashtag2"]},{"1352201968":["hashtag1","hashtag2"]},{"1352201941":["hashtag1","hashtag2"]},{"1352201926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352201930, 1352201884, 1352201887, 1352201968, 1352201941, 1352201926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2778217792511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:03:33.094786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_55_9389.jpg', '/home/pi/Desktop/images/12042025/10/04/image_12042025_10_05_05_10423.jpg', '/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_16_10360.jpg', '/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_25_9364.jpg', '/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_36_10383.jpg', '/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_46_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/04/image_12042025_10_04_55_9389.jpg
/home/pi/Desktop/images/12042025/10/04/image_12042025_10_05_05_10423.jpg
/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_16_10360.jpg
/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_25_9364.jpg
/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_36_10383.jpg
/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_46_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352202191","1352202179","1352202146","1352202241","1352202208","1352202159"],"photo_ids_order":["1352202146","1352202159","1352202179","1352202191","1352202208","1352202241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bebbcf29f6ac8c111df232d2a79abebb.jpg","text":"TemporaryFile(/tmp/multipartBody8639859540146887871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455873554,"filename":"image_12042025_10_05_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5893136b59829f6aa29166ba83aab9f7.jpg","text":"TemporaryFile(/tmp/multipartBody8766102232768673349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455873554,"filename":"image_12042025_10_05_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1463ea6385555a3a5fd9eb505316b41a.jpg","text":"TemporaryFile(/tmp/multipartBody2383403743388959157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455873554,"filename":"image_12042025_10_04_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a06771cd165ca9d52e09c4c15d8c40d5.jpg","text":"TemporaryFile(/tmp/multipartBody3155906926051116615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455873554,"filename":"image_12042025_10_05_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d8d34a2af49678bcf35bf7a47784b49.jpg","text":"TemporaryFile(/tmp/multipartBody762714412404143410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455873554,"filename":"image_12042025_10_05_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67cdc7ee4db7109881eaf5226ecfd46b.jpg","text":"TemporaryFile(/tmp/multipartBody6950027634227972732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455873554,"filename":"image_12042025_10_05_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352202179","file1":"1352202159","file0":"1352202146","file4":"1352202208","file5":"1352202241","file3":"1352202191"},"map_files_photo_id_array":[{"photo_id":"1352202241","filename":"file5"},{"photo_id":"1352202179","filename":"file2"},{"photo_id":"1352202208","filename":"file4"},{"photo_id":"1352202159","filename":"file1"},{"photo_id":"1352202146","filename":"file0"},{"photo_id":"1352202191","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352202191":["hashtag1","hashtag2"]},{"1352202179":["hashtag1","hashtag2"]},{"1352202146":["hashtag1","hashtag2"]},{"1352202241":["hashtag1","hashtag2"]},{"1352202208":["hashtag1","hashtag2"]},{"1352202159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352202191, 1352202179, 1352202146, 1352202241, 1352202208, 1352202159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.36045503616333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:04:32.310169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_55_9424.jpg', '/home/pi/Desktop/images/12042025/10/05/image_12042025_10_06_06_10372.jpg', '/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_15_9465.jpg', '/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_26_10403.jpg', '/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_36_10341.jpg', '/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_45_9503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/05/image_12042025_10_05_55_9424.jpg
/home/pi/Desktop/images/12042025/10/05/image_12042025_10_06_06_10372.jpg
/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_15_9465.jpg
/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_26_10403.jpg
/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_36_10341.jpg
/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_45_9503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352202461","1352202464","1352202467","1352202439","1352202415","1352202393"],"photo_ids_order":["1352202393","1352202415","1352202439","1352202461","1352202464","1352202467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b6fbbdc6a7abb96450e9808ce3059d6.jpg","text":"TemporaryFile(/tmp/multipartBody562049708302005191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455932835,"filename":"image_12042025_10_06_26_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfb4e40a7145ac2720ddbead25a23d49.jpg","text":"TemporaryFile(/tmp/multipartBody4357455396317203957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455932835,"filename":"image_12042025_10_06_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39f58d8daa211d93c7c9d764e3c02010.jpg","text":"TemporaryFile(/tmp/multipartBody6394265369760022214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455932835,"filename":"image_12042025_10_06_45_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64d23e931f1ee33bdbf5e4bd9e7c2518.jpg","text":"TemporaryFile(/tmp/multipartBody6289097663682684435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455932835,"filename":"image_12042025_10_06_15_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d330e6ce2d56856036c7664a0d06a41.jpg","text":"TemporaryFile(/tmp/multipartBody635994140600962567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455932835,"filename":"image_12042025_10_06_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/099b71b4f1e773765b94e4300990c047.jpg","text":"TemporaryFile(/tmp/multipartBody5312088935856109161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455932835,"filename":"image_12042025_10_05_55_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352202439","file1":"1352202415","file0":"1352202393","file4":"1352202464","file5":"1352202467","file3":"1352202461"},"map_files_photo_id_array":[{"photo_id":"1352202467","filename":"file5"},{"photo_id":"1352202439","filename":"file2"},{"photo_id":"1352202464","filename":"file4"},{"photo_id":"1352202415","filename":"file1"},{"photo_id":"1352202393","filename":"file0"},{"photo_id":"1352202461","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352202461":["hashtag1","hashtag2"]},{"1352202464":["hashtag1","hashtag2"]},{"1352202467":["hashtag1","hashtag2"]},{"1352202439":["hashtag1","hashtag2"]},{"1352202415":["hashtag1","hashtag2"]},{"1352202393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352202461, 1352202464, 1352202467, 1352202439, 1352202415, 1352202393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2239511013031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:05:32.711830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_56_10372.jpg', '/home/pi/Desktop/images/12042025/10/06/image_12042025_10_07_05_9416.jpg', '/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_16_10371.jpg', '/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_26_10372.jpg', '/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_35_9392.jpg', '/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_46_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/06/image_12042025_10_06_56_10372.jpg
/home/pi/Desktop/images/12042025/10/06/image_12042025_10_07_05_9416.jpg
/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_16_10371.jpg
/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_26_10372.jpg
/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_35_9392.jpg
/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_46_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352202533","1352202496","1352202495","1352202576","1352202508","1352202552"],"photo_ids_order":["1352202495","1352202496","1352202508","1352202533","1352202552","1352202576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/414d0c0136934ddaea73d0bbbfcdba6e.jpg","text":"TemporaryFile(/tmp/multipartBody8250242058666840312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455993177,"filename":"image_12042025_10_07_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/955a46d40426e603fbfcc0265b263aca.jpg","text":"TemporaryFile(/tmp/multipartBody6966412336485527036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455993177,"filename":"image_12042025_10_07_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f328f66af77b11f91db74c65468c3687.jpg","text":"TemporaryFile(/tmp/multipartBody1082215798638873133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455993177,"filename":"image_12042025_10_06_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3d0b6b2ba8a5cb49e504254790d07e5.jpg","text":"TemporaryFile(/tmp/multipartBody3665569360265979602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455993177,"filename":"image_12042025_10_07_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/658c636cbc0ba03725c71e3f67e47527.jpg","text":"TemporaryFile(/tmp/multipartBody1934404548622981968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455993177,"filename":"image_12042025_10_07_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a05b3ab5eaf09da4cca8599221b3341.jpg","text":"TemporaryFile(/tmp/multipartBody6044766294270502388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744455993177,"filename":"image_12042025_10_07_35_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352202508","file1":"1352202496","file0":"1352202495","file4":"1352202552","file5":"1352202576","file3":"1352202533"},"map_files_photo_id_array":[{"photo_id":"1352202576","filename":"file5"},{"photo_id":"1352202508","filename":"file2"},{"photo_id":"1352202552","filename":"file4"},{"photo_id":"1352202496","filename":"file1"},{"photo_id":"1352202495","filename":"file0"},{"photo_id":"1352202533","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352202533":["hashtag1","hashtag2"]},{"1352202496":["hashtag1","hashtag2"]},{"1352202495":["hashtag1","hashtag2"]},{"1352202576":["hashtag1","hashtag2"]},{"1352202508":["hashtag1","hashtag2"]},{"1352202552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352202533, 1352202496, 1352202495, 1352202576, 1352202508, 1352202552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.959885120391846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:06:33.054649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_56_10023.jpg', '/home/pi/Desktop/images/12042025/10/07/image_12042025_10_08_05_9466.jpg', '/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_16_10405.jpg', '/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_26_10356.jpg', '/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_35_9437.jpg', '/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_46_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/07/image_12042025_10_07_56_10023.jpg
/home/pi/Desktop/images/12042025/10/07/image_12042025_10_08_05_9466.jpg
/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_16_10405.jpg
/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_26_10356.jpg
/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_35_9437.jpg
/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_46_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352202755","1352202815","1352202746","1352202841","1352202855","1352202777"],"photo_ids_order":["1352202746","1352202755","1352202777","1352202815","1352202841","1352202855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/665a284134477adb3678ee2d66f49288.jpg","text":"TemporaryFile(/tmp/multipartBody2163164759064361934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456053527,"filename":"image_12042025_10_08_05_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8daf7d50e2188c6a491fea782ab64311.jpg","text":"TemporaryFile(/tmp/multipartBody6000544146515870283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456053527,"filename":"image_12042025_10_08_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f4d34b3c93a0d0ae2036a0eaeed3c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1330501264398393022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456053527,"filename":"image_12042025_10_07_56_10023.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a756a3bd3a33795b46cdd5517ca59f3f.jpg","text":"TemporaryFile(/tmp/multipartBody7648378482701915702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456053527,"filename":"image_12042025_10_08_35_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fde5c90687033b979ae8503c8e323a75.jpg","text":"TemporaryFile(/tmp/multipartBody5714306650592859719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456053527,"filename":"image_12042025_10_08_46_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98f93e6984b92b68d3fa563551345212.jpg","text":"TemporaryFile(/tmp/multipartBody3034060615946016635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456053527,"filename":"image_12042025_10_08_16_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352202777","file1":"1352202755","file0":"1352202746","file4":"1352202841","file5":"1352202855","file3":"1352202815"},"map_files_photo_id_array":[{"photo_id":"1352202855","filename":"file5"},{"photo_id":"1352202777","filename":"file2"},{"photo_id":"1352202841","filename":"file4"},{"photo_id":"1352202755","filename":"file1"},{"photo_id":"1352202746","filename":"file0"},{"photo_id":"1352202815","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352202755":["hashtag1","hashtag2"]},{"1352202815":["hashtag1","hashtag2"]},{"1352202746":["hashtag1","hashtag2"]},{"1352202841":["hashtag1","hashtag2"]},{"1352202855":["hashtag1","hashtag2"]},{"1352202777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352202755, 1352202815, 1352202746, 1352202841, 1352202855, 1352202777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63609004020691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:07:32.266961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_55_9480.jpg', '/home/pi/Desktop/images/12042025/10/08/image_12042025_10_09_06_10347.jpg', '/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_15_9351.jpg', '/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_25_10355.jpg', '/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_36_10345.jpg', '/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_45_9513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/08/image_12042025_10_08_55_9480.jpg
/home/pi/Desktop/images/12042025/10/08/image_12042025_10_09_06_10347.jpg
/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_15_9351.jpg
/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_25_10355.jpg
/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_36_10345.jpg
/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_45_9513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352202915","1352202920","1352202931","1352202910","1352202957","1352202995"],"photo_ids_order":["1352202910","1352202915","1352202920","1352202931","1352202957","1352202995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fc4b69a12bc7d051b0cae7665aba394.jpg","text":"TemporaryFile(/tmp/multipartBody4319384919338429554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456112729,"filename":"image_12042025_10_09_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c922f768c88dbcd71ac67a1375e3afef.jpg","text":"TemporaryFile(/tmp/multipartBody4171006937120218787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456112729,"filename":"image_12042025_10_09_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7abd6be6db4a7eb2833145945ac82269.jpg","text":"TemporaryFile(/tmp/multipartBody5204320610285755121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456112729,"filename":"image_12042025_10_09_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2196e10f54bf131ca0f04b144a3a749e.jpg","text":"TemporaryFile(/tmp/multipartBody8739183775856307493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456112729,"filename":"image_12042025_10_08_55_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1031774e044c97c2943aae26e6aabdc9.jpg","text":"TemporaryFile(/tmp/multipartBody8046039090564937115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456112729,"filename":"image_12042025_10_09_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1376b04c7c5e0c448f3fd7df9e9538dd.jpg","text":"TemporaryFile(/tmp/multipartBody7692303700822585356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456112729,"filename":"image_12042025_10_09_45_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352202920","file1":"1352202915","file0":"1352202910","file4":"1352202957","file5":"1352202995","file3":"1352202931"},"map_files_photo_id_array":[{"photo_id":"1352202995","filename":"file5"},{"photo_id":"1352202920","filename":"file2"},{"photo_id":"1352202957","filename":"file4"},{"photo_id":"1352202915","filename":"file1"},{"photo_id":"1352202910","filename":"file0"},{"photo_id":"1352202931","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352202915":["hashtag1","hashtag2"]},{"1352202920":["hashtag1","hashtag2"]},{"1352202931":["hashtag1","hashtag2"]},{"1352202910":["hashtag1","hashtag2"]},{"1352202957":["hashtag1","hashtag2"]},{"1352202995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352202915, 1352202920, 1352202931, 1352202910, 1352202957, 1352202995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92328858375549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:08:32.490843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_56_10357.jpg', '/home/pi/Desktop/images/12042025/10/09/image_12042025_10_10_05_9424.jpg', '/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_16_10396.jpg', '/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_26_10369.jpg', '/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_35_9455.jpg', '/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/09/image_12042025_10_09_56_10357.jpg
/home/pi/Desktop/images/12042025/10/09/image_12042025_10_10_05_9424.jpg
/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_16_10396.jpg
/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_26_10369.jpg
/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_35_9455.jpg
/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_46_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203073","1352203069","1352203060","1352203063","1352203066","1352203056"],"photo_ids_order":["1352203056","1352203060","1352203063","1352203066","1352203069","1352203073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6da11e9d0cdd46c782a816d98425c168.jpg","text":"TemporaryFile(/tmp/multipartBody3335170561943349180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456172972,"filename":"image_12042025_10_10_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90adcba2f7e7fc07735c7ba3363ab3c6.jpg","text":"TemporaryFile(/tmp/multipartBody8673380463491532317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456172972,"filename":"image_12042025_10_10_35_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2cddb4eef16f6eea66fcfaf422c42811.jpg","text":"TemporaryFile(/tmp/multipartBody5566728572734789551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456172972,"filename":"image_12042025_10_10_05_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/734515f1b2d1454161d4a5b8771be6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6055943939455369214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456172972,"filename":"image_12042025_10_10_16_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/213ef814055e65f2c1dfeee6a9da80f7.jpg","text":"TemporaryFile(/tmp/multipartBody3370202492861600074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456172972,"filename":"image_12042025_10_10_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a46f0ab7b067a63ba637759be96b78cc.jpg","text":"TemporaryFile(/tmp/multipartBody3506986141275987147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456172972,"filename":"image_12042025_10_09_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203063","file1":"1352203060","file0":"1352203056","file4":"1352203069","file5":"1352203073","file3":"1352203066"},"map_files_photo_id_array":[{"photo_id":"1352203073","filename":"file5"},{"photo_id":"1352203063","filename":"file2"},{"photo_id":"1352203069","filename":"file4"},{"photo_id":"1352203060","filename":"file1"},{"photo_id":"1352203056","filename":"file0"},{"photo_id":"1352203066","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352203073":["hashtag1","hashtag2"]},{"1352203069":["hashtag1","hashtag2"]},{"1352203060":["hashtag1","hashtag2"]},{"1352203063":["hashtag1","hashtag2"]},{"1352203066":["hashtag1","hashtag2"]},{"1352203056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352203073, 1352203069, 1352203060, 1352203063, 1352203066, 1352203056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87342667579651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:09:32.901827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_55_9360.jpg', '/home/pi/Desktop/images/12042025/10/10/image_12042025_10_11_06_10472.jpg', '/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_16_10350.jpg', '/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_25_9469.jpg', '/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_36_10376.jpg', '/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_45_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/10/image_12042025_10_10_55_9360.jpg
/home/pi/Desktop/images/12042025/10/10/image_12042025_10_11_06_10472.jpg
/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_16_10350.jpg
/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_25_9469.jpg
/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_36_10376.jpg
/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_45_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203145","1352203130","1352203133","1352203136","1352203138","1352203142"],"photo_ids_order":["1352203130","1352203133","1352203136","1352203138","1352203142","1352203145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab37f182b6adcaee4e71dd534e12d30b.jpg","text":"TemporaryFile(/tmp/multipartBody8071496736266517819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456233354,"filename":"image_12042025_10_11_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f395a457aded7ecb863c523f51402174.jpg","text":"TemporaryFile(/tmp/multipartBody6663606956385727198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456233354,"filename":"image_12042025_10_10_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59bfab967fa2094d36412375985854c3.jpg","text":"TemporaryFile(/tmp/multipartBody5723286817855188430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456233354,"filename":"image_12042025_10_11_06_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e854213950a6c5695ac71c3afa95e17.jpg","text":"TemporaryFile(/tmp/multipartBody3447620304818523208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456233354,"filename":"image_12042025_10_11_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b857fc6b3eab428985fd9b86ba82d9c0.jpg","text":"TemporaryFile(/tmp/multipartBody7120003536142706259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456233354,"filename":"image_12042025_10_11_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f6a65f0755ab4ce62d375cddba24b48.jpg","text":"TemporaryFile(/tmp/multipartBody7918606088301342695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456233354,"filename":"image_12042025_10_11_36_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203136","file1":"1352203133","file0":"1352203130","file4":"1352203142","file5":"1352203145","file3":"1352203138"},"map_files_photo_id_array":[{"photo_id":"1352203145","filename":"file5"},{"photo_id":"1352203136","filename":"file2"},{"photo_id":"1352203142","filename":"file4"},{"photo_id":"1352203133","filename":"file1"},{"photo_id":"1352203130","filename":"file0"},{"photo_id":"1352203138","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352203145":["hashtag1","hashtag2"]},{"1352203130":["hashtag1","hashtag2"]},{"1352203133":["hashtag1","hashtag2"]},{"1352203136":["hashtag1","hashtag2"]},{"1352203138":["hashtag1","hashtag2"]},{"1352203142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352203145, 1352203130, 1352203133, 1352203136, 1352203138, 1352203142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94309902191162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:10:33.131563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_56_10472.jpg', '/home/pi/Desktop/images/12042025/10/11/image_12042025_10_12_06_10350.jpg', '/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_15_9436.jpg', '/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_26_10373.jpg', '/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_35_9371.jpg', '/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_46_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/11/image_12042025_10_11_56_10472.jpg
/home/pi/Desktop/images/12042025/10/11/image_12042025_10_12_06_10350.jpg
/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_15_9436.jpg
/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_26_10373.jpg
/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_35_9371.jpg
/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_46_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203192","1352203186","1352203174","1352203183","1352203170","1352203178"],"photo_ids_order":["1352203170","1352203174","1352203178","1352203183","1352203186","1352203192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a86ab44ac8b23987dc9139889f22b9df.jpg","text":"TemporaryFile(/tmp/multipartBody5707604479386253785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456293592,"filename":"image_12042025_10_12_46_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/624a4623c7576155031a6a9406581511.jpg","text":"TemporaryFile(/tmp/multipartBody5526925987375738625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456293592,"filename":"image_12042025_10_12_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71fc1efd4b32172b957520c0bd6bb92a.jpg","text":"TemporaryFile(/tmp/multipartBody5740717254559703466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456293592,"filename":"image_12042025_10_12_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31bc29075046a1158a6df784c538c5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6500370657219435418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456293592,"filename":"image_12042025_10_12_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/058ad711d0cdb5c087caf4502c130812.jpg","text":"TemporaryFile(/tmp/multipartBody247705151061708782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456293592,"filename":"image_12042025_10_11_56_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24d2bfe3d4ad8d5f253a090591393732.jpg","text":"TemporaryFile(/tmp/multipartBody6429294924747172128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456293592,"filename":"image_12042025_10_12_15_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203178","file1":"1352203174","file0":"1352203170","file4":"1352203186","file5":"1352203192","file3":"1352203183"},"map_files_photo_id_array":[{"photo_id":"1352203192","filename":"file5"},{"photo_id":"1352203178","filename":"file2"},{"photo_id":"1352203186","filename":"file4"},{"photo_id":"1352203174","filename":"file1"},{"photo_id":"1352203170","filename":"file0"},{"photo_id":"1352203183","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352203192":["hashtag1","hashtag2"]},{"1352203186":["hashtag1","hashtag2"]},{"1352203174":["hashtag1","hashtag2"]},{"1352203183":["hashtag1","hashtag2"]},{"1352203170":["hashtag1","hashtag2"]},{"1352203178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352203192, 1352203186, 1352203174, 1352203183, 1352203170, 1352203178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61544966697693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:11:32.284375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_56_10428.jpg', '/home/pi/Desktop/images/12042025/10/12/image_12042025_10_13_05_9426.jpg', '/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_16_10363.jpg', '/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_25_9374.jpg', '/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_36_10375.jpg', '/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/12/image_12042025_10_12_56_10428.jpg
/home/pi/Desktop/images/12042025/10/12/image_12042025_10_13_05_9426.jpg
/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_16_10363.jpg
/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_25_9374.jpg
/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_36_10375.jpg
/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203348","1352203264","1352203312","1352203296","1352203323","1352203283"],"photo_ids_order":["1352203264","1352203283","1352203296","1352203312","1352203323","1352203348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5247259edb12990050d1ea1b0cfaa80b.jpg","text":"TemporaryFile(/tmp/multipartBody5105294645420013813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456352797,"filename":"image_12042025_10_13_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0851b363d8e0cdcac6d23c9316d85c7.jpg","text":"TemporaryFile(/tmp/multipartBody1693691281910028756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456352797,"filename":"image_12042025_10_12_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1271dd1ad797fc85ff125d0e861f94c7.jpg","text":"TemporaryFile(/tmp/multipartBody1854379803250844239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456352797,"filename":"image_12042025_10_13_25_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c260f29c16c6eb184728751f30904586.jpg","text":"TemporaryFile(/tmp/multipartBody8418376530713099750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456352797,"filename":"image_12042025_10_13_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ee59424eca720f8d7971457719bad64.jpg","text":"TemporaryFile(/tmp/multipartBody2945042672325718050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456352797,"filename":"image_12042025_10_13_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f787e55ad4a36aedaf65b7fe1e558fce.jpg","text":"TemporaryFile(/tmp/multipartBody2213824105541353283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456352797,"filename":"image_12042025_10_13_05_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203296","file1":"1352203283","file0":"1352203264","file4":"1352203323","file5":"1352203348","file3":"1352203312"},"map_files_photo_id_array":[{"photo_id":"1352203348","filename":"file5"},{"photo_id":"1352203296","filename":"file2"},{"photo_id":"1352203323","filename":"file4"},{"photo_id":"1352203283","filename":"file1"},{"photo_id":"1352203264","filename":"file0"},{"photo_id":"1352203312","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352203348":["hashtag1","hashtag2"]},{"1352203264":["hashtag1","hashtag2"]},{"1352203312":["hashtag1","hashtag2"]},{"1352203296":["hashtag1","hashtag2"]},{"1352203323":["hashtag1","hashtag2"]},{"1352203283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352203348, 1352203264, 1352203312, 1352203296, 1352203323, 1352203283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.152443647384644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:12:32.557182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_55_9384.jpg', '/home/pi/Desktop/images/12042025/10/13/image_12042025_10_14_06_10354.jpg', '/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_16_10338.jpg', '/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_25_9442.jpg', '/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_36_10367.jpg', '/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_45_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/13/image_12042025_10_13_55_9384.jpg
/home/pi/Desktop/images/12042025/10/13/image_12042025_10_14_06_10354.jpg
/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_16_10338.jpg
/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_25_9442.jpg
/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_36_10367.jpg
/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_45_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352203655","1352203625","1352203505","1352203741","1352203581","1352203500"],"photo_ids_order":["1352203500","1352203505","1352203581","1352203625","1352203655","1352203741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b54790b18aefbd8574861bdf8cf52379.jpg","text":"TemporaryFile(/tmp/multipartBody3373152440606744541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456413025,"filename":"image_12042025_10_14_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8225131f8fa1395fdab5bae838838e6.jpg","text":"TemporaryFile(/tmp/multipartBody7058908773361425218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456413025,"filename":"image_12042025_10_14_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f8bc6015aa55b5aec16b42c51a71769.jpg","text":"TemporaryFile(/tmp/multipartBody8718407595749536659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456413025,"filename":"image_12042025_10_14_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36235b820fdab487b6a6200076d14b83.jpg","text":"TemporaryFile(/tmp/multipartBody7303975064185946573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456413025,"filename":"image_12042025_10_14_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02b002e9880edfa118c3c0d1fe8fba69.jpg","text":"TemporaryFile(/tmp/multipartBody3024113675347551050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456413025,"filename":"image_12042025_10_14_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc297a59fe306a9d66f1f2a5171194d8.jpg","text":"TemporaryFile(/tmp/multipartBody4156521054212104750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456413025,"filename":"image_12042025_10_13_55_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352203581","file1":"1352203505","file0":"1352203500","file4":"1352203655","file5":"1352203741","file3":"1352203625"},"map_files_photo_id_array":[{"photo_id":"1352203741","filename":"file5"},{"photo_id":"1352203581","filename":"file2"},{"photo_id":"1352203655","filename":"file4"},{"photo_id":"1352203505","filename":"file1"},{"photo_id":"1352203500","filename":"file0"},{"photo_id":"1352203625","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352203655":["hashtag1","hashtag2"]},{"1352203625":["hashtag1","hashtag2"]},{"1352203505":["hashtag1","hashtag2"]},{"1352203741":["hashtag1","hashtag2"]},{"1352203581":["hashtag1","hashtag2"]},{"1352203500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352203655, 1352203625, 1352203505, 1352203741, 1352203581, 1352203500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.25002145767212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:13:32.820068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_56_10446.jpg', '/home/pi/Desktop/images/12042025/10/14/image_12042025_10_15_06_10360.jpg', '/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_15_9406.jpg', '/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_26_10368.jpg', '/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_35_9343.jpg', '/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/14/image_12042025_10_14_56_10446.jpg
/home/pi/Desktop/images/12042025/10/14/image_12042025_10_15_06_10360.jpg
/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_15_9406.jpg
/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_26_10368.jpg
/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_35_9343.jpg
/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204179","1352204236","1352204002","1352203936","1352204067","1352204133"],"photo_ids_order":["1352203936","1352204002","1352204067","1352204133","1352204179","1352204236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/622c0b90d660e6c54672bf8fb3d7951c.jpg","text":"TemporaryFile(/tmp/multipartBody3429449383595289342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456473277,"filename":"image_12042025_10_15_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e40601b6c50ef6348c69d5adc4baf5d.jpg","text":"TemporaryFile(/tmp/multipartBody1165702626430318549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456473277,"filename":"image_12042025_10_15_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be81c82daf3a850a9ae43926c45853e9.jpg","text":"TemporaryFile(/tmp/multipartBody2589200624433946665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456473277,"filename":"image_12042025_10_15_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9964833387c28028819890312980152.jpg","text":"TemporaryFile(/tmp/multipartBody8100734456455102479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456473277,"filename":"image_12042025_10_14_56_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a7a9fc0814076b8a371657e5aa3a07d.jpg","text":"TemporaryFile(/tmp/multipartBody8189741192619943879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456473277,"filename":"image_12042025_10_15_15_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14b06e11518c9c2787cd5182dfb42fa8.jpg","text":"TemporaryFile(/tmp/multipartBody5194174841962527678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456473277,"filename":"image_12042025_10_15_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204067","file1":"1352204002","file0":"1352203936","file4":"1352204179","file5":"1352204236","file3":"1352204133"},"map_files_photo_id_array":[{"photo_id":"1352204236","filename":"file5"},{"photo_id":"1352204067","filename":"file2"},{"photo_id":"1352204179","filename":"file4"},{"photo_id":"1352204002","filename":"file1"},{"photo_id":"1352203936","filename":"file0"},{"photo_id":"1352204133","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352204179":["hashtag1","hashtag2"]},{"1352204236":["hashtag1","hashtag2"]},{"1352204002":["hashtag1","hashtag2"]},{"1352203936":["hashtag1","hashtag2"]},{"1352204067":["hashtag1","hashtag2"]},{"1352204133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352204179, 1352204236, 1352204002, 1352203936, 1352204067, 1352204133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8636417388916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:14:33.200190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_56_10355.jpg', '/home/pi/Desktop/images/12042025/10/15/image_12042025_10_16_05_9344.jpg', '/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_15_10354.jpg', '/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_26_10368.jpg', '/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_35_9369.jpg', '/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_46_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/15/image_12042025_10_15_56_10355.jpg
/home/pi/Desktop/images/12042025/10/15/image_12042025_10_16_05_9344.jpg
/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_15_10354.jpg
/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_26_10368.jpg
/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_35_9369.jpg
/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_46_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352204740","1352204535","1352204822","1352204672","1352204645","1352204609"],"photo_ids_order":["1352204535","1352204609","1352204645","1352204672","1352204740","1352204822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f01943ca70ec33358649e2ffcee67973.jpg","text":"TemporaryFile(/tmp/multipartBody627136402918848693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456533991,"filename":"image_12042025_10_16_35_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/608ec58c51935ce2878f2f915b4dca9c.jpg","text":"TemporaryFile(/tmp/multipartBody3328583347886905715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456533991,"filename":"image_12042025_10_15_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e37194bac5afa8967664a976458f59cc.jpg","text":"TemporaryFile(/tmp/multipartBody1961387291138543998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456533991,"filename":"image_12042025_10_16_46_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb05471d55cd92501cc7fb40866f764c.jpg","text":"TemporaryFile(/tmp/multipartBody21958393616578405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456533991,"filename":"image_12042025_10_16_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e37f992762e07a2d9184e69b3401664a.jpg","text":"TemporaryFile(/tmp/multipartBody6523874467204408704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456533991,"filename":"image_12042025_10_16_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6b83ab6a778107dfa20bc9ca1d5b0ae.jpg","text":"TemporaryFile(/tmp/multipartBody7117982642664752285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456533991,"filename":"image_12042025_10_16_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352204645","file1":"1352204609","file0":"1352204535","file4":"1352204740","file5":"1352204822","file3":"1352204672"},"map_files_photo_id_array":[{"photo_id":"1352204822","filename":"file5"},{"photo_id":"1352204645","filename":"file2"},{"photo_id":"1352204740","filename":"file4"},{"photo_id":"1352204609","filename":"file1"},{"photo_id":"1352204535","filename":"file0"},{"photo_id":"1352204672","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352204740":["hashtag1","hashtag2"]},{"1352204535":["hashtag1","hashtag2"]},{"1352204822":["hashtag1","hashtag2"]},{"1352204672":["hashtag1","hashtag2"]},{"1352204645":["hashtag1","hashtag2"]},{"1352204609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352204740, 1352204535, 1352204822, 1352204672, 1352204645, 1352204609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7642776966095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:15:32.391164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_56_10381.jpg', '/home/pi/Desktop/images/12042025/10/16/image_12042025_10_17_05_9401.jpg', '/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_16_10380.jpg', '/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_25_9361.jpg', '/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_46_10376.jpg', '/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_55_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_56_10381.jpg
/home/pi/Desktop/images/12042025/10/16/image_12042025_10_17_05_9401.jpg
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_16_10380.jpg
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_25_9361.jpg
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_46_10376.jpg
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_55_9389.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3937520980834961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 13:15:42.519026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_56_10381.jpg', '/home/pi/Desktop/images/12042025/10/16/image_12042025_10_17_05_9401.jpg', '/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_16_10380.jpg', '/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_25_9361.jpg', '/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_46_10376.jpg', '/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_55_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/16/image_12042025_10_16_56_10381.jpg
/home/pi/Desktop/images/12042025/10/16/image_12042025_10_17_05_9401.jpg
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_16_10380.jpg
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_25_9361.jpg
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_46_10376.jpg
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_17_55_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352205811","1352206065","1352205981","1352205849","1352205881","1352205600"],"photo_ids_order":["1352205600","1352205811","1352205849","1352205881","1352205981","1352206065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be504fc2eac73b6d428e3f9f17143738.jpg","text":"TemporaryFile(/tmp/multipartBody2147818238897765312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456602971,"filename":"image_12042025_10_17_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b16b50269cc94582d34592f7522fd301.jpg","text":"TemporaryFile(/tmp/multipartBody2798296766272097740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456602971,"filename":"image_12042025_10_17_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca21af2fb6e3e2f25ca21a97c508ac56.jpg","text":"TemporaryFile(/tmp/multipartBody4584896422388951581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456602971,"filename":"image_12042025_10_17_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c549a775112600c247fa9abcca8a56f.jpg","text":"TemporaryFile(/tmp/multipartBody2273359968212077436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456602971,"filename":"image_12042025_10_17_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8802a09716630624616f39ca17b40e1.jpg","text":"TemporaryFile(/tmp/multipartBody7320371695575321254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456602971,"filename":"image_12042025_10_17_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3cef466ea477b15ed11e4577143597d8.jpg","text":"TemporaryFile(/tmp/multipartBody6251616054978695836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456602971,"filename":"image_12042025_10_16_56_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352205849","file1":"1352205811","file0":"1352205600","file4":"1352205981","file5":"1352206065","file3":"1352205881"},"map_files_photo_id_array":[{"photo_id":"1352206065","filename":"file5"},{"photo_id":"1352205849","filename":"file2"},{"photo_id":"1352205981","filename":"file4"},{"photo_id":"1352205811","filename":"file1"},{"photo_id":"1352205600","filename":"file0"},{"photo_id":"1352205881","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352205811":["hashtag1","hashtag2"]},{"1352206065":["hashtag1","hashtag2"]},{"1352205981":["hashtag1","hashtag2"]},{"1352205849":["hashtag1","hashtag2"]},{"1352205881":["hashtag1","hashtag2"]},{"1352205600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352205811, 1352206065, 1352205981, 1352205849, 1352205881, 1352205600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.16408610343933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:16:32.665004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/17/image_12042025_10_18_06_10340.jpg', '/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_15_9345.jpg', '/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_25_10372.jpg', '/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_36_10444.jpg', '/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_45_9510.jpg', '/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/17/image_12042025_10_18_06_10340.jpg
/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_15_9345.jpg
/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_25_10372.jpg
/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_36_10444.jpg
/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_45_9510.jpg
/home/pi/Desktop/images/12042025/10/18/image_12042025_10_18_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352206521","1352206446","1352206622","1352206313","1352206387","1352206243"],"photo_ids_order":["1352206243","1352206313","1352206387","1352206446","1352206521","1352206622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee6e4698aa6fe666fd7ed783411a26b0.jpg","text":"TemporaryFile(/tmp/multipartBody5293179890174825513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456653138,"filename":"image_12042025_10_18_45_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ab58bb2d8d1bc889821b690c5578465.jpg","text":"TemporaryFile(/tmp/multipartBody8947178956135741821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456653138,"filename":"image_12042025_10_18_36_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fb226d7c81074f2c7f735b5693b8adb.jpg","text":"TemporaryFile(/tmp/multipartBody4436381687093770614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456653138,"filename":"image_12042025_10_18_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb15cda386eefa65c0f913dbb27c6da5.jpg","text":"TemporaryFile(/tmp/multipartBody1971337580676283703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456653138,"filename":"image_12042025_10_18_15_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c99041e9cfcbcb11259416751aae43f0.jpg","text":"TemporaryFile(/tmp/multipartBody1090479241275538846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456653138,"filename":"image_12042025_10_18_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b7b63e3365be0663b5bb7ce0eff4a75.jpg","text":"TemporaryFile(/tmp/multipartBody2879940026784432579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456653138,"filename":"image_12042025_10_18_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352206387","file1":"1352206313","file0":"1352206243","file4":"1352206521","file5":"1352206622","file3":"1352206446"},"map_files_photo_id_array":[{"photo_id":"1352206622","filename":"file5"},{"photo_id":"1352206387","filename":"file2"},{"photo_id":"1352206521","filename":"file4"},{"photo_id":"1352206313","filename":"file1"},{"photo_id":"1352206243","filename":"file0"},{"photo_id":"1352206446","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352206521":["hashtag1","hashtag2"]},{"1352206446":["hashtag1","hashtag2"]},{"1352206622":["hashtag1","hashtag2"]},{"1352206313":["hashtag1","hashtag2"]},{"1352206387":["hashtag1","hashtag2"]},{"1352206243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352206521, 1352206446, 1352206622, 1352206313, 1352206387, 1352206243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.01157879829407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:17:32.994670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/18/image_12042025_10_19_05_9421.jpg', '/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_15_10339.jpg', '/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_26_10466.jpg', '/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_35_9492.jpg', '/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_46_10375.jpg', '/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/18/image_12042025_10_19_05_9421.jpg
/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_15_10339.jpg
/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_26_10466.jpg
/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_35_9492.jpg
/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_46_10375.jpg
/home/pi/Desktop/images/12042025/10/19/image_12042025_10_19_55_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352207220","1352207072","1352207176","1352207047","1352207137","1352207008"],"photo_ids_order":["1352207008","1352207047","1352207072","1352207137","1352207176","1352207220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b180702559970680b6c59207ac40f98.jpg","text":"TemporaryFile(/tmp/multipartBody2346496936271205477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456713451,"filename":"image_12042025_10_19_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fb0af30b03eb4c1d1fadbb837d99107.jpg","text":"TemporaryFile(/tmp/multipartBody6562668675894884471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456713451,"filename":"image_12042025_10_19_26_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f63727da5fe51faf6c60f1ecee0597a.jpg","text":"TemporaryFile(/tmp/multipartBody578959303795347764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456713451,"filename":"image_12042025_10_19_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/addf3af62f17a1d87e6ec1276186c5b9.jpg","text":"TemporaryFile(/tmp/multipartBody3414518379705209024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456713451,"filename":"image_12042025_10_19_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af60f287c8c92873d1f0ac63d7a98e55.jpg","text":"TemporaryFile(/tmp/multipartBody6428470382809745480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456713451,"filename":"image_12042025_10_19_35_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2671c812ab21fc9c09187567f8b71fff.jpg","text":"TemporaryFile(/tmp/multipartBody6992238242134707146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456713451,"filename":"image_12042025_10_19_05_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352207072","file1":"1352207047","file0":"1352207008","file4":"1352207176","file5":"1352207220","file3":"1352207137"},"map_files_photo_id_array":[{"photo_id":"1352207220","filename":"file5"},{"photo_id":"1352207072","filename":"file2"},{"photo_id":"1352207176","filename":"file4"},{"photo_id":"1352207047","filename":"file1"},{"photo_id":"1352207008","filename":"file0"},{"photo_id":"1352207137","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352207220":["hashtag1","hashtag2"]},{"1352207072":["hashtag1","hashtag2"]},{"1352207176":["hashtag1","hashtag2"]},{"1352207047":["hashtag1","hashtag2"]},{"1352207137":["hashtag1","hashtag2"]},{"1352207008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352207220, 1352207072, 1352207176, 1352207047, 1352207137, 1352207008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5428466796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:18:32.348781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/19/image_12042025_10_20_06_10343.jpg', '/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_16_10366.jpg', '/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_25_9436.jpg', '/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_36_10371.jpg', '/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_45_9360.jpg', '/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_56_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/19/image_12042025_10_20_06_10343.jpg
/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_16_10366.jpg
/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_25_9436.jpg
/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_36_10371.jpg
/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_45_9360.jpg
/home/pi/Desktop/images/12042025/10/20/image_12042025_10_20_56_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352207681","1352207639","1352207720","1352207770","1352207827","1352207871"],"photo_ids_order":["1352207639","1352207681","1352207720","1352207770","1352207827","1352207871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa7a423bbb68359f33e670d9c828850a.jpg","text":"TemporaryFile(/tmp/multipartBody1817935935551276091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456772813,"filename":"image_12042025_10_20_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ca3175afdee4e63cd838adeb63aa95f.jpg","text":"TemporaryFile(/tmp/multipartBody8354183117567007095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456772813,"filename":"image_12042025_10_20_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abf2670febe1a1ff77138340fef92bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5524133945616769034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456772813,"filename":"image_12042025_10_20_25_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/695a0a0c759c7eb49139800d59b51941.jpg","text":"TemporaryFile(/tmp/multipartBody9038298539433990495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456772813,"filename":"image_12042025_10_20_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/328cd7d1345e20eb44385695bfd44153.jpg","text":"TemporaryFile(/tmp/multipartBody4611829383599540036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456772813,"filename":"image_12042025_10_20_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e704834b3864a749962ceb79a23614e.jpg","text":"TemporaryFile(/tmp/multipartBody6882833230089787819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456772813,"filename":"image_12042025_10_20_56_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352207720","file1":"1352207681","file0":"1352207639","file4":"1352207827","file5":"1352207871","file3":"1352207770"},"map_files_photo_id_array":[{"photo_id":"1352207871","filename":"file5"},{"photo_id":"1352207720","filename":"file2"},{"photo_id":"1352207827","filename":"file4"},{"photo_id":"1352207681","filename":"file1"},{"photo_id":"1352207639","filename":"file0"},{"photo_id":"1352207770","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352207681":["hashtag1","hashtag2"]},{"1352207639":["hashtag1","hashtag2"]},{"1352207720":["hashtag1","hashtag2"]},{"1352207770":["hashtag1","hashtag2"]},{"1352207827":["hashtag1","hashtag2"]},{"1352207871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352207681, 1352207639, 1352207720, 1352207770, 1352207827, 1352207871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55371356010437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:19:32.509579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/20/image_12042025_10_21_06_10347.jpg', '/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_15_9474.jpg', '/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_26_10383.jpg', '/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_35_9336.jpg', '/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_45_10374.jpg', '/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_56_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/20/image_12042025_10_21_06_10347.jpg
/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_15_9474.jpg
/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_26_10383.jpg
/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_35_9336.jpg
/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_45_10374.jpg
/home/pi/Desktop/images/12042025/10/21/image_12042025_10_21_56_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352208371","1352208323","1352208425","1352208585","1352208468","1352208540"],"photo_ids_order":["1352208323","1352208371","1352208425","1352208468","1352208540","1352208585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a8c5c3054b417723f673ed2697e7cbe.jpg","text":"TemporaryFile(/tmp/multipartBody9046209176408652123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456832973,"filename":"image_12042025_10_21_15_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f23c362a16ba0e2c970c466e020fae10.jpg","text":"TemporaryFile(/tmp/multipartBody8383923521349946051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456832973,"filename":"image_12042025_10_21_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4eb9578ed4d9301bc560a10e1559dbac.jpg","text":"TemporaryFile(/tmp/multipartBody466322989542584758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456832973,"filename":"image_12042025_10_21_26_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd8448fe85c321ded7fc38aa4b85bbad.jpg","text":"TemporaryFile(/tmp/multipartBody8386073689453930791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456832973,"filename":"image_12042025_10_21_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ea30706ad16ea6e83675afd4ba1d5b2.jpg","text":"TemporaryFile(/tmp/multipartBody3230899360585425745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456832973,"filename":"image_12042025_10_21_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37c834d4bfe4c2aaf385332165f09db1.jpg","text":"TemporaryFile(/tmp/multipartBody8189222341364361641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456832973,"filename":"image_12042025_10_21_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352208425","file1":"1352208371","file0":"1352208323","file4":"1352208540","file5":"1352208585","file3":"1352208468"},"map_files_photo_id_array":[{"photo_id":"1352208585","filename":"file5"},{"photo_id":"1352208425","filename":"file2"},{"photo_id":"1352208540","filename":"file4"},{"photo_id":"1352208371","filename":"file1"},{"photo_id":"1352208323","filename":"file0"},{"photo_id":"1352208468","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352208371":["hashtag1","hashtag2"]},{"1352208323":["hashtag1","hashtag2"]},{"1352208425":["hashtag1","hashtag2"]},{"1352208585":["hashtag1","hashtag2"]},{"1352208468":["hashtag1","hashtag2"]},{"1352208540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352208371, 1352208323, 1352208425, 1352208585, 1352208468, 1352208540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6226589679718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:20:32.731036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/21/image_12042025_10_22_05_9337.jpg', '/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_15_10346.jpg', '/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_26_10439.jpg', '/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_35_9447.jpg', '/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_46_10395.jpg', '/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_55_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/21/image_12042025_10_22_05_9337.jpg
/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_15_10346.jpg
/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_26_10439.jpg
/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_35_9447.jpg
/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_46_10395.jpg
/home/pi/Desktop/images/12042025/10/22/image_12042025_10_22_55_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352209067","1352208953","1352209161","1352209009","1352209032","1352209247"],"photo_ids_order":["1352208953","1352209009","1352209032","1352209067","1352209161","1352209247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd7a49d85a2daf826f41e96c8f630f8a.jpg","text":"TemporaryFile(/tmp/multipartBody1082176912973612864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456893191,"filename":"image_12042025_10_22_35_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a5e3d46da1876378aedb720254c1a56.jpg","text":"TemporaryFile(/tmp/multipartBody9187571216134410003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456893191,"filename":"image_12042025_10_22_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a289b9423f55ac6880b7bd6ce4383ef.jpg","text":"TemporaryFile(/tmp/multipartBody1658925418349781337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456893191,"filename":"image_12042025_10_22_46_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9c24ed729733aba2c041f3a440be152.jpg","text":"TemporaryFile(/tmp/multipartBody8565242624812846334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456893191,"filename":"image_12042025_10_22_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbd757144193193fbfa8d4074630a391.jpg","text":"TemporaryFile(/tmp/multipartBody5279273269025088914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456893191,"filename":"image_12042025_10_22_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4da2aec0dffd70fbb98b9b9f3e4093a.jpg","text":"TemporaryFile(/tmp/multipartBody3914053436021869758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456893191,"filename":"image_12042025_10_22_55_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352209032","file1":"1352209009","file0":"1352208953","file4":"1352209161","file5":"1352209247","file3":"1352209067"},"map_files_photo_id_array":[{"photo_id":"1352209247","filename":"file5"},{"photo_id":"1352209032","filename":"file2"},{"photo_id":"1352209161","filename":"file4"},{"photo_id":"1352209009","filename":"file1"},{"photo_id":"1352208953","filename":"file0"},{"photo_id":"1352209067","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352209067":["hashtag1","hashtag2"]},{"1352208953":["hashtag1","hashtag2"]},{"1352209161":["hashtag1","hashtag2"]},{"1352209009":["hashtag1","hashtag2"]},{"1352209032":["hashtag1","hashtag2"]},{"1352209247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352209067, 1352208953, 1352209161, 1352209009, 1352209032, 1352209247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.060105085372925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:21:32.871691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/22/image_12042025_10_23_05_10388.jpg', '/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_16_10341.jpg', '/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_25_9381.jpg', '/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_36_10341.jpg', '/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_46_10356.jpg', '/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_55_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/22/image_12042025_10_23_05_10388.jpg
/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_16_10341.jpg
/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_25_9381.jpg
/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_36_10341.jpg
/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_46_10356.jpg
/home/pi/Desktop/images/12042025/10/23/image_12042025_10_23_55_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352209657","1352209708","1352209872","1352209793","1352209499","1352209574"],"photo_ids_order":["1352209499","1352209574","1352209657","1352209708","1352209793","1352209872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20ef08684d853b6d4b24077e349e6dca.jpg","text":"TemporaryFile(/tmp/multipartBody914380058931226596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456953333,"filename":"image_12042025_10_23_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51d43e0a66684849d577bbae80fbd91d.jpg","text":"TemporaryFile(/tmp/multipartBody2890064224985322429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456953333,"filename":"image_12042025_10_23_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89391a1dc35110da9a5f897b57f3d74d.jpg","text":"TemporaryFile(/tmp/multipartBody216319830996270552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456953333,"filename":"image_12042025_10_23_55_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b8ebc5dd8b6d8a940dd2a0cbaad46ca.jpg","text":"TemporaryFile(/tmp/multipartBody7179140669230808856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456953333,"filename":"image_12042025_10_23_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4319a7b809021a5f13b1a6b5e03ab3b0.jpg","text":"TemporaryFile(/tmp/multipartBody1109156669553130721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456953333,"filename":"image_12042025_10_23_05_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/772d1ec3537f268aa120fd4cb79e65d9.jpg","text":"TemporaryFile(/tmp/multipartBody6039252315799911672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744456953333,"filename":"image_12042025_10_23_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352209657","file1":"1352209574","file0":"1352209499","file4":"1352209793","file5":"1352209872","file3":"1352209708"},"map_files_photo_id_array":[{"photo_id":"1352209872","filename":"file5"},{"photo_id":"1352209657","filename":"file2"},{"photo_id":"1352209793","filename":"file4"},{"photo_id":"1352209574","filename":"file1"},{"photo_id":"1352209499","filename":"file0"},{"photo_id":"1352209708","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352209657":["hashtag1","hashtag2"]},{"1352209708":["hashtag1","hashtag2"]},{"1352209872":["hashtag1","hashtag2"]},{"1352209793":["hashtag1","hashtag2"]},{"1352209499":["hashtag1","hashtag2"]},{"1352209574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352209657, 1352209708, 1352209872, 1352209793, 1352209499, 1352209574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7530460357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:22:33.044083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/23/image_12042025_10_24_06_10349.jpg', '/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_15_9353.jpg', '/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_25_10361.jpg', '/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_36_10356.jpg', '/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_45_9365.jpg', '/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_56_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/23/image_12042025_10_24_06_10349.jpg
/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_15_9353.jpg
/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_25_10361.jpg
/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_36_10356.jpg
/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_45_9365.jpg
/home/pi/Desktop/images/12042025/10/24/image_12042025_10_24_56_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352210366","1352210455","1352210545","1352210503","1352210233","1352210286"],"photo_ids_order":["1352210233","1352210286","1352210366","1352210455","1352210503","1352210545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef659c505c5a2509284ca5c356aa8c81.jpg","text":"TemporaryFile(/tmp/multipartBody1759755054602223820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457013508,"filename":"image_12042025_10_24_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/547f8c2b8bce79a054c2d9c953037483.jpg","text":"TemporaryFile(/tmp/multipartBody1489066341264068606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457013508,"filename":"image_12042025_10_24_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44b40f53611a991a6ff4411190b0a821.jpg","text":"TemporaryFile(/tmp/multipartBody4695767017436073228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457013508,"filename":"image_12042025_10_24_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c77f10839c70f7902e8d300f8a3f729.jpg","text":"TemporaryFile(/tmp/multipartBody405929370654299807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457013508,"filename":"image_12042025_10_24_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0f55d8102e413dc878e42bed0cdb84b.jpg","text":"TemporaryFile(/tmp/multipartBody3124769526356517001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457013508,"filename":"image_12042025_10_24_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d1c748e30a737f690d1c1e0eac9a1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3664077257408118324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457013508,"filename":"image_12042025_10_24_15_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352210366","file1":"1352210286","file0":"1352210233","file4":"1352210503","file5":"1352210545","file3":"1352210455"},"map_files_photo_id_array":[{"photo_id":"1352210545","filename":"file5"},{"photo_id":"1352210366","filename":"file2"},{"photo_id":"1352210503","filename":"file4"},{"photo_id":"1352210286","filename":"file1"},{"photo_id":"1352210233","filename":"file0"},{"photo_id":"1352210455","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352210366":["hashtag1","hashtag2"]},{"1352210455":["hashtag1","hashtag2"]},{"1352210545":["hashtag1","hashtag2"]},{"1352210503":["hashtag1","hashtag2"]},{"1352210233":["hashtag1","hashtag2"]},{"1352210286":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352210366, 1352210455, 1352210545, 1352210503, 1352210233, 1352210286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82737684249878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:23:32.241208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/24/image_12042025_10_25_06_10336.jpg', '/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_15_9458.jpg', '/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_26_10376.jpg', '/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_35_9337.jpg', '/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_45_10365.jpg', '/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_56_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/24/image_12042025_10_25_06_10336.jpg
/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_15_9458.jpg
/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_26_10376.jpg
/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_35_9337.jpg
/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_45_10365.jpg
/home/pi/Desktop/images/12042025/10/25/image_12042025_10_25_56_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352211052","1352210994","1352210880","1352210958","1352210859","1352210832"],"photo_ids_order":["1352210832","1352210859","1352210880","1352210958","1352210994","1352211052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72082e9078573d9d66dc72c659e406e1.jpg","text":"TemporaryFile(/tmp/multipartBody2420815754873966800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457072705,"filename":"image_12042025_10_25_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af0f6e72137ed6ea6008312a935a9a81.jpg","text":"TemporaryFile(/tmp/multipartBody3879798706748669578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457072705,"filename":"image_12042025_10_25_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/860013a18200a54c3b9f99ef4bc74cc5.jpg","text":"TemporaryFile(/tmp/multipartBody9061762010754450729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457072705,"filename":"image_12042025_10_25_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35a6f1da09599547f743c7f65a3b3059.jpg","text":"TemporaryFile(/tmp/multipartBody1054708470695581954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457072705,"filename":"image_12042025_10_25_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69c337333fe17e73957ef808a29e74f9.jpg","text":"TemporaryFile(/tmp/multipartBody1600045957236701665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457072705,"filename":"image_12042025_10_25_15_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/adad539dd3762adfd37ab202d8fd8370.jpg","text":"TemporaryFile(/tmp/multipartBody221425415194846831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457072705,"filename":"image_12042025_10_25_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352210880","file1":"1352210859","file0":"1352210832","file4":"1352210994","file5":"1352211052","file3":"1352210958"},"map_files_photo_id_array":[{"photo_id":"1352211052","filename":"file5"},{"photo_id":"1352210880","filename":"file2"},{"photo_id":"1352210994","filename":"file4"},{"photo_id":"1352210859","filename":"file1"},{"photo_id":"1352210832","filename":"file0"},{"photo_id":"1352210958","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352211052":["hashtag1","hashtag2"]},{"1352210994":["hashtag1","hashtag2"]},{"1352210880":["hashtag1","hashtag2"]},{"1352210958":["hashtag1","hashtag2"]},{"1352210859":["hashtag1","hashtag2"]},{"1352210832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352211052, 1352210994, 1352210880, 1352210958, 1352210859, 1352210832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.621092557907104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:24:32.425965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/25/image_12042025_10_26_05_9352.jpg', '/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_16_10381.jpg', '/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_26_10367.jpg', '/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_35_9464.jpg', '/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_46_10374.jpg', '/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_55_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/25/image_12042025_10_26_05_9352.jpg
/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_16_10381.jpg
/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_26_10367.jpg
/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_35_9464.jpg
/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_46_10374.jpg
/home/pi/Desktop/images/12042025/10/26/image_12042025_10_26_55_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352211334","1352211360","1352211336","1352211324","1352211389","1352211422"],"photo_ids_order":["1352211324","1352211334","1352211336","1352211360","1352211389","1352211422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4264fffaa1c186e04054f2bb665dc4b4.jpg","text":"TemporaryFile(/tmp/multipartBody8307576772191863554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457132894,"filename":"image_12042025_10_26_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35b5a5f2a7021c5d3704c163ee9a733a.jpg","text":"TemporaryFile(/tmp/multipartBody1192993045542133875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457132894,"filename":"image_12042025_10_26_35_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c87d334587e407eef74a29fe2718221c.jpg","text":"TemporaryFile(/tmp/multipartBody2178086764225655337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457132894,"filename":"image_12042025_10_26_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/050f087a1780d6d4055facb2c70572c3.jpg","text":"TemporaryFile(/tmp/multipartBody2717493916298713320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457132894,"filename":"image_12042025_10_26_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6eff3b1f136d9587308ec83b15330f4e.jpg","text":"TemporaryFile(/tmp/multipartBody6545166153930499123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457132894,"filename":"image_12042025_10_26_46_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6015384b6efa3a6ad4af4a2058cb679d.jpg","text":"TemporaryFile(/tmp/multipartBody6619880256671422999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457132894,"filename":"image_12042025_10_26_55_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352211336","file1":"1352211334","file0":"1352211324","file4":"1352211389","file5":"1352211422","file3":"1352211360"},"map_files_photo_id_array":[{"photo_id":"1352211422","filename":"file5"},{"photo_id":"1352211336","filename":"file2"},{"photo_id":"1352211389","filename":"file4"},{"photo_id":"1352211334","filename":"file1"},{"photo_id":"1352211324","filename":"file0"},{"photo_id":"1352211360","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352211334":["hashtag1","hashtag2"]},{"1352211360":["hashtag1","hashtag2"]},{"1352211336":["hashtag1","hashtag2"]},{"1352211324":["hashtag1","hashtag2"]},{"1352211389":["hashtag1","hashtag2"]},{"1352211422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352211334, 1352211360, 1352211336, 1352211324, 1352211389, 1352211422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.137744188308716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:25:32.630630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/26/image_12042025_10_27_06_10441.jpg', '/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_16_10412.jpg', '/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_25_9485.jpg', '/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_36_10343.jpg', '/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_45_9359.jpg', '/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_56_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/26/image_12042025_10_27_06_10441.jpg
/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_16_10412.jpg
/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_25_9485.jpg
/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_36_10343.jpg
/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_45_9359.jpg
/home/pi/Desktop/images/12042025/10/27/image_12042025_10_27_56_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352211821","1352211626","1352211661","1352211736","1352211828","1352211788"],"photo_ids_order":["1352211626","1352211661","1352211736","1352211788","1352211821","1352211828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64b7d219353d0320b0c65598300c36d8.jpg","text":"TemporaryFile(/tmp/multipartBody6741752642345436661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457193097,"filename":"image_12042025_10_27_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42ec0de563656fafc99a190ac6905457.jpg","text":"TemporaryFile(/tmp/multipartBody4422260713384289189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457193097,"filename":"image_12042025_10_27_06_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a730769867e525abe86f7af4ca3111f2.jpg","text":"TemporaryFile(/tmp/multipartBody9022769784980251102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457193097,"filename":"image_12042025_10_27_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da4a24f3cefffbb53efe80217d7ca8d4.jpg","text":"TemporaryFile(/tmp/multipartBody387016751191879708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457193097,"filename":"image_12042025_10_27_25_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4bfb849c05bfa7350f6832aece99336f.jpg","text":"TemporaryFile(/tmp/multipartBody7044029751615647521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457193097,"filename":"image_12042025_10_27_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc7f81c5c135c864c8eb41c136e1aa66.jpg","text":"TemporaryFile(/tmp/multipartBody7814778692938032294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457193097,"filename":"image_12042025_10_27_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352211736","file1":"1352211661","file0":"1352211626","file4":"1352211821","file5":"1352211828","file3":"1352211788"},"map_files_photo_id_array":[{"photo_id":"1352211828","filename":"file5"},{"photo_id":"1352211736","filename":"file2"},{"photo_id":"1352211821","filename":"file4"},{"photo_id":"1352211661","filename":"file1"},{"photo_id":"1352211626","filename":"file0"},{"photo_id":"1352211788","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352211821":["hashtag1","hashtag2"]},{"1352211626":["hashtag1","hashtag2"]},{"1352211661":["hashtag1","hashtag2"]},{"1352211736":["hashtag1","hashtag2"]},{"1352211828":["hashtag1","hashtag2"]},{"1352211788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352211821, 1352211626, 1352211661, 1352211736, 1352211828, 1352211788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.166271448135376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:26:32.869932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/27/image_12042025_10_28_06_10347.jpg', '/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_15_9452.jpg', '/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_26_10378.jpg', '/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_35_9354.jpg', '/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_45_10370.jpg', '/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_56_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/27/image_12042025_10_28_06_10347.jpg
/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_15_9452.jpg
/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_26_10378.jpg
/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_35_9354.jpg
/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_45_10370.jpg
/home/pi/Desktop/images/12042025/10/28/image_12042025_10_28_56_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352211850","1352211847","1352211855","1352211843","1352211893","1352211845"],"photo_ids_order":["1352211843","1352211845","1352211847","1352211850","1352211855","1352211893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7953ba1cb8f9cf9e2c17f9fbe592df37.jpg","text":"TemporaryFile(/tmp/multipartBody255712132563191457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457253320,"filename":"image_12042025_10_28_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3e5de219fe646bb8a424e4d58431905.jpg","text":"TemporaryFile(/tmp/multipartBody7951968827887150940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457253320,"filename":"image_12042025_10_28_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88af9a702c6f5b816f25b09bed4efed1.jpg","text":"TemporaryFile(/tmp/multipartBody7754485663807607118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457253320,"filename":"image_12042025_10_28_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95804f6469e1647408d77f7eed628ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8289297837906373889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457253320,"filename":"image_12042025_10_28_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee799e9c6420f2d5289642b3161a73ed.jpg","text":"TemporaryFile(/tmp/multipartBody8494244074978984843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457253320,"filename":"image_12042025_10_28_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/736a22418a190c2b6d229ad23c0464e7.jpg","text":"TemporaryFile(/tmp/multipartBody617251300103922384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457253320,"filename":"image_12042025_10_28_15_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352211847","file1":"1352211845","file0":"1352211843","file4":"1352211855","file5":"1352211893","file3":"1352211850"},"map_files_photo_id_array":[{"photo_id":"1352211893","filename":"file5"},{"photo_id":"1352211847","filename":"file2"},{"photo_id":"1352211855","filename":"file4"},{"photo_id":"1352211845","filename":"file1"},{"photo_id":"1352211843","filename":"file0"},{"photo_id":"1352211850","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352211850":["hashtag1","hashtag2"]},{"1352211847":["hashtag1","hashtag2"]},{"1352211855":["hashtag1","hashtag2"]},{"1352211843":["hashtag1","hashtag2"]},{"1352211893":["hashtag1","hashtag2"]},{"1352211845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352211850, 1352211847, 1352211855, 1352211843, 1352211893, 1352211845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52430272102356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:27:33.298945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/28/image_12042025_10_29_05_9329.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_16_10352.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_26_10362.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_35_9417.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_46_10376.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_55_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/28/image_12042025_10_29_05_9329.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_16_10352.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_26_10362.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_35_9417.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_46_10376.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_55_9403.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3808000087738037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 13:27:43.210288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/28/image_12042025_10_29_05_9329.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_16_10352.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_26_10362.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_35_9417.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_46_10376.jpg', '/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_55_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/28/image_12042025_10_29_05_9329.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_16_10352.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_26_10362.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_35_9417.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_46_10376.jpg
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_29_55_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352212176","1352212077","1352212191","1352212199","1352212104","1352212130"],"photo_ids_order":["1352212077","1352212104","1352212130","1352212176","1352212191","1352212199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ba14725c2ad76eaa6982108d322d33a.jpg","text":"TemporaryFile(/tmp/multipartBody6975987130524633888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457323665,"filename":"image_12042025_10_29_35_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc6d676937031ad9932c3f9846dc2655.jpg","text":"TemporaryFile(/tmp/multipartBody9024393231419468744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457323665,"filename":"image_12042025_10_29_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cff38fee9cc113bea5de438972a694ed.jpg","text":"TemporaryFile(/tmp/multipartBody5164647744826294870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457323665,"filename":"image_12042025_10_29_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a3647aff3db13845c7fef65d6e4f27b.jpg","text":"TemporaryFile(/tmp/multipartBody5125930411171035794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457323665,"filename":"image_12042025_10_29_55_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9155cf8f734480759fc340073f1a15e1.jpg","text":"TemporaryFile(/tmp/multipartBody9152229715068381653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457323665,"filename":"image_12042025_10_29_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9ed50c6967d2c69de7eaa740884c4e4.jpg","text":"TemporaryFile(/tmp/multipartBody6882976754676767667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457323665,"filename":"image_12042025_10_29_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352212130","file1":"1352212104","file0":"1352212077","file4":"1352212191","file5":"1352212199","file3":"1352212176"},"map_files_photo_id_array":[{"photo_id":"1352212199","filename":"file5"},{"photo_id":"1352212130","filename":"file2"},{"photo_id":"1352212191","filename":"file4"},{"photo_id":"1352212104","filename":"file1"},{"photo_id":"1352212077","filename":"file0"},{"photo_id":"1352212176","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352212176":["hashtag1","hashtag2"]},{"1352212077":["hashtag1","hashtag2"]},{"1352212191":["hashtag1","hashtag2"]},{"1352212199":["hashtag1","hashtag2"]},{"1352212104":["hashtag1","hashtag2"]},{"1352212130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352212176, 1352212077, 1352212191, 1352212199, 1352212104, 1352212130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14619970321655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:28:32.453772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/29/image_12042025_10_30_06_10403.jpg', '/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_16_10366.jpg', '/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_25_9348.jpg', '/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_36_10354.jpg', '/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_46_10354.jpg', '/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_55_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/29/image_12042025_10_30_06_10403.jpg
/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_16_10366.jpg
/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_25_9348.jpg
/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_36_10354.jpg
/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_46_10354.jpg
/home/pi/Desktop/images/12042025/10/30/image_12042025_10_30_55_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352212456","1352212318","1352212306","1352212341","1352212410","1352212256"],"photo_ids_order":["1352212256","1352212306","1352212318","1352212341","1352212410","1352212456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42ae2911d803e2c2f359bf4266d1592c.jpg","text":"TemporaryFile(/tmp/multipartBody4600094760298057070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457372967,"filename":"image_12042025_10_30_55_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b68adb49c8ae87588e297505b465b7c2.jpg","text":"TemporaryFile(/tmp/multipartBody1074765828496823918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457372967,"filename":"image_12042025_10_30_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c47cd8f12b19b6591d2848ad42bdb7cb.jpg","text":"TemporaryFile(/tmp/multipartBody8743274135250957191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457372967,"filename":"image_12042025_10_30_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abbd37ab3f687169289a6ff97fb31c59.jpg","text":"TemporaryFile(/tmp/multipartBody8371084975731114890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457372967,"filename":"image_12042025_10_30_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d45e2dea5381554b7bfe0888c4964614.jpg","text":"TemporaryFile(/tmp/multipartBody3348891620910790137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457372967,"filename":"image_12042025_10_30_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37a0a3c013cf35213c237923447a914a.jpg","text":"TemporaryFile(/tmp/multipartBody8966308589467924168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457372967,"filename":"image_12042025_10_30_06_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352212318","file1":"1352212306","file0":"1352212256","file4":"1352212410","file5":"1352212456","file3":"1352212341"},"map_files_photo_id_array":[{"photo_id":"1352212456","filename":"file5"},{"photo_id":"1352212318","filename":"file2"},{"photo_id":"1352212410","filename":"file4"},{"photo_id":"1352212306","filename":"file1"},{"photo_id":"1352212256","filename":"file0"},{"photo_id":"1352212341","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352212456":["hashtag1","hashtag2"]},{"1352212318":["hashtag1","hashtag2"]},{"1352212306":["hashtag1","hashtag2"]},{"1352212341":["hashtag1","hashtag2"]},{"1352212410":["hashtag1","hashtag2"]},{"1352212256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352212456, 1352212318, 1352212306, 1352212341, 1352212410, 1352212256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.285343170166016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:29:32.873266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/30/image_12042025_10_31_06_10421.jpg', '/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_15_9340.jpg', '/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_26_10433.jpg', '/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_36_10437.jpg', '/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_45_9445.jpg', '/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_56_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/30/image_12042025_10_31_06_10421.jpg
/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_15_9340.jpg
/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_26_10433.jpg
/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_36_10437.jpg
/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_45_9445.jpg
/home/pi/Desktop/images/12042025/10/31/image_12042025_10_31_56_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352212816","1352212794","1352212857","1352212685","1352212727","1352212765"],"photo_ids_order":["1352212685","1352212727","1352212765","1352212794","1352212816","1352212857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70183cbc47d22174270564cc88771860.jpg","text":"TemporaryFile(/tmp/multipartBody8698381842931623673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457433347,"filename":"image_12042025_10_31_45_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70599121a4b147c1eb02af103ea2d727.jpg","text":"TemporaryFile(/tmp/multipartBody6777374104794242212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457433347,"filename":"image_12042025_10_31_36_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e66e1b5b13d66db23b9b88e40ec3492.jpg","text":"TemporaryFile(/tmp/multipartBody1720067821512601171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457433347,"filename":"image_12042025_10_31_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aec4049c622da21ea613bc5861ef8f66.jpg","text":"TemporaryFile(/tmp/multipartBody1264472726756136133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457433347,"filename":"image_12042025_10_31_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e59bc909dcd99b91a2255eaa72c34f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2207607527909752083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457433347,"filename":"image_12042025_10_31_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cda146f794262aed3c8948497afa7aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8625066280717134097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457433347,"filename":"image_12042025_10_31_26_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352212765","file1":"1352212727","file0":"1352212685","file4":"1352212816","file5":"1352212857","file3":"1352212794"},"map_files_photo_id_array":[{"photo_id":"1352212857","filename":"file5"},{"photo_id":"1352212765","filename":"file2"},{"photo_id":"1352212816","filename":"file4"},{"photo_id":"1352212727","filename":"file1"},{"photo_id":"1352212685","filename":"file0"},{"photo_id":"1352212794","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352212816":["hashtag1","hashtag2"]},{"1352212794":["hashtag1","hashtag2"]},{"1352212857":["hashtag1","hashtag2"]},{"1352212685":["hashtag1","hashtag2"]},{"1352212727":["hashtag1","hashtag2"]},{"1352212765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352212816, 1352212794, 1352212857, 1352212685, 1352212727, 1352212765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50461483001709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:30:33.155911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/31/image_12042025_10_32_05_9364.jpg', '/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_16_10352.jpg', '/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_26_10436.jpg', '/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_35_9472.jpg', '/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_46_10352.jpg', '/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_55_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/31/image_12042025_10_32_05_9364.jpg
/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_16_10352.jpg
/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_26_10436.jpg
/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_35_9472.jpg
/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_46_10352.jpg
/home/pi/Desktop/images/12042025/10/32/image_12042025_10_32_55_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352213094","1352213037","1352212938","1352212935","1352212934","1352212963"],"photo_ids_order":["1352212934","1352212935","1352212938","1352212963","1352213037","1352213094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a3b5c5fad03a0ab43a6c5e234778ed1.jpg","text":"TemporaryFile(/tmp/multipartBody9169292800972760899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457493605,"filename":"image_12042025_10_32_55_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68b779392d677f94dbc90df3a16f6ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1469031741915983794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457493605,"filename":"image_12042025_10_32_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73552ee5f962908c1d94472133b0e06c.jpg","text":"TemporaryFile(/tmp/multipartBody6541063586885353018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457493605,"filename":"image_12042025_10_32_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ddd90a3107cec0b9ce0bb280e095db5.jpg","text":"TemporaryFile(/tmp/multipartBody3663771193198666371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457493605,"filename":"image_12042025_10_32_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c86cba1c8cb6fbcccb7800f6d388f12a.jpg","text":"TemporaryFile(/tmp/multipartBody1273809871663483480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457493605,"filename":"image_12042025_10_32_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2aba64573ec5a2690c4731efbe101ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2877254048630776128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457493605,"filename":"image_12042025_10_32_35_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352212938","file1":"1352212935","file0":"1352212934","file4":"1352213037","file5":"1352213094","file3":"1352212963"},"map_files_photo_id_array":[{"photo_id":"1352213094","filename":"file5"},{"photo_id":"1352212938","filename":"file2"},{"photo_id":"1352213037","filename":"file4"},{"photo_id":"1352212935","filename":"file1"},{"photo_id":"1352212934","filename":"file0"},{"photo_id":"1352212963","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352213094":["hashtag1","hashtag2"]},{"1352213037":["hashtag1","hashtag2"]},{"1352212938":["hashtag1","hashtag2"]},{"1352212935":["hashtag1","hashtag2"]},{"1352212934":["hashtag1","hashtag2"]},{"1352212963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352213094, 1352213037, 1352212938, 1352212935, 1352212934, 1352212963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20577096939087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:31:32.225697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/32/image_12042025_10_33_06_10446.jpg', '/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_16_10379.jpg', '/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_25_9486.jpg', '/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_36_10355.jpg', '/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_45_9342.jpg', '/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_56_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/32/image_12042025_10_33_06_10446.jpg
/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_16_10379.jpg
/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_25_9486.jpg
/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_36_10355.jpg
/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_45_9342.jpg
/home/pi/Desktop/images/12042025/10/33/image_12042025_10_33_56_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352213363","1352213345","1352213339","1352213420","1352213414","1352213417"],"photo_ids_order":["1352213339","1352213345","1352213363","1352213414","1352213417","1352213420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a93278a10eb7ed3e9708dfce533114d.jpg","text":"TemporaryFile(/tmp/multipartBody5516123909802839881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457552687,"filename":"image_12042025_10_33_25_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9784011b96c3a17d0956cda73a2fa314.jpg","text":"TemporaryFile(/tmp/multipartBody215100671058650409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457552687,"filename":"image_12042025_10_33_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b02f3f78e48ff4306786498339e3033d.jpg","text":"TemporaryFile(/tmp/multipartBody1645641618581050914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457552687,"filename":"image_12042025_10_33_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0671a0e49ae8934f2af312251cd4c63.jpg","text":"TemporaryFile(/tmp/multipartBody4384375497289180695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457552687,"filename":"image_12042025_10_33_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a38e00482af83bf8d44106375964c51.jpg","text":"TemporaryFile(/tmp/multipartBody1784015219890166687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457552687,"filename":"image_12042025_10_33_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a0e87b226b146b25d4f421936d1c150.jpg","text":"TemporaryFile(/tmp/multipartBody1278775233310519724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457552687,"filename":"image_12042025_10_33_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352213363","file1":"1352213345","file0":"1352213339","file4":"1352213417","file5":"1352213420","file3":"1352213414"},"map_files_photo_id_array":[{"photo_id":"1352213420","filename":"file5"},{"photo_id":"1352213363","filename":"file2"},{"photo_id":"1352213417","filename":"file4"},{"photo_id":"1352213345","filename":"file1"},{"photo_id":"1352213339","filename":"file0"},{"photo_id":"1352213414","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352213363":["hashtag1","hashtag2"]},{"1352213345":["hashtag1","hashtag2"]},{"1352213339":["hashtag1","hashtag2"]},{"1352213420":["hashtag1","hashtag2"]},{"1352213414":["hashtag1","hashtag2"]},{"1352213417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352213363, 1352213345, 1352213339, 1352213420, 1352213414, 1352213417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37899732589722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:32:32.711689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/33/image_12042025_10_34_06_10349.jpg', '/home/pi/Desktop/images/12042025/10/34/image_12042025_10_34_15_9420.jpg', '/home/pi/Desktop/images/12042025/10/34/image_12042025_10_34_26_10374.jpg', '/home/pi/Desktop/images/12042025/10/34/image_12042025_10_34_35_9347.jpg', '/home/pi/Desktop/images/12042025/10/34/image_12042025_10_34_46_10450.jpg', '/home/pi/Desktop/images/12042025/10/34/image_12042025_10_35_05_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/33/image_12042025_10_34_06_10349.jpg
/home/pi/Desktop/images/12042025/10/34/image_12042025_10_34_15_9420.jpg
/home/pi/Desktop/images/12042025/10/34/image_12042025_10_34_26_10374.jpg
/home/pi/Desktop/images/12042025/10/34/image_12042025_10_34_35_9347.jpg
/home/pi/Desktop/images/12042025/10/34/image_12042025_10_34_46_10450.jpg
/home/pi/Desktop/images/12042025/10/34/image_12042025_10_35_05_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352213532","1352213508","1352213517","1352213511","1352213505","1352213515"],"photo_ids_order":["1352213505","1352213508","1352213511","1352213515","1352213517","1352213532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e3cfd8556a3aab135f8d7945f976761.jpg","text":"TemporaryFile(/tmp/multipartBody7742333934793356573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457613172,"filename":"image_12042025_10_35_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ead471ba315d63f0a7f694f33c65a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4024589635132593744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457613172,"filename":"image_12042025_10_34_15_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7512b7f1fe18d25942d92c21e06e06d.jpg","text":"TemporaryFile(/tmp/multipartBody7458161661887475782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457613172,"filename":"image_12042025_10_34_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60d1498b93aaca8e73400284ff20dc49.jpg","text":"TemporaryFile(/tmp/multipartBody8544130421758635802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457613172,"filename":"image_12042025_10_34_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c43f63d35deebb24093796d44253b77.jpg","text":"TemporaryFile(/tmp/multipartBody5628055779976500050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457613172,"filename":"image_12042025_10_34_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffa590b6e58728cd0e3a9116e748dc0a.jpg","text":"TemporaryFile(/tmp/multipartBody4228590536192056139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457613172,"filename":"image_12042025_10_34_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352213511","file1":"1352213508","file0":"1352213505","file4":"1352213517","file5":"1352213532","file3":"1352213515"},"map_files_photo_id_array":[{"photo_id":"1352213532","filename":"file5"},{"photo_id":"1352213511","filename":"file2"},{"photo_id":"1352213517","filename":"file4"},{"photo_id":"1352213508","filename":"file1"},{"photo_id":"1352213505","filename":"file0"},{"photo_id":"1352213515","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352213532":["hashtag1","hashtag2"]},{"1352213508":["hashtag1","hashtag2"]},{"1352213517":["hashtag1","hashtag2"]},{"1352213511":["hashtag1","hashtag2"]},{"1352213505":["hashtag1","hashtag2"]},{"1352213515":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352213532, 1352213508, 1352213517, 1352213511, 1352213505, 1352213515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88557982444763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:33:32.923822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_16_10350.jpg', '/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_25_9351.jpg', '/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_35_10420.jpg', '/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_46_10390.jpg', '/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_55_9351.jpg', '/home/pi/Desktop/images/12042025/10/35/image_12042025_10_36_06_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_16_10350.jpg
/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_25_9351.jpg
/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_35_10420.jpg
/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_46_10390.jpg
/home/pi/Desktop/images/12042025/10/35/image_12042025_10_35_55_9351.jpg
/home/pi/Desktop/images/12042025/10/35/image_12042025_10_36_06_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352213565","1352213567","1352213561","1352213555","1352213569","1352213557"],"photo_ids_order":["1352213555","1352213557","1352213561","1352213565","1352213567","1352213569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5cd9642c10d7bfeedaced5afac54e90f.jpg","text":"TemporaryFile(/tmp/multipartBody7038714188558458555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457673382,"filename":"image_12042025_10_35_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a69c2075cb841624d1fe90b15e91b206.jpg","text":"TemporaryFile(/tmp/multipartBody2897811350326527085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457673382,"filename":"image_12042025_10_35_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15c9fa409585a5a96edb4f1b5f6ce070.jpg","text":"TemporaryFile(/tmp/multipartBody6547671857757141499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457673382,"filename":"image_12042025_10_35_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7ae5a056e7aca74171e52498f76518d.jpg","text":"TemporaryFile(/tmp/multipartBody107326323254487535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457673382,"filename":"image_12042025_10_35_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54742651cfb4a557cb648e6fd6ade5bc.jpg","text":"TemporaryFile(/tmp/multipartBody1520747196920724666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457673382,"filename":"image_12042025_10_36_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/83da1ba8fed82df5e0171adce5582723.jpg","text":"TemporaryFile(/tmp/multipartBody3890407091970486100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457673382,"filename":"image_12042025_10_35_25_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352213561","file1":"1352213557","file0":"1352213555","file4":"1352213567","file5":"1352213569","file3":"1352213565"},"map_files_photo_id_array":[{"photo_id":"1352213569","filename":"file5"},{"photo_id":"1352213561","filename":"file2"},{"photo_id":"1352213567","filename":"file4"},{"photo_id":"1352213557","filename":"file1"},{"photo_id":"1352213555","filename":"file0"},{"photo_id":"1352213565","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352213565":["hashtag1","hashtag2"]},{"1352213567":["hashtag1","hashtag2"]},{"1352213561":["hashtag1","hashtag2"]},{"1352213555":["hashtag1","hashtag2"]},{"1352213569":["hashtag1","hashtag2"]},{"1352213557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352213565, 1352213567, 1352213561, 1352213555, 1352213569, 1352213557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40862488746643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:34:32.939279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/36/image_12042025_10_36_16_10350.jpg', '/home/pi/Desktop/images/12042025/10/36/image_12042025_10_36_36_10364.jpg', '/home/pi/Desktop/images/12042025/10/36/image_12042025_10_36_45_9347.jpg', '/home/pi/Desktop/images/12042025/10/36/image_12042025_10_36_55_10401.jpg', '/home/pi/Desktop/images/12042025/10/36/image_12042025_10_37_06_10342.jpg', '/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_15_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/36/image_12042025_10_36_16_10350.jpg
/home/pi/Desktop/images/12042025/10/36/image_12042025_10_36_36_10364.jpg
/home/pi/Desktop/images/12042025/10/36/image_12042025_10_36_45_9347.jpg
/home/pi/Desktop/images/12042025/10/36/image_12042025_10_36_55_10401.jpg
/home/pi/Desktop/images/12042025/10/36/image_12042025_10_37_06_10342.jpg
/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_15_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352213679","1352213646","1352213649","1352213709","1352213637","1352213629"],"photo_ids_order":["1352213629","1352213637","1352213646","1352213649","1352213679","1352213709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7769677eff09abd0c413c5c4857f9bc.jpg","text":"TemporaryFile(/tmp/multipartBody5134067594778089248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457733395,"filename":"image_12042025_10_37_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6397ff02e4e1e8f06bdab927f69fadff.jpg","text":"TemporaryFile(/tmp/multipartBody6683599326189185551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457733395,"filename":"image_12042025_10_36_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ca07dd107e0b778046d0f30fb1f811a.jpg","text":"TemporaryFile(/tmp/multipartBody7663445673445180329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457733395,"filename":"image_12042025_10_36_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c0e257b2431b791c4653dee1e5356ce.jpg","text":"TemporaryFile(/tmp/multipartBody3206711724092542143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457733395,"filename":"image_12042025_10_37_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e30cb8c2d907f0e00c59c9c1adbd51bd.jpg","text":"TemporaryFile(/tmp/multipartBody1104356621988461159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457733395,"filename":"image_12042025_10_36_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff86ee327229e38ea13e32b9d0df9f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6607169311720747272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457733395,"filename":"image_12042025_10_36_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352213646","file1":"1352213637","file0":"1352213629","file4":"1352213679","file5":"1352213709","file3":"1352213649"},"map_files_photo_id_array":[{"photo_id":"1352213709","filename":"file5"},{"photo_id":"1352213646","filename":"file2"},{"photo_id":"1352213679","filename":"file4"},{"photo_id":"1352213637","filename":"file1"},{"photo_id":"1352213629","filename":"file0"},{"photo_id":"1352213649","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352213679":["hashtag1","hashtag2"]},{"1352213646":["hashtag1","hashtag2"]},{"1352213649":["hashtag1","hashtag2"]},{"1352213709":["hashtag1","hashtag2"]},{"1352213637":["hashtag1","hashtag2"]},{"1352213629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352213679, 1352213646, 1352213649, 1352213709, 1352213637, 1352213629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16677951812744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:35:33.181426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_26_10357.jpg', '/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_36_10392.jpg', '/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_45_9392.jpg', '/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_56_10384.jpg', '/home/pi/Desktop/images/12042025/10/37/image_12042025_10_38_06_10345.jpg', '/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_15_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_26_10357.jpg
/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_36_10392.jpg
/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_45_9392.jpg
/home/pi/Desktop/images/12042025/10/37/image_12042025_10_37_56_10384.jpg
/home/pi/Desktop/images/12042025/10/37/image_12042025_10_38_06_10345.jpg
/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_15_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352213835","1352213820","1352213798","1352213837","1352213794","1352213812"],"photo_ids_order":["1352213794","1352213798","1352213812","1352213820","1352213835","1352213837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2167b3e2a64d0f47e14ca10469ff6425.jpg","text":"TemporaryFile(/tmp/multipartBody1424464292461723684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457793650,"filename":"image_12042025_10_38_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6791ad6ddb46335e88707078d382da86.jpg","text":"TemporaryFile(/tmp/multipartBody8331425421491793308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457793650,"filename":"image_12042025_10_37_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/677f2be80219e1f179f6e5bfbe9042c7.jpg","text":"TemporaryFile(/tmp/multipartBody4175850180884441294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457793650,"filename":"image_12042025_10_37_36_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b1968f2d0b7214617f8d7e620f84184.jpg","text":"TemporaryFile(/tmp/multipartBody1934195146867846997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457793650,"filename":"image_12042025_10_38_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ad8f545432f64f2102bd12f05d3f45b.jpg","text":"TemporaryFile(/tmp/multipartBody9073338219269407651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457793650,"filename":"image_12042025_10_37_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa7facbe3f704b3b1f3fe2761688e2f9.jpg","text":"TemporaryFile(/tmp/multipartBody5625440544585469981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457793650,"filename":"image_12042025_10_37_45_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352213812","file1":"1352213798","file0":"1352213794","file4":"1352213835","file5":"1352213837","file3":"1352213820"},"map_files_photo_id_array":[{"photo_id":"1352213837","filename":"file5"},{"photo_id":"1352213812","filename":"file2"},{"photo_id":"1352213835","filename":"file4"},{"photo_id":"1352213798","filename":"file1"},{"photo_id":"1352213794","filename":"file0"},{"photo_id":"1352213820","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352213835":["hashtag1","hashtag2"]},{"1352213820":["hashtag1","hashtag2"]},{"1352213798":["hashtag1","hashtag2"]},{"1352213837":["hashtag1","hashtag2"]},{"1352213794":["hashtag1","hashtag2"]},{"1352213812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352213835, 1352213820, 1352213798, 1352213837, 1352213794, 1352213812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.910661935806274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:36:32.419336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_26_10428.jpg', '/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_35_9560.jpg', '/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_46_10467.jpg', '/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_56_9927.jpg', '/home/pi/Desktop/images/12042025/10/38/image_12042025_10_39_05_9411.jpg', '/home/pi/Desktop/images/12042025/10/39/image_12042025_10_39_16_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_26_10428.jpg
/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_35_9560.jpg
/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_46_10467.jpg
/home/pi/Desktop/images/12042025/10/38/image_12042025_10_38_56_9927.jpg
/home/pi/Desktop/images/12042025/10/38/image_12042025_10_39_05_9411.jpg
/home/pi/Desktop/images/12042025/10/39/image_12042025_10_39_16_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352213895","1352213928","1352213893","1352213977","1352213890","1352213950"],"photo_ids_order":["1352213890","1352213893","1352213895","1352213928","1352213950","1352213977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0a4b01d9a72e520240aca3e12614845.jpg","text":"TemporaryFile(/tmp/multipartBody349249006980308401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457852902,"filename":"image_12042025_10_38_46_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e4c760bce8295e3b1d29b8f68072ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1774708503861076631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457852902,"filename":"image_12042025_10_38_56_9927.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12b6de37f8644167b07a755d16c595cd.jpg","text":"TemporaryFile(/tmp/multipartBody9076042537928790845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457852902,"filename":"image_12042025_10_38_35_9560.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df581902bb181da7bc5d8182f5fbc067.jpg","text":"TemporaryFile(/tmp/multipartBody1322139610572632412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457852902,"filename":"image_12042025_10_39_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ea3c0ca9b0fdb650896ace01c205973.jpg","text":"TemporaryFile(/tmp/multipartBody991594985645859189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457852902,"filename":"image_12042025_10_38_26_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eeaee2832c7c3604e3c09bdc595791ed.jpg","text":"TemporaryFile(/tmp/multipartBody4752743514285552398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457852902,"filename":"image_12042025_10_39_05_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352213895","file1":"1352213893","file0":"1352213890","file4":"1352213950","file5":"1352213977","file3":"1352213928"},"map_files_photo_id_array":[{"photo_id":"1352213977","filename":"file5"},{"photo_id":"1352213895","filename":"file2"},{"photo_id":"1352213950","filename":"file4"},{"photo_id":"1352213893","filename":"file1"},{"photo_id":"1352213890","filename":"file0"},{"photo_id":"1352213928","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352213895":["hashtag1","hashtag2"]},{"1352213928":["hashtag1","hashtag2"]},{"1352213893":["hashtag1","hashtag2"]},{"1352213977":["hashtag1","hashtag2"]},{"1352213890":["hashtag1","hashtag2"]},{"1352213950":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352213895, 1352213928, 1352213893, 1352213977, 1352213890, 1352213950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91143846511841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:37:32.646917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/39/image_12042025_10_39_26_10362.jpg', '/home/pi/Desktop/images/12042025/10/39/image_12042025_10_40_06_10442.jpg', '/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_16_10361.jpg', '/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_25_9466.jpg', '/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_36_10427.jpg', '/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/39/image_12042025_10_39_26_10362.jpg
/home/pi/Desktop/images/12042025/10/39/image_12042025_10_40_06_10442.jpg
/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_16_10361.jpg
/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_25_9466.jpg
/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_36_10427.jpg
/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214471","1352214473","1352214428","1352214451","1352214475","1352214427"],"photo_ids_order":["1352214427","1352214428","1352214451","1352214471","1352214473","1352214475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6083095c78b03307ad2e11830e47845.jpg","text":"TemporaryFile(/tmp/multipartBody7840598847496196491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457913110,"filename":"image_12042025_10_40_25_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c87425a382e373293db95bc73c38760.jpg","text":"TemporaryFile(/tmp/multipartBody8321565870526216163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457913110,"filename":"image_12042025_10_40_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae14b98be9a4edae352c55200537ee12.jpg","text":"TemporaryFile(/tmp/multipartBody7920565678439540980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457913110,"filename":"image_12042025_10_40_06_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d7d59965a317da0e55cb41043b2efd5.jpg","text":"TemporaryFile(/tmp/multipartBody3930023545968930025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457913110,"filename":"image_12042025_10_40_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f54d0bcf6bc5707ce3460cc08101f888.jpg","text":"TemporaryFile(/tmp/multipartBody7762616656804079979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457913110,"filename":"image_12042025_10_40_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3429f49d2866d858ad25d906eef9c421.jpg","text":"TemporaryFile(/tmp/multipartBody3681509744246313998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457913110,"filename":"image_12042025_10_39_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214451","file1":"1352214428","file0":"1352214427","file4":"1352214473","file5":"1352214475","file3":"1352214471"},"map_files_photo_id_array":[{"photo_id":"1352214475","filename":"file5"},{"photo_id":"1352214451","filename":"file2"},{"photo_id":"1352214473","filename":"file4"},{"photo_id":"1352214428","filename":"file1"},{"photo_id":"1352214427","filename":"file0"},{"photo_id":"1352214471","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352214471":["hashtag1","hashtag2"]},{"1352214473":["hashtag1","hashtag2"]},{"1352214428":["hashtag1","hashtag2"]},{"1352214451":["hashtag1","hashtag2"]},{"1352214475":["hashtag1","hashtag2"]},{"1352214427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352214471, 1352214473, 1352214428, 1352214451, 1352214475, 1352214427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38828682899475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:38:32.876254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_56_10370.jpg', '/home/pi/Desktop/images/12042025/10/40/image_12042025_10_41_06_10334.jpg', '/home/pi/Desktop/images/12042025/10/41/image_12042025_10_41_15_9448.jpg', '/home/pi/Desktop/images/12042025/10/41/image_12042025_10_41_35_9388.jpg', '/home/pi/Desktop/images/12042025/10/41/image_12042025_10_41_46_10460.jpg', '/home/pi/Desktop/images/12042025/10/41/image_12042025_10_41_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/40/image_12042025_10_40_56_10370.jpg
/home/pi/Desktop/images/12042025/10/40/image_12042025_10_41_06_10334.jpg
/home/pi/Desktop/images/12042025/10/41/image_12042025_10_41_15_9448.jpg
/home/pi/Desktop/images/12042025/10/41/image_12042025_10_41_35_9388.jpg
/home/pi/Desktop/images/12042025/10/41/image_12042025_10_41_46_10460.jpg
/home/pi/Desktop/images/12042025/10/41/image_12042025_10_41_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214497","1352214504","1352214521","1352214499","1352214511","1352214495"],"photo_ids_order":["1352214495","1352214497","1352214499","1352214504","1352214511","1352214521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e19cf291be2dbf5f865cff54bd231f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2698462235947593342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457973331,"filename":"image_12042025_10_41_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa12661edbdd4143b5c126841a2c9027.jpg","text":"TemporaryFile(/tmp/multipartBody5578962862098781211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457973331,"filename":"image_12042025_10_41_35_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d446406cc1d1239cf05bcd532f7a42c.jpg","text":"TemporaryFile(/tmp/multipartBody8065734697813173739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457973331,"filename":"image_12042025_10_41_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fd9ca838e39786c2c42fd1ab3e9f6e7.jpg","text":"TemporaryFile(/tmp/multipartBody1015483389935759923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457973331,"filename":"image_12042025_10_41_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2a0797fae24b37e25e2e7b8cb3565a0.jpg","text":"TemporaryFile(/tmp/multipartBody807041942293775860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457973331,"filename":"image_12042025_10_41_46_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0445f79eb8ce87ee95876d226dcb047.jpg","text":"TemporaryFile(/tmp/multipartBody6097238257773821503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744457973331,"filename":"image_12042025_10_40_56_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214499","file1":"1352214497","file0":"1352214495","file4":"1352214511","file5":"1352214521","file3":"1352214504"},"map_files_photo_id_array":[{"photo_id":"1352214521","filename":"file5"},{"photo_id":"1352214499","filename":"file2"},{"photo_id":"1352214511","filename":"file4"},{"photo_id":"1352214497","filename":"file1"},{"photo_id":"1352214495","filename":"file0"},{"photo_id":"1352214504","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352214497":["hashtag1","hashtag2"]},{"1352214504":["hashtag1","hashtag2"]},{"1352214521":["hashtag1","hashtag2"]},{"1352214499":["hashtag1","hashtag2"]},{"1352214511":["hashtag1","hashtag2"]},{"1352214495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352214497, 1352214504, 1352214521, 1352214499, 1352214511, 1352214495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.532755613327026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:39:32.992118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/41/image_12042025_10_42_05_9404.jpg', '/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_16_10345.jpg', '/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_25_9368.jpg', '/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_35_10386.jpg', '/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_46_10363.jpg', '/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_55_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/41/image_12042025_10_42_05_9404.jpg
/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_16_10345.jpg
/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_25_9368.jpg
/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_35_10386.jpg
/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_46_10363.jpg
/home/pi/Desktop/images/12042025/10/42/image_12042025_10_42_55_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214596","1352214593","1352214595","1352214598","1352214591","1352214567"],"photo_ids_order":["1352214567","1352214591","1352214593","1352214595","1352214596","1352214598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea5c7fa8bd0896143c4f9e21b948a891.jpg","text":"TemporaryFile(/tmp/multipartBody6196755982289198967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458033456,"filename":"image_12042025_10_42_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3beb5e7951d8ecbfc718120645fdb2d4.jpg","text":"TemporaryFile(/tmp/multipartBody934399703472339857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458033456,"filename":"image_12042025_10_42_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/334a600bc38ad1baf9b9a127c1321250.jpg","text":"TemporaryFile(/tmp/multipartBody4792759757994597887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458033456,"filename":"image_12042025_10_42_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46a69ce340b45c6b429ffa487e3739e2.jpg","text":"TemporaryFile(/tmp/multipartBody6814075200405588059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458033456,"filename":"image_12042025_10_42_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b277a1a6ae7447ceca35038349ee892c.jpg","text":"TemporaryFile(/tmp/multipartBody5096672769464202960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458033456,"filename":"image_12042025_10_42_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dab59c706bd871b08f6877a061052185.jpg","text":"TemporaryFile(/tmp/multipartBody7644929454927539608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458033456,"filename":"image_12042025_10_42_05_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214593","file1":"1352214591","file0":"1352214567","file4":"1352214596","file5":"1352214598","file3":"1352214595"},"map_files_photo_id_array":[{"photo_id":"1352214598","filename":"file5"},{"photo_id":"1352214593","filename":"file2"},{"photo_id":"1352214596","filename":"file4"},{"photo_id":"1352214591","filename":"file1"},{"photo_id":"1352214567","filename":"file0"},{"photo_id":"1352214595","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352214596":["hashtag1","hashtag2"]},{"1352214593":["hashtag1","hashtag2"]},{"1352214595":["hashtag1","hashtag2"]},{"1352214598":["hashtag1","hashtag2"]},{"1352214591":["hashtag1","hashtag2"]},{"1352214567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352214596, 1352214593, 1352214595, 1352214598, 1352214591, 1352214567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.055800437927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:40:33.076319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/42/image_12042025_10_43_06_10441.jpg', '/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_16_10352.jpg', '/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_25_9554.jpg', '/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_36_10393.jpg', '/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_45_9475.jpg', '/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/42/image_12042025_10_43_06_10441.jpg
/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_16_10352.jpg
/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_25_9554.jpg
/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_36_10393.jpg
/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_45_9475.jpg
/home/pi/Desktop/images/12042025/10/43/image_12042025_10_43_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214645","1352214632","1352214641","1352214637","1352214649","1352214634"],"photo_ids_order":["1352214632","1352214634","1352214637","1352214641","1352214645","1352214649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4d2848e7d5229ee34d14656d1c421ec.jpg","text":"TemporaryFile(/tmp/multipartBody4882217789721431232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458093535,"filename":"image_12042025_10_43_45_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a733bdcdbcb798534653d6c1eceb9f14.jpg","text":"TemporaryFile(/tmp/multipartBody6995823068986513917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458093535,"filename":"image_12042025_10_43_06_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b70909039a92d53e69c7025b97dd804f.jpg","text":"TemporaryFile(/tmp/multipartBody1271990997112290053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458093535,"filename":"image_12042025_10_43_36_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/129c30e7a59010adcdc4e77d55a323db.jpg","text":"TemporaryFile(/tmp/multipartBody2726195134329734211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458093535,"filename":"image_12042025_10_43_25_9554.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc2cd06931a59c0a4b91016ec1585027.jpg","text":"TemporaryFile(/tmp/multipartBody1667263759752189648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458093535,"filename":"image_12042025_10_43_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72d941f6d214eeda0659e0d31790bfa2.jpg","text":"TemporaryFile(/tmp/multipartBody3338925636651730221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458093535,"filename":"image_12042025_10_43_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214637","file1":"1352214634","file0":"1352214632","file4":"1352214645","file5":"1352214649","file3":"1352214641"},"map_files_photo_id_array":[{"photo_id":"1352214649","filename":"file5"},{"photo_id":"1352214637","filename":"file2"},{"photo_id":"1352214645","filename":"file4"},{"photo_id":"1352214634","filename":"file1"},{"photo_id":"1352214632","filename":"file0"},{"photo_id":"1352214641","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352214645":["hashtag1","hashtag2"]},{"1352214632":["hashtag1","hashtag2"]},{"1352214641":["hashtag1","hashtag2"]},{"1352214637":["hashtag1","hashtag2"]},{"1352214649":["hashtag1","hashtag2"]},{"1352214634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352214645, 1352214632, 1352214641, 1352214637, 1352214649, 1352214634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35442924499512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:41:32.273513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/43/image_12042025_10_44_05_9457.jpg', '/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_16_10414.jpg', '/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_26_10374.jpg', '/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_35_9426.jpg', '/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_46_10356.jpg', '/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/43/image_12042025_10_44_05_9457.jpg
/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_16_10414.jpg
/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_26_10374.jpg
/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_35_9426.jpg
/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_46_10356.jpg
/home/pi/Desktop/images/12042025/10/44/image_12042025_10_44_55_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352214692","1352214686","1352214671","1352214689","1352214674","1352214679"],"photo_ids_order":["1352214671","1352214674","1352214679","1352214686","1352214689","1352214692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58209d1b5628e1109491d19795437776.jpg","text":"TemporaryFile(/tmp/multipartBody8189415300102504366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458152752,"filename":"image_12042025_10_44_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a83d385f8eaaed1fc85a7f020de1878.jpg","text":"TemporaryFile(/tmp/multipartBody1346787392569211988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458152752,"filename":"image_12042025_10_44_35_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de911c585ae031819942bff1e11d3623.jpg","text":"TemporaryFile(/tmp/multipartBody2408196290241307829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458152752,"filename":"image_12042025_10_44_05_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4754e4e610fcd833fb7ca6ccd50b968f.jpg","text":"TemporaryFile(/tmp/multipartBody3337756165596466568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458152752,"filename":"image_12042025_10_44_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffd8ce06bce8bf768a261bb04e2aba56.jpg","text":"TemporaryFile(/tmp/multipartBody1227526981000242193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458152752,"filename":"image_12042025_10_44_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3bf904f31b516b3f5453feea91fd8645.jpg","text":"TemporaryFile(/tmp/multipartBody4713712927143034089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458152752,"filename":"image_12042025_10_44_26_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352214679","file1":"1352214674","file0":"1352214671","file4":"1352214689","file5":"1352214692","file3":"1352214686"},"map_files_photo_id_array":[{"photo_id":"1352214692","filename":"file5"},{"photo_id":"1352214679","filename":"file2"},{"photo_id":"1352214689","filename":"file4"},{"photo_id":"1352214674","filename":"file1"},{"photo_id":"1352214671","filename":"file0"},{"photo_id":"1352214686","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352214692":["hashtag1","hashtag2"]},{"1352214686":["hashtag1","hashtag2"]},{"1352214671":["hashtag1","hashtag2"]},{"1352214689":["hashtag1","hashtag2"]},{"1352214674":["hashtag1","hashtag2"]},{"1352214679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352214692, 1352214686, 1352214671, 1352214689, 1352214674, 1352214679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40934467315674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:42:32.452796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/44/image_12042025_10_45_06_10414.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_16_10461.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_25_9470.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_36_10349.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_45_9356.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_56_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/44/image_12042025_10_45_06_10414.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_16_10461.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_25_9470.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_36_10349.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_45_9356.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_56_10430.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.410062313079834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 13:42:42.532218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/44/image_12042025_10_45_06_10414.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_16_10461.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_25_9470.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_36_10349.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_45_9356.jpg', '/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_56_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/44/image_12042025_10_45_06_10414.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_16_10461.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_25_9470.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_36_10349.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_45_9356.jpg
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_45_56_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215203","1352215234","1352215057","1352214988","1352214916","1352215131"],"photo_ids_order":["1352214916","1352214988","1352215057","1352215131","1352215203","1352215234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee227e5625be27657ac3030d9e727438.jpg","text":"TemporaryFile(/tmp/multipartBody802690112460528184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458222995,"filename":"image_12042025_10_45_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0e713222c611a21bf458d894fbc473c.jpg","text":"TemporaryFile(/tmp/multipartBody6300032710400702834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458222995,"filename":"image_12042025_10_45_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fe3b06596eae5f040396ffae476d234.jpg","text":"TemporaryFile(/tmp/multipartBody7722385866206640634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458222995,"filename":"image_12042025_10_45_25_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/954a7706775bb5043ba643ba31de9c62.jpg","text":"TemporaryFile(/tmp/multipartBody8090313774603788142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458222995,"filename":"image_12042025_10_45_16_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f89cb4f5da2af0766270bf1331bd69d.jpg","text":"TemporaryFile(/tmp/multipartBody7330084435151904840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458222995,"filename":"image_12042025_10_45_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b9f78947cf41c64c40afb36e9915929.jpg","text":"TemporaryFile(/tmp/multipartBody7731248458672767863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458222995,"filename":"image_12042025_10_45_36_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215057","file1":"1352214988","file0":"1352214916","file4":"1352215203","file5":"1352215234","file3":"1352215131"},"map_files_photo_id_array":[{"photo_id":"1352215234","filename":"file5"},{"photo_id":"1352215057","filename":"file2"},{"photo_id":"1352215203","filename":"file4"},{"photo_id":"1352214988","filename":"file1"},{"photo_id":"1352214916","filename":"file0"},{"photo_id":"1352215131","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352215203":["hashtag1","hashtag2"]},{"1352215234":["hashtag1","hashtag2"]},{"1352215057":["hashtag1","hashtag2"]},{"1352214988":["hashtag1","hashtag2"]},{"1352214916":["hashtag1","hashtag2"]},{"1352215131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352215203, 1352215234, 1352215057, 1352214988, 1352214916, 1352215131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05568289756775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:43:32.772955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/45/image_12042025_10_46_06_10352.jpg', '/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_15_9395.jpg', '/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_26_10368.jpg', '/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_36_10335.jpg', '/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_45_9422.jpg', '/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_56_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/45/image_12042025_10_46_06_10352.jpg
/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_15_9395.jpg
/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_26_10368.jpg
/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_36_10335.jpg
/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_45_9422.jpg
/home/pi/Desktop/images/12042025/10/46/image_12042025_10_46_56_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215302","1352215286","1352215310","1352215273","1352215315","1352215275"],"photo_ids_order":["1352215273","1352215275","1352215286","1352215302","1352215310","1352215315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/025af97d31acf2d16e612ed28b410fc6.jpg","text":"TemporaryFile(/tmp/multipartBody6020705208512067568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458273247,"filename":"image_12042025_10_46_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6ae4728b042ab5adf235aa6f33d3c9c.jpg","text":"TemporaryFile(/tmp/multipartBody394705290917007435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458273247,"filename":"image_12042025_10_46_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d1c962a2e5245ee77de09e86e8cf5da.jpg","text":"TemporaryFile(/tmp/multipartBody3982677784394193604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458273247,"filename":"image_12042025_10_46_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9aa69c26b30bbbbb4956d582d0ce30e4.jpg","text":"TemporaryFile(/tmp/multipartBody1686103100446162795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458273247,"filename":"image_12042025_10_46_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49c6f5babf12468887b1de2a1d3891d3.jpg","text":"TemporaryFile(/tmp/multipartBody7444236417803202731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458273247,"filename":"image_12042025_10_46_56_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b61ac605e7ae256e9e67085e1adf04fe.jpg","text":"TemporaryFile(/tmp/multipartBody6928104812825135747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458273247,"filename":"image_12042025_10_46_15_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215286","file1":"1352215275","file0":"1352215273","file4":"1352215310","file5":"1352215315","file3":"1352215302"},"map_files_photo_id_array":[{"photo_id":"1352215315","filename":"file5"},{"photo_id":"1352215286","filename":"file2"},{"photo_id":"1352215310","filename":"file4"},{"photo_id":"1352215275","filename":"file1"},{"photo_id":"1352215273","filename":"file0"},{"photo_id":"1352215302","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352215302":["hashtag1","hashtag2"]},{"1352215286":["hashtag1","hashtag2"]},{"1352215310":["hashtag1","hashtag2"]},{"1352215273":["hashtag1","hashtag2"]},{"1352215315":["hashtag1","hashtag2"]},{"1352215275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352215302, 1352215286, 1352215310, 1352215273, 1352215315, 1352215275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.604039669036865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:44:32.990848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/46/image_12042025_10_47_05_9331.jpg', '/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_16_10451.jpg', '/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_26_10357.jpg', '/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_35_9406.jpg', '/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_46_10391.jpg', '/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_55_9475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/46/image_12042025_10_47_05_9331.jpg
/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_16_10451.jpg
/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_26_10357.jpg
/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_35_9406.jpg
/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_46_10391.jpg
/home/pi/Desktop/images/12042025/10/47/image_12042025_10_47_55_9475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215346","1352215343","1352215357","1352215354","1352215350","1352215338"],"photo_ids_order":["1352215338","1352215343","1352215346","1352215350","1352215354","1352215357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04840438cb657d1c6fcbd80a4037239e.jpg","text":"TemporaryFile(/tmp/multipartBody2495101098076395253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458333450,"filename":"image_12042025_10_47_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43d38d6591bd623e2c4cc69eadfd19fc.jpg","text":"TemporaryFile(/tmp/multipartBody2008478266490010321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458333450,"filename":"image_12042025_10_47_16_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/708009ba676a108f13f372bba8287811.jpg","text":"TemporaryFile(/tmp/multipartBody5211949595527106931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458333450,"filename":"image_12042025_10_47_55_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6fcc0cd171d48ff796ab7018ba7f4062.jpg","text":"TemporaryFile(/tmp/multipartBody3678541937654721386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458333450,"filename":"image_12042025_10_47_46_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ce4ffbdd9052c48f16fa9e610dd6d3a.jpg","text":"TemporaryFile(/tmp/multipartBody1446767378249741295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458333450,"filename":"image_12042025_10_47_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca511424f189aca84e0169275036e74f.jpg","text":"TemporaryFile(/tmp/multipartBody4326726026045547319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458333450,"filename":"image_12042025_10_47_05_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215346","file1":"1352215343","file0":"1352215338","file4":"1352215354","file5":"1352215357","file3":"1352215350"},"map_files_photo_id_array":[{"photo_id":"1352215357","filename":"file5"},{"photo_id":"1352215346","filename":"file2"},{"photo_id":"1352215354","filename":"file4"},{"photo_id":"1352215343","filename":"file1"},{"photo_id":"1352215338","filename":"file0"},{"photo_id":"1352215350","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352215346":["hashtag1","hashtag2"]},{"1352215343":["hashtag1","hashtag2"]},{"1352215357":["hashtag1","hashtag2"]},{"1352215354":["hashtag1","hashtag2"]},{"1352215350":["hashtag1","hashtag2"]},{"1352215338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352215346, 1352215343, 1352215357, 1352215354, 1352215350, 1352215338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03244185447693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:45:32.168556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/47/image_12042025_10_48_06_10345.jpg', '/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_16_10356.jpg', '/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_25_9498.jpg', '/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_36_10354.jpg', '/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_45_9361.jpg', '/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_56_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/47/image_12042025_10_48_06_10345.jpg
/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_16_10356.jpg
/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_25_9498.jpg
/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_36_10354.jpg
/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_45_9361.jpg
/home/pi/Desktop/images/12042025/10/48/image_12042025_10_48_56_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215524","1352215561","1352215558","1352215501","1352215551","1352215560"],"photo_ids_order":["1352215501","1352215524","1352215551","1352215558","1352215560","1352215561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51d3e3f36ae4e0362e0ddf72d83ba02a.jpg","text":"TemporaryFile(/tmp/multipartBody2972065898921505519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458392649,"filename":"image_12042025_10_48_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1b565e34b970018fa8b9a0ea6c8c8ca.jpg","text":"TemporaryFile(/tmp/multipartBody8379596716932765160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458392649,"filename":"image_12042025_10_48_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7474213bd03f4f52a2d9427f414197cc.jpg","text":"TemporaryFile(/tmp/multipartBody2608979658153395687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458392649,"filename":"image_12042025_10_48_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a40fdb4cb2af667d9b0700b23bdbd679.jpg","text":"TemporaryFile(/tmp/multipartBody7658395901785120243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458392649,"filename":"image_12042025_10_48_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f107f71bf208d56be462a396d4f537dc.jpg","text":"TemporaryFile(/tmp/multipartBody1510572518608060927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458392649,"filename":"image_12042025_10_48_25_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05df8d66e53cd5321f1371f8ac022949.jpg","text":"TemporaryFile(/tmp/multipartBody5830929534501660932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458392649,"filename":"image_12042025_10_48_45_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215551","file1":"1352215524","file0":"1352215501","file4":"1352215560","file5":"1352215561","file3":"1352215558"},"map_files_photo_id_array":[{"photo_id":"1352215561","filename":"file5"},{"photo_id":"1352215551","filename":"file2"},{"photo_id":"1352215560","filename":"file4"},{"photo_id":"1352215524","filename":"file1"},{"photo_id":"1352215501","filename":"file0"},{"photo_id":"1352215558","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352215524":["hashtag1","hashtag2"]},{"1352215561":["hashtag1","hashtag2"]},{"1352215558":["hashtag1","hashtag2"]},{"1352215501":["hashtag1","hashtag2"]},{"1352215551":["hashtag1","hashtag2"]},{"1352215560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352215524, 1352215561, 1352215558, 1352215501, 1352215551, 1352215560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.027379512786865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:46:32.382301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/48/image_12042025_10_49_06_10407.jpg', '/home/pi/Desktop/images/12042025/10/49/image_12042025_10_49_15_9369.jpg', '/home/pi/Desktop/images/12042025/10/49/image_12042025_10_49_26_10366.jpg', '/home/pi/Desktop/images/12042025/10/49/image_12042025_10_49_35_9392.jpg', '/home/pi/Desktop/images/12042025/10/49/image_12042025_10_49_46_10432.jpg', '/home/pi/Desktop/images/12042025/10/49/image_12042025_10_50_05_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/48/image_12042025_10_49_06_10407.jpg
/home/pi/Desktop/images/12042025/10/49/image_12042025_10_49_15_9369.jpg
/home/pi/Desktop/images/12042025/10/49/image_12042025_10_49_26_10366.jpg
/home/pi/Desktop/images/12042025/10/49/image_12042025_10_49_35_9392.jpg
/home/pi/Desktop/images/12042025/10/49/image_12042025_10_49_46_10432.jpg
/home/pi/Desktop/images/12042025/10/49/image_12042025_10_50_05_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215676","1352215666","1352215648","1352215678","1352215657","1352215632"],"photo_ids_order":["1352215632","1352215648","1352215657","1352215666","1352215676","1352215678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c79ea5889ba1302b7832157b472a865f.jpg","text":"TemporaryFile(/tmp/multipartBody2598683752645725233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458452853,"filename":"image_12042025_10_49_46_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0bb07b169d4393135c19701f0327480b.jpg","text":"TemporaryFile(/tmp/multipartBody394852179598022474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458452853,"filename":"image_12042025_10_49_35_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a9e58448d0553552d027cdfdca66f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7745636883083808753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458452853,"filename":"image_12042025_10_49_15_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9868575b08406b6f968d6872410c86ce.jpg","text":"TemporaryFile(/tmp/multipartBody595112446727717768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458452853,"filename":"image_12042025_10_50_05_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cb3415e19be4fed552e2a04a18b18f2.jpg","text":"TemporaryFile(/tmp/multipartBody4992078266709309339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458452853,"filename":"image_12042025_10_49_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e33d50395065c552591db4e1367886e.jpg","text":"TemporaryFile(/tmp/multipartBody4729208045434089582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458452853,"filename":"image_12042025_10_49_06_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215657","file1":"1352215648","file0":"1352215632","file4":"1352215676","file5":"1352215678","file3":"1352215666"},"map_files_photo_id_array":[{"photo_id":"1352215678","filename":"file5"},{"photo_id":"1352215657","filename":"file2"},{"photo_id":"1352215676","filename":"file4"},{"photo_id":"1352215648","filename":"file1"},{"photo_id":"1352215632","filename":"file0"},{"photo_id":"1352215666","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352215676":["hashtag1","hashtag2"]},{"1352215666":["hashtag1","hashtag2"]},{"1352215648":["hashtag1","hashtag2"]},{"1352215678":["hashtag1","hashtag2"]},{"1352215657":["hashtag1","hashtag2"]},{"1352215632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352215676, 1352215666, 1352215648, 1352215678, 1352215657, 1352215632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2896523475647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:47:32.692022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_16_10447.jpg', '/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_25_9343.jpg', '/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_36_10439.jpg', '/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_46_10389.jpg', '/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_55_9385.jpg', '/home/pi/Desktop/images/12042025/10/50/image_12042025_10_51_06_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_16_10447.jpg
/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_25_9343.jpg
/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_36_10439.jpg
/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_46_10389.jpg
/home/pi/Desktop/images/12042025/10/50/image_12042025_10_50_55_9385.jpg
/home/pi/Desktop/images/12042025/10/50/image_12042025_10_51_06_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215799","1352215737","1352215751","1352215774","1352215741","1352215744"],"photo_ids_order":["1352215737","1352215741","1352215744","1352215751","1352215774","1352215799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/804b0c93e0ef14dedcf85182f17f160c.jpg","text":"TemporaryFile(/tmp/multipartBody8145712952825647841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458513160,"filename":"image_12042025_10_51_06_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/599b9a927658ddf170e1592c2be23adb.jpg","text":"TemporaryFile(/tmp/multipartBody8559057187357120034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458513160,"filename":"image_12042025_10_50_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bde91f8c6aff0537508afc80956391b7.jpg","text":"TemporaryFile(/tmp/multipartBody2698907597821982999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458513160,"filename":"image_12042025_10_50_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fb66f815d7c2ecdafaa94795a0a7555.jpg","text":"TemporaryFile(/tmp/multipartBody4411745509309601600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458513160,"filename":"image_12042025_10_50_55_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc3da6241433c24068e76e61294050d7.jpg","text":"TemporaryFile(/tmp/multipartBody3568491102373192001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458513160,"filename":"image_12042025_10_50_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cdc6d4c8560853479ec364ff0880bb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5149174671768888438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458513160,"filename":"image_12042025_10_50_36_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215744","file1":"1352215741","file0":"1352215737","file4":"1352215774","file5":"1352215799","file3":"1352215751"},"map_files_photo_id_array":[{"photo_id":"1352215799","filename":"file5"},{"photo_id":"1352215744","filename":"file2"},{"photo_id":"1352215774","filename":"file4"},{"photo_id":"1352215741","filename":"file1"},{"photo_id":"1352215737","filename":"file0"},{"photo_id":"1352215751","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352215799":["hashtag1","hashtag2"]},{"1352215737":["hashtag1","hashtag2"]},{"1352215751":["hashtag1","hashtag2"]},{"1352215774":["hashtag1","hashtag2"]},{"1352215741":["hashtag1","hashtag2"]},{"1352215744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352215799, 1352215737, 1352215751, 1352215774, 1352215741, 1352215744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85499668121338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:48:32.821857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_15_9355.jpg', '/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_26_10427.jpg', '/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_36_10377.jpg', '/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_45_9435.jpg', '/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_56_10368.jpg', '/home/pi/Desktop/images/12042025/10/51/image_12042025_10_52_05_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_15_9355.jpg
/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_26_10427.jpg
/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_36_10377.jpg
/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_45_9435.jpg
/home/pi/Desktop/images/12042025/10/51/image_12042025_10_51_56_10368.jpg
/home/pi/Desktop/images/12042025/10/51/image_12042025_10_52_05_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352215853","1352215856","1352215850","1352215885","1352215860","1352215857"],"photo_ids_order":["1352215850","1352215853","1352215856","1352215857","1352215860","1352215885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a42af5f6cc37c01f1b702d646b84967f.jpg","text":"TemporaryFile(/tmp/multipartBody9047983184662949015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458573288,"filename":"image_12042025_10_51_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4c2870d9afcfc125b3a5d1626698682.jpg","text":"TemporaryFile(/tmp/multipartBody4175903491992253534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458573288,"filename":"image_12042025_10_51_36_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77a88deadd23f295f3426643d996f85c.jpg","text":"TemporaryFile(/tmp/multipartBody4316077886335907544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458573288,"filename":"image_12042025_10_51_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc9b8b4bdade76d12622986514c32fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8420687606677169202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458573288,"filename":"image_12042025_10_52_05_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6eca8b3628f976520f5282d76d82120.jpg","text":"TemporaryFile(/tmp/multipartBody2542512338415884330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458573288,"filename":"image_12042025_10_51_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aedd0b9976c43f97c4f439426a62c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody6314059755141816204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458573288,"filename":"image_12042025_10_51_45_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352215856","file1":"1352215853","file0":"1352215850","file4":"1352215860","file5":"1352215885","file3":"1352215857"},"map_files_photo_id_array":[{"photo_id":"1352215885","filename":"file5"},{"photo_id":"1352215856","filename":"file2"},{"photo_id":"1352215860","filename":"file4"},{"photo_id":"1352215853","filename":"file1"},{"photo_id":"1352215850","filename":"file0"},{"photo_id":"1352215857","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352215853":["hashtag1","hashtag2"]},{"1352215856":["hashtag1","hashtag2"]},{"1352215850":["hashtag1","hashtag2"]},{"1352215885":["hashtag1","hashtag2"]},{"1352215860":["hashtag1","hashtag2"]},{"1352215857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352215853, 1352215856, 1352215850, 1352215885, 1352215860, 1352215857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35557198524475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:49:33.007406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_16_10433.jpg', '/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_26_10366.jpg', '/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_35_9447.jpg', '/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_46_10399.jpg', '/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_55_9387.jpg', '/home/pi/Desktop/images/12042025/10/52/image_12042025_10_53_06_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_16_10433.jpg
/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_26_10366.jpg
/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_35_9447.jpg
/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_46_10399.jpg
/home/pi/Desktop/images/12042025/10/52/image_12042025_10_52_55_9387.jpg
/home/pi/Desktop/images/12042025/10/52/image_12042025_10_53_06_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216278","1352216265","1352216274","1352216277","1352216250","1352216244"],"photo_ids_order":["1352216244","1352216250","1352216265","1352216274","1352216277","1352216278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/481ce1ba89366efcf5ba51fa854f97d4.jpg","text":"TemporaryFile(/tmp/multipartBody214564985539663994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458633478,"filename":"image_12042025_10_53_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abf7adce27bffb3ff634358df6bb32dc.jpg","text":"TemporaryFile(/tmp/multipartBody2865448583339805507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458633478,"filename":"image_12042025_10_52_35_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a9bc66709ab710dfaa9ab8bbaacfaeb.jpg","text":"TemporaryFile(/tmp/multipartBody5646125495926948911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458633478,"filename":"image_12042025_10_52_46_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c49915cd4eca06296e9e15ab5a3a3a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2781845240508955652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458633478,"filename":"image_12042025_10_52_55_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5b2f49eed1d7d1b44492fe11f22d20a.jpg","text":"TemporaryFile(/tmp/multipartBody2608438530061976711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458633478,"filename":"image_12042025_10_52_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c1b970ab325c5b075cdb0283a87e408.jpg","text":"TemporaryFile(/tmp/multipartBody746668883329789089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458633478,"filename":"image_12042025_10_52_16_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216265","file1":"1352216250","file0":"1352216244","file4":"1352216277","file5":"1352216278","file3":"1352216274"},"map_files_photo_id_array":[{"photo_id":"1352216278","filename":"file5"},{"photo_id":"1352216265","filename":"file2"},{"photo_id":"1352216277","filename":"file4"},{"photo_id":"1352216250","filename":"file1"},{"photo_id":"1352216244","filename":"file0"},{"photo_id":"1352216274","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352216278":["hashtag1","hashtag2"]},{"1352216265":["hashtag1","hashtag2"]},{"1352216274":["hashtag1","hashtag2"]},{"1352216277":["hashtag1","hashtag2"]},{"1352216250":["hashtag1","hashtag2"]},{"1352216244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352216278, 1352216265, 1352216274, 1352216277, 1352216250, 1352216244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36449670791626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:50:32.221252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_16_10459.jpg', '/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_25_9447.jpg', '/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_36_10351.jpg', '/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_45_9407.jpg', '/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_56_10433.jpg', '/home/pi/Desktop/images/12042025/10/53/image_12042025_10_54_06_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_16_10459.jpg
/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_25_9447.jpg
/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_36_10351.jpg
/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_45_9407.jpg
/home/pi/Desktop/images/12042025/10/53/image_12042025_10_53_56_10433.jpg
/home/pi/Desktop/images/12042025/10/53/image_12042025_10_54_06_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216462","1352216461","1352216359","1352216457","1352216454","1352216393"],"photo_ids_order":["1352216359","1352216393","1352216454","1352216457","1352216461","1352216462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aeec2f2a9f05252e40429846f24bee65.jpg","text":"TemporaryFile(/tmp/multipartBody5777237782785980712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458692754,"filename":"image_12042025_10_54_06_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4719d349de6e48a07235b6e4ae8b917f.jpg","text":"TemporaryFile(/tmp/multipartBody6308671210842467415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458692754,"filename":"image_12042025_10_53_56_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c019db1b547fe63f958d9821253b16a2.jpg","text":"TemporaryFile(/tmp/multipartBody4821153722004753826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458692754,"filename":"image_12042025_10_53_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d371f31b19cd9293a38ad9a7626fc58.jpg","text":"TemporaryFile(/tmp/multipartBody4989770303455947126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458692754,"filename":"image_12042025_10_53_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db1d15496e32458fbfc33f3099ab3ebe.jpg","text":"TemporaryFile(/tmp/multipartBody6303934440627448948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458692754,"filename":"image_12042025_10_53_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d3ed3f771375fe4b4280b6b249a1ead.jpg","text":"TemporaryFile(/tmp/multipartBody4188799835314486666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458692754,"filename":"image_12042025_10_53_25_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216454","file1":"1352216393","file0":"1352216359","file4":"1352216461","file5":"1352216462","file3":"1352216457"},"map_files_photo_id_array":[{"photo_id":"1352216462","filename":"file5"},{"photo_id":"1352216454","filename":"file2"},{"photo_id":"1352216461","filename":"file4"},{"photo_id":"1352216393","filename":"file1"},{"photo_id":"1352216359","filename":"file0"},{"photo_id":"1352216457","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352216462":["hashtag1","hashtag2"]},{"1352216461":["hashtag1","hashtag2"]},{"1352216359":["hashtag1","hashtag2"]},{"1352216457":["hashtag1","hashtag2"]},{"1352216454":["hashtag1","hashtag2"]},{"1352216393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352216462, 1352216461, 1352216359, 1352216457, 1352216454, 1352216393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.741358518600464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:51:32.532881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_15_9411.jpg', '/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_26_10376.jpg', '/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_35_9362.jpg', '/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_46_10446.jpg', '/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_56_10355.jpg', '/home/pi/Desktop/images/12042025/10/54/image_12042025_10_55_05_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_15_9411.jpg
/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_26_10376.jpg
/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_35_9362.jpg
/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_46_10446.jpg
/home/pi/Desktop/images/12042025/10/54/image_12042025_10_54_56_10355.jpg
/home/pi/Desktop/images/12042025/10/54/image_12042025_10_55_05_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216581","1352216578","1352216566","1352216598","1352216643","1352216567"],"photo_ids_order":["1352216566","1352216567","1352216578","1352216581","1352216598","1352216643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8541db8552ecedbf0084abb6cc4ec94.jpg","text":"TemporaryFile(/tmp/multipartBody4324239563719870376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458753004,"filename":"image_12042025_10_54_46_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a936ecd64437d0cbe876048255bd5b3a.jpg","text":"TemporaryFile(/tmp/multipartBody918181589616564071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458753004,"filename":"image_12042025_10_54_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a97e84eec6535f14ca7c3a819e80a55.jpg","text":"TemporaryFile(/tmp/multipartBody5967094670596739659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458753004,"filename":"image_12042025_10_54_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d25ad73bd0dd61c6d9a632db88d8393.jpg","text":"TemporaryFile(/tmp/multipartBody8284980751859652689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458753004,"filename":"image_12042025_10_54_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54db9f21aaa834f545fb5e69d1077511.jpg","text":"TemporaryFile(/tmp/multipartBody1351629820446459714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458753004,"filename":"image_12042025_10_55_05_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/251a54d3b953649fd19c08fad7cc6621.jpg","text":"TemporaryFile(/tmp/multipartBody6736135656899545420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458753004,"filename":"image_12042025_10_54_26_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216578","file1":"1352216567","file0":"1352216566","file4":"1352216598","file5":"1352216643","file3":"1352216581"},"map_files_photo_id_array":[{"photo_id":"1352216643","filename":"file5"},{"photo_id":"1352216578","filename":"file2"},{"photo_id":"1352216598","filename":"file4"},{"photo_id":"1352216567","filename":"file1"},{"photo_id":"1352216566","filename":"file0"},{"photo_id":"1352216581","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352216581":["hashtag1","hashtag2"]},{"1352216578":["hashtag1","hashtag2"]},{"1352216566":["hashtag1","hashtag2"]},{"1352216598":["hashtag1","hashtag2"]},{"1352216643":["hashtag1","hashtag2"]},{"1352216567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352216581, 1352216578, 1352216566, 1352216598, 1352216643, 1352216567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88368105888367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:52:32.783657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_16_10354.jpg', '/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_25_9349.jpg', '/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_36_10366.jpg', '/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_46_10349.jpg', '/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_55_9470.jpg', '/home/pi/Desktop/images/12042025/10/55/image_12042025_10_56_06_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_16_10354.jpg
/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_25_9349.jpg
/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_36_10366.jpg
/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_46_10349.jpg
/home/pi/Desktop/images/12042025/10/55/image_12042025_10_55_55_9470.jpg
/home/pi/Desktop/images/12042025/10/55/image_12042025_10_56_06_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216729","1352216732","1352216743","1352216737","1352216724","1352216727"],"photo_ids_order":["1352216724","1352216727","1352216729","1352216732","1352216737","1352216743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21cc860880807a46de20fea15ae85946.jpg","text":"TemporaryFile(/tmp/multipartBody1238131226601545628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458813240,"filename":"image_12042025_10_55_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08d5be105ac7aac94e3cb2e0c7a08a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3416139929215354073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458813240,"filename":"image_12042025_10_55_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/565f36b29376e4646f01b3bd7f4cb521.jpg","text":"TemporaryFile(/tmp/multipartBody8962588993180103971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458813240,"filename":"image_12042025_10_56_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc34e2a8582970cdcbdd2364278c7756.jpg","text":"TemporaryFile(/tmp/multipartBody5253179244546411945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458813240,"filename":"image_12042025_10_55_55_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e331c0b3379f14822db75ecdb331cdea.jpg","text":"TemporaryFile(/tmp/multipartBody4903587837775464751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458813240,"filename":"image_12042025_10_55_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/667f6e0544d8fee56cf4993cddb17314.jpg","text":"TemporaryFile(/tmp/multipartBody2102484908401750289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458813240,"filename":"image_12042025_10_55_25_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216729","file1":"1352216727","file0":"1352216724","file4":"1352216737","file5":"1352216743","file3":"1352216732"},"map_files_photo_id_array":[{"photo_id":"1352216743","filename":"file5"},{"photo_id":"1352216729","filename":"file2"},{"photo_id":"1352216737","filename":"file4"},{"photo_id":"1352216727","filename":"file1"},{"photo_id":"1352216724","filename":"file0"},{"photo_id":"1352216732","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352216729":["hashtag1","hashtag2"]},{"1352216732":["hashtag1","hashtag2"]},{"1352216743":["hashtag1","hashtag2"]},{"1352216737":["hashtag1","hashtag2"]},{"1352216724":["hashtag1","hashtag2"]},{"1352216727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352216729, 1352216732, 1352216743, 1352216737, 1352216724, 1352216727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.519989013671875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:53:32.994283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_15_9411.jpg', '/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_26_10391.jpg', '/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_36_10349.jpg', '/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_45_9333.jpg', '/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_56_10474.jpg', '/home/pi/Desktop/images/12042025/10/56/image_12042025_10_57_06_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_15_9411.jpg
/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_26_10391.jpg
/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_36_10349.jpg
/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_45_9333.jpg
/home/pi/Desktop/images/12042025/10/56/image_12042025_10_56_56_10474.jpg
/home/pi/Desktop/images/12042025/10/56/image_12042025_10_57_06_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216794","1352216807","1352216812","1352216800","1352216803","1352216814"],"photo_ids_order":["1352216794","1352216800","1352216803","1352216807","1352216812","1352216814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f32e4e79f5decd62b088a3c7eabbb45.jpg","text":"TemporaryFile(/tmp/multipartBody6552027654329042676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458873449,"filename":"image_12042025_10_56_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2d992d958ab3e749f0856514b7554ac.jpg","text":"TemporaryFile(/tmp/multipartBody3478234407242822338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458873449,"filename":"image_12042025_10_56_45_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d52f3ea5ed35d07562d06d1f23fc19c.jpg","text":"TemporaryFile(/tmp/multipartBody2878558825522192865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458873449,"filename":"image_12042025_10_56_56_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a448a7c3304db8031d3ecbb51af09d72.jpg","text":"TemporaryFile(/tmp/multipartBody1328429226510612002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458873449,"filename":"image_12042025_10_56_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdd6ca2cdb4900454a4ee4c22161c720.jpg","text":"TemporaryFile(/tmp/multipartBody5946895290199705325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458873449,"filename":"image_12042025_10_56_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0437d8773b8f5eb233f36fd423b40c87.jpg","text":"TemporaryFile(/tmp/multipartBody7375344147012936489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458873449,"filename":"image_12042025_10_57_06_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216803","file1":"1352216800","file0":"1352216794","file4":"1352216812","file5":"1352216814","file3":"1352216807"},"map_files_photo_id_array":[{"photo_id":"1352216814","filename":"file5"},{"photo_id":"1352216803","filename":"file2"},{"photo_id":"1352216812","filename":"file4"},{"photo_id":"1352216800","filename":"file1"},{"photo_id":"1352216794","filename":"file0"},{"photo_id":"1352216807","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352216794":["hashtag1","hashtag2"]},{"1352216807":["hashtag1","hashtag2"]},{"1352216812":["hashtag1","hashtag2"]},{"1352216800":["hashtag1","hashtag2"]},{"1352216803":["hashtag1","hashtag2"]},{"1352216814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352216794, 1352216807, 1352216812, 1352216800, 1352216803, 1352216814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17922234535217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:54:32.194595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_16_9470.jpg', '/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_26_10374.jpg', '/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_35_9352.jpg', '/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_46_10446.jpg', '/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_55_9357.jpg', '/home/pi/Desktop/images/12042025/10/57/image_12042025_10_58_06_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_16_9470.jpg
/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_26_10374.jpg
/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_35_9352.jpg
/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_46_10446.jpg
/home/pi/Desktop/images/12042025/10/57/image_12042025_10_57_55_9357.jpg
/home/pi/Desktop/images/12042025/10/57/image_12042025_10_58_06_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216909","1352216903","1352216911","1352216914","1352216904","1352216907"],"photo_ids_order":["1352216903","1352216904","1352216907","1352216909","1352216911","1352216914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c93b58eb220be03d090bb00d7d5f58cd.jpg","text":"TemporaryFile(/tmp/multipartBody5352012531432928186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458932707,"filename":"image_12042025_10_57_46_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8f5908d7a174054f312a97c655b1f0e.jpg","text":"TemporaryFile(/tmp/multipartBody3325655759227645231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458932707,"filename":"image_12042025_10_57_16_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ead6b9da3173a19e8e2695337ee19a0.jpg","text":"TemporaryFile(/tmp/multipartBody6583643072460369987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458932707,"filename":"image_12042025_10_57_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cc10969d5c53ab6bb4078272c00a2aa.jpg","text":"TemporaryFile(/tmp/multipartBody8559880112230329699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458932707,"filename":"image_12042025_10_58_06_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c2b1c49204d420e8090d81f58adbbc7.jpg","text":"TemporaryFile(/tmp/multipartBody7804790719735209000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458932707,"filename":"image_12042025_10_57_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f21da49a53c59ac9e9d0d4a47a7063e7.jpg","text":"TemporaryFile(/tmp/multipartBody3456938882956102404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458932707,"filename":"image_12042025_10_57_35_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216907","file1":"1352216904","file0":"1352216903","file4":"1352216911","file5":"1352216914","file3":"1352216909"},"map_files_photo_id_array":[{"photo_id":"1352216914","filename":"file5"},{"photo_id":"1352216907","filename":"file2"},{"photo_id":"1352216911","filename":"file4"},{"photo_id":"1352216904","filename":"file1"},{"photo_id":"1352216903","filename":"file0"},{"photo_id":"1352216909","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352216909":["hashtag1","hashtag2"]},{"1352216903":["hashtag1","hashtag2"]},{"1352216911":["hashtag1","hashtag2"]},{"1352216914":["hashtag1","hashtag2"]},{"1352216904":["hashtag1","hashtag2"]},{"1352216907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352216909, 1352216903, 1352216911, 1352216914, 1352216904, 1352216907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04642987251282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:55:32.350661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_16_10341.jpg', '/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_25_9486.jpg', '/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_36_10347.jpg', '/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_46_10370.jpg', '/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_56_9475.jpg', '/home/pi/Desktop/images/12042025/10/58/image_12042025_10_59_06_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_16_10341.jpg
/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_25_9486.jpg
/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_36_10347.jpg
/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_46_10370.jpg
/home/pi/Desktop/images/12042025/10/58/image_12042025_10_58_56_9475.jpg
/home/pi/Desktop/images/12042025/10/58/image_12042025_10_59_06_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352216939","1352216933","1352216941","1352216935","1352216934","1352216937"],"photo_ids_order":["1352216933","1352216934","1352216935","1352216937","1352216939","1352216941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/878d48ac6444e496e553f80474db5cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6013823943321447228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458992818,"filename":"image_12042025_10_58_56_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21ce5797de4fff3d636fc5e61b915f64.jpg","text":"TemporaryFile(/tmp/multipartBody4281608724626671751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458992818,"filename":"image_12042025_10_58_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14672776edfa825f6a1519b6fd0a344a.jpg","text":"TemporaryFile(/tmp/multipartBody7726046446332154000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458992818,"filename":"image_12042025_10_59_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/412df48ac221d174c383d34736f96229.jpg","text":"TemporaryFile(/tmp/multipartBody4604003223039612136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458992818,"filename":"image_12042025_10_58_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ededfd143312bd756cfa66fdb716459.jpg","text":"TemporaryFile(/tmp/multipartBody1324053667544323150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458992818,"filename":"image_12042025_10_58_25_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb6fe00a307e135b0084ade16805d269.jpg","text":"TemporaryFile(/tmp/multipartBody1975894869891912114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744458992818,"filename":"image_12042025_10_58_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352216935","file1":"1352216934","file0":"1352216933","file4":"1352216939","file5":"1352216941","file3":"1352216937"},"map_files_photo_id_array":[{"photo_id":"1352216941","filename":"file5"},{"photo_id":"1352216935","filename":"file2"},{"photo_id":"1352216939","filename":"file4"},{"photo_id":"1352216934","filename":"file1"},{"photo_id":"1352216933","filename":"file0"},{"photo_id":"1352216937","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352216939":["hashtag1","hashtag2"]},{"1352216933":["hashtag1","hashtag2"]},{"1352216941":["hashtag1","hashtag2"]},{"1352216935":["hashtag1","hashtag2"]},{"1352216934":["hashtag1","hashtag2"]},{"1352216937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352216939, 1352216933, 1352216941, 1352216935, 1352216934, 1352216937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95287799835205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:56:32.582011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_15_9399.jpg', '/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_26_10375.jpg', '/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_35_9358.jpg', '/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_46_10479.jpg', '/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_56_10465.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_16_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_15_9399.jpg
/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_26_10375.jpg
/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_35_9358.jpg
/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_46_10479.jpg
/home/pi/Desktop/images/12042025/10/59/image_12042025_10_59_56_10465.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_16_10077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217031","1352217028","1352217024","1352217003","1352216976","1352217000"],"photo_ids_order":["1352216976","1352217000","1352217003","1352217024","1352217028","1352217031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b851f19b4eb3e9a28d5f3df4812ef584.jpg","text":"TemporaryFile(/tmp/multipartBody4334787973521378194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459053050,"filename":"image_12042025_11_00_16_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33a87d4b3355facb5a389ff5428b3375.jpg","text":"TemporaryFile(/tmp/multipartBody1453753957890694779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459053050,"filename":"image_12042025_10_59_56_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/612cb04dd85bd04cf3a37814b322e5a4.jpg","text":"TemporaryFile(/tmp/multipartBody9163491573288822854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459053050,"filename":"image_12042025_10_59_46_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/489cc50a5595614eb30223490fa3003c.jpg","text":"TemporaryFile(/tmp/multipartBody5218174854242730484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459053050,"filename":"image_12042025_10_59_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d41bfe9f70fa474251d6882d388b1f60.jpg","text":"TemporaryFile(/tmp/multipartBody5872993499270064818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459053050,"filename":"image_12042025_10_59_15_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f29af0c08c1239e8b4b296cd18fc8931.jpg","text":"TemporaryFile(/tmp/multipartBody3027083631068739481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459053050,"filename":"image_12042025_10_59_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217003","file1":"1352217000","file0":"1352216976","file4":"1352217028","file5":"1352217031","file3":"1352217024"},"map_files_photo_id_array":[{"photo_id":"1352217031","filename":"file5"},{"photo_id":"1352217003","filename":"file2"},{"photo_id":"1352217028","filename":"file4"},{"photo_id":"1352217000","filename":"file1"},{"photo_id":"1352216976","filename":"file0"},{"photo_id":"1352217024","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352217031":["hashtag1","hashtag2"]},{"1352217028":["hashtag1","hashtag2"]},{"1352217024":["hashtag1","hashtag2"]},{"1352217003":["hashtag1","hashtag2"]},{"1352216976":["hashtag1","hashtag2"]},{"1352217000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352217031, 1352217028, 1352217024, 1352217003, 1352216976, 1352217000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62380790710449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 13:57:32.440386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_26_10378.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_37_10442.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_46_9352.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_57_10515.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_01_06_9350.jpg', '/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_16_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_26_10378.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_37_10442.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_46_9352.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_57_10515.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_01_06_9350.jpg
/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_16_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 13:59:04.808196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_26_10378.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_37_10442.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_46_9352.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_57_10515.jpg', '/home/pi/Desktop/images/12042025/11/00/image_12042025_11_01_06_9350.jpg', '/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_16_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_26_10378.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_37_10442.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_46_9352.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_00_57_10515.jpg
/home/pi/Desktop/images/12042025/11/00/image_12042025_11_01_06_9350.jpg
/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_16_10423.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217410","1352217622","1352217546","1352217479","1352217275","1352217344"],"photo_ids_order":["1352217275","1352217344","1352217410","1352217479","1352217546","1352217622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04bde4a1c2989c5c2555777acf519dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8307226421369018113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459205461,"filename":"image_12042025_11_00_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8df8962eb25222804d79986b83ef446.jpg","text":"TemporaryFile(/tmp/multipartBody5523126968230275732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459205461,"filename":"image_12042025_11_01_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/facbc1a4de1062f0d75b750ad9ae2f40.jpg","text":"TemporaryFile(/tmp/multipartBody2326223728065970693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459205461,"filename":"image_12042025_11_01_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b8355d6190dbdc84dbd56f633872d33.jpg","text":"TemporaryFile(/tmp/multipartBody6296219712292658434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459205461,"filename":"image_12042025_11_00_57_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7c6aed7618d0e0975fc781f2772d28d.jpg","text":"TemporaryFile(/tmp/multipartBody2886583590861605644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459205461,"filename":"image_12042025_11_00_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1d9bdf6594fda2c362c097ec76a638c.jpg","text":"TemporaryFile(/tmp/multipartBody8653261454335023131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459205461,"filename":"image_12042025_11_00_37_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217410","file1":"1352217344","file0":"1352217275","file4":"1352217546","file5":"1352217622","file3":"1352217479"},"map_files_photo_id_array":[{"photo_id":"1352217622","filename":"file5"},{"photo_id":"1352217410","filename":"file2"},{"photo_id":"1352217546","filename":"file4"},{"photo_id":"1352217344","filename":"file1"},{"photo_id":"1352217275","filename":"file0"},{"photo_id":"1352217479","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352217410":["hashtag1","hashtag2"]},{"1352217622":["hashtag1","hashtag2"]},{"1352217546":["hashtag1","hashtag2"]},{"1352217479":["hashtag1","hashtag2"]},{"1352217275":["hashtag1","hashtag2"]},{"1352217344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352217410, 1352217622, 1352217546, 1352217479, 1352217275, 1352217344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.847352743148804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 13:59:43.259297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_27_10442.jpg', '/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_36_9342.jpg', '/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_47_10461.jpg', '/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_56_9390.jpg', '/home/pi/Desktop/images/12042025/11/01/image_12042025_11_02_06_10403.jpg', '/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_17_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_27_10442.jpg
/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_36_9342.jpg
/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_47_10461.jpg
/home/pi/Desktop/images/12042025/11/01/image_12042025_11_01_56_9390.jpg
/home/pi/Desktop/images/12042025/11/01/image_12042025_11_02_06_10403.jpg
/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_17_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217638","1352217631","1352217634","1352217630","1352217633","1352217635"],"photo_ids_order":["1352217630","1352217631","1352217633","1352217634","1352217635","1352217638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7830ae96262f054d4a4b0c0fa3d31681.jpg","text":"TemporaryFile(/tmp/multipartBody6064779663289002394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459243728,"filename":"image_12042025_11_02_17_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3f526d271832e897ac02223ab29671f.jpg","text":"TemporaryFile(/tmp/multipartBody2054131463010848265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459243728,"filename":"image_12042025_11_01_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b58225ee63043fde63fdb2320b95e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4162033342221147780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459243728,"filename":"image_12042025_11_01_56_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e1a14c51108407f005eef25ff3da19a.jpg","text":"TemporaryFile(/tmp/multipartBody3329102432744268629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459243728,"filename":"image_12042025_11_01_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fa3c543f5e364755c06fbe228f5ef06.jpg","text":"TemporaryFile(/tmp/multipartBody2193387564420343814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459243728,"filename":"image_12042025_11_01_47_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eab8bae3ea7b744b58acbbb95d681374.jpg","text":"TemporaryFile(/tmp/multipartBody2263093787330698359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459243728,"filename":"image_12042025_11_02_06_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217633","file1":"1352217631","file0":"1352217630","file4":"1352217635","file5":"1352217638","file3":"1352217634"},"map_files_photo_id_array":[{"photo_id":"1352217638","filename":"file5"},{"photo_id":"1352217633","filename":"file2"},{"photo_id":"1352217635","filename":"file4"},{"photo_id":"1352217631","filename":"file1"},{"photo_id":"1352217630","filename":"file0"},{"photo_id":"1352217634","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352217638":["hashtag1","hashtag2"]},{"1352217631":["hashtag1","hashtag2"]},{"1352217634":["hashtag1","hashtag2"]},{"1352217630":["hashtag1","hashtag2"]},{"1352217633":["hashtag1","hashtag2"]},{"1352217635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352217638, 1352217631, 1352217634, 1352217630, 1352217633, 1352217635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72476291656494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:00:32.220794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_26_9476.jpg', '/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_37_10384.jpg', '/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_46_9417.jpg', '/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_56_10490.jpg', '/home/pi/Desktop/images/12042025/11/02/image_12042025_11_03_06_9440.jpg', '/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_16_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_26_9476.jpg
/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_37_10384.jpg
/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_46_9417.jpg
/home/pi/Desktop/images/12042025/11/02/image_12042025_11_02_56_10490.jpg
/home/pi/Desktop/images/12042025/11/02/image_12042025_11_03_06_9440.jpg
/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_16_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217661","1352217655","1352217664","1352217658","1352217653","1352217656"],"photo_ids_order":["1352217653","1352217655","1352217656","1352217658","1352217661","1352217664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a3816d96e3095d334a05aac32c71c0e.jpg","text":"TemporaryFile(/tmp/multipartBody3566389736908008773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459292689,"filename":"image_12042025_11_03_06_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/078ae89110b47022ccd25f1ae9f47a76.jpg","text":"TemporaryFile(/tmp/multipartBody7234435721644234519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459292689,"filename":"image_12042025_11_02_37_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5b5ba013102a7507762d5b8cc212179.jpg","text":"TemporaryFile(/tmp/multipartBody8933510410060725041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459292689,"filename":"image_12042025_11_03_16_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3ab5f9730c9745c32f0fca05b60b165.jpg","text":"TemporaryFile(/tmp/multipartBody3325414110095458678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459292689,"filename":"image_12042025_11_02_56_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13f86442bd3135ef87cf3bb65d31ddde.jpg","text":"TemporaryFile(/tmp/multipartBody8095434374451668722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459292689,"filename":"image_12042025_11_02_26_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d6cbaf3cbcca64411349c8955d4360a.jpg","text":"TemporaryFile(/tmp/multipartBody8081480079004344039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459292689,"filename":"image_12042025_11_02_46_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217656","file1":"1352217655","file0":"1352217653","file4":"1352217661","file5":"1352217664","file3":"1352217658"},"map_files_photo_id_array":[{"photo_id":"1352217664","filename":"file5"},{"photo_id":"1352217656","filename":"file2"},{"photo_id":"1352217661","filename":"file4"},{"photo_id":"1352217655","filename":"file1"},{"photo_id":"1352217653","filename":"file0"},{"photo_id":"1352217658","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352217661":["hashtag1","hashtag2"]},{"1352217655":["hashtag1","hashtag2"]},{"1352217664":["hashtag1","hashtag2"]},{"1352217658":["hashtag1","hashtag2"]},{"1352217653":["hashtag1","hashtag2"]},{"1352217656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352217661, 1352217655, 1352217664, 1352217658, 1352217653, 1352217656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10248923301697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:01:32.468639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_26_9499.jpg', '/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_36_10371.jpg', '/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_47_10436.jpg', '/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_56_9366.jpg', '/home/pi/Desktop/images/12042025/11/03/image_12042025_11_04_06_10426.jpg', '/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_16_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_26_9499.jpg
/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_36_10371.jpg
/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_47_10436.jpg
/home/pi/Desktop/images/12042025/11/03/image_12042025_11_03_56_9366.jpg
/home/pi/Desktop/images/12042025/11/03/image_12042025_11_04_06_10426.jpg
/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_16_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217736","1352217721","1352217729","1352217705","1352217746","1352217749"],"photo_ids_order":["1352217705","1352217721","1352217729","1352217736","1352217746","1352217749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b77dc7a91ab13f60d8ad143cdfc7517.jpg","text":"TemporaryFile(/tmp/multipartBody7444923282037517992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459352949,"filename":"image_12042025_11_03_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aeb3535593e34491981d0ccf98057383.jpg","text":"TemporaryFile(/tmp/multipartBody8485320659298017923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459352949,"filename":"image_12042025_11_03_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6072f703ce644a55aa79694ea1feb3f.jpg","text":"TemporaryFile(/tmp/multipartBody230470226793888107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459352949,"filename":"image_12042025_11_03_47_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/232774c6701aefaeeacba1f2c9d231e3.jpg","text":"TemporaryFile(/tmp/multipartBody184278107185659618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459352949,"filename":"image_12042025_11_03_26_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3bfceb7808233551f5abb58256987a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7067983032082527733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459352949,"filename":"image_12042025_11_04_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f05b1bb0f1d1d06a34af4368d6e6eabf.jpg","text":"TemporaryFile(/tmp/multipartBody2678596968392293500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459352949,"filename":"image_12042025_11_04_16_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217729","file1":"1352217721","file0":"1352217705","file4":"1352217746","file5":"1352217749","file3":"1352217736"},"map_files_photo_id_array":[{"photo_id":"1352217749","filename":"file5"},{"photo_id":"1352217729","filename":"file2"},{"photo_id":"1352217746","filename":"file4"},{"photo_id":"1352217721","filename":"file1"},{"photo_id":"1352217705","filename":"file0"},{"photo_id":"1352217736","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352217736":["hashtag1","hashtag2"]},{"1352217721":["hashtag1","hashtag2"]},{"1352217729":["hashtag1","hashtag2"]},{"1352217705":["hashtag1","hashtag2"]},{"1352217746":["hashtag1","hashtag2"]},{"1352217749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352217736, 1352217721, 1352217729, 1352217705, 1352217746, 1352217749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30925440788269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:02:32.679935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_27_10782.jpg', '/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_36_9371.jpg', '/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_46_10428.jpg', '/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_56_9367.jpg', '/home/pi/Desktop/images/12042025/11/04/image_12042025_11_05_06_10358.jpg', '/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_17_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_27_10782.jpg
/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_36_9371.jpg
/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_46_10428.jpg
/home/pi/Desktop/images/12042025/11/04/image_12042025_11_04_56_9367.jpg
/home/pi/Desktop/images/12042025/11/04/image_12042025_11_05_06_10358.jpg
/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_17_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352217784","1352217984","1352217789","1352217780","1352217776","1352217962"],"photo_ids_order":["1352217776","1352217780","1352217784","1352217789","1352217962","1352217984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ef967485c05d1c80118a02b453e1fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1635004705718653228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459413225,"filename":"image_12042025_11_04_46_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/740fe0d1582528ebe3fccbdb2b75d425.jpg","text":"TemporaryFile(/tmp/multipartBody3419048581588652514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459413225,"filename":"image_12042025_11_05_17_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b20fda3f58ac490dec5878d70c29c02.jpg","text":"TemporaryFile(/tmp/multipartBody287359716270350958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459413225,"filename":"image_12042025_11_04_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/175f715cd450075d048f3644e38c8fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7539933284710283348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459413225,"filename":"image_12042025_11_04_36_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5a241d1070ef22b9daca9dc5add1c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5346642574728200159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459413225,"filename":"image_12042025_11_04_27_10782.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0a2b696ee2c7d4a4b1f7f1aa8722822.jpg","text":"TemporaryFile(/tmp/multipartBody5174262704829087911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459413225,"filename":"image_12042025_11_05_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352217784","file1":"1352217780","file0":"1352217776","file4":"1352217962","file5":"1352217984","file3":"1352217789"},"map_files_photo_id_array":[{"photo_id":"1352217984","filename":"file5"},{"photo_id":"1352217784","filename":"file2"},{"photo_id":"1352217962","filename":"file4"},{"photo_id":"1352217780","filename":"file1"},{"photo_id":"1352217776","filename":"file0"},{"photo_id":"1352217789","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352217784":["hashtag1","hashtag2"]},{"1352217984":["hashtag1","hashtag2"]},{"1352217789":["hashtag1","hashtag2"]},{"1352217780":["hashtag1","hashtag2"]},{"1352217776":["hashtag1","hashtag2"]},{"1352217962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352217784, 1352217984, 1352217789, 1352217780, 1352217776, 1352217962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51309323310852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:03:32.826389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_26_9387.jpg', '/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_36_10408.jpg', '/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_46_9371.jpg', '/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_56_10362.jpg', '/home/pi/Desktop/images/12042025/11/05/image_12042025_11_06_07_10360.jpg', '/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_16_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_26_9387.jpg
/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_36_10408.jpg
/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_46_9371.jpg
/home/pi/Desktop/images/12042025/11/05/image_12042025_11_05_56_10362.jpg
/home/pi/Desktop/images/12042025/11/05/image_12042025_11_06_07_10360.jpg
/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_16_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352218087","1352218126","1352218104","1352218136","1352218090","1352218084"],"photo_ids_order":["1352218084","1352218087","1352218090","1352218104","1352218126","1352218136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/985174bc53d38dac90a7f1a8799e41ea.jpg","text":"TemporaryFile(/tmp/multipartBody843847704972841530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459473283,"filename":"image_12042025_11_05_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73a008d41351f753cf1668029bbdebcd.jpg","text":"TemporaryFile(/tmp/multipartBody6538619668809190939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459473283,"filename":"image_12042025_11_06_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da6ed8a95f9ba63fb7f0376f31220d11.jpg","text":"TemporaryFile(/tmp/multipartBody4080420295126643433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459473283,"filename":"image_12042025_11_05_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/987f85a92685f44adc39fc6d720b2085.jpg","text":"TemporaryFile(/tmp/multipartBody7678638888588042698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459473283,"filename":"image_12042025_11_06_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c575948bdb05e6d5b28889df4969786.jpg","text":"TemporaryFile(/tmp/multipartBody6474098199651766826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459473283,"filename":"image_12042025_11_05_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a5a05257cb49bf39f8c668e26fcd283.jpg","text":"TemporaryFile(/tmp/multipartBody4858625913826348259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459473283,"filename":"image_12042025_11_05_26_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352218090","file1":"1352218087","file0":"1352218084","file4":"1352218126","file5":"1352218136","file3":"1352218104"},"map_files_photo_id_array":[{"photo_id":"1352218136","filename":"file5"},{"photo_id":"1352218090","filename":"file2"},{"photo_id":"1352218126","filename":"file4"},{"photo_id":"1352218087","filename":"file1"},{"photo_id":"1352218084","filename":"file0"},{"photo_id":"1352218104","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352218087":["hashtag1","hashtag2"]},{"1352218126":["hashtag1","hashtag2"]},{"1352218104":["hashtag1","hashtag2"]},{"1352218136":["hashtag1","hashtag2"]},{"1352218090":["hashtag1","hashtag2"]},{"1352218084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352218087, 1352218126, 1352218104, 1352218136, 1352218090, 1352218084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37283229827881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:04:33.237234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_26_10355.jpg', '/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_37_10389.jpg', '/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_46_9378.jpg', '/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_56_10462.jpg', '/home/pi/Desktop/images/12042025/11/06/image_12042025_11_07_06_9421.jpg', '/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_16_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_26_10355.jpg
/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_37_10389.jpg
/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_46_9378.jpg
/home/pi/Desktop/images/12042025/11/06/image_12042025_11_06_56_10462.jpg
/home/pi/Desktop/images/12042025/11/06/image_12042025_11_07_06_9421.jpg
/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_16_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352218201","1352218197","1352218185","1352218190","1352218193","1352218187"],"photo_ids_order":["1352218185","1352218187","1352218190","1352218193","1352218197","1352218201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f5b007bfc076a649fd5fda2efbb23fc.jpg","text":"TemporaryFile(/tmp/multipartBody1874935138997339317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459533701,"filename":"image_12042025_11_07_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9962227ee07720d04e1e381461d50a1.jpg","text":"TemporaryFile(/tmp/multipartBody575681372466163828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459533701,"filename":"image_12042025_11_07_06_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68ff6378097b63404dac59c8131ea3e3.jpg","text":"TemporaryFile(/tmp/multipartBody1295438500345249742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459533701,"filename":"image_12042025_11_06_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/273340019e7877bcdc83041818f567bf.jpg","text":"TemporaryFile(/tmp/multipartBody3665707557897219086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459533701,"filename":"image_12042025_11_06_46_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/450018f223dfd4ee05d59e886b618b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7171379114315850793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459533701,"filename":"image_12042025_11_06_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78c5f29adc5047b20f6f7694c5ede1b9.jpg","text":"TemporaryFile(/tmp/multipartBody8328807391211122519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459533701,"filename":"image_12042025_11_06_37_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352218190","file1":"1352218187","file0":"1352218185","file4":"1352218197","file5":"1352218201","file3":"1352218193"},"map_files_photo_id_array":[{"photo_id":"1352218201","filename":"file5"},{"photo_id":"1352218190","filename":"file2"},{"photo_id":"1352218197","filename":"file4"},{"photo_id":"1352218187","filename":"file1"},{"photo_id":"1352218185","filename":"file0"},{"photo_id":"1352218193","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352218201":["hashtag1","hashtag2"]},{"1352218197":["hashtag1","hashtag2"]},{"1352218185":["hashtag1","hashtag2"]},{"1352218190":["hashtag1","hashtag2"]},{"1352218193":["hashtag1","hashtag2"]},{"1352218187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352218201, 1352218197, 1352218185, 1352218190, 1352218193, 1352218187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3026180267334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:05:32.323079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_27_10440.jpg', '/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_36_9348.jpg', '/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_47_10492.jpg', '/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_56_9451.jpg', '/home/pi/Desktop/images/12042025/11/07/image_12042025_11_08_06_10404.jpg', '/home/pi/Desktop/images/12042025/11/08/image_12042025_11_08_16_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_27_10440.jpg
/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_36_9348.jpg
/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_47_10492.jpg
/home/pi/Desktop/images/12042025/11/07/image_12042025_11_07_56_9451.jpg
/home/pi/Desktop/images/12042025/11/07/image_12042025_11_08_06_10404.jpg
/home/pi/Desktop/images/12042025/11/08/image_12042025_11_08_16_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352218284","1352218296","1352218298","1352218292","1352218280","1352218288"],"photo_ids_order":["1352218280","1352218284","1352218288","1352218292","1352218296","1352218298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b65047a1ac5e68b5f7a17bd01e6dd79e.jpg","text":"TemporaryFile(/tmp/multipartBody7615633060019510179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459592792,"filename":"image_12042025_11_07_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a1e30659d7b9152ed9ff8cd528b17a4.jpg","text":"TemporaryFile(/tmp/multipartBody6264518456224152520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459592792,"filename":"image_12042025_11_08_06_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05eae3a48abe5eb07a2949c4db22a61e.jpg","text":"TemporaryFile(/tmp/multipartBody7521259668833273004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459592792,"filename":"image_12042025_11_08_16_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26b9cea87d1e10ce188dbf5e4320d1bd.jpg","text":"TemporaryFile(/tmp/multipartBody672404251788069967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459592792,"filename":"image_12042025_11_07_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3256368580f6cc49db4ad59600bc2ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4323346936779655897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459592792,"filename":"image_12042025_11_07_27_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74df94eb058bac5e6bdeebbab1dec862.jpg","text":"TemporaryFile(/tmp/multipartBody1455436081575099943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459592792,"filename":"image_12042025_11_07_47_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352218288","file1":"1352218284","file0":"1352218280","file4":"1352218296","file5":"1352218298","file3":"1352218292"},"map_files_photo_id_array":[{"photo_id":"1352218298","filename":"file5"},{"photo_id":"1352218288","filename":"file2"},{"photo_id":"1352218296","filename":"file4"},{"photo_id":"1352218284","filename":"file1"},{"photo_id":"1352218280","filename":"file0"},{"photo_id":"1352218292","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352218284":["hashtag1","hashtag2"]},{"1352218296":["hashtag1","hashtag2"]},{"1352218298":["hashtag1","hashtag2"]},{"1352218292":["hashtag1","hashtag2"]},{"1352218280":["hashtag1","hashtag2"]},{"1352218288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352218284, 1352218296, 1352218298, 1352218292, 1352218280, 1352218288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95704627037048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:06:32.575987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/08/image_12042025_11_08_37_10384.jpg', '/home/pi/Desktop/images/12042025/11/08/image_12042025_11_08_46_9379.jpg', '/home/pi/Desktop/images/12042025/11/08/image_12042025_11_08_56_10406.jpg', '/home/pi/Desktop/images/12042025/11/08/image_12042025_11_09_06_9381.jpg', '/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_16_10351.jpg', '/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_27_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/08/image_12042025_11_08_37_10384.jpg
/home/pi/Desktop/images/12042025/11/08/image_12042025_11_08_46_9379.jpg
/home/pi/Desktop/images/12042025/11/08/image_12042025_11_08_56_10406.jpg
/home/pi/Desktop/images/12042025/11/08/image_12042025_11_09_06_9381.jpg
/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_16_10351.jpg
/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_27_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352218357","1352218324","1352218347","1352218338","1352218332","1352218379"],"photo_ids_order":["1352218324","1352218332","1352218338","1352218347","1352218357","1352218379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b7b9764421bb61469b30e205610acad.jpg","text":"TemporaryFile(/tmp/multipartBody6382945074814303771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459653043,"filename":"image_12042025_11_09_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c5a6ad2dc59025e269e742ec279b443.jpg","text":"TemporaryFile(/tmp/multipartBody1188630940077312913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459653043,"filename":"image_12042025_11_08_37_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7a93b007d1720255af4fa0092af5078.jpg","text":"TemporaryFile(/tmp/multipartBody4711055417652142538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459653043,"filename":"image_12042025_11_09_06_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4773725d6c3f1057f9533a8cb7ed70d.jpg","text":"TemporaryFile(/tmp/multipartBody2913132882267505204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459653043,"filename":"image_12042025_11_08_56_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afce0132f2d9818ef0f462182e791cd2.jpg","text":"TemporaryFile(/tmp/multipartBody687479304168583516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459653043,"filename":"image_12042025_11_08_46_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e299216972b4d9b25367fed34c7d66f0.jpg","text":"TemporaryFile(/tmp/multipartBody4259401666521540931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459653043,"filename":"image_12042025_11_09_27_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352218338","file1":"1352218332","file0":"1352218324","file4":"1352218357","file5":"1352218379","file3":"1352218347"},"map_files_photo_id_array":[{"photo_id":"1352218379","filename":"file5"},{"photo_id":"1352218338","filename":"file2"},{"photo_id":"1352218357","filename":"file4"},{"photo_id":"1352218332","filename":"file1"},{"photo_id":"1352218324","filename":"file0"},{"photo_id":"1352218347","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352218357":["hashtag1","hashtag2"]},{"1352218324":["hashtag1","hashtag2"]},{"1352218347":["hashtag1","hashtag2"]},{"1352218338":["hashtag1","hashtag2"]},{"1352218332":["hashtag1","hashtag2"]},{"1352218379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352218357, 1352218324, 1352218347, 1352218338, 1352218332, 1352218379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61308312416077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:07:32.816664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_36_9352.jpg', '/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_46_10428.jpg', '/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_57_10375.jpg', '/home/pi/Desktop/images/12042025/11/09/image_12042025_11_10_06_9449.jpg', '/home/pi/Desktop/images/12042025/11/10/image_12042025_11_10_17_10467.jpg', '/home/pi/Desktop/images/12042025/11/10/image_12042025_11_10_26_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_36_9352.jpg
/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_46_10428.jpg
/home/pi/Desktop/images/12042025/11/09/image_12042025_11_09_57_10375.jpg
/home/pi/Desktop/images/12042025/11/09/image_12042025_11_10_06_9449.jpg
/home/pi/Desktop/images/12042025/11/10/image_12042025_11_10_17_10467.jpg
/home/pi/Desktop/images/12042025/11/10/image_12042025_11_10_26_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352218680","1352218857","1352218728","1352218898","1352218940","1352218798"],"photo_ids_order":["1352218680","1352218728","1352218798","1352218857","1352218898","1352218940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/222d09b4b4ffc8d4a189bf21ddab50da.jpg","text":"TemporaryFile(/tmp/multipartBody8773798464016718869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459713274,"filename":"image_12042025_11_09_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/903d3a11515d90a4b4984e01b08b45aa.jpg","text":"TemporaryFile(/tmp/multipartBody3662790998321945604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459713274,"filename":"image_12042025_11_10_06_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ca8b4dd904587b8efa5505ffb342dd0.jpg","text":"TemporaryFile(/tmp/multipartBody692581805515296607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459713274,"filename":"image_12042025_11_09_46_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fda25f53787967c2ffe46a9abdb257f.jpg","text":"TemporaryFile(/tmp/multipartBody7695520870156310726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459713274,"filename":"image_12042025_11_10_17_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7c9d8fdd0efc585e3e0f07ca33b6ce7.jpg","text":"TemporaryFile(/tmp/multipartBody842134130713268521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459713274,"filename":"image_12042025_11_10_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cec2e41b049f770f62a1f7cfca72f783.jpg","text":"TemporaryFile(/tmp/multipartBody6230688577706138562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459713274,"filename":"image_12042025_11_09_57_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352218798","file1":"1352218728","file0":"1352218680","file4":"1352218898","file5":"1352218940","file3":"1352218857"},"map_files_photo_id_array":[{"photo_id":"1352218940","filename":"file5"},{"photo_id":"1352218798","filename":"file2"},{"photo_id":"1352218898","filename":"file4"},{"photo_id":"1352218728","filename":"file1"},{"photo_id":"1352218680","filename":"file0"},{"photo_id":"1352218857","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352218680":["hashtag1","hashtag2"]},{"1352218857":["hashtag1","hashtag2"]},{"1352218728":["hashtag1","hashtag2"]},{"1352218898":["hashtag1","hashtag2"]},{"1352218940":["hashtag1","hashtag2"]},{"1352218798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352218680, 1352218857, 1352218728, 1352218898, 1352218940, 1352218798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49773049354553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:08:33.161134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/10/image_12042025_11_10_56_10368.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_16_9344.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_27_10742.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_37_10032.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_57_10435.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_12_06_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/10/image_12042025_11_10_56_10368.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_16_9344.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_27_10742.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_37_10032.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_57_10435.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_12_06_9343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3919072151184082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 14:08:43.105397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/10/image_12042025_11_10_56_10368.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_16_9344.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_27_10742.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_37_10032.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_57_10435.jpg', '/home/pi/Desktop/images/12042025/11/11/image_12042025_11_12_06_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/10/image_12042025_11_10_56_10368.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_16_9344.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_27_10742.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_37_10032.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_11_57_10435.jpg
/home/pi/Desktop/images/12042025/11/11/image_12042025_11_12_06_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352219484","1352219372","1352219324","1352219528","1352219290","1352219428"],"photo_ids_order":["1352219290","1352219324","1352219372","1352219428","1352219484","1352219528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f25b27d68720c740d8b93f5bb81a97b2.jpg","text":"TemporaryFile(/tmp/multipartBody4823951107415574252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459783567,"filename":"image_12042025_11_11_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b870b017184f7f541a7203c3d81bb7ab.jpg","text":"TemporaryFile(/tmp/multipartBody2986798161120807554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459783567,"filename":"image_12042025_11_11_27_10742.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/875113b82d96eda9f821ab0ebbdee828.jpg","text":"TemporaryFile(/tmp/multipartBody6551943629539626733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459783567,"filename":"image_12042025_11_11_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c1c5a3d6957ebe059e96d160cb2d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2978798270048018384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459783567,"filename":"image_12042025_11_12_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2abea4f1fb065f90a013a3c7750614d3.jpg","text":"TemporaryFile(/tmp/multipartBody7223540553424981235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459783567,"filename":"image_12042025_11_10_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8e14565e16d75da113468f5fb6c3501.jpg","text":"TemporaryFile(/tmp/multipartBody3259404225365715371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459783567,"filename":"image_12042025_11_11_37_10032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352219372","file1":"1352219324","file0":"1352219290","file4":"1352219484","file5":"1352219528","file3":"1352219428"},"map_files_photo_id_array":[{"photo_id":"1352219528","filename":"file5"},{"photo_id":"1352219372","filename":"file2"},{"photo_id":"1352219484","filename":"file4"},{"photo_id":"1352219324","filename":"file1"},{"photo_id":"1352219290","filename":"file0"},{"photo_id":"1352219428","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352219484":["hashtag1","hashtag2"]},{"1352219372":["hashtag1","hashtag2"]},{"1352219324":["hashtag1","hashtag2"]},{"1352219528":["hashtag1","hashtag2"]},{"1352219290":["hashtag1","hashtag2"]},{"1352219428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352219484, 1352219372, 1352219324, 1352219528, 1352219290, 1352219428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87768578529358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:09:32.227624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/12/image_12042025_11_12_36_9336.jpg', '/home/pi/Desktop/images/12042025/11/12/image_12042025_11_12_47_10447.jpg', '/home/pi/Desktop/images/12042025/11/12/image_12042025_11_12_56_9353.jpg', '/home/pi/Desktop/images/12042025/11/12/image_12042025_11_13_06_10472.jpg', '/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_17_10348.jpg', '/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_26_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/12/image_12042025_11_12_36_9336.jpg
/home/pi/Desktop/images/12042025/11/12/image_12042025_11_12_47_10447.jpg
/home/pi/Desktop/images/12042025/11/12/image_12042025_11_12_56_9353.jpg
/home/pi/Desktop/images/12042025/11/12/image_12042025_11_13_06_10472.jpg
/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_17_10348.jpg
/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_26_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352219694","1352219736","1352219817","1352219885","1352219768","1352219843"],"photo_ids_order":["1352219694","1352219736","1352219768","1352219817","1352219843","1352219885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5aa0016a93666ada6e60e8ce88febfbd.jpg","text":"TemporaryFile(/tmp/multipartBody6763232902660904615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459832685,"filename":"image_12042025_11_12_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00b0fb3fa9c0a5ff7b3a2b3e0a2a8d64.jpg","text":"TemporaryFile(/tmp/multipartBody3846427729833274025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459832685,"filename":"image_12042025_11_12_47_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b51faa0b298a2ae3e8ff7154bb669871.jpg","text":"TemporaryFile(/tmp/multipartBody954445685118553942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459832685,"filename":"image_12042025_11_13_06_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27f43c1d9e0fd7702dd20a00738d4735.jpg","text":"TemporaryFile(/tmp/multipartBody6162915702779385275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459832685,"filename":"image_12042025_11_13_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0efa54acae4e1ad80d3b9b90c39ef5b.jpg","text":"TemporaryFile(/tmp/multipartBody2666646979543818134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459832685,"filename":"image_12042025_11_12_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b19c516bb77505e6e902af89d66d6d50.jpg","text":"TemporaryFile(/tmp/multipartBody5803344976910668586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459832685,"filename":"image_12042025_11_13_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352219768","file1":"1352219736","file0":"1352219694","file4":"1352219843","file5":"1352219885","file3":"1352219817"},"map_files_photo_id_array":[{"photo_id":"1352219885","filename":"file5"},{"photo_id":"1352219768","filename":"file2"},{"photo_id":"1352219843","filename":"file4"},{"photo_id":"1352219736","filename":"file1"},{"photo_id":"1352219694","filename":"file0"},{"photo_id":"1352219817","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352219694":["hashtag1","hashtag2"]},{"1352219736":["hashtag1","hashtag2"]},{"1352219817":["hashtag1","hashtag2"]},{"1352219885":["hashtag1","hashtag2"]},{"1352219768":["hashtag1","hashtag2"]},{"1352219843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352219694, 1352219736, 1352219817, 1352219885, 1352219768, 1352219843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27704405784607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:10:32.570198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_37_10476.jpg', '/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_46_9354.jpg', '/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_56_10485.jpg', '/home/pi/Desktop/images/12042025/11/13/image_12042025_11_14_07_10352.jpg', '/home/pi/Desktop/images/12042025/11/14/image_12042025_11_14_16_9348.jpg', '/home/pi/Desktop/images/12042025/11/14/image_12042025_11_14_26_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_37_10476.jpg
/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_46_9354.jpg
/home/pi/Desktop/images/12042025/11/13/image_12042025_11_13_56_10485.jpg
/home/pi/Desktop/images/12042025/11/13/image_12042025_11_14_07_10352.jpg
/home/pi/Desktop/images/12042025/11/14/image_12042025_11_14_16_9348.jpg
/home/pi/Desktop/images/12042025/11/14/image_12042025_11_14_26_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352220561","1352220246","1352220306","1352220527","1352220449","1352220382"],"photo_ids_order":["1352220246","1352220306","1352220382","1352220449","1352220527","1352220561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6cc09a7b08b6599ed26723ba6594cf26.jpg","text":"TemporaryFile(/tmp/multipartBody2345354875886309683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459893040,"filename":"image_12042025_11_14_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df11244f7056557baf157c8501e8e88e.jpg","text":"TemporaryFile(/tmp/multipartBody6780000570894848603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459893040,"filename":"image_12042025_11_13_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9177d6cfa56b73628cf2488ce356d4b.jpg","text":"TemporaryFile(/tmp/multipartBody2106270474580328164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459893040,"filename":"image_12042025_11_13_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2cd93ec52058302ec92139c1f67a472a.jpg","text":"TemporaryFile(/tmp/multipartBody2015415142473642794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459893040,"filename":"image_12042025_11_14_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c85ebfc43e2d4babd38c95a5ff81bfa7.jpg","text":"TemporaryFile(/tmp/multipartBody7296047048196056008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459893040,"filename":"image_12042025_11_14_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba67d7f653c5859c7e784608ae14b9b2.jpg","text":"TemporaryFile(/tmp/multipartBody7852140795674125233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459893040,"filename":"image_12042025_11_13_56_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352220382","file1":"1352220306","file0":"1352220246","file4":"1352220527","file5":"1352220561","file3":"1352220449"},"map_files_photo_id_array":[{"photo_id":"1352220561","filename":"file5"},{"photo_id":"1352220382","filename":"file2"},{"photo_id":"1352220527","filename":"file4"},{"photo_id":"1352220306","filename":"file1"},{"photo_id":"1352220246","filename":"file0"},{"photo_id":"1352220449","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352220561":["hashtag1","hashtag2"]},{"1352220246":["hashtag1","hashtag2"]},{"1352220306":["hashtag1","hashtag2"]},{"1352220527":["hashtag1","hashtag2"]},{"1352220449":["hashtag1","hashtag2"]},{"1352220382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352220561, 1352220246, 1352220306, 1352220527, 1352220449, 1352220382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62213754653931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:11:32.770678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/14/image_12042025_11_14_36_9428.jpg', '/home/pi/Desktop/images/12042025/11/14/image_12042025_11_14_46_10440.jpg', '/home/pi/Desktop/images/12042025/11/14/image_12042025_11_15_06_9353.jpg', '/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_16_10402.jpg', '/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_26_9374.jpg', '/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/14/image_12042025_11_14_36_9428.jpg
/home/pi/Desktop/images/12042025/11/14/image_12042025_11_14_46_10440.jpg
/home/pi/Desktop/images/12042025/11/14/image_12042025_11_15_06_9353.jpg
/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_16_10402.jpg
/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_26_9374.jpg
/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_36_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221039","1352221000","1352220897","1352220978","1352220977","1352221021"],"photo_ids_order":["1352220897","1352220977","1352220978","1352221000","1352221021","1352221039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/940380c4677636b2dadcdf186d946ee0.jpg","text":"TemporaryFile(/tmp/multipartBody8117854782178346030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459953229,"filename":"image_12042025_11_15_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c68bf001e937e7a7480950fac124d2e5.jpg","text":"TemporaryFile(/tmp/multipartBody3269881353496420715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459953229,"filename":"image_12042025_11_15_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db06c4d31908604e9ef2f916db9dfbf1.jpg","text":"TemporaryFile(/tmp/multipartBody8683160679763317942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459953229,"filename":"image_12042025_11_14_36_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1fa2daf2a7506c449f11cce2cf4d5789.jpg","text":"TemporaryFile(/tmp/multipartBody2850263523807100578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459953229,"filename":"image_12042025_11_15_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b8fa118494bf44778310c5436dea8af.jpg","text":"TemporaryFile(/tmp/multipartBody9222984608270842522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459953229,"filename":"image_12042025_11_14_46_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7821a568d487f58c39772a8be28afba0.jpg","text":"TemporaryFile(/tmp/multipartBody4258957557366824239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744459953229,"filename":"image_12042025_11_15_26_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352220978","file1":"1352220977","file0":"1352220897","file4":"1352221021","file5":"1352221039","file3":"1352221000"},"map_files_photo_id_array":[{"photo_id":"1352221039","filename":"file5"},{"photo_id":"1352220978","filename":"file2"},{"photo_id":"1352221021","filename":"file4"},{"photo_id":"1352220977","filename":"file1"},{"photo_id":"1352220897","filename":"file0"},{"photo_id":"1352221000","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352221039":["hashtag1","hashtag2"]},{"1352221000":["hashtag1","hashtag2"]},{"1352220897":["hashtag1","hashtag2"]},{"1352220978":["hashtag1","hashtag2"]},{"1352220977":["hashtag1","hashtag2"]},{"1352221021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352221039, 1352221000, 1352220897, 1352220978, 1352220977, 1352221021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66605591773987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:12:33.192300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_47_10362.jpg', '/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_56_9363.jpg', '/home/pi/Desktop/images/12042025/11/15/image_12042025_11_16_06_10404.jpg', '/home/pi/Desktop/images/12042025/11/16/image_12042025_11_16_17_10346.jpg', '/home/pi/Desktop/images/12042025/11/16/image_12042025_11_16_26_9364.jpg', '/home/pi/Desktop/images/12042025/11/16/image_12042025_11_16_36_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_47_10362.jpg
/home/pi/Desktop/images/12042025/11/15/image_12042025_11_15_56_9363.jpg
/home/pi/Desktop/images/12042025/11/15/image_12042025_11_16_06_10404.jpg
/home/pi/Desktop/images/12042025/11/16/image_12042025_11_16_17_10346.jpg
/home/pi/Desktop/images/12042025/11/16/image_12042025_11_16_26_9364.jpg
/home/pi/Desktop/images/12042025/11/16/image_12042025_11_16_36_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352221236","1352221317","1352221410","1352221364","1352221274","1352221294"],"photo_ids_order":["1352221236","1352221274","1352221294","1352221317","1352221364","1352221410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/456ca08ee5e1dcc025a32bd5040e8d47.jpg","text":"TemporaryFile(/tmp/multipartBody8228659981947242906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460013702,"filename":"image_12042025_11_15_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af65485180bdf7585b01238a22a3e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody5688139135018014924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460013702,"filename":"image_12042025_11_16_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e35d29093a515f125d28f79add9896f8.jpg","text":"TemporaryFile(/tmp/multipartBody7189205047151943574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460013702,"filename":"image_12042025_11_16_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45efb654c32eccf7170f2f5fb297596b.jpg","text":"TemporaryFile(/tmp/multipartBody7062932325083052064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460013702,"filename":"image_12042025_11_16_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d1adf29fdd699ea291711d27d2846da.jpg","text":"TemporaryFile(/tmp/multipartBody9075682016862823044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460013702,"filename":"image_12042025_11_15_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39278245c7e1e945d8d96fae2ec4b6b2.jpg","text":"TemporaryFile(/tmp/multipartBody9158262504446519519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460013702,"filename":"image_12042025_11_16_06_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221294","file1":"1352221274","file0":"1352221236","file4":"1352221364","file5":"1352221410","file3":"1352221317"},"map_files_photo_id_array":[{"photo_id":"1352221410","filename":"file5"},{"photo_id":"1352221294","filename":"file2"},{"photo_id":"1352221364","filename":"file4"},{"photo_id":"1352221274","filename":"file1"},{"photo_id":"1352221236","filename":"file0"},{"photo_id":"1352221317","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352221236":["hashtag1","hashtag2"]},{"1352221317":["hashtag1","hashtag2"]},{"1352221410":["hashtag1","hashtag2"]},{"1352221364":["hashtag1","hashtag2"]},{"1352221274":["hashtag1","hashtag2"]},{"1352221294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352221236, 1352221317, 1352221410, 1352221364, 1352221274, 1352221294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.082777976989746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:13:32.311333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/16/image_12042025_11_16_46_9368.jpg', '/home/pi/Desktop/images/12042025/11/16/image_12042025_11_17_07_10426.jpg', '/home/pi/Desktop/images/12042025/11/17/image_12042025_11_17_16_9347.jpg', '/home/pi/Desktop/images/12042025/11/17/image_12042025_11_17_26_10422.jpg', '/home/pi/Desktop/images/12042025/11/17/image_12042025_11_17_37_10361.jpg', '/home/pi/Desktop/images/12042025/11/17/image_12042025_11_17_46_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/16/image_12042025_11_16_46_9368.jpg
/home/pi/Desktop/images/12042025/11/16/image_12042025_11_17_07_10426.jpg
/home/pi/Desktop/images/12042025/11/17/image_12042025_11_17_16_9347.jpg
/home/pi/Desktop/images/12042025/11/17/image_12042025_11_17_26_10422.jpg
/home/pi/Desktop/images/12042025/11/17/image_12042025_11_17_37_10361.jpg
/home/pi/Desktop/images/12042025/11/17/image_12042025_11_17_46_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352222007","1352221932","1352221809","1352221889","1352221976","1352221960"],"photo_ids_order":["1352221809","1352221889","1352221932","1352221960","1352221976","1352222007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3bf65e3c75a80eca4c8922791daa24e.jpg","text":"TemporaryFile(/tmp/multipartBody3320701243755971605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460072783,"filename":"image_12042025_11_17_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3db8b7f537b0e729a314cf801f6c6abf.jpg","text":"TemporaryFile(/tmp/multipartBody7963368639382593439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460072783,"filename":"image_12042025_11_17_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2e41b985ad9abe2ad8658a3922215a7.jpg","text":"TemporaryFile(/tmp/multipartBody5066321238354750601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460072783,"filename":"image_12042025_11_16_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b9389e9c30e186dcfacb7bef3d565ac.jpg","text":"TemporaryFile(/tmp/multipartBody5693398364635569359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460072783,"filename":"image_12042025_11_17_07_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b6a3a97487f27f05dcb236342b24423.jpg","text":"TemporaryFile(/tmp/multipartBody1330073007551145036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460072783,"filename":"image_12042025_11_17_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c5e340425145dc6fa482ed778a1c95b.jpg","text":"TemporaryFile(/tmp/multipartBody4576185828021518993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460072783,"filename":"image_12042025_11_17_26_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352221932","file1":"1352221889","file0":"1352221809","file4":"1352221976","file5":"1352222007","file3":"1352221960"},"map_files_photo_id_array":[{"photo_id":"1352222007","filename":"file5"},{"photo_id":"1352221932","filename":"file2"},{"photo_id":"1352221976","filename":"file4"},{"photo_id":"1352221889","filename":"file1"},{"photo_id":"1352221809","filename":"file0"},{"photo_id":"1352221960","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352222007":["hashtag1","hashtag2"]},{"1352221932":["hashtag1","hashtag2"]},{"1352221809":["hashtag1","hashtag2"]},{"1352221889":["hashtag1","hashtag2"]},{"1352221976":["hashtag1","hashtag2"]},{"1352221960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352222007, 1352221932, 1352221809, 1352221889, 1352221976, 1352221960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.2994339466095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:14:32.590428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_16_10407.jpg', '/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_27_10390.jpg', '/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_36_9362.jpg', '/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_47_10451.jpg', '/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_56_9352.jpg', '/home/pi/Desktop/images/12042025/11/18/image_12042025_11_19_06_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_16_10407.jpg
/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_27_10390.jpg
/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_36_9362.jpg
/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_47_10451.jpg
/home/pi/Desktop/images/12042025/11/18/image_12042025_11_18_56_9352.jpg
/home/pi/Desktop/images/12042025/11/18/image_12042025_11_19_06_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352222559","1352222387","1352222447","1352222188","1352222155","1352222242"],"photo_ids_order":["1352222155","1352222188","1352222242","1352222387","1352222447","1352222559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0f90af493d2367fad47119e181c1d3f.jpg","text":"TemporaryFile(/tmp/multipartBody3412808240988881308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460133058,"filename":"image_12042025_11_19_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7ce111e306ce247f62d4e30bbf575ea.jpg","text":"TemporaryFile(/tmp/multipartBody2959275327966751193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460133058,"filename":"image_12042025_11_18_47_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d594de9ae6337361ec54ab9a01ed83d.jpg","text":"TemporaryFile(/tmp/multipartBody7198532887184517667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460133058,"filename":"image_12042025_11_18_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75c1a5a4ab7675311fba5a47e5a21037.jpg","text":"TemporaryFile(/tmp/multipartBody1119447221815135285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460133058,"filename":"image_12042025_11_18_27_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31a0dbb3587e87601ded59b20429fb04.jpg","text":"TemporaryFile(/tmp/multipartBody8363090682986714642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460133058,"filename":"image_12042025_11_18_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3818d1fd083e525fe2c000b9151bef52.jpg","text":"TemporaryFile(/tmp/multipartBody4002443939383281814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460133058,"filename":"image_12042025_11_18_36_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352222242","file1":"1352222188","file0":"1352222155","file4":"1352222447","file5":"1352222559","file3":"1352222387"},"map_files_photo_id_array":[{"photo_id":"1352222559","filename":"file5"},{"photo_id":"1352222242","filename":"file2"},{"photo_id":"1352222447","filename":"file4"},{"photo_id":"1352222188","filename":"file1"},{"photo_id":"1352222155","filename":"file0"},{"photo_id":"1352222387","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352222559":["hashtag1","hashtag2"]},{"1352222387":["hashtag1","hashtag2"]},{"1352222447":["hashtag1","hashtag2"]},{"1352222188":["hashtag1","hashtag2"]},{"1352222155":["hashtag1","hashtag2"]},{"1352222242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352222559, 1352222387, 1352222447, 1352222188, 1352222155, 1352222242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.3469672203064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:15:32.737202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_17_10375.jpg', '/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_26_9385.jpg', '/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_37_10483.jpg', '/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_46_9366.jpg', '/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_56_10496.jpg', '/home/pi/Desktop/images/12042025/11/19/image_12042025_11_20_07_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_17_10375.jpg
/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_26_9385.jpg
/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_37_10483.jpg
/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_46_9366.jpg
/home/pi/Desktop/images/12042025/11/19/image_12042025_11_19_56_10496.jpg
/home/pi/Desktop/images/12042025/11/19/image_12042025_11_20_07_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352222727","1352222774","1352222747","1352222801","1352222830","1352222710"],"photo_ids_order":["1352222710","1352222727","1352222747","1352222774","1352222801","1352222830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/660456faaaf25d441d086a0dc545598c.jpg","text":"TemporaryFile(/tmp/multipartBody5686133620990288770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460193258,"filename":"image_12042025_11_19_26_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25b26c1f57fe5d169ba1c3a97ccc717b.jpg","text":"TemporaryFile(/tmp/multipartBody3022041055223419988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460193258,"filename":"image_12042025_11_19_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b4a37861b93c9138b87ba8f5bc393eb.jpg","text":"TemporaryFile(/tmp/multipartBody8957687866792564557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460193258,"filename":"image_12042025_11_19_37_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84fe2465d64aac272eae245bcea818fe.jpg","text":"TemporaryFile(/tmp/multipartBody8778636702312781952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460193258,"filename":"image_12042025_11_19_56_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f18f0924e67bbb3b24668ae7739dd83.jpg","text":"TemporaryFile(/tmp/multipartBody2940884773063678198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460193258,"filename":"image_12042025_11_20_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a214a8194b0340c339391d64ad0337b9.jpg","text":"TemporaryFile(/tmp/multipartBody7951509490299688474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460193258,"filename":"image_12042025_11_19_17_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352222747","file1":"1352222727","file0":"1352222710","file4":"1352222801","file5":"1352222830","file3":"1352222774"},"map_files_photo_id_array":[{"photo_id":"1352222830","filename":"file5"},{"photo_id":"1352222747","filename":"file2"},{"photo_id":"1352222801","filename":"file4"},{"photo_id":"1352222727","filename":"file1"},{"photo_id":"1352222710","filename":"file0"},{"photo_id":"1352222774","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352222727":["hashtag1","hashtag2"]},{"1352222774":["hashtag1","hashtag2"]},{"1352222747":["hashtag1","hashtag2"]},{"1352222801":["hashtag1","hashtag2"]},{"1352222830":["hashtag1","hashtag2"]},{"1352222710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352222727, 1352222774, 1352222747, 1352222801, 1352222830, 1352222710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03663444519043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:16:33.063779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_16_9356.jpg', '/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_27_10464.jpg', '/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_36_9344.jpg', '/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_46_10441.jpg', '/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_56_9456.jpg', '/home/pi/Desktop/images/12042025/11/20/image_12042025_11_21_06_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_16_9356.jpg
/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_27_10464.jpg
/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_36_9344.jpg
/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_46_10441.jpg
/home/pi/Desktop/images/12042025/11/20/image_12042025_11_20_56_9456.jpg
/home/pi/Desktop/images/12042025/11/20/image_12042025_11_21_06_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352223161","1352223215","1352223178","1352223273","1352223252","1352223132"],"photo_ids_order":["1352223132","1352223161","1352223178","1352223215","1352223252","1352223273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fddceac4d75e5b99727998512f15f02b.jpg","text":"TemporaryFile(/tmp/multipartBody4863022630634960425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460253523,"filename":"image_12042025_11_20_27_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e60b0364b429ae8663da3d54649adac.jpg","text":"TemporaryFile(/tmp/multipartBody2920867524032487933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460253523,"filename":"image_12042025_11_20_46_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08cf1c58a2641f25c242256180b2acfc.jpg","text":"TemporaryFile(/tmp/multipartBody495926604261445420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460253523,"filename":"image_12042025_11_20_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3de547e9b88b9c493b35f91482e0b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody68969767586330388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460253523,"filename":"image_12042025_11_21_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d94feeb7b35613f167569a4e70a7c2d4.jpg","text":"TemporaryFile(/tmp/multipartBody8003516081234246106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460253523,"filename":"image_12042025_11_20_56_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f718c1d157cb5388f7c95914700424a.jpg","text":"TemporaryFile(/tmp/multipartBody7253944970553996894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460253523,"filename":"image_12042025_11_20_16_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352223178","file1":"1352223161","file0":"1352223132","file4":"1352223252","file5":"1352223273","file3":"1352223215"},"map_files_photo_id_array":[{"photo_id":"1352223273","filename":"file5"},{"photo_id":"1352223178","filename":"file2"},{"photo_id":"1352223252","filename":"file4"},{"photo_id":"1352223161","filename":"file1"},{"photo_id":"1352223132","filename":"file0"},{"photo_id":"1352223215","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352223161":["hashtag1","hashtag2"]},{"1352223215":["hashtag1","hashtag2"]},{"1352223178":["hashtag1","hashtag2"]},{"1352223273":["hashtag1","hashtag2"]},{"1352223252":["hashtag1","hashtag2"]},{"1352223132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352223161, 1352223215, 1352223178, 1352223273, 1352223252, 1352223132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.827707052230835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:17:32.173066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_17_10359.jpg', '/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_26_9364.jpg', '/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_36_10415.jpg', '/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_46_9464.jpg', '/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_56_10389.jpg', '/home/pi/Desktop/images/12042025/11/21/image_12042025_11_22_07_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_17_10359.jpg
/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_26_9364.jpg
/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_36_10415.jpg
/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_46_9464.jpg
/home/pi/Desktop/images/12042025/11/21/image_12042025_11_21_56_10389.jpg
/home/pi/Desktop/images/12042025/11/21/image_12042025_11_22_07_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352223606","1352223550","1352223498","1352223579","1352223648","1352223531"],"photo_ids_order":["1352223498","1352223531","1352223550","1352223579","1352223606","1352223648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4879da546772e1b513701df16b38b997.jpg","text":"TemporaryFile(/tmp/multipartBody7243372285823212192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460312627,"filename":"image_12042025_11_21_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b6861ec24c190eb486b1798117b7660.jpg","text":"TemporaryFile(/tmp/multipartBody7287908032512219614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460312627,"filename":"image_12042025_11_21_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ac67e7cb996a91383c237d341c285a2.jpg","text":"TemporaryFile(/tmp/multipartBody8514778783876890963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460312627,"filename":"image_12042025_11_21_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70c44ecf17bd0f88ebf2b0dc6803dec3.jpg","text":"TemporaryFile(/tmp/multipartBody2401744974374727429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460312627,"filename":"image_12042025_11_21_46_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94853f422b6a13f730e3ce41b4159bce.jpg","text":"TemporaryFile(/tmp/multipartBody3742586935050813454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460312627,"filename":"image_12042025_11_22_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54ccf2b6772ac8bb6ef60cb9bd4a23b5.jpg","text":"TemporaryFile(/tmp/multipartBody8980944323781616444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460312627,"filename":"image_12042025_11_21_26_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352223550","file1":"1352223531","file0":"1352223498","file4":"1352223606","file5":"1352223648","file3":"1352223579"},"map_files_photo_id_array":[{"photo_id":"1352223648","filename":"file5"},{"photo_id":"1352223550","filename":"file2"},{"photo_id":"1352223606","filename":"file4"},{"photo_id":"1352223531","filename":"file1"},{"photo_id":"1352223498","filename":"file0"},{"photo_id":"1352223579","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352223606":["hashtag1","hashtag2"]},{"1352223550":["hashtag1","hashtag2"]},{"1352223498":["hashtag1","hashtag2"]},{"1352223579":["hashtag1","hashtag2"]},{"1352223648":["hashtag1","hashtag2"]},{"1352223531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352223606, 1352223550, 1352223498, 1352223579, 1352223648, 1352223531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.098244428634644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:18:32.456415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_16_9389.jpg', '/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_26_10445.jpg', '/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_36_9350.jpg', '/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_46_10366.jpg', '/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_57_10355.jpg', '/home/pi/Desktop/images/12042025/11/22/image_12042025_11_23_06_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_16_9389.jpg
/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_26_10445.jpg
/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_36_9350.jpg
/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_46_10366.jpg
/home/pi/Desktop/images/12042025/11/22/image_12042025_11_22_57_10355.jpg
/home/pi/Desktop/images/12042025/11/22/image_12042025_11_23_06_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352223995","1352224007","1352223976","1352223883","1352223931","1352223921"],"photo_ids_order":["1352223883","1352223921","1352223931","1352223976","1352223995","1352224007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b877203ea3d6b930b2187f5d77299ffc.jpg","text":"TemporaryFile(/tmp/multipartBody9015227263044537920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460372923,"filename":"image_12042025_11_22_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1c53619e60ed329276ed65df05e8e89.jpg","text":"TemporaryFile(/tmp/multipartBody8793722610011521992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460372923,"filename":"image_12042025_11_23_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7cba207745bf30ee79b1b93a298e797.jpg","text":"TemporaryFile(/tmp/multipartBody88171401723012132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460372923,"filename":"image_12042025_11_22_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e4632abb03d08dcbf311a163cd8ccda.jpg","text":"TemporaryFile(/tmp/multipartBody8765547781468295580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460372923,"filename":"image_12042025_11_22_16_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ee9b10fd813d8b68436473fe88157d2.jpg","text":"TemporaryFile(/tmp/multipartBody8908789696349519166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460372923,"filename":"image_12042025_11_22_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/103c65ad66d5c6de3abca20049dbc0b0.jpg","text":"TemporaryFile(/tmp/multipartBody360216643524995228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460372923,"filename":"image_12042025_11_22_26_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352223931","file1":"1352223921","file0":"1352223883","file4":"1352223995","file5":"1352224007","file3":"1352223976"},"map_files_photo_id_array":[{"photo_id":"1352224007","filename":"file5"},{"photo_id":"1352223931","filename":"file2"},{"photo_id":"1352223995","filename":"file4"},{"photo_id":"1352223921","filename":"file1"},{"photo_id":"1352223883","filename":"file0"},{"photo_id":"1352223976","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352223995":["hashtag1","hashtag2"]},{"1352224007":["hashtag1","hashtag2"]},{"1352223976":["hashtag1","hashtag2"]},{"1352223883":["hashtag1","hashtag2"]},{"1352223931":["hashtag1","hashtag2"]},{"1352223921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352223995, 1352224007, 1352223976, 1352223883, 1352223931, 1352223921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.64428997039795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:19:32.928836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_16_10349.jpg', '/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_27_10368.jpg', '/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_36_9343.jpg', '/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_46_10455.jpg', '/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_57_10378.jpg', '/home/pi/Desktop/images/12042025/11/23/image_12042025_11_24_06_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_16_10349.jpg
/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_27_10368.jpg
/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_36_9343.jpg
/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_46_10455.jpg
/home/pi/Desktop/images/12042025/11/23/image_12042025_11_23_57_10378.jpg
/home/pi/Desktop/images/12042025/11/23/image_12042025_11_24_06_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352224262","1352224426","1352224356","1352224320","1352224289","1352224496"],"photo_ids_order":["1352224262","1352224289","1352224320","1352224356","1352224426","1352224496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/268cb87daf03f88e64d30c6377afb0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2786023409983954166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460433518,"filename":"image_12042025_11_23_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d77e7732be22aa3fb3f2762ac22dce9e.jpg","text":"TemporaryFile(/tmp/multipartBody567608368223942333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460433518,"filename":"image_12042025_11_23_57_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a337febbfaa56f40c23e1a5653a456f8.jpg","text":"TemporaryFile(/tmp/multipartBody6921406888485666509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460433518,"filename":"image_12042025_11_23_46_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdfe4d58a38d91e8f6fe6ed382f6ee9d.jpg","text":"TemporaryFile(/tmp/multipartBody1262294062318321835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460433518,"filename":"image_12042025_11_23_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12e020342a329dba5156d92bd939128d.jpg","text":"TemporaryFile(/tmp/multipartBody1449861692571129915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460433518,"filename":"image_12042025_11_23_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e77c6c3728b0e8b9cad272f0c5bce50.jpg","text":"TemporaryFile(/tmp/multipartBody1533627842078562397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460433518,"filename":"image_12042025_11_24_06_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352224320","file1":"1352224289","file0":"1352224262","file4":"1352224426","file5":"1352224496","file3":"1352224356"},"map_files_photo_id_array":[{"photo_id":"1352224496","filename":"file5"},{"photo_id":"1352224320","filename":"file2"},{"photo_id":"1352224426","filename":"file4"},{"photo_id":"1352224289","filename":"file1"},{"photo_id":"1352224262","filename":"file0"},{"photo_id":"1352224356","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352224262":["hashtag1","hashtag2"]},{"1352224426":["hashtag1","hashtag2"]},{"1352224356":["hashtag1","hashtag2"]},{"1352224320":["hashtag1","hashtag2"]},{"1352224289":["hashtag1","hashtag2"]},{"1352224496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352224262, 1352224426, 1352224356, 1352224320, 1352224289, 1352224496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.410643100738525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:20:33.148158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_17_10480.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_26_9370.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_36_10403.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_47_10370.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_56_9353.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_25_07_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_17_10480.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_26_9370.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_36_10403.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_47_10370.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_56_9353.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_25_07_10435.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4157724380493164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 14:20:43.079889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_17_10480.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_26_9370.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_36_10403.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_47_10370.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_56_9353.jpg', '/home/pi/Desktop/images/12042025/11/24/image_12042025_11_25_07_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_17_10480.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_26_9370.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_36_10403.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_47_10370.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_24_56_9353.jpg
/home/pi/Desktop/images/12042025/11/24/image_12042025_11_25_07_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352224778","1352224817","1352224785","1352224812","1352224799","1352224781"],"photo_ids_order":["1352224778","1352224781","1352224785","1352224799","1352224812","1352224817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58a24e5b2fec3c7af6662f3bc9d5f040.jpg","text":"TemporaryFile(/tmp/multipartBody3693201140158143787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460503956,"filename":"image_12042025_11_24_17_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e00c02e721470d92b3e0a59c211186ee.jpg","text":"TemporaryFile(/tmp/multipartBody3576397473240951481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460503956,"filename":"image_12042025_11_25_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58270a1619a801b70d01781032268c63.jpg","text":"TemporaryFile(/tmp/multipartBody8444275182203837637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460503956,"filename":"image_12042025_11_24_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/18896b46bfb0b02356a12c3a72fdf4d8.jpg","text":"TemporaryFile(/tmp/multipartBody6595405696695776107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460503956,"filename":"image_12042025_11_24_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb9228b33dc3b6238406c91156311e42.jpg","text":"TemporaryFile(/tmp/multipartBody1570031211910880529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460503956,"filename":"image_12042025_11_24_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acdce197855fdd90a7d8d35da93351eb.jpg","text":"TemporaryFile(/tmp/multipartBody8102708538331091144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460503956,"filename":"image_12042025_11_24_26_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352224785","file1":"1352224781","file0":"1352224778","file4":"1352224812","file5":"1352224817","file3":"1352224799"},"map_files_photo_id_array":[{"photo_id":"1352224817","filename":"file5"},{"photo_id":"1352224785","filename":"file2"},{"photo_id":"1352224812","filename":"file4"},{"photo_id":"1352224781","filename":"file1"},{"photo_id":"1352224778","filename":"file0"},{"photo_id":"1352224799","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352224778":["hashtag1","hashtag2"]},{"1352224817":["hashtag1","hashtag2"]},{"1352224785":["hashtag1","hashtag2"]},{"1352224812":["hashtag1","hashtag2"]},{"1352224799":["hashtag1","hashtag2"]},{"1352224781":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352224778, 1352224817, 1352224785, 1352224812, 1352224799, 1352224781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07006502151489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:21:32.302585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_16_9352.jpg', '/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_26_10462.jpg', '/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_37_10398.jpg', '/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_46_9362.jpg', '/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_57_10475.jpg', '/home/pi/Desktop/images/12042025/11/25/image_12042025_11_26_06_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_16_9352.jpg
/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_26_10462.jpg
/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_37_10398.jpg
/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_46_9362.jpg
/home/pi/Desktop/images/12042025/11/25/image_12042025_11_25_57_10475.jpg
/home/pi/Desktop/images/12042025/11/25/image_12042025_11_26_06_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352224841","1352224835","1352224844","1352224832","1352224852","1352224839"],"photo_ids_order":["1352224832","1352224835","1352224839","1352224841","1352224844","1352224852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25b47770f333b05585f65711d662c871.jpg","text":"TemporaryFile(/tmp/multipartBody74653411506406172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460552765,"filename":"image_12042025_11_25_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24443790a94f6f209eed1028fb33e176.jpg","text":"TemporaryFile(/tmp/multipartBody6183252940562221920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460552765,"filename":"image_12042025_11_25_26_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f791961493819fd354bd6441dec23e3.jpg","text":"TemporaryFile(/tmp/multipartBody5083840861559799954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460552765,"filename":"image_12042025_11_25_57_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/689b9750e4597875f3e1e6f307ce4c07.jpg","text":"TemporaryFile(/tmp/multipartBody7001313430106200744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460552765,"filename":"image_12042025_11_25_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/088e5431e040b059b63a6a8d33e1f2c5.jpg","text":"TemporaryFile(/tmp/multipartBody7281131891488560117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460552765,"filename":"image_12042025_11_26_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72a100a72a238acae53a6093efd6515c.jpg","text":"TemporaryFile(/tmp/multipartBody4098880043054745986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460552765,"filename":"image_12042025_11_25_37_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352224839","file1":"1352224835","file0":"1352224832","file4":"1352224844","file5":"1352224852","file3":"1352224841"},"map_files_photo_id_array":[{"photo_id":"1352224852","filename":"file5"},{"photo_id":"1352224839","filename":"file2"},{"photo_id":"1352224844","filename":"file4"},{"photo_id":"1352224835","filename":"file1"},{"photo_id":"1352224832","filename":"file0"},{"photo_id":"1352224841","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352224841":["hashtag1","hashtag2"]},{"1352224835":["hashtag1","hashtag2"]},{"1352224844":["hashtag1","hashtag2"]},{"1352224832":["hashtag1","hashtag2"]},{"1352224852":["hashtag1","hashtag2"]},{"1352224839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352224841, 1352224835, 1352224844, 1352224832, 1352224852, 1352224839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.227506160736084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:22:32.586928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/26/image_12042025_11_26_16_10401.jpg', '/home/pi/Desktop/images/12042025/11/26/image_12042025_11_26_27_10356.jpg', '/home/pi/Desktop/images/12042025/11/26/image_12042025_11_26_36_9353.jpg', '/home/pi/Desktop/images/12042025/11/26/image_12042025_11_26_56_9352.jpg', '/home/pi/Desktop/images/12042025/11/26/image_12042025_11_27_06_10351.jpg', '/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_17_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/26/image_12042025_11_26_16_10401.jpg
/home/pi/Desktop/images/12042025/11/26/image_12042025_11_26_27_10356.jpg
/home/pi/Desktop/images/12042025/11/26/image_12042025_11_26_36_9353.jpg
/home/pi/Desktop/images/12042025/11/26/image_12042025_11_26_56_9352.jpg
/home/pi/Desktop/images/12042025/11/26/image_12042025_11_27_06_10351.jpg
/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_17_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352224897","1352224890","1352224893","1352224881","1352224875","1352224878"],"photo_ids_order":["1352224875","1352224878","1352224881","1352224890","1352224893","1352224897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c84238203c65b2d974c57bf2134e12f.jpg","text":"TemporaryFile(/tmp/multipartBody4832422003430747625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460613057,"filename":"image_12042025_11_27_17_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/deba57cfefe2b770d4e77ca39be633f3.jpg","text":"TemporaryFile(/tmp/multipartBody3211217043396968266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460613057,"filename":"image_12042025_11_26_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/748b81924f287ec2199e86ba210da611.jpg","text":"TemporaryFile(/tmp/multipartBody8863034878583296523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460613057,"filename":"image_12042025_11_27_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/505a6d13b2e900bb4e6f9932eaf546e2.jpg","text":"TemporaryFile(/tmp/multipartBody1178383796763765962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460613057,"filename":"image_12042025_11_26_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8bd2c576cadddd8c573e9a5e864681e.jpg","text":"TemporaryFile(/tmp/multipartBody1493428816759101835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460613057,"filename":"image_12042025_11_26_16_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/304c4431763e2b496aff9db2b2cee6a8.jpg","text":"TemporaryFile(/tmp/multipartBody3561510860638562200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460613057,"filename":"image_12042025_11_26_27_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352224881","file1":"1352224878","file0":"1352224875","file4":"1352224893","file5":"1352224897","file3":"1352224890"},"map_files_photo_id_array":[{"photo_id":"1352224897","filename":"file5"},{"photo_id":"1352224881","filename":"file2"},{"photo_id":"1352224893","filename":"file4"},{"photo_id":"1352224878","filename":"file1"},{"photo_id":"1352224875","filename":"file0"},{"photo_id":"1352224890","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352224897":["hashtag1","hashtag2"]},{"1352224890":["hashtag1","hashtag2"]},{"1352224893":["hashtag1","hashtag2"]},{"1352224881":["hashtag1","hashtag2"]},{"1352224875":["hashtag1","hashtag2"]},{"1352224878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352224897, 1352224890, 1352224893, 1352224881, 1352224875, 1352224878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3493812084198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:23:32.977576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_26_9368.jpg', '/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_36_10440.jpg', '/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_47_10362.jpg', '/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_56_9458.jpg', '/home/pi/Desktop/images/12042025/11/27/image_12042025_11_28_07_10448.jpg', '/home/pi/Desktop/images/12042025/11/28/image_12042025_11_28_16_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_26_9368.jpg
/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_36_10440.jpg
/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_47_10362.jpg
/home/pi/Desktop/images/12042025/11/27/image_12042025_11_27_56_9458.jpg
/home/pi/Desktop/images/12042025/11/27/image_12042025_11_28_07_10448.jpg
/home/pi/Desktop/images/12042025/11/28/image_12042025_11_28_16_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352224949","1352224963","1352224927","1352224979","1352224967","1352224946"],"photo_ids_order":["1352224927","1352224946","1352224949","1352224963","1352224967","1352224979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6226b343333f3d8ae06f322515737df.jpg","text":"TemporaryFile(/tmp/multipartBody4971509822689241853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460673446,"filename":"image_12042025_11_27_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df36fc6f044c14c028f7d437906b7974.jpg","text":"TemporaryFile(/tmp/multipartBody8013300466512374465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460673446,"filename":"image_12042025_11_27_56_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be308307cd5e4e31d95749a1d9777d77.jpg","text":"TemporaryFile(/tmp/multipartBody3138370568522647858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460673446,"filename":"image_12042025_11_27_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7ec6c047c50afaaf9676aab7217218a.jpg","text":"TemporaryFile(/tmp/multipartBody7711843036724824668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460673446,"filename":"image_12042025_11_28_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6ac5a13e09ed6780d422ab4c2b8efe0.jpg","text":"TemporaryFile(/tmp/multipartBody9002248771586369280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460673446,"filename":"image_12042025_11_28_07_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a46600eede0eb5b93df926faef783859.jpg","text":"TemporaryFile(/tmp/multipartBody7644497883027295741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460673446,"filename":"image_12042025_11_27_36_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352224949","file1":"1352224946","file0":"1352224927","file4":"1352224967","file5":"1352224979","file3":"1352224963"},"map_files_photo_id_array":[{"photo_id":"1352224979","filename":"file5"},{"photo_id":"1352224949","filename":"file2"},{"photo_id":"1352224967","filename":"file4"},{"photo_id":"1352224946","filename":"file1"},{"photo_id":"1352224927","filename":"file0"},{"photo_id":"1352224963","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352224949":["hashtag1","hashtag2"]},{"1352224963":["hashtag1","hashtag2"]},{"1352224927":["hashtag1","hashtag2"]},{"1352224979":["hashtag1","hashtag2"]},{"1352224967":["hashtag1","hashtag2"]},{"1352224946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352224949, 1352224963, 1352224927, 1352224979, 1352224967, 1352224946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.97828650474548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:24:33.016181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/28/image_12042025_11_28_26_10484.jpg', '/home/pi/Desktop/images/12042025/11/28/image_12042025_11_28_36_9355.jpg', '/home/pi/Desktop/images/12042025/11/28/image_12042025_11_28_46_10375.jpg', '/home/pi/Desktop/images/12042025/11/28/image_12042025_11_29_06_9458.jpg', '/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_16_10372.jpg', '/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_26_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/28/image_12042025_11_28_26_10484.jpg
/home/pi/Desktop/images/12042025/11/28/image_12042025_11_28_36_9355.jpg
/home/pi/Desktop/images/12042025/11/28/image_12042025_11_28_46_10375.jpg
/home/pi/Desktop/images/12042025/11/28/image_12042025_11_29_06_9458.jpg
/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_16_10372.jpg
/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_26_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225089","1352225080","1352225059","1352225031","1352225028","1352225072"],"photo_ids_order":["1352225028","1352225031","1352225059","1352225072","1352225080","1352225089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61c81e0d3792022ba918887ec6d212ff.jpg","text":"TemporaryFile(/tmp/multipartBody5309006681446690749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460733472,"filename":"image_12042025_11_29_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44df3f28024c0f23a9f72f9508b6c206.jpg","text":"TemporaryFile(/tmp/multipartBody5790436207497313456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460733472,"filename":"image_12042025_11_29_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6b15e74a0b8c993de93604cecaf0d08.jpg","text":"TemporaryFile(/tmp/multipartBody1082979559268394603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460733472,"filename":"image_12042025_11_28_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c639d6c483d33a2be80380386fc27c62.jpg","text":"TemporaryFile(/tmp/multipartBody341593299873437435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460733472,"filename":"image_12042025_11_28_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f66813a565d47295c28afa95e44a9fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1625405633178189534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460733472,"filename":"image_12042025_11_28_26_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/799ae2cfd3484ff242b8cf84d3bd7fe9.jpg","text":"TemporaryFile(/tmp/multipartBody6663479796111866136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460733472,"filename":"image_12042025_11_29_06_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225059","file1":"1352225031","file0":"1352225028","file4":"1352225080","file5":"1352225089","file3":"1352225072"},"map_files_photo_id_array":[{"photo_id":"1352225089","filename":"file5"},{"photo_id":"1352225059","filename":"file2"},{"photo_id":"1352225080","filename":"file4"},{"photo_id":"1352225031","filename":"file1"},{"photo_id":"1352225028","filename":"file0"},{"photo_id":"1352225072","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225089":["hashtag1","hashtag2"]},{"1352225080":["hashtag1","hashtag2"]},{"1352225059":["hashtag1","hashtag2"]},{"1352225031":["hashtag1","hashtag2"]},{"1352225028":["hashtag1","hashtag2"]},{"1352225072":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225089, 1352225080, 1352225059, 1352225031, 1352225028, 1352225072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.035094261169434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:25:32.201846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_36_10380.jpg', '/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_47_10386.jpg', '/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_56_9372.jpg', '/home/pi/Desktop/images/12042025/11/29/image_12042025_11_30_06_10418.jpg', '/home/pi/Desktop/images/12042025/11/30/image_12042025_11_30_17_10360.jpg', '/home/pi/Desktop/images/12042025/11/30/image_12042025_11_30_26_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_36_10380.jpg
/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_47_10386.jpg
/home/pi/Desktop/images/12042025/11/29/image_12042025_11_29_56_9372.jpg
/home/pi/Desktop/images/12042025/11/29/image_12042025_11_30_06_10418.jpg
/home/pi/Desktop/images/12042025/11/30/image_12042025_11_30_17_10360.jpg
/home/pi/Desktop/images/12042025/11/30/image_12042025_11_30_26_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225201","1352225223","1352225217","1352225186","1352225159","1352225150"],"photo_ids_order":["1352225150","1352225159","1352225186","1352225201","1352225217","1352225223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b1e1c734be75bd4739ee196c09e8fd4.jpg","text":"TemporaryFile(/tmp/multipartBody3038641531928876416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460792661,"filename":"image_12042025_11_30_06_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9017833d67fd9ed533b26d91eb245615.jpg","text":"TemporaryFile(/tmp/multipartBody5331070273821473546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460792661,"filename":"image_12042025_11_30_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9de5d7027e43ac48bc2c1ff9dcfb9e08.jpg","text":"TemporaryFile(/tmp/multipartBody3034383724938831735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460792661,"filename":"image_12042025_11_30_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1785a0b3aa654df5c2ecb521da99edf9.jpg","text":"TemporaryFile(/tmp/multipartBody295558308758757303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460792661,"filename":"image_12042025_11_29_56_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c25a4637ec84418562c3f15cb15d7fcb.jpg","text":"TemporaryFile(/tmp/multipartBody532104892021027339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460792661,"filename":"image_12042025_11_29_47_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d24c69bcf572ff13dd712404ad35d9dc.jpg","text":"TemporaryFile(/tmp/multipartBody7083396721989769861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460792661,"filename":"image_12042025_11_29_36_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225186","file1":"1352225159","file0":"1352225150","file4":"1352225217","file5":"1352225223","file3":"1352225201"},"map_files_photo_id_array":[{"photo_id":"1352225223","filename":"file5"},{"photo_id":"1352225186","filename":"file2"},{"photo_id":"1352225217","filename":"file4"},{"photo_id":"1352225159","filename":"file1"},{"photo_id":"1352225150","filename":"file0"},{"photo_id":"1352225201","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225201":["hashtag1","hashtag2"]},{"1352225223":["hashtag1","hashtag2"]},{"1352225217":["hashtag1","hashtag2"]},{"1352225186":["hashtag1","hashtag2"]},{"1352225159":["hashtag1","hashtag2"]},{"1352225150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225201, 1352225223, 1352225217, 1352225186, 1352225159, 1352225150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88611817359924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:26:32.442850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/30/image_12042025_11_30_36_10382.jpg', '/home/pi/Desktop/images/12042025/11/30/image_12042025_11_30_56_10368.jpg', '/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_16_9349.jpg', '/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_26_10411.jpg', '/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_36_9391.jpg', '/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/30/image_12042025_11_30_36_10382.jpg
/home/pi/Desktop/images/12042025/11/30/image_12042025_11_30_56_10368.jpg
/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_16_9349.jpg
/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_26_10411.jpg
/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_36_9391.jpg
/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225329","1352225302","1352225343","1352225340","1352225336","1352225333"],"photo_ids_order":["1352225302","1352225329","1352225333","1352225336","1352225340","1352225343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13c9b8ecb0157e390dece12366848805.jpg","text":"TemporaryFile(/tmp/multipartBody6061465985440399700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460852907,"filename":"image_12042025_11_30_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b26329fc3f2ce5ee893f6371456afd38.jpg","text":"TemporaryFile(/tmp/multipartBody587239407464365614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460852907,"filename":"image_12042025_11_30_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/574b4e6e9aa2e98fd14fb9a039d679e1.jpg","text":"TemporaryFile(/tmp/multipartBody2334461527603325918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460852907,"filename":"image_12042025_11_31_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e769c88dbf16cc3aa86913464f996627.jpg","text":"TemporaryFile(/tmp/multipartBody2794839288212878348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460852907,"filename":"image_12042025_11_31_36_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/346b79e737da901ccd844682551c1d74.jpg","text":"TemporaryFile(/tmp/multipartBody7021621205880815147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460852907,"filename":"image_12042025_11_31_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6da424df9a0a93a5be0a9e84abba31db.jpg","text":"TemporaryFile(/tmp/multipartBody1517004861798648042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460852907,"filename":"image_12042025_11_31_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225333","file1":"1352225329","file0":"1352225302","file4":"1352225340","file5":"1352225343","file3":"1352225336"},"map_files_photo_id_array":[{"photo_id":"1352225343","filename":"file5"},{"photo_id":"1352225333","filename":"file2"},{"photo_id":"1352225340","filename":"file4"},{"photo_id":"1352225329","filename":"file1"},{"photo_id":"1352225302","filename":"file0"},{"photo_id":"1352225336","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225329":["hashtag1","hashtag2"]},{"1352225302":["hashtag1","hashtag2"]},{"1352225343":["hashtag1","hashtag2"]},{"1352225340":["hashtag1","hashtag2"]},{"1352225336":["hashtag1","hashtag2"]},{"1352225333":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225329, 1352225302, 1352225343, 1352225340, 1352225336, 1352225333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68082141876221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:27:32.679879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_57_10455.jpg', '/home/pi/Desktop/images/12042025/11/31/image_12042025_11_32_06_9352.jpg', '/home/pi/Desktop/images/12042025/11/32/image_12042025_11_32_16_10420.jpg', '/home/pi/Desktop/images/12042025/11/32/image_12042025_11_32_27_10363.jpg', '/home/pi/Desktop/images/12042025/11/32/image_12042025_11_32_36_9345.jpg', '/home/pi/Desktop/images/12042025/11/32/image_12042025_11_32_56_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/31/image_12042025_11_31_57_10455.jpg
/home/pi/Desktop/images/12042025/11/31/image_12042025_11_32_06_9352.jpg
/home/pi/Desktop/images/12042025/11/32/image_12042025_11_32_16_10420.jpg
/home/pi/Desktop/images/12042025/11/32/image_12042025_11_32_27_10363.jpg
/home/pi/Desktop/images/12042025/11/32/image_12042025_11_32_36_9345.jpg
/home/pi/Desktop/images/12042025/11/32/image_12042025_11_32_56_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225446","1352225428","1352225442","1352225451","1352225438","1352225432"],"photo_ids_order":["1352225428","1352225432","1352225438","1352225442","1352225446","1352225451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ae051055f9f502fd53219cb69555a95.jpg","text":"TemporaryFile(/tmp/multipartBody1869017617447090501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460913144,"filename":"image_12042025_11_32_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/013d62a2df0b84d102d50b712c2a9bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8744676339313710876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460913144,"filename":"image_12042025_11_31_57_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df42e21cc25a102bcbc3ae92f077943b.jpg","text":"TemporaryFile(/tmp/multipartBody6604137703574546712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460913144,"filename":"image_12042025_11_32_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62e44e4aafb62baa354f4a4a046a2b11.jpg","text":"TemporaryFile(/tmp/multipartBody5481484273539627712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460913144,"filename":"image_12042025_11_32_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a3a5043e87ad9720601f2ffd681193d.jpg","text":"TemporaryFile(/tmp/multipartBody2696123226025269556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460913144,"filename":"image_12042025_11_32_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d54bdbbc209534ff51adae8a145b2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7242828837902789238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460913144,"filename":"image_12042025_11_32_06_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225438","file1":"1352225432","file0":"1352225428","file4":"1352225446","file5":"1352225451","file3":"1352225442"},"map_files_photo_id_array":[{"photo_id":"1352225451","filename":"file5"},{"photo_id":"1352225438","filename":"file2"},{"photo_id":"1352225446","filename":"file4"},{"photo_id":"1352225432","filename":"file1"},{"photo_id":"1352225428","filename":"file0"},{"photo_id":"1352225442","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225446":["hashtag1","hashtag2"]},{"1352225428":["hashtag1","hashtag2"]},{"1352225442":["hashtag1","hashtag2"]},{"1352225451":["hashtag1","hashtag2"]},{"1352225438":["hashtag1","hashtag2"]},{"1352225432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225446, 1352225428, 1352225442, 1352225451, 1352225438, 1352225432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.624675989151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:28:32.958768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/32/image_12042025_11_33_06_10347.jpg', '/home/pi/Desktop/images/12042025/11/33/image_12042025_11_33_17_10355.jpg', '/home/pi/Desktop/images/12042025/11/33/image_12042025_11_33_26_9357.jpg', '/home/pi/Desktop/images/12042025/11/33/image_12042025_11_33_36_10431.jpg', '/home/pi/Desktop/images/12042025/11/33/image_12042025_11_33_46_9433.jpg', '/home/pi/Desktop/images/12042025/11/33/image_12042025_11_34_07_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/32/image_12042025_11_33_06_10347.jpg
/home/pi/Desktop/images/12042025/11/33/image_12042025_11_33_17_10355.jpg
/home/pi/Desktop/images/12042025/11/33/image_12042025_11_33_26_9357.jpg
/home/pi/Desktop/images/12042025/11/33/image_12042025_11_33_36_10431.jpg
/home/pi/Desktop/images/12042025/11/33/image_12042025_11_33_46_9433.jpg
/home/pi/Desktop/images/12042025/11/33/image_12042025_11_34_07_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225470","1352225473","1352225467","1352225503","1352225505","1352225477"],"photo_ids_order":["1352225467","1352225470","1352225473","1352225477","1352225503","1352225505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d40987b71c6acd18497eb4841db56903.jpg","text":"TemporaryFile(/tmp/multipartBody7113960555958905725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460973486,"filename":"image_12042025_11_33_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d174a57f42d0964236636d590cd22cfe.jpg","text":"TemporaryFile(/tmp/multipartBody7866540109095576133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460973486,"filename":"image_12042025_11_33_26_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fab69cf4062e2e489e33130f3106378.jpg","text":"TemporaryFile(/tmp/multipartBody7154691421047337419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460973486,"filename":"image_12042025_11_33_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ea9427a7953366bf67e5cba4713d3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6652837478258552235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460973486,"filename":"image_12042025_11_33_46_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e1a52f264cc7aa93e506c61913f39de.jpg","text":"TemporaryFile(/tmp/multipartBody2300106707592144086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460973486,"filename":"image_12042025_11_34_07_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12ef3ce6a6044ab8190187a6e170ac33.jpg","text":"TemporaryFile(/tmp/multipartBody8019281713132493784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744460973486,"filename":"image_12042025_11_33_36_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225473","file1":"1352225470","file0":"1352225467","file4":"1352225503","file5":"1352225505","file3":"1352225477"},"map_files_photo_id_array":[{"photo_id":"1352225505","filename":"file5"},{"photo_id":"1352225473","filename":"file2"},{"photo_id":"1352225503","filename":"file4"},{"photo_id":"1352225470","filename":"file1"},{"photo_id":"1352225467","filename":"file0"},{"photo_id":"1352225477","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225470":["hashtag1","hashtag2"]},{"1352225473":["hashtag1","hashtag2"]},{"1352225467":["hashtag1","hashtag2"]},{"1352225503":["hashtag1","hashtag2"]},{"1352225505":["hashtag1","hashtag2"]},{"1352225477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225470, 1352225473, 1352225467, 1352225503, 1352225505, 1352225477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69769024848938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:29:33.184382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_16_9359.jpg', '/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_26_10423.jpg', '/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_37_10353.jpg', '/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_46_9354.jpg', '/home/pi/Desktop/images/12042025/11/34/image_12042025_11_35_06_9356.jpg', '/home/pi/Desktop/images/12042025/11/35/image_12042025_11_35_16_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_16_9359.jpg
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_26_10423.jpg
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_37_10353.jpg
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_46_9354.jpg
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_35_06_9356.jpg
/home/pi/Desktop/images/12042025/11/35/image_12042025_11_35_16_10368.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37963151931762695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 14:29:43.167190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_16_9359.jpg', '/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_26_10423.jpg', '/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_37_10353.jpg', '/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_46_9354.jpg', '/home/pi/Desktop/images/12042025/11/34/image_12042025_11_35_06_9356.jpg', '/home/pi/Desktop/images/12042025/11/35/image_12042025_11_35_16_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_16_9359.jpg
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_26_10423.jpg
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_37_10353.jpg
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_34_46_9354.jpg
/home/pi/Desktop/images/12042025/11/34/image_12042025_11_35_06_9356.jpg
/home/pi/Desktop/images/12042025/11/35/image_12042025_11_35_16_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225586","1352225595","1352225582","1352225601","1352225591","1352225588"],"photo_ids_order":["1352225582","1352225586","1352225588","1352225591","1352225595","1352225601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d562641ead1309ec2ea5ffa861c16ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8744841789250290448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461043705,"filename":"image_12042025_11_34_26_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c903545715c3a9f15ace7c7af98c301a.jpg","text":"TemporaryFile(/tmp/multipartBody6719544045070561427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461043705,"filename":"image_12042025_11_35_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad999a2294fd3a8e5e1b3f8d710b0ae6.jpg","text":"TemporaryFile(/tmp/multipartBody917120252708168113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461043705,"filename":"image_12042025_11_34_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e03bf6beaa9afd31499a24e908943222.jpg","text":"TemporaryFile(/tmp/multipartBody8781668834371882286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461043705,"filename":"image_12042025_11_35_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77fc09fad3e6cfc8d9bfb96357ed1698.jpg","text":"TemporaryFile(/tmp/multipartBody2141853802784939557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461043705,"filename":"image_12042025_11_34_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9e2fb0565d699e5f852eb223acd07c9.jpg","text":"TemporaryFile(/tmp/multipartBody2631997120903099313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461043705,"filename":"image_12042025_11_34_37_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225588","file1":"1352225586","file0":"1352225582","file4":"1352225595","file5":"1352225601","file3":"1352225591"},"map_files_photo_id_array":[{"photo_id":"1352225601","filename":"file5"},{"photo_id":"1352225588","filename":"file2"},{"photo_id":"1352225595","filename":"file4"},{"photo_id":"1352225586","filename":"file1"},{"photo_id":"1352225582","filename":"file0"},{"photo_id":"1352225591","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225586":["hashtag1","hashtag2"]},{"1352225595":["hashtag1","hashtag2"]},{"1352225582":["hashtag1","hashtag2"]},{"1352225601":["hashtag1","hashtag2"]},{"1352225591":["hashtag1","hashtag2"]},{"1352225588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225586, 1352225595, 1352225582, 1352225601, 1352225591, 1352225588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41664266586304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:30:32.409936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/35/image_12042025_11_35_46_10487.jpg', '/home/pi/Desktop/images/12042025/11/35/image_12042025_11_35_56_9503.jpg', '/home/pi/Desktop/images/12042025/11/35/image_12042025_11_36_06_10522.jpg', '/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_16_9353.jpg', '/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_26_10368.jpg', '/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_37_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/35/image_12042025_11_35_46_10487.jpg
/home/pi/Desktop/images/12042025/11/35/image_12042025_11_35_56_9503.jpg
/home/pi/Desktop/images/12042025/11/35/image_12042025_11_36_06_10522.jpg
/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_16_9353.jpg
/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_26_10368.jpg
/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_37_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225614","1352225631","1352225625","1352225634","1352225627","1352225621"],"photo_ids_order":["1352225614","1352225621","1352225625","1352225627","1352225631","1352225634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1d282f2903dfcaba26c3d64e9158529.jpg","text":"TemporaryFile(/tmp/multipartBody3761351471190325787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461092883,"filename":"image_12042025_11_35_46_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c87d52d402980d023f4df1d267bf2192.jpg","text":"TemporaryFile(/tmp/multipartBody3432594587105587644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461092883,"filename":"image_12042025_11_36_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27b93d6e2bba001b09ec32968b9d247e.jpg","text":"TemporaryFile(/tmp/multipartBody8715474788233092356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461092883,"filename":"image_12042025_11_36_06_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68a8f480271ce8c88384ceaa72d5b65b.jpg","text":"TemporaryFile(/tmp/multipartBody1851757463260853466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461092883,"filename":"image_12042025_11_36_37_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09598bea7dc1583eda98e4770095e486.jpg","text":"TemporaryFile(/tmp/multipartBody3994727131101025495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461092883,"filename":"image_12042025_11_36_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28e75e525d6a66fbfcf884778ffda714.jpg","text":"TemporaryFile(/tmp/multipartBody8080598075629059516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461092883,"filename":"image_12042025_11_35_56_9503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225625","file1":"1352225621","file0":"1352225614","file4":"1352225631","file5":"1352225634","file3":"1352225627"},"map_files_photo_id_array":[{"photo_id":"1352225634","filename":"file5"},{"photo_id":"1352225625","filename":"file2"},{"photo_id":"1352225631","filename":"file4"},{"photo_id":"1352225621","filename":"file1"},{"photo_id":"1352225614","filename":"file0"},{"photo_id":"1352225627","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225614":["hashtag1","hashtag2"]},{"1352225631":["hashtag1","hashtag2"]},{"1352225625":["hashtag1","hashtag2"]},{"1352225634":["hashtag1","hashtag2"]},{"1352225627":["hashtag1","hashtag2"]},{"1352225621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225614, 1352225631, 1352225625, 1352225634, 1352225627, 1352225621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34267258644104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:31:32.571179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_46_9346.jpg', '/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_56_10442.jpg', '/home/pi/Desktop/images/12042025/11/36/image_12042025_11_37_07_10341.jpg', '/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_16_9346.jpg', '/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_26_10374.jpg', '/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_36_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_46_9346.jpg
/home/pi/Desktop/images/12042025/11/36/image_12042025_11_36_56_10442.jpg
/home/pi/Desktop/images/12042025/11/36/image_12042025_11_37_07_10341.jpg
/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_16_9346.jpg
/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_26_10374.jpg
/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_36_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225656","1352225671","1352225667","1352225664","1352225672","1352225669"],"photo_ids_order":["1352225656","1352225664","1352225667","1352225669","1352225671","1352225672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0222bafd52c39f28727902ed0b051a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1505758207726357899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461153031,"filename":"image_12042025_11_36_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f1ca0b316e0e6d7d2c01d3065326c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1839255393741754964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461153031,"filename":"image_12042025_11_37_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a79d4e2db08a261a8d202229cbf2da43.jpg","text":"TemporaryFile(/tmp/multipartBody3841335176882656765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461153031,"filename":"image_12042025_11_37_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5cb9bc95a900e7abfeaea5afe4731ec.jpg","text":"TemporaryFile(/tmp/multipartBody4611593666168200512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461153031,"filename":"image_12042025_11_36_56_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/779cad14937363c3eed688ef26ec0d1f.jpg","text":"TemporaryFile(/tmp/multipartBody1858580185736772728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461153031,"filename":"image_12042025_11_37_36_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b909aac4c9b39425d595edc0f717bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4335093152691195354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461153031,"filename":"image_12042025_11_37_16_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225667","file1":"1352225664","file0":"1352225656","file4":"1352225671","file5":"1352225672","file3":"1352225669"},"map_files_photo_id_array":[{"photo_id":"1352225672","filename":"file5"},{"photo_id":"1352225667","filename":"file2"},{"photo_id":"1352225671","filename":"file4"},{"photo_id":"1352225664","filename":"file1"},{"photo_id":"1352225656","filename":"file0"},{"photo_id":"1352225669","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225656":["hashtag1","hashtag2"]},{"1352225671":["hashtag1","hashtag2"]},{"1352225667":["hashtag1","hashtag2"]},{"1352225664":["hashtag1","hashtag2"]},{"1352225672":["hashtag1","hashtag2"]},{"1352225669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225656, 1352225671, 1352225667, 1352225664, 1352225672, 1352225669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.37619590759277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:32:32.905922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_46_10369.jpg', '/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_57_10391.jpg', '/home/pi/Desktop/images/12042025/11/37/image_12042025_11_38_06_9384.jpg', '/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_16_10402.jpg', '/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_27_10373.jpg', '/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_36_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_46_10369.jpg
/home/pi/Desktop/images/12042025/11/37/image_12042025_11_37_57_10391.jpg
/home/pi/Desktop/images/12042025/11/37/image_12042025_11_38_06_9384.jpg
/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_16_10402.jpg
/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_27_10373.jpg
/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_36_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225824","1352225812","1352225829","1352225820","1352225817","1352225802"],"photo_ids_order":["1352225802","1352225812","1352225817","1352225820","1352225824","1352225829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/83f23f80c9aa2ebc44b27925af1637f1.jpg","text":"TemporaryFile(/tmp/multipartBody5435976946166087645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461213374,"filename":"image_12042025_11_38_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be2b4547e6a37d611585980ed926abcf.jpg","text":"TemporaryFile(/tmp/multipartBody8253780174983383819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461213374,"filename":"image_12042025_11_37_57_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04c91b895915ec2579e4e669f39917ce.jpg","text":"TemporaryFile(/tmp/multipartBody702994670401264833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461213374,"filename":"image_12042025_11_38_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/030eeb3215c27c77bf6e98d16825e70f.jpg","text":"TemporaryFile(/tmp/multipartBody7205693893184939653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461213374,"filename":"image_12042025_11_38_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8c49baa376d5e77eb1003b50b04233f.jpg","text":"TemporaryFile(/tmp/multipartBody7211150044639961867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461213374,"filename":"image_12042025_11_38_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4dd1726c1328f22ac4c60266b17c6e56.jpg","text":"TemporaryFile(/tmp/multipartBody4912279390557611335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461213374,"filename":"image_12042025_11_37_46_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225817","file1":"1352225812","file0":"1352225802","file4":"1352225824","file5":"1352225829","file3":"1352225820"},"map_files_photo_id_array":[{"photo_id":"1352225829","filename":"file5"},{"photo_id":"1352225817","filename":"file2"},{"photo_id":"1352225824","filename":"file4"},{"photo_id":"1352225812","filename":"file1"},{"photo_id":"1352225802","filename":"file0"},{"photo_id":"1352225820","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225824":["hashtag1","hashtag2"]},{"1352225812":["hashtag1","hashtag2"]},{"1352225829":["hashtag1","hashtag2"]},{"1352225820":["hashtag1","hashtag2"]},{"1352225817":["hashtag1","hashtag2"]},{"1352225802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225824, 1352225812, 1352225829, 1352225820, 1352225817, 1352225802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.607173442840576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:33:32.158193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_47_10490.jpg', '/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_56_9349.jpg', '/home/pi/Desktop/images/12042025/11/38/image_12042025_11_39_06_10448.jpg', '/home/pi/Desktop/images/12042025/11/39/image_12042025_11_39_17_10357.jpg', '/home/pi/Desktop/images/12042025/11/39/image_12042025_11_39_26_9394.jpg', '/home/pi/Desktop/images/12042025/11/39/image_12042025_11_39_36_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_47_10490.jpg
/home/pi/Desktop/images/12042025/11/38/image_12042025_11_38_56_9349.jpg
/home/pi/Desktop/images/12042025/11/38/image_12042025_11_39_06_10448.jpg
/home/pi/Desktop/images/12042025/11/39/image_12042025_11_39_17_10357.jpg
/home/pi/Desktop/images/12042025/11/39/image_12042025_11_39_26_9394.jpg
/home/pi/Desktop/images/12042025/11/39/image_12042025_11_39_36_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352225938","1352225976","1352225967","1352225934","1352225928","1352225954"],"photo_ids_order":["1352225928","1352225934","1352225938","1352225954","1352225967","1352225976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c2d505bc9999245cc039fa0071bbdb9.jpg","text":"TemporaryFile(/tmp/multipartBody4616774176828321073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461272691,"filename":"image_12042025_11_39_06_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/270467beebe615255b765306a81d177a.jpg","text":"TemporaryFile(/tmp/multipartBody620820694010436489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461272691,"filename":"image_12042025_11_39_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90c887b4c414755b721e60b75630284f.jpg","text":"TemporaryFile(/tmp/multipartBody3431896880071689413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461272691,"filename":"image_12042025_11_39_26_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ea20d6ee2b7e6cc77c736c8237a17b3.jpg","text":"TemporaryFile(/tmp/multipartBody1135858410127029750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461272691,"filename":"image_12042025_11_38_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce13cb95e6a30d12af3fe4115a5d7057.jpg","text":"TemporaryFile(/tmp/multipartBody8766223322626536765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461272691,"filename":"image_12042025_11_38_47_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0635d56b145bd3ed44c99c7357b45f30.jpg","text":"TemporaryFile(/tmp/multipartBody3013770887666669000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461272691,"filename":"image_12042025_11_39_17_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352225938","file1":"1352225934","file0":"1352225928","file4":"1352225967","file5":"1352225976","file3":"1352225954"},"map_files_photo_id_array":[{"photo_id":"1352225976","filename":"file5"},{"photo_id":"1352225938","filename":"file2"},{"photo_id":"1352225967","filename":"file4"},{"photo_id":"1352225934","filename":"file1"},{"photo_id":"1352225928","filename":"file0"},{"photo_id":"1352225954","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352225938":["hashtag1","hashtag2"]},{"1352225976":["hashtag1","hashtag2"]},{"1352225967":["hashtag1","hashtag2"]},{"1352225934":["hashtag1","hashtag2"]},{"1352225928":["hashtag1","hashtag2"]},{"1352225954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352225938, 1352225976, 1352225967, 1352225934, 1352225928, 1352225954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9283287525177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:34:32.440318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/39/image_12042025_11_39_56_10347.jpg', '/home/pi/Desktop/images/12042025/11/39/image_12042025_11_40_07_10442.jpg', '/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_16_9359.jpg', '/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_27_10529.jpg', '/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_36_9454.jpg', '/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_46_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/39/image_12042025_11_39_56_10347.jpg
/home/pi/Desktop/images/12042025/11/39/image_12042025_11_40_07_10442.jpg
/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_16_9359.jpg
/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_27_10529.jpg
/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_36_9454.jpg
/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_46_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226084","1352226138","1352226108","1352226185","1352226074","1352226218"],"photo_ids_order":["1352226074","1352226084","1352226108","1352226138","1352226185","1352226218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08e0889c3488fec449fb5716ce9e4bc9.jpg","text":"TemporaryFile(/tmp/multipartBody8388843337478678259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461332908,"filename":"image_12042025_11_40_07_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/215878f11ee8aae3affe542d4f211f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1199962324579813776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461332908,"filename":"image_12042025_11_40_27_10529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8451ed419a67a3989cb72ee11134d335.jpg","text":"TemporaryFile(/tmp/multipartBody1382578800576063410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461332908,"filename":"image_12042025_11_40_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fef715fae2d3f10509fd4686980dc707.jpg","text":"TemporaryFile(/tmp/multipartBody5591239614648792316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461332908,"filename":"image_12042025_11_40_36_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77b4510da86243aeb2ae14c69209082e.jpg","text":"TemporaryFile(/tmp/multipartBody8305772692505504716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461332908,"filename":"image_12042025_11_39_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f8c5a9f869de008dff90415b3da3a10.jpg","text":"TemporaryFile(/tmp/multipartBody7107759473655361784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461332908,"filename":"image_12042025_11_40_46_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226108","file1":"1352226084","file0":"1352226074","file4":"1352226185","file5":"1352226218","file3":"1352226138"},"map_files_photo_id_array":[{"photo_id":"1352226218","filename":"file5"},{"photo_id":"1352226108","filename":"file2"},{"photo_id":"1352226185","filename":"file4"},{"photo_id":"1352226084","filename":"file1"},{"photo_id":"1352226074","filename":"file0"},{"photo_id":"1352226138","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352226084":["hashtag1","hashtag2"]},{"1352226138":["hashtag1","hashtag2"]},{"1352226108":["hashtag1","hashtag2"]},{"1352226185":["hashtag1","hashtag2"]},{"1352226074":["hashtag1","hashtag2"]},{"1352226218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352226084, 1352226138, 1352226108, 1352226185, 1352226074, 1352226218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.044458866119385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:35:32.913603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_57_10368.jpg', '/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_16_10353.jpg', '/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_26_9366.jpg', '/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_36_10363.jpg', '/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_47_10371.jpg', '/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_56_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/40/image_12042025_11_40_57_10368.jpg
/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_16_10353.jpg
/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_26_9366.jpg
/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_36_10363.jpg
/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_47_10371.jpg
/home/pi/Desktop/images/12042025/11/41/image_12042025_11_41_56_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226255","1352226267","1352226249","1352226251","1352226277","1352226271"],"photo_ids_order":["1352226249","1352226251","1352226255","1352226267","1352226271","1352226277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3a27a7b7d2db093d3e65a7190fd28d9.jpg","text":"TemporaryFile(/tmp/multipartBody5006671339434611601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461393368,"filename":"image_12042025_11_41_26_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c15e18d7b4c63d95854335f6a9df2dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6909669493545093661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461393368,"filename":"image_12042025_11_41_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9b44dab326a0b8ef5f6777a6c4f4e45.jpg","text":"TemporaryFile(/tmp/multipartBody5661287215281941164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461393368,"filename":"image_12042025_11_40_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8977d1da95f3e1d799d9538d713dd9fa.jpg","text":"TemporaryFile(/tmp/multipartBody5332985011696327043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461393368,"filename":"image_12042025_11_41_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b1511c5c084a5508c3fd0ed0366cf83.jpg","text":"TemporaryFile(/tmp/multipartBody3214350599060549536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461393368,"filename":"image_12042025_11_41_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b71cc4b936c695c25ec35b0423f19fd7.jpg","text":"TemporaryFile(/tmp/multipartBody5151308569750087751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461393368,"filename":"image_12042025_11_41_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226255","file1":"1352226251","file0":"1352226249","file4":"1352226271","file5":"1352226277","file3":"1352226267"},"map_files_photo_id_array":[{"photo_id":"1352226277","filename":"file5"},{"photo_id":"1352226255","filename":"file2"},{"photo_id":"1352226271","filename":"file4"},{"photo_id":"1352226251","filename":"file1"},{"photo_id":"1352226249","filename":"file0"},{"photo_id":"1352226267","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352226255":["hashtag1","hashtag2"]},{"1352226267":["hashtag1","hashtag2"]},{"1352226249":["hashtag1","hashtag2"]},{"1352226251":["hashtag1","hashtag2"]},{"1352226277":["hashtag1","hashtag2"]},{"1352226271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352226255, 1352226267, 1352226249, 1352226251, 1352226277, 1352226271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.26931166648865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:36:33.044124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/42/image_12042025_11_42_17_10411.jpg', '/home/pi/Desktop/images/12042025/11/42/image_12042025_11_42_26_9352.jpg', '/home/pi/Desktop/images/12042025/11/42/image_12042025_11_42_37_10486.jpg', '/home/pi/Desktop/images/12042025/11/42/image_12042025_11_42_56_10462.jpg', '/home/pi/Desktop/images/12042025/11/42/image_12042025_11_43_06_9360.jpg', '/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_16_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/42/image_12042025_11_42_17_10411.jpg
/home/pi/Desktop/images/12042025/11/42/image_12042025_11_42_26_9352.jpg
/home/pi/Desktop/images/12042025/11/42/image_12042025_11_42_37_10486.jpg
/home/pi/Desktop/images/12042025/11/42/image_12042025_11_42_56_10462.jpg
/home/pi/Desktop/images/12042025/11/42/image_12042025_11_43_06_9360.jpg
/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_16_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226373","1352226427","1352226399","1352226453","1352226504","1352226476"],"photo_ids_order":["1352226373","1352226399","1352226427","1352226453","1352226476","1352226504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/febfa20cfa9987da3cd95cf94b207eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3409313507118315503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461453517,"filename":"image_12042025_11_42_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6af3d805fffa4972a935206b60c88ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3568604422545568436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461453517,"filename":"image_12042025_11_42_37_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7e39873c7567aad883d95ca33e26c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1258181610798632702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461453517,"filename":"image_12042025_11_42_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/133249852bfe50f074002a2ca027abfa.jpg","text":"TemporaryFile(/tmp/multipartBody7368374341502482497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461453517,"filename":"image_12042025_11_42_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33f75950d198d5b1c51f7d56c1eaee05.jpg","text":"TemporaryFile(/tmp/multipartBody6112090082413290204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461453517,"filename":"image_12042025_11_43_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/624453b258102819660bbf358568def1.jpg","text":"TemporaryFile(/tmp/multipartBody5459494220090836803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461453517,"filename":"image_12042025_11_43_06_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226427","file1":"1352226399","file0":"1352226373","file4":"1352226476","file5":"1352226504","file3":"1352226453"},"map_files_photo_id_array":[{"photo_id":"1352226504","filename":"file5"},{"photo_id":"1352226427","filename":"file2"},{"photo_id":"1352226476","filename":"file4"},{"photo_id":"1352226399","filename":"file1"},{"photo_id":"1352226373","filename":"file0"},{"photo_id":"1352226453","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352226373":["hashtag1","hashtag2"]},{"1352226427":["hashtag1","hashtag2"]},{"1352226399":["hashtag1","hashtag2"]},{"1352226453":["hashtag1","hashtag2"]},{"1352226504":["hashtag1","hashtag2"]},{"1352226476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352226373, 1352226427, 1352226399, 1352226453, 1352226504, 1352226476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.040931940078735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:37:32.180878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_27_10441.jpg', '/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_36_9439.jpg', '/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_47_10444.jpg', '/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_56_9351.jpg', '/home/pi/Desktop/images/12042025/11/43/image_12042025_11_44_06_10362.jpg', '/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_17_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_27_10441.jpg
/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_36_9439.jpg
/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_47_10444.jpg
/home/pi/Desktop/images/12042025/11/43/image_12042025_11_43_56_9351.jpg
/home/pi/Desktop/images/12042025/11/43/image_12042025_11_44_06_10362.jpg
/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_17_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226715","1352226735","1352226729","1352226708","1352226749","1352226725"],"photo_ids_order":["1352226708","1352226715","1352226725","1352226729","1352226735","1352226749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00e4f85d2ac195868e81cb4f6700c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody4693525700620462559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461512631,"filename":"image_12042025_11_43_36_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db9a7a53bbff4e163c2ceb2833c59e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8643643301732565029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461512631,"filename":"image_12042025_11_44_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ff8edbc1468934e34b7f3b952b799c9.jpg","text":"TemporaryFile(/tmp/multipartBody1520258813548561474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461512631,"filename":"image_12042025_11_43_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddeb791bfa13f7de41eed48ef7eca40a.jpg","text":"TemporaryFile(/tmp/multipartBody1988488160701290620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461512631,"filename":"image_12042025_11_43_27_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d06f5b64dd8b47ccae59d8c7a786fbe0.jpg","text":"TemporaryFile(/tmp/multipartBody1371724647635765027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461512631,"filename":"image_12042025_11_44_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95a738cf9964642bd94584c06c2a393e.jpg","text":"TemporaryFile(/tmp/multipartBody7709773928194377586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461512631,"filename":"image_12042025_11_43_47_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226725","file1":"1352226715","file0":"1352226708","file4":"1352226735","file5":"1352226749","file3":"1352226729"},"map_files_photo_id_array":[{"photo_id":"1352226749","filename":"file5"},{"photo_id":"1352226725","filename":"file2"},{"photo_id":"1352226735","filename":"file4"},{"photo_id":"1352226715","filename":"file1"},{"photo_id":"1352226708","filename":"file0"},{"photo_id":"1352226729","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352226715":["hashtag1","hashtag2"]},{"1352226735":["hashtag1","hashtag2"]},{"1352226729":["hashtag1","hashtag2"]},{"1352226708":["hashtag1","hashtag2"]},{"1352226749":["hashtag1","hashtag2"]},{"1352226725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352226715, 1352226735, 1352226729, 1352226708, 1352226749, 1352226725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18051242828369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:38:32.397104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_26_9813.jpg', '/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_36_9390.jpg', '/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_46_10346.jpg', '/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_57_10464.jpg', '/home/pi/Desktop/images/12042025/11/44/image_12042025_11_45_06_9331.jpg', '/home/pi/Desktop/images/12042025/11/45/image_12042025_11_45_16_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_26_9813.jpg
/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_36_9390.jpg
/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_46_10346.jpg
/home/pi/Desktop/images/12042025/11/44/image_12042025_11_44_57_10464.jpg
/home/pi/Desktop/images/12042025/11/44/image_12042025_11_45_06_9331.jpg
/home/pi/Desktop/images/12042025/11/45/image_12042025_11_45_16_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352226901","1352226969","1352226876","1352226918","1352227004","1352226997"],"photo_ids_order":["1352226876","1352226901","1352226918","1352226969","1352226997","1352227004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da64a0c71774c3d81bf74775d59e0533.jpg","text":"TemporaryFile(/tmp/multipartBody4333684617868039892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461572842,"filename":"image_12042025_11_44_36_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a80bae4a2b4aa4e20eda4b4c90cc76eb.jpg","text":"TemporaryFile(/tmp/multipartBody421083622375646051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461572842,"filename":"image_12042025_11_44_57_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f03dc10fe652d3c15d764d21cd378ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2972432904483666158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461572842,"filename":"image_12042025_11_44_26_9813.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b2e5295bf5e19c5c3f3bf45b4e7bd38.jpg","text":"TemporaryFile(/tmp/multipartBody5957650933105615729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461572842,"filename":"image_12042025_11_44_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc47021155c674d67c03ca7d00b714bb.jpg","text":"TemporaryFile(/tmp/multipartBody4121539752019240553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461572842,"filename":"image_12042025_11_45_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc65fff0aa96930a2dfe2a1dce52ad37.jpg","text":"TemporaryFile(/tmp/multipartBody7724240545868022434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461572842,"filename":"image_12042025_11_45_06_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352226918","file1":"1352226901","file0":"1352226876","file4":"1352226997","file5":"1352227004","file3":"1352226969"},"map_files_photo_id_array":[{"photo_id":"1352227004","filename":"file5"},{"photo_id":"1352226918","filename":"file2"},{"photo_id":"1352226997","filename":"file4"},{"photo_id":"1352226901","filename":"file1"},{"photo_id":"1352226876","filename":"file0"},{"photo_id":"1352226969","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352226901":["hashtag1","hashtag2"]},{"1352226969":["hashtag1","hashtag2"]},{"1352226876":["hashtag1","hashtag2"]},{"1352226918":["hashtag1","hashtag2"]},{"1352227004":["hashtag1","hashtag2"]},{"1352226997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352226901, 1352226969, 1352226876, 1352226918, 1352227004, 1352226997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29777431488037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:39:32.657734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/45/image_12042025_11_45_36_10364.jpg', '/home/pi/Desktop/images/12042025/11/45/image_12042025_11_45_47_10470.jpg', '/home/pi/Desktop/images/12042025/11/45/image_12042025_11_45_56_9351.jpg', '/home/pi/Desktop/images/12042025/11/45/image_12042025_11_46_06_10401.jpg', '/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_16_9356.jpg', '/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_26_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/45/image_12042025_11_45_36_10364.jpg
/home/pi/Desktop/images/12042025/11/45/image_12042025_11_45_47_10470.jpg
/home/pi/Desktop/images/12042025/11/45/image_12042025_11_45_56_9351.jpg
/home/pi/Desktop/images/12042025/11/45/image_12042025_11_46_06_10401.jpg
/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_16_9356.jpg
/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_26_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227056","1352227065","1352227053","1352227067","1352227069","1352227060"],"photo_ids_order":["1352227053","1352227056","1352227060","1352227065","1352227067","1352227069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bd8e33dc335c6217fe16f2cb6485389.jpg","text":"TemporaryFile(/tmp/multipartBody1072834856893980350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461633116,"filename":"image_12042025_11_45_47_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14b24c8e335798ef734698170d25bb06.jpg","text":"TemporaryFile(/tmp/multipartBody3491451796040712431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461633116,"filename":"image_12042025_11_46_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67fe69aca6d6d260d4393782cd1a2ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7150939828971368126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461633116,"filename":"image_12042025_11_45_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a16b02836ad570a0d2e4d5af85885bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6150546789362144403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461633116,"filename":"image_12042025_11_46_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97c20b30927c41235c57e5a9a328b782.jpg","text":"TemporaryFile(/tmp/multipartBody4000875556024224179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461633116,"filename":"image_12042025_11_46_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab89e675ff129bf6f444381b7dd046f7.jpg","text":"TemporaryFile(/tmp/multipartBody2003266621151676855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461633116,"filename":"image_12042025_11_45_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227060","file1":"1352227056","file0":"1352227053","file4":"1352227067","file5":"1352227069","file3":"1352227065"},"map_files_photo_id_array":[{"photo_id":"1352227069","filename":"file5"},{"photo_id":"1352227060","filename":"file2"},{"photo_id":"1352227067","filename":"file4"},{"photo_id":"1352227056","filename":"file1"},{"photo_id":"1352227053","filename":"file0"},{"photo_id":"1352227065","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227056":["hashtag1","hashtag2"]},{"1352227065":["hashtag1","hashtag2"]},{"1352227053":["hashtag1","hashtag2"]},{"1352227067":["hashtag1","hashtag2"]},{"1352227069":["hashtag1","hashtag2"]},{"1352227060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227056, 1352227065, 1352227053, 1352227067, 1352227069, 1352227060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.430774211883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:40:32.892714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_37_10491.jpg', '/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_46_9354.jpg', '/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_56_10404.jpg', '/home/pi/Desktop/images/12042025/11/46/image_12042025_11_47_07_10357.jpg', '/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_16_9464.jpg', '/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_27_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_37_10491.jpg
/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_46_9354.jpg
/home/pi/Desktop/images/12042025/11/46/image_12042025_11_46_56_10404.jpg
/home/pi/Desktop/images/12042025/11/46/image_12042025_11_47_07_10357.jpg
/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_16_9464.jpg
/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_27_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227102","1352227088","1352227093","1352227096","1352227099","1352227090"],"photo_ids_order":["1352227088","1352227090","1352227093","1352227096","1352227099","1352227102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8e581319ced582d8e3a4a893679ec32.jpg","text":"TemporaryFile(/tmp/multipartBody7165272190806050574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461693342,"filename":"image_12042025_11_47_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f55dbefc61fdae6b4c22d07218d8d22c.jpg","text":"TemporaryFile(/tmp/multipartBody6486455461811197119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461693342,"filename":"image_12042025_11_46_37_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdc2389ee4ad128bcd20f55a9e15ca98.jpg","text":"TemporaryFile(/tmp/multipartBody7738833734952399853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461693342,"filename":"image_12042025_11_46_56_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/714f0e5f0fbcbbf5ce148b0b98f7f798.jpg","text":"TemporaryFile(/tmp/multipartBody4801017618249901525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461693342,"filename":"image_12042025_11_47_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88ae820b89e1396dcc32df178ed02c11.jpg","text":"TemporaryFile(/tmp/multipartBody8683274711064483587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461693342,"filename":"image_12042025_11_47_16_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f7e4cb6b41db4597b2b5becdae2da1d.jpg","text":"TemporaryFile(/tmp/multipartBody3745195577200634977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461693342,"filename":"image_12042025_11_46_46_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227093","file1":"1352227090","file0":"1352227088","file4":"1352227099","file5":"1352227102","file3":"1352227096"},"map_files_photo_id_array":[{"photo_id":"1352227102","filename":"file5"},{"photo_id":"1352227093","filename":"file2"},{"photo_id":"1352227099","filename":"file4"},{"photo_id":"1352227090","filename":"file1"},{"photo_id":"1352227088","filename":"file0"},{"photo_id":"1352227096","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227102":["hashtag1","hashtag2"]},{"1352227088":["hashtag1","hashtag2"]},{"1352227093":["hashtag1","hashtag2"]},{"1352227096":["hashtag1","hashtag2"]},{"1352227099":["hashtag1","hashtag2"]},{"1352227090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227102, 1352227088, 1352227093, 1352227096, 1352227099, 1352227090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24721956253052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:41:33.099070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_36_9356.jpg', '/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_46_10400.jpg', '/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_56_9431.jpg', '/home/pi/Desktop/images/12042025/11/47/image_12042025_11_48_06_10360.jpg', '/home/pi/Desktop/images/12042025/11/48/image_12042025_11_48_17_10439.jpg', '/home/pi/Desktop/images/12042025/11/48/image_12042025_11_48_26_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_36_9356.jpg
/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_46_10400.jpg
/home/pi/Desktop/images/12042025/11/47/image_12042025_11_47_56_9431.jpg
/home/pi/Desktop/images/12042025/11/47/image_12042025_11_48_06_10360.jpg
/home/pi/Desktop/images/12042025/11/48/image_12042025_11_48_17_10439.jpg
/home/pi/Desktop/images/12042025/11/48/image_12042025_11_48_26_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227131","1352227119","1352227134","1352227127","1352227136","1352227114"],"photo_ids_order":["1352227114","1352227119","1352227127","1352227131","1352227134","1352227136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d2a224d2af33e776daee6c0beddd5f5.jpg","text":"TemporaryFile(/tmp/multipartBody8751521052286204917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461753558,"filename":"image_12042025_11_48_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1efdf512baa0248967ac40709cb9c20f.jpg","text":"TemporaryFile(/tmp/multipartBody3804160047036011023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461753558,"filename":"image_12042025_11_47_46_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/093b77ca830034e0a37d030642faabd1.jpg","text":"TemporaryFile(/tmp/multipartBody3719714447312285593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461753558,"filename":"image_12042025_11_48_17_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f1c4f5cb0bb305ffcb84c91abca2fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1937817531658002235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461753558,"filename":"image_12042025_11_47_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e722f98e4bf36a14dace59eac60f9522.jpg","text":"TemporaryFile(/tmp/multipartBody669279526158621238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461753558,"filename":"image_12042025_11_48_26_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13e4e5f9e527e16cd6e0199e303c1170.jpg","text":"TemporaryFile(/tmp/multipartBody9124592081601541170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461753558,"filename":"image_12042025_11_47_36_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227127","file1":"1352227119","file0":"1352227114","file4":"1352227134","file5":"1352227136","file3":"1352227131"},"map_files_photo_id_array":[{"photo_id":"1352227136","filename":"file5"},{"photo_id":"1352227127","filename":"file2"},{"photo_id":"1352227134","filename":"file4"},{"photo_id":"1352227119","filename":"file1"},{"photo_id":"1352227114","filename":"file0"},{"photo_id":"1352227131","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227131":["hashtag1","hashtag2"]},{"1352227119":["hashtag1","hashtag2"]},{"1352227134":["hashtag1","hashtag2"]},{"1352227127":["hashtag1","hashtag2"]},{"1352227136":["hashtag1","hashtag2"]},{"1352227114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227131, 1352227119, 1352227134, 1352227127, 1352227136, 1352227114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56906270980835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:42:32.223686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/48/image_12042025_11_48_36_10362.jpg', '/home/pi/Desktop/images/12042025/11/48/image_12042025_11_48_46_9452.jpg', '/home/pi/Desktop/images/12042025/11/48/image_12042025_11_49_07_10356.jpg', '/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_16_9338.jpg', '/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_26_10453.jpg', '/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_36_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/48/image_12042025_11_48_36_10362.jpg
/home/pi/Desktop/images/12042025/11/48/image_12042025_11_48_46_9452.jpg
/home/pi/Desktop/images/12042025/11/48/image_12042025_11_49_07_10356.jpg
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_16_9338.jpg
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_26_10453.jpg
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_36_9473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227161","1352227155","1352227224","1352227193","1352227229","1352227165"],"photo_ids_order":["1352227155","1352227161","1352227165","1352227193","1352227224","1352227229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ab99a551382c7d31590ec5ffa85e7f3.jpg","text":"TemporaryFile(/tmp/multipartBody5538085093308163206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461812676,"filename":"image_12042025_11_48_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4200652507fd43a6a46fd9d3fa1f53cd.jpg","text":"TemporaryFile(/tmp/multipartBody669661063927737189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461812676,"filename":"image_12042025_11_48_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35650f2b098f233b90df74d8399d26fd.jpg","text":"TemporaryFile(/tmp/multipartBody198203435819188381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461812676,"filename":"image_12042025_11_49_26_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d4c3e212ba185677b0bd1e4652f7608.jpg","text":"TemporaryFile(/tmp/multipartBody199463856535384337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461812676,"filename":"image_12042025_11_49_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcf7a7458912f819f6681205571f065f.jpg","text":"TemporaryFile(/tmp/multipartBody1857251313405728010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461812676,"filename":"image_12042025_11_49_36_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/914169ac84b16e81402ef904e76c004d.jpg","text":"TemporaryFile(/tmp/multipartBody4347039995740620450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461812676,"filename":"image_12042025_11_49_07_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227165","file1":"1352227161","file0":"1352227155","file4":"1352227224","file5":"1352227229","file3":"1352227193"},"map_files_photo_id_array":[{"photo_id":"1352227229","filename":"file5"},{"photo_id":"1352227165","filename":"file2"},{"photo_id":"1352227224","filename":"file4"},{"photo_id":"1352227161","filename":"file1"},{"photo_id":"1352227155","filename":"file0"},{"photo_id":"1352227193","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227161":["hashtag1","hashtag2"]},{"1352227155":["hashtag1","hashtag2"]},{"1352227224":["hashtag1","hashtag2"]},{"1352227193":["hashtag1","hashtag2"]},{"1352227229":["hashtag1","hashtag2"]},{"1352227165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227161, 1352227155, 1352227224, 1352227193, 1352227229, 1352227165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.01415824890137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:43:32.502308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_46_10363.jpg', '/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_57_10369.jpg', '/home/pi/Desktop/images/12042025/11/49/image_12042025_11_50_06_9353.jpg', '/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_16_10547.jpg', '/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_26_9354.jpg', '/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_47_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_46_10363.jpg
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_57_10369.jpg
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_50_06_9353.jpg
/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_16_10547.jpg
/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_26_9354.jpg
/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_47_10473.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38536596298217773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 14:43:42.538101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_46_10363.jpg', '/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_57_10369.jpg', '/home/pi/Desktop/images/12042025/11/49/image_12042025_11_50_06_9353.jpg', '/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_16_10547.jpg', '/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_26_9354.jpg', '/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_47_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_46_10363.jpg
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_49_57_10369.jpg
/home/pi/Desktop/images/12042025/11/49/image_12042025_11_50_06_9353.jpg
/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_16_10547.jpg
/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_26_9354.jpg
/home/pi/Desktop/images/12042025/11/50/image_12042025_11_50_47_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227315","1352227287","1352227298","1352227262","1352227276","1352227312"],"photo_ids_order":["1352227262","1352227276","1352227287","1352227298","1352227312","1352227315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c2c65c004484b1a8cea8e26c2d9b04d.jpg","text":"TemporaryFile(/tmp/multipartBody4549567910007684578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461882999,"filename":"image_12042025_11_50_47_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ff8db8340113177818243eca467b9a7.jpg","text":"TemporaryFile(/tmp/multipartBody6191890422887452274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461882999,"filename":"image_12042025_11_50_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd1f5416ad81ab9e12935db09d8931cb.jpg","text":"TemporaryFile(/tmp/multipartBody8664958872226071849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461882999,"filename":"image_12042025_11_50_16_10547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82779a8151f23cb28a97158a77317ec2.jpg","text":"TemporaryFile(/tmp/multipartBody5037390099115416954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461882999,"filename":"image_12042025_11_49_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc53640591b226f7a75a7889034bab43.jpg","text":"TemporaryFile(/tmp/multipartBody3055232717584566498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461882999,"filename":"image_12042025_11_49_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e83ac1c12fb3f7b5a94ea7bf8319d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5660607841838840808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461882999,"filename":"image_12042025_11_50_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227287","file1":"1352227276","file0":"1352227262","file4":"1352227312","file5":"1352227315","file3":"1352227298"},"map_files_photo_id_array":[{"photo_id":"1352227315","filename":"file5"},{"photo_id":"1352227287","filename":"file2"},{"photo_id":"1352227312","filename":"file4"},{"photo_id":"1352227276","filename":"file1"},{"photo_id":"1352227262","filename":"file0"},{"photo_id":"1352227298","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227315":["hashtag1","hashtag2"]},{"1352227287":["hashtag1","hashtag2"]},{"1352227298":["hashtag1","hashtag2"]},{"1352227262":["hashtag1","hashtag2"]},{"1352227276":["hashtag1","hashtag2"]},{"1352227312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227315, 1352227287, 1352227298, 1352227262, 1352227276, 1352227312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49434185028076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:44:32.692652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/50/image_12042025_11_51_07_10462.jpg', '/home/pi/Desktop/images/12042025/11/51/image_12042025_11_51_26_10429.jpg', '/home/pi/Desktop/images/12042025/11/51/image_12042025_11_51_37_10365.jpg', '/home/pi/Desktop/images/12042025/11/51/image_12042025_11_51_46_9376.jpg', '/home/pi/Desktop/images/12042025/11/51/image_12042025_11_51_57_10477.jpg', '/home/pi/Desktop/images/12042025/11/51/image_12042025_11_52_06_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/50/image_12042025_11_51_07_10462.jpg
/home/pi/Desktop/images/12042025/11/51/image_12042025_11_51_26_10429.jpg
/home/pi/Desktop/images/12042025/11/51/image_12042025_11_51_37_10365.jpg
/home/pi/Desktop/images/12042025/11/51/image_12042025_11_51_46_9376.jpg
/home/pi/Desktop/images/12042025/11/51/image_12042025_11_51_57_10477.jpg
/home/pi/Desktop/images/12042025/11/51/image_12042025_11_52_06_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227353","1352227358","1352227331","1352227342","1352227336","1352227327"],"photo_ids_order":["1352227327","1352227331","1352227336","1352227342","1352227353","1352227358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8bf0eafe8face5236930de488634db9.jpg","text":"TemporaryFile(/tmp/multipartBody1261650335299327939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461933167,"filename":"image_12042025_11_51_57_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c2b09437fc34b9a101a4b5ef87448b4.jpg","text":"TemporaryFile(/tmp/multipartBody6559812143858248848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461933167,"filename":"image_12042025_11_52_06_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0345d1f5bc39efe70d7f48cc47cc5cba.jpg","text":"TemporaryFile(/tmp/multipartBody7763334993279209271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461933167,"filename":"image_12042025_11_51_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffeaee72edbcece4da1d0dd0ff2e4dd4.jpg","text":"TemporaryFile(/tmp/multipartBody2439834007849923779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461933167,"filename":"image_12042025_11_51_46_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31f7cfec29097be9746cfcf2b40ee959.jpg","text":"TemporaryFile(/tmp/multipartBody1751034735426767274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461933167,"filename":"image_12042025_11_51_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32c1406ef9dc7f4f6bc9ba039ccfbfd8.jpg","text":"TemporaryFile(/tmp/multipartBody658262320919130249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461933167,"filename":"image_12042025_11_51_07_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227336","file1":"1352227331","file0":"1352227327","file4":"1352227353","file5":"1352227358","file3":"1352227342"},"map_files_photo_id_array":[{"photo_id":"1352227358","filename":"file5"},{"photo_id":"1352227336","filename":"file2"},{"photo_id":"1352227353","filename":"file4"},{"photo_id":"1352227331","filename":"file1"},{"photo_id":"1352227327","filename":"file0"},{"photo_id":"1352227342","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227353":["hashtag1","hashtag2"]},{"1352227358":["hashtag1","hashtag2"]},{"1352227331":["hashtag1","hashtag2"]},{"1352227342":["hashtag1","hashtag2"]},{"1352227336":["hashtag1","hashtag2"]},{"1352227327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227353, 1352227358, 1352227331, 1352227342, 1352227336, 1352227327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.349524974823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:45:32.962313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_17_10454.jpg', '/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_26_9368.jpg', '/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_36_10351.jpg', '/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_47_10432.jpg', '/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_56_9345.jpg', '/home/pi/Desktop/images/12042025/11/52/image_12042025_11_53_06_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_17_10454.jpg
/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_26_9368.jpg
/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_36_10351.jpg
/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_47_10432.jpg
/home/pi/Desktop/images/12042025/11/52/image_12042025_11_52_56_9345.jpg
/home/pi/Desktop/images/12042025/11/52/image_12042025_11_53_06_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227428","1352227460","1352227466","1352227424","1352227450","1352227417"],"photo_ids_order":["1352227417","1352227424","1352227428","1352227450","1352227460","1352227466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a1771a9e6ddabe4f92365fc6f4d9386.jpg","text":"TemporaryFile(/tmp/multipartBody6330284946818033770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461993429,"filename":"image_12042025_11_52_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1c8be9463f980b20db4dc9bf66099f5.jpg","text":"TemporaryFile(/tmp/multipartBody2142261262937188698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461993429,"filename":"image_12042025_11_52_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97b01e489ed11faf68dabc5b9e730b71.jpg","text":"TemporaryFile(/tmp/multipartBody3627295651823633575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461993429,"filename":"image_12042025_11_53_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f719706ab846ba822641037bcf20ee8.jpg","text":"TemporaryFile(/tmp/multipartBody8087209085130415814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461993429,"filename":"image_12042025_11_52_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44b36cf54450f6610bb74aad8ce1d141.jpg","text":"TemporaryFile(/tmp/multipartBody1546494614228203417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461993429,"filename":"image_12042025_11_52_47_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7de747d5e462958ebc781b2d6557c75c.jpg","text":"TemporaryFile(/tmp/multipartBody2648279834498940338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744461993429,"filename":"image_12042025_11_52_17_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227428","file1":"1352227424","file0":"1352227417","file4":"1352227460","file5":"1352227466","file3":"1352227450"},"map_files_photo_id_array":[{"photo_id":"1352227466","filename":"file5"},{"photo_id":"1352227428","filename":"file2"},{"photo_id":"1352227460","filename":"file4"},{"photo_id":"1352227424","filename":"file1"},{"photo_id":"1352227417","filename":"file0"},{"photo_id":"1352227450","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227428":["hashtag1","hashtag2"]},{"1352227460":["hashtag1","hashtag2"]},{"1352227466":["hashtag1","hashtag2"]},{"1352227424":["hashtag1","hashtag2"]},{"1352227450":["hashtag1","hashtag2"]},{"1352227417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227428, 1352227460, 1352227466, 1352227424, 1352227450, 1352227417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.271273136138916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:46:33.176415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/53/image_12042025_11_53_26_10362.jpg', '/home/pi/Desktop/images/12042025/11/53/image_12042025_11_53_37_10472.jpg', '/home/pi/Desktop/images/12042025/11/53/image_12042025_11_53_46_9342.jpg', '/home/pi/Desktop/images/12042025/11/53/image_12042025_11_53_56_10383.jpg', '/home/pi/Desktop/images/12042025/11/53/image_12042025_11_54_06_9458.jpg', '/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_16_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/53/image_12042025_11_53_26_10362.jpg
/home/pi/Desktop/images/12042025/11/53/image_12042025_11_53_37_10472.jpg
/home/pi/Desktop/images/12042025/11/53/image_12042025_11_53_46_9342.jpg
/home/pi/Desktop/images/12042025/11/53/image_12042025_11_53_56_10383.jpg
/home/pi/Desktop/images/12042025/11/53/image_12042025_11_54_06_9458.jpg
/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_16_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227656","1352227659","1352227620","1352227565","1352227663","1352227651"],"photo_ids_order":["1352227565","1352227620","1352227651","1352227656","1352227659","1352227663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e3ebb83c4da0253ba0f62de7dfc55a4.jpg","text":"TemporaryFile(/tmp/multipartBody4847823143798947453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462053731,"filename":"image_12042025_11_53_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df4ec3dad20837d9d805ae61c482ff7a.jpg","text":"TemporaryFile(/tmp/multipartBody4277094019211216855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462053731,"filename":"image_12042025_11_54_06_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0c9c460a95921b11f97de8c5d02a99a.jpg","text":"TemporaryFile(/tmp/multipartBody755346223370340978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462053731,"filename":"image_12042025_11_53_37_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f766529fbc13d453c5546f1e108754c.jpg","text":"TemporaryFile(/tmp/multipartBody4361947608674266372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462053731,"filename":"image_12042025_11_53_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98d29bde3f848fb882c7dad6becc6394.jpg","text":"TemporaryFile(/tmp/multipartBody6660841287254379822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462053731,"filename":"image_12042025_11_54_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e956a1dac42e147fefc13650f3670a96.jpg","text":"TemporaryFile(/tmp/multipartBody4954805195705001370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462053731,"filename":"image_12042025_11_53_46_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227651","file1":"1352227620","file0":"1352227565","file4":"1352227659","file5":"1352227663","file3":"1352227656"},"map_files_photo_id_array":[{"photo_id":"1352227663","filename":"file5"},{"photo_id":"1352227651","filename":"file2"},{"photo_id":"1352227659","filename":"file4"},{"photo_id":"1352227620","filename":"file1"},{"photo_id":"1352227565","filename":"file0"},{"photo_id":"1352227656","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227656":["hashtag1","hashtag2"]},{"1352227659":["hashtag1","hashtag2"]},{"1352227620":["hashtag1","hashtag2"]},{"1352227565":["hashtag1","hashtag2"]},{"1352227663":["hashtag1","hashtag2"]},{"1352227651":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227656, 1352227659, 1352227620, 1352227565, 1352227663, 1352227651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18893361091614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:47:32.248553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_27_10461.jpg', '/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_36_9348.jpg', '/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_46_10406.jpg', '/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_56_9461.jpg', '/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_17_10412.jpg', '/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_26_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_27_10461.jpg
/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_36_9348.jpg
/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_46_10406.jpg
/home/pi/Desktop/images/12042025/11/54/image_12042025_11_54_56_9461.jpg
/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_17_10412.jpg
/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_26_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227773","1352227812","1352227806","1352227815","1352227772","1352227789"],"photo_ids_order":["1352227772","1352227773","1352227789","1352227806","1352227812","1352227815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17c3c530d275a3d25fb9aebcfa6a2ce9.jpg","text":"TemporaryFile(/tmp/multipartBody791062218818617090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462112737,"filename":"image_12042025_11_54_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41a4c6da688f2d51efdce3bfdef87822.jpg","text":"TemporaryFile(/tmp/multipartBody5210362066558465902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462112737,"filename":"image_12042025_11_55_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46472eeadffd8d8fd91d8fb9a8f21d4d.jpg","text":"TemporaryFile(/tmp/multipartBody80330988202970971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462112737,"filename":"image_12042025_11_54_56_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03a45552c90d56b1e75c893d6d61ecaf.jpg","text":"TemporaryFile(/tmp/multipartBody1890226792843900362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462112737,"filename":"image_12042025_11_55_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd751c16850fa7fd924d79fad376f058.jpg","text":"TemporaryFile(/tmp/multipartBody1820441945463822742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462112737,"filename":"image_12042025_11_54_27_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4c8d75e05db3fdde970029438769a7c.jpg","text":"TemporaryFile(/tmp/multipartBody570919586987103187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462112737,"filename":"image_12042025_11_54_46_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227789","file1":"1352227773","file0":"1352227772","file4":"1352227812","file5":"1352227815","file3":"1352227806"},"map_files_photo_id_array":[{"photo_id":"1352227815","filename":"file5"},{"photo_id":"1352227789","filename":"file2"},{"photo_id":"1352227812","filename":"file4"},{"photo_id":"1352227773","filename":"file1"},{"photo_id":"1352227772","filename":"file0"},{"photo_id":"1352227806","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227773":["hashtag1","hashtag2"]},{"1352227812":["hashtag1","hashtag2"]},{"1352227806":["hashtag1","hashtag2"]},{"1352227815":["hashtag1","hashtag2"]},{"1352227772":["hashtag1","hashtag2"]},{"1352227789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227773, 1352227812, 1352227806, 1352227815, 1352227772, 1352227789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.045814752578735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:48:32.543720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_36_10410.jpg', '/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_46_9432.jpg', '/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_56_10444.jpg', '/home/pi/Desktop/images/12042025/11/55/image_12042025_11_56_07_10458.jpg', '/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_16_9330.jpg', '/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_26_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_36_10410.jpg
/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_46_9432.jpg
/home/pi/Desktop/images/12042025/11/55/image_12042025_11_55_56_10444.jpg
/home/pi/Desktop/images/12042025/11/55/image_12042025_11_56_07_10458.jpg
/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_16_9330.jpg
/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_26_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227947","1352227944","1352227940","1352227937","1352227942","1352227933"],"photo_ids_order":["1352227933","1352227937","1352227940","1352227942","1352227944","1352227947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f86db27e03dc3ba42bb77b5183caa087.jpg","text":"TemporaryFile(/tmp/multipartBody4925968854551351914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462173024,"filename":"image_12042025_11_56_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/deaf2a8da62c5d2e3ecfe12b977d388c.jpg","text":"TemporaryFile(/tmp/multipartBody5520875892516548152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462173024,"filename":"image_12042025_11_56_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe37a16a06db714443174a294495a27c.jpg","text":"TemporaryFile(/tmp/multipartBody5220201203586210073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462173024,"filename":"image_12042025_11_55_56_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f086f0503444e27ebca62a250d0a741.jpg","text":"TemporaryFile(/tmp/multipartBody7101790951393358187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462173024,"filename":"image_12042025_11_55_46_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7523bfdf2991ba251582599ca97e58be.jpg","text":"TemporaryFile(/tmp/multipartBody8937730185893939424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462173024,"filename":"image_12042025_11_56_07_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5e12149bf213cfea435dbb7db043f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5373394563632730086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462173024,"filename":"image_12042025_11_55_36_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227940","file1":"1352227937","file0":"1352227933","file4":"1352227944","file5":"1352227947","file3":"1352227942"},"map_files_photo_id_array":[{"photo_id":"1352227947","filename":"file5"},{"photo_id":"1352227940","filename":"file2"},{"photo_id":"1352227944","filename":"file4"},{"photo_id":"1352227937","filename":"file1"},{"photo_id":"1352227933","filename":"file0"},{"photo_id":"1352227942","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227947":["hashtag1","hashtag2"]},{"1352227944":["hashtag1","hashtag2"]},{"1352227940":["hashtag1","hashtag2"]},{"1352227937":["hashtag1","hashtag2"]},{"1352227942":["hashtag1","hashtag2"]},{"1352227933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227947, 1352227944, 1352227940, 1352227937, 1352227942, 1352227933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.704624891281128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:49:32.854350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_36_9395.jpg', '/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_46_10469.jpg', '/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_57_10393.jpg', '/home/pi/Desktop/images/12042025/11/56/image_12042025_11_57_06_9332.jpg', '/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_16_10409.jpg', '/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_27_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_36_9395.jpg
/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_46_10469.jpg
/home/pi/Desktop/images/12042025/11/56/image_12042025_11_56_57_10393.jpg
/home/pi/Desktop/images/12042025/11/56/image_12042025_11_57_06_9332.jpg
/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_16_10409.jpg
/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_27_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352227992","1352228013","1352227982","1352227985","1352228006","1352227983"],"photo_ids_order":["1352227982","1352227983","1352227985","1352227992","1352228006","1352228013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8245c4865d80d529c1875defc59ee7fe.jpg","text":"TemporaryFile(/tmp/multipartBody247751667004193907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462233308,"filename":"image_12042025_11_57_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d979e5adfdceb5629a309915fc56b771.jpg","text":"TemporaryFile(/tmp/multipartBody8919844716824085332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462233308,"filename":"image_12042025_11_57_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f6d31607074d707e9264c1a7f609de0.jpg","text":"TemporaryFile(/tmp/multipartBody3659878508085496732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462233308,"filename":"image_12042025_11_56_36_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae04303a01d2a82c07bb391f3f480c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7189110211491329996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462233308,"filename":"image_12042025_11_56_57_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e80229371c9e04a8433d72afcc0ab13.jpg","text":"TemporaryFile(/tmp/multipartBody8143039989491550954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462233308,"filename":"image_12042025_11_57_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f45aed2beed704b8e6cd09e695a0c36c.jpg","text":"TemporaryFile(/tmp/multipartBody6841268133104141861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462233308,"filename":"image_12042025_11_56_46_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352227985","file1":"1352227983","file0":"1352227982","file4":"1352228006","file5":"1352228013","file3":"1352227992"},"map_files_photo_id_array":[{"photo_id":"1352228013","filename":"file5"},{"photo_id":"1352227985","filename":"file2"},{"photo_id":"1352228006","filename":"file4"},{"photo_id":"1352227983","filename":"file1"},{"photo_id":"1352227982","filename":"file0"},{"photo_id":"1352227992","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352227992":["hashtag1","hashtag2"]},{"1352228013":["hashtag1","hashtag2"]},{"1352227982":["hashtag1","hashtag2"]},{"1352227985":["hashtag1","hashtag2"]},{"1352228006":["hashtag1","hashtag2"]},{"1352227983":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352227992, 1352228013, 1352227982, 1352227985, 1352228006, 1352227983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.797492027282715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:50:33.055687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_36_9459.jpg', '/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_47_10361.jpg', '/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_56_9348.jpg', '/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_17_10352.jpg', '/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_26_9351.jpg', '/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_37_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_36_9459.jpg
/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_47_10361.jpg
/home/pi/Desktop/images/12042025/11/57/image_12042025_11_57_56_9348.jpg
/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_17_10352.jpg
/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_26_9351.jpg
/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_37_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228115","1352228109","1352228118","1352228105","1352228119","1352228113"],"photo_ids_order":["1352228105","1352228109","1352228113","1352228115","1352228118","1352228119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33fe48e50c1650def98a3e1d8e625a80.jpg","text":"TemporaryFile(/tmp/multipartBody4587655743560353206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462293520,"filename":"image_12042025_11_58_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56c10850118bb5ce90f3d18c83ddf0ec.jpg","text":"TemporaryFile(/tmp/multipartBody5789756426646728879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462293520,"filename":"image_12042025_11_57_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5c4d2968464fbaa9a3fdb08c140b424.jpg","text":"TemporaryFile(/tmp/multipartBody8632692195974068713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462293520,"filename":"image_12042025_11_58_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa83efd9fe9c64cb7387d327f337d0ea.jpg","text":"TemporaryFile(/tmp/multipartBody2464612634663157777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462293520,"filename":"image_12042025_11_57_36_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d48a423acdedc616f226421790547f86.jpg","text":"TemporaryFile(/tmp/multipartBody1515433560264597622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462293520,"filename":"image_12042025_11_58_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/523722a1dcab51beb35227f60621f681.jpg","text":"TemporaryFile(/tmp/multipartBody5348134675123177297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462293520,"filename":"image_12042025_11_57_56_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228113","file1":"1352228109","file0":"1352228105","file4":"1352228118","file5":"1352228119","file3":"1352228115"},"map_files_photo_id_array":[{"photo_id":"1352228119","filename":"file5"},{"photo_id":"1352228113","filename":"file2"},{"photo_id":"1352228118","filename":"file4"},{"photo_id":"1352228109","filename":"file1"},{"photo_id":"1352228105","filename":"file0"},{"photo_id":"1352228115","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228115":["hashtag1","hashtag2"]},{"1352228109":["hashtag1","hashtag2"]},{"1352228118":["hashtag1","hashtag2"]},{"1352228105":["hashtag1","hashtag2"]},{"1352228119":["hashtag1","hashtag2"]},{"1352228113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228115, 1352228109, 1352228118, 1352228105, 1352228119, 1352228113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.476600646972656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:51:32.238772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_46_9347.jpg', '/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_56_10361.jpg', '/home/pi/Desktop/images/12042025/11/58/image_12042025_11_59_07_10404.jpg', '/home/pi/Desktop/images/12042025/11/59/image_12042025_11_59_16_9469.jpg', '/home/pi/Desktop/images/12042025/11/59/image_12042025_11_59_26_10381.jpg', '/home/pi/Desktop/images/12042025/11/59/image_12042025_11_59_57_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_46_9347.jpg
/home/pi/Desktop/images/12042025/11/58/image_12042025_11_58_56_10361.jpg
/home/pi/Desktop/images/12042025/11/58/image_12042025_11_59_07_10404.jpg
/home/pi/Desktop/images/12042025/11/59/image_12042025_11_59_16_9469.jpg
/home/pi/Desktop/images/12042025/11/59/image_12042025_11_59_26_10381.jpg
/home/pi/Desktop/images/12042025/11/59/image_12042025_11_59_57_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228154","1352228168","1352228176","1352228187","1352228151","1352228145"],"photo_ids_order":["1352228145","1352228151","1352228154","1352228168","1352228176","1352228187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3841a9af8356797e6e589b1af5b737d5.jpg","text":"TemporaryFile(/tmp/multipartBody1588044868593203241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462352704,"filename":"image_12042025_11_59_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71fb3a9a01c24e9ec8941d621dd0438f.jpg","text":"TemporaryFile(/tmp/multipartBody1488583529334283232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462352704,"filename":"image_12042025_11_59_16_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40cea43417596476f4b44a589ded7f5f.jpg","text":"TemporaryFile(/tmp/multipartBody707504043551944480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462352704,"filename":"image_12042025_11_59_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8943154a64751ed94e6ba79a90261929.jpg","text":"TemporaryFile(/tmp/multipartBody3555902065388982398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462352704,"filename":"image_12042025_11_59_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c720afebc28c812fed9373305e861d39.jpg","text":"TemporaryFile(/tmp/multipartBody3673150896569101597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462352704,"filename":"image_12042025_11_58_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79c7340bff376c8392828e1293b6d514.jpg","text":"TemporaryFile(/tmp/multipartBody3231824169450912357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462352704,"filename":"image_12042025_11_58_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228154","file1":"1352228151","file0":"1352228145","file4":"1352228176","file5":"1352228187","file3":"1352228168"},"map_files_photo_id_array":[{"photo_id":"1352228187","filename":"file5"},{"photo_id":"1352228154","filename":"file2"},{"photo_id":"1352228176","filename":"file4"},{"photo_id":"1352228151","filename":"file1"},{"photo_id":"1352228145","filename":"file0"},{"photo_id":"1352228168","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228154":["hashtag1","hashtag2"]},{"1352228168":["hashtag1","hashtag2"]},{"1352228176":["hashtag1","hashtag2"]},{"1352228187":["hashtag1","hashtag2"]},{"1352228151":["hashtag1","hashtag2"]},{"1352228145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228154, 1352228168, 1352228176, 1352228187, 1352228151, 1352228145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21562314033508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:52:32.602495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/00/image_12042025_12_00_27_10376.jpg', '/home/pi/Desktop/images/12042025/12/00/image_12042025_12_00_37_10355.jpg', '/home/pi/Desktop/images/12042025/12/00/image_12042025_12_00_47_9434.jpg', '/home/pi/Desktop/images/12042025/12/00/image_12042025_12_00_57_10362.jpg', '/home/pi/Desktop/images/12042025/12/00/image_12042025_12_01_06_9481.jpg', '/home/pi/Desktop/images/12042025/12/01/image_12042025_12_01_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/00/image_12042025_12_00_27_10376.jpg
/home/pi/Desktop/images/12042025/12/00/image_12042025_12_00_37_10355.jpg
/home/pi/Desktop/images/12042025/12/00/image_12042025_12_00_47_9434.jpg
/home/pi/Desktop/images/12042025/12/00/image_12042025_12_00_57_10362.jpg
/home/pi/Desktop/images/12042025/12/00/image_12042025_12_01_06_9481.jpg
/home/pi/Desktop/images/12042025/12/01/image_12042025_12_01_17_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228252","1352228290","1352228254","1352228248","1352228257","1352228283"],"photo_ids_order":["1352228248","1352228252","1352228254","1352228257","1352228283","1352228290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d79ae04dd91251b3acb7764539d1c2c.jpg","text":"TemporaryFile(/tmp/multipartBody9163966819951298717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462413070,"filename":"image_12042025_12_00_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b492664d59143b9eb595444770c3f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1561054983392592987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462413070,"filename":"image_12042025_12_01_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d46a5bd5d2295e7a105941fd224e4c1.jpg","text":"TemporaryFile(/tmp/multipartBody1478618245179367020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462413070,"filename":"image_12042025_12_00_47_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12c56bc521833c6e4d85da231b4b01b4.jpg","text":"TemporaryFile(/tmp/multipartBody4031997094934742705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462413070,"filename":"image_12042025_12_00_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9fe8bddd02e602817ea24e806632fb9.jpg","text":"TemporaryFile(/tmp/multipartBody323906918512926919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462413070,"filename":"image_12042025_12_00_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66dc8806858f0d108843499661053727.jpg","text":"TemporaryFile(/tmp/multipartBody975588061155535828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462413070,"filename":"image_12042025_12_01_06_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228254","file1":"1352228252","file0":"1352228248","file4":"1352228283","file5":"1352228290","file3":"1352228257"},"map_files_photo_id_array":[{"photo_id":"1352228290","filename":"file5"},{"photo_id":"1352228254","filename":"file2"},{"photo_id":"1352228283","filename":"file4"},{"photo_id":"1352228252","filename":"file1"},{"photo_id":"1352228248","filename":"file0"},{"photo_id":"1352228257","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228252":["hashtag1","hashtag2"]},{"1352228290":["hashtag1","hashtag2"]},{"1352228254":["hashtag1","hashtag2"]},{"1352228248":["hashtag1","hashtag2"]},{"1352228257":["hashtag1","hashtag2"]},{"1352228283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228252, 1352228290, 1352228254, 1352228248, 1352228257, 1352228283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28496170043945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:53:32.902906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/01/image_12042025_12_01_27_10364.jpg', '/home/pi/Desktop/images/12042025/12/01/image_12042025_12_01_36_9355.jpg', '/home/pi/Desktop/images/12042025/12/01/image_12042025_12_01_57_10357.jpg', '/home/pi/Desktop/images/12042025/12/01/image_12042025_12_02_07_9351.jpg', '/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_17_10359.jpg', '/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_26_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/01/image_12042025_12_01_27_10364.jpg
/home/pi/Desktop/images/12042025/12/01/image_12042025_12_01_36_9355.jpg
/home/pi/Desktop/images/12042025/12/01/image_12042025_12_01_57_10357.jpg
/home/pi/Desktop/images/12042025/12/01/image_12042025_12_02_07_9351.jpg
/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_17_10359.jpg
/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_26_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228448","1352228502","1352228573","1352228545","1352228521","1352228475"],"photo_ids_order":["1352228448","1352228475","1352228502","1352228521","1352228545","1352228573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9270994a0bd1dc4f46de74fc2af137ed.jpg","text":"TemporaryFile(/tmp/multipartBody2160415551758036901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462473360,"filename":"image_12042025_12_01_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e3906765dc0737b74ef9f622c922f1a.jpg","text":"TemporaryFile(/tmp/multipartBody8725825980613743530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462473360,"filename":"image_12042025_12_01_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77cb4ee7aa94db5b896b9df39cbf2950.jpg","text":"TemporaryFile(/tmp/multipartBody3549139084119124333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462473360,"filename":"image_12042025_12_02_26_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2d9585651911cff79e88e2d59cf1620.jpg","text":"TemporaryFile(/tmp/multipartBody6709646527518633238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462473360,"filename":"image_12042025_12_02_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/081b61c1f3f1d7683b82e435a823c2c1.jpg","text":"TemporaryFile(/tmp/multipartBody4967294015679532654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462473360,"filename":"image_12042025_12_02_07_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6b9303cb1abcfe39475c3517b0299b1.jpg","text":"TemporaryFile(/tmp/multipartBody3166748896022530254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462473360,"filename":"image_12042025_12_01_36_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228502","file1":"1352228475","file0":"1352228448","file4":"1352228545","file5":"1352228573","file3":"1352228521"},"map_files_photo_id_array":[{"photo_id":"1352228573","filename":"file5"},{"photo_id":"1352228502","filename":"file2"},{"photo_id":"1352228545","filename":"file4"},{"photo_id":"1352228475","filename":"file1"},{"photo_id":"1352228448","filename":"file0"},{"photo_id":"1352228521","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228448":["hashtag1","hashtag2"]},{"1352228502":["hashtag1","hashtag2"]},{"1352228573":["hashtag1","hashtag2"]},{"1352228545":["hashtag1","hashtag2"]},{"1352228521":["hashtag1","hashtag2"]},{"1352228475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228448, 1352228502, 1352228573, 1352228545, 1352228521, 1352228475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69652318954468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:54:33.134235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_37_10489.jpg', '/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_47_10383.jpg', '/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_57_9455.jpg', '/home/pi/Desktop/images/12042025/12/02/image_12042025_12_03_07_10347.jpg', '/home/pi/Desktop/images/12042025/12/03/image_12042025_12_03_16_9362.jpg', '/home/pi/Desktop/images/12042025/12/03/image_12042025_12_03_27_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_37_10489.jpg
/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_47_10383.jpg
/home/pi/Desktop/images/12042025/12/02/image_12042025_12_02_57_9455.jpg
/home/pi/Desktop/images/12042025/12/02/image_12042025_12_03_07_10347.jpg
/home/pi/Desktop/images/12042025/12/03/image_12042025_12_03_16_9362.jpg
/home/pi/Desktop/images/12042025/12/03/image_12042025_12_03_27_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228686","1352228689","1352228683","1352228694","1352228673","1352228661"],"photo_ids_order":["1352228661","1352228673","1352228683","1352228686","1352228689","1352228694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5376c1ecbed855a9d9d6f85303e4818a.jpg","text":"TemporaryFile(/tmp/multipartBody2712116952238980856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462533589,"filename":"image_12042025_12_03_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92f21ea9085225759747e0677e56e615.jpg","text":"TemporaryFile(/tmp/multipartBody4975653807540296266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462533589,"filename":"image_12042025_12_03_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48d76f21a4fc7296281fbd0dea6a6fec.jpg","text":"TemporaryFile(/tmp/multipartBody7052636541941757242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462533589,"filename":"image_12042025_12_02_57_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ef0e2e95ee6a1a51daa299f6b7e4030.jpg","text":"TemporaryFile(/tmp/multipartBody1021154892674627303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462533589,"filename":"image_12042025_12_03_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a04a4327d98f120641d81be110822f70.jpg","text":"TemporaryFile(/tmp/multipartBody6799773401018688160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462533589,"filename":"image_12042025_12_02_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acf7bf64109a43b85518a19ca323de6b.jpg","text":"TemporaryFile(/tmp/multipartBody6863268220092960322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462533589,"filename":"image_12042025_12_02_37_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228683","file1":"1352228673","file0":"1352228661","file4":"1352228689","file5":"1352228694","file3":"1352228686"},"map_files_photo_id_array":[{"photo_id":"1352228694","filename":"file5"},{"photo_id":"1352228683","filename":"file2"},{"photo_id":"1352228689","filename":"file4"},{"photo_id":"1352228673","filename":"file1"},{"photo_id":"1352228661","filename":"file0"},{"photo_id":"1352228686","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228686":["hashtag1","hashtag2"]},{"1352228689":["hashtag1","hashtag2"]},{"1352228683":["hashtag1","hashtag2"]},{"1352228694":["hashtag1","hashtag2"]},{"1352228673":["hashtag1","hashtag2"]},{"1352228661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228686, 1352228689, 1352228683, 1352228694, 1352228673, 1352228661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10867261886597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:55:32.349636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/03/image_12042025_12_04_06_9449.jpg', '/home/pi/Desktop/images/12042025/12/04/image_12042025_12_04_27_10448.jpg', '/home/pi/Desktop/images/12042025/12/04/image_12042025_12_04_37_9426.jpg', '/home/pi/Desktop/images/12042025/12/04/image_12042025_12_04_47_10171.jpg', '/home/pi/Desktop/images/12042025/12/04/image_12042025_12_04_57_10452.jpg', '/home/pi/Desktop/images/12042025/12/04/image_12042025_12_05_06_9067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/03/image_12042025_12_04_06_9449.jpg
/home/pi/Desktop/images/12042025/12/04/image_12042025_12_04_27_10448.jpg
/home/pi/Desktop/images/12042025/12/04/image_12042025_12_04_37_9426.jpg
/home/pi/Desktop/images/12042025/12/04/image_12042025_12_04_47_10171.jpg
/home/pi/Desktop/images/12042025/12/04/image_12042025_12_04_57_10452.jpg
/home/pi/Desktop/images/12042025/12/04/image_12042025_12_05_06_9067.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228808","1352228786","1352228801","1352228810","1352228806","1352228787"],"photo_ids_order":["1352228786","1352228787","1352228801","1352228806","1352228808","1352228810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d26fe9ecaf5968e7224ca2a7c8ea512.jpg","text":"TemporaryFile(/tmp/multipartBody1219220636564019818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462592821,"filename":"image_12042025_12_04_57_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76dd0e3501ef084946d882ef981293bc.jpg","text":"TemporaryFile(/tmp/multipartBody6177028255411771627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462592821,"filename":"image_12042025_12_04_06_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8260e89071a0ccdc5c915bd94bc3d76.jpg","text":"TemporaryFile(/tmp/multipartBody6480846750927520953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462592821,"filename":"image_12042025_12_04_37_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4191f7049f2560582457ff7ddc3f4f0.jpg","text":"TemporaryFile(/tmp/multipartBody8502495067485228041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462592821,"filename":"image_12042025_12_05_06_9067.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f25f208abf029c3262317c342a5e5cdc.jpg","text":"TemporaryFile(/tmp/multipartBody6983986756821749081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462592821,"filename":"image_12042025_12_04_47_10171.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85f4bcc2e2c1091f98fb0252a775f95c.jpg","text":"TemporaryFile(/tmp/multipartBody7396473089722261810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462592821,"filename":"image_12042025_12_04_27_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228801","file1":"1352228787","file0":"1352228786","file4":"1352228808","file5":"1352228810","file3":"1352228806"},"map_files_photo_id_array":[{"photo_id":"1352228810","filename":"file5"},{"photo_id":"1352228801","filename":"file2"},{"photo_id":"1352228808","filename":"file4"},{"photo_id":"1352228787","filename":"file1"},{"photo_id":"1352228786","filename":"file0"},{"photo_id":"1352228806","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228808":["hashtag1","hashtag2"]},{"1352228786":["hashtag1","hashtag2"]},{"1352228801":["hashtag1","hashtag2"]},{"1352228810":["hashtag1","hashtag2"]},{"1352228806":["hashtag1","hashtag2"]},{"1352228787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228808, 1352228786, 1352228801, 1352228810, 1352228806, 1352228787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07891821861267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:56:32.566179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/05/image_12042025_12_05_17_10363.jpg', '/home/pi/Desktop/images/12042025/12/05/image_12042025_12_05_27_10445.jpg', '/home/pi/Desktop/images/12042025/12/05/image_12042025_12_05_37_9383.jpg', '/home/pi/Desktop/images/12042025/12/05/image_12042025_12_05_57_10348.jpg', '/home/pi/Desktop/images/12042025/12/05/image_12042025_12_06_07_9430.jpg', '/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_17_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/05/image_12042025_12_05_17_10363.jpg
/home/pi/Desktop/images/12042025/12/05/image_12042025_12_05_27_10445.jpg
/home/pi/Desktop/images/12042025/12/05/image_12042025_12_05_37_9383.jpg
/home/pi/Desktop/images/12042025/12/05/image_12042025_12_05_57_10348.jpg
/home/pi/Desktop/images/12042025/12/05/image_12042025_12_06_07_9430.jpg
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_17_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228841","1352228838","1352228825","1352228834","1352228828","1352228830"],"photo_ids_order":["1352228825","1352228828","1352228830","1352228834","1352228838","1352228841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e40644ab1488d2951a27f788ec5254b5.jpg","text":"TemporaryFile(/tmp/multipartBody5628995337727053931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462653055,"filename":"image_12042025_12_06_17_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20bfc6a8fd63586db00d77dbbb5b5d1b.jpg","text":"TemporaryFile(/tmp/multipartBody217780058689766893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462653055,"filename":"image_12042025_12_06_07_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d3badd25276d4c292d314405d33936d.jpg","text":"TemporaryFile(/tmp/multipartBody2957434663717873625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462653055,"filename":"image_12042025_12_05_17_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bcdaceb4346c67848c516b1e404e3b4.jpg","text":"TemporaryFile(/tmp/multipartBody6519297543136612700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462653055,"filename":"image_12042025_12_05_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df0cc0a05d918f88781e46731ada6b71.jpg","text":"TemporaryFile(/tmp/multipartBody8483205878636590945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462653055,"filename":"image_12042025_12_05_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29d2c8bdf29f2c9e2a2deee809507c1e.jpg","text":"TemporaryFile(/tmp/multipartBody7770085536309283597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462653055,"filename":"image_12042025_12_05_37_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228830","file1":"1352228828","file0":"1352228825","file4":"1352228838","file5":"1352228841","file3":"1352228834"},"map_files_photo_id_array":[{"photo_id":"1352228841","filename":"file5"},{"photo_id":"1352228830","filename":"file2"},{"photo_id":"1352228838","filename":"file4"},{"photo_id":"1352228828","filename":"file1"},{"photo_id":"1352228825","filename":"file0"},{"photo_id":"1352228834","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228841":["hashtag1","hashtag2"]},{"1352228838":["hashtag1","hashtag2"]},{"1352228825":["hashtag1","hashtag2"]},{"1352228834":["hashtag1","hashtag2"]},{"1352228828":["hashtag1","hashtag2"]},{"1352228830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228841, 1352228838, 1352228825, 1352228834, 1352228828, 1352228830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.198169469833374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:57:32.818281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_37_10451.jpg', '/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_46_9507.jpg', '/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_57_10365.jpg', '/home/pi/Desktop/images/12042025/12/06/image_12042025_12_07_07_10415.jpg', '/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_17_9466.jpg', '/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_27_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_37_10451.jpg
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_46_9507.jpg
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_57_10365.jpg
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_07_07_10415.jpg
/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_17_9466.jpg
/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_27_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 14:59:04.040330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_37_10451.jpg', '/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_46_9507.jpg', '/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_57_10365.jpg', '/home/pi/Desktop/images/12042025/12/06/image_12042025_12_07_07_10415.jpg', '/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_17_9466.jpg', '/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_27_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_37_10451.jpg
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_46_9507.jpg
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_06_57_10365.jpg
/home/pi/Desktop/images/12042025/12/06/image_12042025_12_07_07_10415.jpg
/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_17_9466.jpg
/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_27_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228922","1352228901","1352228907","1352228927","1352228912","1352228931"],"photo_ids_order":["1352228901","1352228907","1352228912","1352228922","1352228927","1352228931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/471fafd1ef21b49ede0b3da4bd7bc568.jpg","text":"TemporaryFile(/tmp/multipartBody6945332816088258303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462807082,"filename":"image_12042025_12_07_07_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6dffb19d1504f7f24c4d6cb8aed240a1.jpg","text":"TemporaryFile(/tmp/multipartBody2354552759394454549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462807082,"filename":"image_12042025_12_06_37_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2866350b939d7bedee02a6c5c8b2604d.jpg","text":"TemporaryFile(/tmp/multipartBody5497901748151973956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462807082,"filename":"image_12042025_12_06_46_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2cf93dccb09879c4b660b82832f7563.jpg","text":"TemporaryFile(/tmp/multipartBody3185877432007969912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462807082,"filename":"image_12042025_12_07_17_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3cef99a2c844f98d15082d72e567825.jpg","text":"TemporaryFile(/tmp/multipartBody6095464152916174182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462807082,"filename":"image_12042025_12_06_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7c5752137ca45cbf0fc6488e4c3534f.jpg","text":"TemporaryFile(/tmp/multipartBody3236840567341368205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462807082,"filename":"image_12042025_12_07_27_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228912","file1":"1352228907","file0":"1352228901","file4":"1352228927","file5":"1352228931","file3":"1352228922"},"map_files_photo_id_array":[{"photo_id":"1352228931","filename":"file5"},{"photo_id":"1352228912","filename":"file2"},{"photo_id":"1352228927","filename":"file4"},{"photo_id":"1352228907","filename":"file1"},{"photo_id":"1352228901","filename":"file0"},{"photo_id":"1352228922","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228922":["hashtag1","hashtag2"]},{"1352228901":["hashtag1","hashtag2"]},{"1352228907":["hashtag1","hashtag2"]},{"1352228927":["hashtag1","hashtag2"]},{"1352228912":["hashtag1","hashtag2"]},{"1352228931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228922, 1352228901, 1352228907, 1352228927, 1352228912, 1352228931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88704061508179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 14:59:52.548817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_37_9486.jpg', '/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_47_10359.jpg', '/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_57_10358.jpg', '/home/pi/Desktop/images/12042025/12/07/image_12042025_12_08_07_9434.jpg', '/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_17_10346.jpg', '/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_26_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_37_9486.jpg
/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_47_10359.jpg
/home/pi/Desktop/images/12042025/12/07/image_12042025_12_07_57_10358.jpg
/home/pi/Desktop/images/12042025/12/07/image_12042025_12_08_07_9434.jpg
/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_17_10346.jpg
/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_26_9446.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228955","1352228949","1352228965","1352228962","1352228959","1352228952"],"photo_ids_order":["1352228949","1352228952","1352228955","1352228959","1352228962","1352228965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75c6967202b450f97df79ec87d6a1b93.jpg","text":"TemporaryFile(/tmp/multipartBody4017140873311831387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462853048,"filename":"image_12042025_12_07_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b284c7b065be51c501dace581cf07aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3495385655897764501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462853048,"filename":"image_12042025_12_07_37_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f9caccaec9e22ff10227ab65804a6bd.jpg","text":"TemporaryFile(/tmp/multipartBody39191049466236807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462853048,"filename":"image_12042025_12_08_26_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31895481e25d5e87dfbeaf700900f1be.jpg","text":"TemporaryFile(/tmp/multipartBody4904235844867246088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462853048,"filename":"image_12042025_12_08_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/432b4056ec02934f266bb78b20aa357a.jpg","text":"TemporaryFile(/tmp/multipartBody8228864962188988977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462853048,"filename":"image_12042025_12_08_07_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e34e0184460157b0629aa3636252330.jpg","text":"TemporaryFile(/tmp/multipartBody8946149302912895924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462853048,"filename":"image_12042025_12_07_47_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228955","file1":"1352228952","file0":"1352228949","file4":"1352228962","file5":"1352228965","file3":"1352228959"},"map_files_photo_id_array":[{"photo_id":"1352228965","filename":"file5"},{"photo_id":"1352228955","filename":"file2"},{"photo_id":"1352228962","filename":"file4"},{"photo_id":"1352228952","filename":"file1"},{"photo_id":"1352228949","filename":"file0"},{"photo_id":"1352228959","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228955":["hashtag1","hashtag2"]},{"1352228949":["hashtag1","hashtag2"]},{"1352228965":["hashtag1","hashtag2"]},{"1352228962":["hashtag1","hashtag2"]},{"1352228959":["hashtag1","hashtag2"]},{"1352228952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228955, 1352228949, 1352228965, 1352228962, 1352228959, 1352228952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.950008153915405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:00:32.780398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_37_10380.jpg', '/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_47_10362.jpg', '/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_57_9348.jpg', '/home/pi/Desktop/images/12042025/12/08/image_12042025_12_09_07_10354.jpg', '/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_16_9403.jpg', '/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_27_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_37_10380.jpg
/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_47_10362.jpg
/home/pi/Desktop/images/12042025/12/08/image_12042025_12_08_57_9348.jpg
/home/pi/Desktop/images/12042025/12/08/image_12042025_12_09_07_10354.jpg
/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_16_9403.jpg
/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_27_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352228999","1352229002","1352229022","1352228995","1352228989","1352228985"],"photo_ids_order":["1352228985","1352228989","1352228995","1352228999","1352229002","1352229022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62c88d71a4ae2dbf3886f301535e6958.jpg","text":"TemporaryFile(/tmp/multipartBody8281529673134038927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462893250,"filename":"image_12042025_12_09_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12ddd9ee1b94b1d1632596ce89a46397.jpg","text":"TemporaryFile(/tmp/multipartBody7290040398690579232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462893250,"filename":"image_12042025_12_09_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b64f830a3ed5dd10f2ff687278e5af59.jpg","text":"TemporaryFile(/tmp/multipartBody4189195003590368060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462893250,"filename":"image_12042025_12_09_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2356fd5f1e6d437d5a9f53b92b806c9.jpg","text":"TemporaryFile(/tmp/multipartBody9050294579642058291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462893250,"filename":"image_12042025_12_08_57_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3568029e1778341eba70cdaf60437473.jpg","text":"TemporaryFile(/tmp/multipartBody6187819591903350151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462893250,"filename":"image_12042025_12_08_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ae60677a449eb310f7bc6fb7d727400.jpg","text":"TemporaryFile(/tmp/multipartBody3661780846583140187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462893250,"filename":"image_12042025_12_08_37_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352228995","file1":"1352228989","file0":"1352228985","file4":"1352229002","file5":"1352229022","file3":"1352228999"},"map_files_photo_id_array":[{"photo_id":"1352229022","filename":"file5"},{"photo_id":"1352228995","filename":"file2"},{"photo_id":"1352229002","filename":"file4"},{"photo_id":"1352228989","filename":"file1"},{"photo_id":"1352228985","filename":"file0"},{"photo_id":"1352228999","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352228999":["hashtag1","hashtag2"]},{"1352229002":["hashtag1","hashtag2"]},{"1352229022":["hashtag1","hashtag2"]},{"1352228995":["hashtag1","hashtag2"]},{"1352228989":["hashtag1","hashtag2"]},{"1352228985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352228999, 1352229002, 1352229022, 1352228995, 1352228989, 1352228985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26953673362732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:01:33.014340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_37_10348.jpg', '/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_46_9399.jpg', '/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_57_10369.jpg', '/home/pi/Desktop/images/12042025/12/09/image_12042025_12_10_07_10387.jpg', '/home/pi/Desktop/images/12042025/12/10/image_12042025_12_10_17_9430.jpg', '/home/pi/Desktop/images/12042025/12/10/image_12042025_12_10_37_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_37_10348.jpg
/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_46_9399.jpg
/home/pi/Desktop/images/12042025/12/09/image_12042025_12_09_57_10369.jpg
/home/pi/Desktop/images/12042025/12/09/image_12042025_12_10_07_10387.jpg
/home/pi/Desktop/images/12042025/12/10/image_12042025_12_10_17_9430.jpg
/home/pi/Desktop/images/12042025/12/10/image_12042025_12_10_37_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229053","1352229062","1352229056","1352229065","1352229050","1352229070"],"photo_ids_order":["1352229050","1352229053","1352229056","1352229062","1352229065","1352229070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eeb78f4a8e3a6b15369c7402455f6afe.jpg","text":"TemporaryFile(/tmp/multipartBody1604098593051251737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462953471,"filename":"image_12042025_12_09_46_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98e82818baf4434eb24827e9a4ef6095.jpg","text":"TemporaryFile(/tmp/multipartBody4136272339060875318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462953471,"filename":"image_12042025_12_10_07_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2552456b47689bc0cf86161fb09ae72b.jpg","text":"TemporaryFile(/tmp/multipartBody2815377871798543587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462953471,"filename":"image_12042025_12_09_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5926bb5eae1821446180a6e226e5af6.jpg","text":"TemporaryFile(/tmp/multipartBody8759771498180585385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462953471,"filename":"image_12042025_12_10_17_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0d36558a25e6e2af6170f52ce8e7a85.jpg","text":"TemporaryFile(/tmp/multipartBody7009087563916927502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462953471,"filename":"image_12042025_12_09_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ec2bf8e5a3452277d5545e9079bfe67.jpg","text":"TemporaryFile(/tmp/multipartBody927681831346134289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744462953471,"filename":"image_12042025_12_10_37_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229056","file1":"1352229053","file0":"1352229050","file4":"1352229065","file5":"1352229070","file3":"1352229062"},"map_files_photo_id_array":[{"photo_id":"1352229070","filename":"file5"},{"photo_id":"1352229056","filename":"file2"},{"photo_id":"1352229065","filename":"file4"},{"photo_id":"1352229053","filename":"file1"},{"photo_id":"1352229050","filename":"file0"},{"photo_id":"1352229062","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352229053":["hashtag1","hashtag2"]},{"1352229062":["hashtag1","hashtag2"]},{"1352229056":["hashtag1","hashtag2"]},{"1352229065":["hashtag1","hashtag2"]},{"1352229050":["hashtag1","hashtag2"]},{"1352229070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352229053, 1352229062, 1352229056, 1352229065, 1352229050, 1352229070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82201409339905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:02:32.218657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/10/image_12042025_12_10_47_10369.jpg', '/home/pi/Desktop/images/12042025/12/10/image_12042025_12_10_57_10368.jpg', '/home/pi/Desktop/images/12042025/12/10/image_12042025_12_11_07_9345.jpg', '/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_17_10367.jpg', '/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_26_9443.jpg', '/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_37_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/10/image_12042025_12_10_47_10369.jpg
/home/pi/Desktop/images/12042025/12/10/image_12042025_12_10_57_10368.jpg
/home/pi/Desktop/images/12042025/12/10/image_12042025_12_11_07_9345.jpg
/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_17_10367.jpg
/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_26_9443.jpg
/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_37_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229143","1352229148","1352229138","1352229153","1352229132","1352229135"],"photo_ids_order":["1352229132","1352229135","1352229138","1352229143","1352229148","1352229153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8326d7651c2f80527c1913842cf1602.jpg","text":"TemporaryFile(/tmp/multipartBody5084231545851015225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463012691,"filename":"image_12042025_12_11_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8ee5ccdbca47c89d09162ecb8c01d10.jpg","text":"TemporaryFile(/tmp/multipartBody7337247598447123803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463012691,"filename":"image_12042025_12_11_26_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f62eeb405be2b571fa262c4f71c5b2b.jpg","text":"TemporaryFile(/tmp/multipartBody4057324750616297506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463012691,"filename":"image_12042025_12_11_07_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f621a42e7a3571619f20503bde5c10b.jpg","text":"TemporaryFile(/tmp/multipartBody549436259478887173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463012691,"filename":"image_12042025_12_11_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3442779305419613d9c1bfb2196245dc.jpg","text":"TemporaryFile(/tmp/multipartBody2991452011721422023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463012691,"filename":"image_12042025_12_10_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc9e475ce8b8eb0825cab13294fa10e0.jpg","text":"TemporaryFile(/tmp/multipartBody2274480153479753474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463012691,"filename":"image_12042025_12_10_57_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229138","file1":"1352229135","file0":"1352229132","file4":"1352229148","file5":"1352229153","file3":"1352229143"},"map_files_photo_id_array":[{"photo_id":"1352229153","filename":"file5"},{"photo_id":"1352229138","filename":"file2"},{"photo_id":"1352229148","filename":"file4"},{"photo_id":"1352229135","filename":"file1"},{"photo_id":"1352229132","filename":"file0"},{"photo_id":"1352229143","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352229143":["hashtag1","hashtag2"]},{"1352229148":["hashtag1","hashtag2"]},{"1352229138":["hashtag1","hashtag2"]},{"1352229153":["hashtag1","hashtag2"]},{"1352229132":["hashtag1","hashtag2"]},{"1352229135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352229143, 1352229148, 1352229138, 1352229153, 1352229132, 1352229135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25073456764221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:03:32.448632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_47_10388.jpg', '/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_57_9348.jpg', '/home/pi/Desktop/images/12042025/12/11/image_12042025_12_12_07_10358.jpg', '/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_17_10365.jpg', '/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_27_9449.jpg', '/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_37_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_47_10388.jpg
/home/pi/Desktop/images/12042025/12/11/image_12042025_12_11_57_9348.jpg
/home/pi/Desktop/images/12042025/12/11/image_12042025_12_12_07_10358.jpg
/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_17_10365.jpg
/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_27_9449.jpg
/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_37_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229188","1352229184","1352229178","1352229174","1352229168","1352229171"],"photo_ids_order":["1352229168","1352229171","1352229174","1352229178","1352229184","1352229188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a27ea6d8492727cd723be9717930ce58.jpg","text":"TemporaryFile(/tmp/multipartBody5284907353091937778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463072930,"filename":"image_12042025_12_12_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/572d012d90b3405ef657c6d9f71aa1e9.jpg","text":"TemporaryFile(/tmp/multipartBody8080667638661160214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463072930,"filename":"image_12042025_12_12_27_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eaea331fcb4e90de23f3faff3c2abf61.jpg","text":"TemporaryFile(/tmp/multipartBody2947618608857831189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463072930,"filename":"image_12042025_12_12_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0abe1d523c99e5bc0fdc9f9a71a3a21.jpg","text":"TemporaryFile(/tmp/multipartBody4861590412714839152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463072930,"filename":"image_12042025_12_12_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/697c3b852219980f5da8d4c5ffdba317.jpg","text":"TemporaryFile(/tmp/multipartBody4775747231846929835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463072930,"filename":"image_12042025_12_11_47_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e8d4452401621126134a61e7ee8f787.jpg","text":"TemporaryFile(/tmp/multipartBody2031643605378885185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463072930,"filename":"image_12042025_12_11_57_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229174","file1":"1352229171","file0":"1352229168","file4":"1352229184","file5":"1352229188","file3":"1352229178"},"map_files_photo_id_array":[{"photo_id":"1352229188","filename":"file5"},{"photo_id":"1352229174","filename":"file2"},{"photo_id":"1352229184","filename":"file4"},{"photo_id":"1352229171","filename":"file1"},{"photo_id":"1352229168","filename":"file0"},{"photo_id":"1352229178","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352229188":["hashtag1","hashtag2"]},{"1352229184":["hashtag1","hashtag2"]},{"1352229178":["hashtag1","hashtag2"]},{"1352229174":["hashtag1","hashtag2"]},{"1352229168":["hashtag1","hashtag2"]},{"1352229171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352229188, 1352229184, 1352229178, 1352229174, 1352229168, 1352229171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.620325565338135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:04:32.812766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_46_9446.jpg', '/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_57_10351.jpg', '/home/pi/Desktop/images/12042025/12/12/image_12042025_12_13_07_10352.jpg', '/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_17_9434.jpg', '/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_27_10367.jpg', '/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_36_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_46_9446.jpg
/home/pi/Desktop/images/12042025/12/12/image_12042025_12_12_57_10351.jpg
/home/pi/Desktop/images/12042025/12/12/image_12042025_12_13_07_10352.jpg
/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_17_9434.jpg
/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_27_10367.jpg
/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_36_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229332","1352229254","1352229391","1352229448","1352229285","1352229502"],"photo_ids_order":["1352229254","1352229285","1352229332","1352229391","1352229448","1352229502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f8addd43ab46ce467bfdf99edf3c57c.jpg","text":"TemporaryFile(/tmp/multipartBody4602571211319989866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463133278,"filename":"image_12042025_12_13_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2272566d57ca19e53b5375d2490acaf.jpg","text":"TemporaryFile(/tmp/multipartBody2660048972225612327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463133278,"filename":"image_12042025_12_12_46_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e427d8e53f58e30e4782eea68173ff8.jpg","text":"TemporaryFile(/tmp/multipartBody919894337716332388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463133278,"filename":"image_12042025_12_13_17_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d823a86c99d35557ab63b9803447613d.jpg","text":"TemporaryFile(/tmp/multipartBody4251815821251044428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463133278,"filename":"image_12042025_12_13_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0de56ec2dbf55be4eeffe67b274d393d.jpg","text":"TemporaryFile(/tmp/multipartBody4049895872110657298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463133278,"filename":"image_12042025_12_12_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26c025bace135bd3800af0ac10b8ce46.jpg","text":"TemporaryFile(/tmp/multipartBody7664281938245344623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463133278,"filename":"image_12042025_12_13_36_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352229332","file1":"1352229285","file0":"1352229254","file4":"1352229448","file5":"1352229502","file3":"1352229391"},"map_files_photo_id_array":[{"photo_id":"1352229502","filename":"file5"},{"photo_id":"1352229332","filename":"file2"},{"photo_id":"1352229448","filename":"file4"},{"photo_id":"1352229285","filename":"file1"},{"photo_id":"1352229254","filename":"file0"},{"photo_id":"1352229391","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352229332":["hashtag1","hashtag2"]},{"1352229254":["hashtag1","hashtag2"]},{"1352229391":["hashtag1","hashtag2"]},{"1352229448":["hashtag1","hashtag2"]},{"1352229285":["hashtag1","hashtag2"]},{"1352229502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352229332, 1352229254, 1352229391, 1352229448, 1352229285, 1352229502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.434869050979614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:05:32.972130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_47_10364.jpg', '/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_57_10357.jpg', '/home/pi/Desktop/images/12042025/12/13/image_12042025_12_14_06_9358.jpg', '/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_17_10365.jpg', '/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_26_9487.jpg', '/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_37_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_47_10364.jpg
/home/pi/Desktop/images/12042025/12/13/image_12042025_12_13_57_10357.jpg
/home/pi/Desktop/images/12042025/12/13/image_12042025_12_14_06_9358.jpg
/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_17_10365.jpg
/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_26_9487.jpg
/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_37_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352229986","1352230109","1352230043","1352230264","1352230216","1352229924"],"photo_ids_order":["1352229924","1352229986","1352230043","1352230109","1352230216","1352230264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77746118ebae6045480714c907821fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6956211786862899028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463193438,"filename":"image_12042025_12_13_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9355207bf5fa89a0588f0cd9f158f678.jpg","text":"TemporaryFile(/tmp/multipartBody4047494777572441093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463193438,"filename":"image_12042025_12_14_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80ccaff79ff061358a380ab763c605f4.jpg","text":"TemporaryFile(/tmp/multipartBody1986976625092948844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463193438,"filename":"image_12042025_12_14_06_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d287d0638a8bcf4013ca56bdd5392fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3834953206203437879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463193438,"filename":"image_12042025_12_14_37_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc27a8fea520ddc8d847b32faacb33af.jpg","text":"TemporaryFile(/tmp/multipartBody7819008082971516732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463193438,"filename":"image_12042025_12_14_26_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8d6b7f8e814a1d8461cfd35ef0baa4c.jpg","text":"TemporaryFile(/tmp/multipartBody156035867385515587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463193438,"filename":"image_12042025_12_13_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230043","file1":"1352229986","file0":"1352229924","file4":"1352230216","file5":"1352230264","file3":"1352230109"},"map_files_photo_id_array":[{"photo_id":"1352230264","filename":"file5"},{"photo_id":"1352230043","filename":"file2"},{"photo_id":"1352230216","filename":"file4"},{"photo_id":"1352229986","filename":"file1"},{"photo_id":"1352229924","filename":"file0"},{"photo_id":"1352230109","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352229986":["hashtag1","hashtag2"]},{"1352230109":["hashtag1","hashtag2"]},{"1352230043":["hashtag1","hashtag2"]},{"1352230264":["hashtag1","hashtag2"]},{"1352230216":["hashtag1","hashtag2"]},{"1352229924":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352229986, 1352230109, 1352230043, 1352230264, 1352230216, 1352229924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60002875328064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:06:33.226195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_47_10375.jpg', '/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_56_9347.jpg', '/home/pi/Desktop/images/12042025/12/14/image_12042025_12_15_07_10378.jpg', '/home/pi/Desktop/images/12042025/12/15/image_12042025_12_15_17_10355.jpg', '/home/pi/Desktop/images/12042025/12/15/image_12042025_12_15_47_10369.jpg', '/home/pi/Desktop/images/12042025/12/15/image_12042025_12_15_57_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_47_10375.jpg
/home/pi/Desktop/images/12042025/12/14/image_12042025_12_14_56_9347.jpg
/home/pi/Desktop/images/12042025/12/14/image_12042025_12_15_07_10378.jpg
/home/pi/Desktop/images/12042025/12/15/image_12042025_12_15_17_10355.jpg
/home/pi/Desktop/images/12042025/12/15/image_12042025_12_15_47_10369.jpg
/home/pi/Desktop/images/12042025/12/15/image_12042025_12_15_57_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352230754","1352231083","1352230786","1352230921","1352230992","1352230860"],"photo_ids_order":["1352230754","1352230786","1352230860","1352230921","1352230992","1352231083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fa89f793135d631962611e46b167965.jpg","text":"TemporaryFile(/tmp/multipartBody8887289997197710863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463253682,"filename":"image_12042025_12_14_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15f8dc83e93c3e7c7928e4bea8ea9781.jpg","text":"TemporaryFile(/tmp/multipartBody4983996828205011780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463253682,"filename":"image_12042025_12_15_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3012f7bdeb85f7da9eaaeb6aa16b5a5.jpg","text":"TemporaryFile(/tmp/multipartBody4119563266601785738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463253682,"filename":"image_12042025_12_14_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6305908e12cea41a77b62281b39a3a5.jpg","text":"TemporaryFile(/tmp/multipartBody2765893257057722988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463253682,"filename":"image_12042025_12_15_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23a69fec5d235c7ebead121082f167e4.jpg","text":"TemporaryFile(/tmp/multipartBody7074757264058649270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463253682,"filename":"image_12042025_12_15_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ec951e61c2fecece652c318adad47b6.jpg","text":"TemporaryFile(/tmp/multipartBody7676324713217274559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463253682,"filename":"image_12042025_12_15_07_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352230860","file1":"1352230786","file0":"1352230754","file4":"1352230992","file5":"1352231083","file3":"1352230921"},"map_files_photo_id_array":[{"photo_id":"1352231083","filename":"file5"},{"photo_id":"1352230860","filename":"file2"},{"photo_id":"1352230992","filename":"file4"},{"photo_id":"1352230786","filename":"file1"},{"photo_id":"1352230754","filename":"file0"},{"photo_id":"1352230921","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352230754":["hashtag1","hashtag2"]},{"1352231083":["hashtag1","hashtag2"]},{"1352230786":["hashtag1","hashtag2"]},{"1352230921":["hashtag1","hashtag2"]},{"1352230992":["hashtag1","hashtag2"]},{"1352230860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352230754, 1352231083, 1352230786, 1352230921, 1352230992, 1352230860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.78342866897583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:07:32.339860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/16/image_12042025_12_16_17_10445.jpg', '/home/pi/Desktop/images/12042025/12/16/image_12042025_12_16_26_9481.jpg', '/home/pi/Desktop/images/12042025/12/16/image_12042025_12_16_37_10371.jpg', '/home/pi/Desktop/images/12042025/12/16/image_12042025_12_16_57_9384.jpg', '/home/pi/Desktop/images/12042025/12/16/image_12042025_12_17_07_10352.jpg', '/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_16_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/16/image_12042025_12_16_17_10445.jpg
/home/pi/Desktop/images/12042025/12/16/image_12042025_12_16_26_9481.jpg
/home/pi/Desktop/images/12042025/12/16/image_12042025_12_16_37_10371.jpg
/home/pi/Desktop/images/12042025/12/16/image_12042025_12_16_57_9384.jpg
/home/pi/Desktop/images/12042025/12/16/image_12042025_12_17_07_10352.jpg
/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_16_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352231447","1352231554","1352231734","1352231670","1352231617","1352231503"],"photo_ids_order":["1352231447","1352231503","1352231554","1352231617","1352231670","1352231734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea0dc344a4317546b969c7e26d6bbf52.jpg","text":"TemporaryFile(/tmp/multipartBody1252408204717132860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463312803,"filename":"image_12042025_12_16_17_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cde6f088e80d09afb1cb3f7e30bedb6.jpg","text":"TemporaryFile(/tmp/multipartBody237873413143039345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463312803,"filename":"image_12042025_12_16_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04e17d76d45f25d1825b30ddc2201ff8.jpg","text":"TemporaryFile(/tmp/multipartBody5867758807885023322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463312803,"filename":"image_12042025_12_17_16_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f68405e49d8e354e75c5eaa6f354fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8523229726925566037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463312803,"filename":"image_12042025_12_17_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3439942f5c9af2fd5026d4645a35587.jpg","text":"TemporaryFile(/tmp/multipartBody8789036542343837288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463312803,"filename":"image_12042025_12_16_57_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/112ef3338cc420526d79944a4cff94d9.jpg","text":"TemporaryFile(/tmp/multipartBody2416881705418117581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463312803,"filename":"image_12042025_12_16_26_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352231554","file1":"1352231503","file0":"1352231447","file4":"1352231670","file5":"1352231734","file3":"1352231617"},"map_files_photo_id_array":[{"photo_id":"1352231734","filename":"file5"},{"photo_id":"1352231554","filename":"file2"},{"photo_id":"1352231670","filename":"file4"},{"photo_id":"1352231503","filename":"file1"},{"photo_id":"1352231447","filename":"file0"},{"photo_id":"1352231617","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352231447":["hashtag1","hashtag2"]},{"1352231554":["hashtag1","hashtag2"]},{"1352231734":["hashtag1","hashtag2"]},{"1352231670":["hashtag1","hashtag2"]},{"1352231617":["hashtag1","hashtag2"]},{"1352231503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352231447, 1352231554, 1352231734, 1352231670, 1352231617, 1352231503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.66384744644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:08:32.781015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_27_10457.jpg', '/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_37_10355.jpg', '/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_47_9467.jpg', '/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_57_10442.jpg', '/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_17_10362.jpg', '/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_26_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_27_10457.jpg
/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_37_10355.jpg
/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_47_9467.jpg
/home/pi/Desktop/images/12042025/12/17/image_12042025_12_17_57_10442.jpg
/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_17_10362.jpg
/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_26_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352232137","1352232022","1352232249","1352232090","1352232275","1352232176"],"photo_ids_order":["1352232022","1352232090","1352232137","1352232176","1352232249","1352232275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b2c3f03608a1ebc192b6fa1fab62927.jpg","text":"TemporaryFile(/tmp/multipartBody3413036848617458326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463373245,"filename":"image_12042025_12_17_47_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abc5b0989cda9d670d0cb078eecdd178.jpg","text":"TemporaryFile(/tmp/multipartBody5078479528158954440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463373245,"filename":"image_12042025_12_17_27_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc5dc1fdb30229d00e426dda388f7103.jpg","text":"TemporaryFile(/tmp/multipartBody4442435635771668159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463373245,"filename":"image_12042025_12_18_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/805316826186d0b0d4a6329f63a52afd.jpg","text":"TemporaryFile(/tmp/multipartBody7786546980920726261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463373245,"filename":"image_12042025_12_17_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80d6c4256c9be542351a8893df217a89.jpg","text":"TemporaryFile(/tmp/multipartBody8077987800673554706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463373245,"filename":"image_12042025_12_18_26_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d61c288b7b8771a962539466a8e1d39.jpg","text":"TemporaryFile(/tmp/multipartBody5072142309315149024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463373245,"filename":"image_12042025_12_17_57_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352232137","file1":"1352232090","file0":"1352232022","file4":"1352232249","file5":"1352232275","file3":"1352232176"},"map_files_photo_id_array":[{"photo_id":"1352232275","filename":"file5"},{"photo_id":"1352232137","filename":"file2"},{"photo_id":"1352232249","filename":"file4"},{"photo_id":"1352232090","filename":"file1"},{"photo_id":"1352232022","filename":"file0"},{"photo_id":"1352232176","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352232137":["hashtag1","hashtag2"]},{"1352232022":["hashtag1","hashtag2"]},{"1352232249":["hashtag1","hashtag2"]},{"1352232090":["hashtag1","hashtag2"]},{"1352232275":["hashtag1","hashtag2"]},{"1352232176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352232137, 1352232022, 1352232249, 1352232090, 1352232275, 1352232176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32349252700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:09:33.026241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_37_10395.jpg', '/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_47_10428.jpg', '/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_57_9421.jpg', '/home/pi/Desktop/images/12042025/12/18/image_12042025_12_19_07_10355.jpg', '/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_16_9438.jpg', '/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_27_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_37_10395.jpg
/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_47_10428.jpg
/home/pi/Desktop/images/12042025/12/18/image_12042025_12_18_57_9421.jpg
/home/pi/Desktop/images/12042025/12/18/image_12042025_12_19_07_10355.jpg
/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_16_9438.jpg
/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_27_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233273","1352233078","1352232994","1352232928","1352233221","1352233022"],"photo_ids_order":["1352232928","1352232994","1352233022","1352233078","1352233221","1352233273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38d1186b84cb08cdce1c2013127811cc.jpg","text":"TemporaryFile(/tmp/multipartBody2020722692014279172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463433494,"filename":"image_12042025_12_19_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/843d8788ce671f4177332ca95404639e.jpg","text":"TemporaryFile(/tmp/multipartBody7900375692268147330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463433494,"filename":"image_12042025_12_19_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/561060d1079f74a865e5635cdc934f5f.jpg","text":"TemporaryFile(/tmp/multipartBody1903545946192804369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463433494,"filename":"image_12042025_12_18_47_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c642021f6a3c4174afbf221c5545abca.jpg","text":"TemporaryFile(/tmp/multipartBody8411849817900204005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463433494,"filename":"image_12042025_12_18_37_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9584d0c77d50b837538cd6cefaeabde4.jpg","text":"TemporaryFile(/tmp/multipartBody2877461588537681070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463433494,"filename":"image_12042025_12_19_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/589c728ee4a9abcad830edd8268e8c3a.jpg","text":"TemporaryFile(/tmp/multipartBody2825950707022470098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463433494,"filename":"image_12042025_12_18_57_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233022","file1":"1352232994","file0":"1352232928","file4":"1352233221","file5":"1352233273","file3":"1352233078"},"map_files_photo_id_array":[{"photo_id":"1352233273","filename":"file5"},{"photo_id":"1352233022","filename":"file2"},{"photo_id":"1352233221","filename":"file4"},{"photo_id":"1352232994","filename":"file1"},{"photo_id":"1352232928","filename":"file0"},{"photo_id":"1352233078","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352233273":["hashtag1","hashtag2"]},{"1352233078":["hashtag1","hashtag2"]},{"1352232994":["hashtag1","hashtag2"]},{"1352232928":["hashtag1","hashtag2"]},{"1352233221":["hashtag1","hashtag2"]},{"1352233022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352233273, 1352233078, 1352232994, 1352232928, 1352233221, 1352233022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.742709159851074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:10:32.206516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_37_10370.jpg', '/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_47_9429.jpg', '/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_57_10374.jpg', '/home/pi/Desktop/images/12042025/12/19/image_12042025_12_20_06_9445.jpg', '/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_17_10375.jpg', '/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_27_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_37_10370.jpg
/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_47_9429.jpg
/home/pi/Desktop/images/12042025/12/19/image_12042025_12_19_57_10374.jpg
/home/pi/Desktop/images/12042025/12/19/image_12042025_12_20_06_9445.jpg
/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_17_10375.jpg
/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_27_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352233744","1352233801","1352233797","1352233793","1352233769","1352233805"],"photo_ids_order":["1352233744","1352233769","1352233793","1352233797","1352233801","1352233805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85e265eba013f6044d56e67a700bae9f.jpg","text":"TemporaryFile(/tmp/multipartBody3784377288908192030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463492689,"filename":"image_12042025_12_19_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27ff62cad26ebac34cc68cb11d19effc.jpg","text":"TemporaryFile(/tmp/multipartBody1308558225051386428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463492689,"filename":"image_12042025_12_20_17_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/353275f3436f1d67f97dc494e9f3852b.jpg","text":"TemporaryFile(/tmp/multipartBody9217719877333298311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463492689,"filename":"image_12042025_12_20_06_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1eee10aa538c9b9ce43af8c4eca14277.jpg","text":"TemporaryFile(/tmp/multipartBody3890234759252243757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463492689,"filename":"image_12042025_12_19_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0adecc82e7727b48f60b2c1a0acc7521.jpg","text":"TemporaryFile(/tmp/multipartBody5760497311636342152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463492689,"filename":"image_12042025_12_19_47_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65eca72a80c556de3242c03d907c84d8.jpg","text":"TemporaryFile(/tmp/multipartBody4538935773048737731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463492689,"filename":"image_12042025_12_20_27_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352233793","file1":"1352233769","file0":"1352233744","file4":"1352233801","file5":"1352233805","file3":"1352233797"},"map_files_photo_id_array":[{"photo_id":"1352233805","filename":"file5"},{"photo_id":"1352233793","filename":"file2"},{"photo_id":"1352233801","filename":"file4"},{"photo_id":"1352233769","filename":"file1"},{"photo_id":"1352233744","filename":"file0"},{"photo_id":"1352233797","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352233744":["hashtag1","hashtag2"]},{"1352233801":["hashtag1","hashtag2"]},{"1352233797":["hashtag1","hashtag2"]},{"1352233793":["hashtag1","hashtag2"]},{"1352233769":["hashtag1","hashtag2"]},{"1352233805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352233744, 1352233801, 1352233797, 1352233793, 1352233769, 1352233805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02010154724121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:11:32.519993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_37_9392.jpg', '/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_47_10383.jpg', '/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_56_9531.jpg', '/home/pi/Desktop/images/12042025/12/20/image_12042025_12_21_07_10361.jpg', '/home/pi/Desktop/images/12042025/12/21/image_12042025_12_21_17_10455.jpg', '/home/pi/Desktop/images/12042025/12/21/image_12042025_12_21_27_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_37_9392.jpg
/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_47_10383.jpg
/home/pi/Desktop/images/12042025/12/20/image_12042025_12_20_56_9531.jpg
/home/pi/Desktop/images/12042025/12/20/image_12042025_12_21_07_10361.jpg
/home/pi/Desktop/images/12042025/12/21/image_12042025_12_21_17_10455.jpg
/home/pi/Desktop/images/12042025/12/21/image_12042025_12_21_27_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352234110","1352234256","1352234200","1352234085","1352234167","1352234035"],"photo_ids_order":["1352234035","1352234085","1352234110","1352234167","1352234200","1352234256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a14b15697b0624e81f3780d23373cc89.jpg","text":"TemporaryFile(/tmp/multipartBody4285663682649526053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463552989,"filename":"image_12042025_12_20_56_9531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74845ed43b4daee7cc5395be5e40eefc.jpg","text":"TemporaryFile(/tmp/multipartBody1209850409434783652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463552989,"filename":"image_12042025_12_21_27_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ba21273b0a7fdf2b82f13c2ce933659.jpg","text":"TemporaryFile(/tmp/multipartBody6675995375250658033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463552989,"filename":"image_12042025_12_21_17_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5cfc5fb6bf6a722f228c77ad43b27a39.jpg","text":"TemporaryFile(/tmp/multipartBody7614518574522057420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463552989,"filename":"image_12042025_12_20_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c886e54f3818e587e8c44f0bd9a74f56.jpg","text":"TemporaryFile(/tmp/multipartBody860307160515906455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463552989,"filename":"image_12042025_12_21_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1848fd1b6c60d84d11e60419ba5fa2f.jpg","text":"TemporaryFile(/tmp/multipartBody5784403566551547415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463552989,"filename":"image_12042025_12_20_37_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352234110","file1":"1352234085","file0":"1352234035","file4":"1352234200","file5":"1352234256","file3":"1352234167"},"map_files_photo_id_array":[{"photo_id":"1352234256","filename":"file5"},{"photo_id":"1352234110","filename":"file2"},{"photo_id":"1352234200","filename":"file4"},{"photo_id":"1352234085","filename":"file1"},{"photo_id":"1352234035","filename":"file0"},{"photo_id":"1352234167","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352234110":["hashtag1","hashtag2"]},{"1352234256":["hashtag1","hashtag2"]},{"1352234200":["hashtag1","hashtag2"]},{"1352234085":["hashtag1","hashtag2"]},{"1352234167":["hashtag1","hashtag2"]},{"1352234035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352234110, 1352234256, 1352234200, 1352234085, 1352234167, 1352234035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.16793417930603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:12:32.665741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/21/image_12042025_12_21_37_10373.jpg', '/home/pi/Desktop/images/12042025/12/21/image_12042025_12_21_57_10362.jpg', '/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_17_9392.jpg', '/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_27_10410.jpg', '/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_36_9494.jpg', '/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_47_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/21/image_12042025_12_21_37_10373.jpg
/home/pi/Desktop/images/12042025/12/21/image_12042025_12_21_57_10362.jpg
/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_17_9392.jpg
/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_27_10410.jpg
/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_36_9494.jpg
/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_47_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352234889","1352234580","1352234616","1352234678","1352234738","1352234804"],"photo_ids_order":["1352234580","1352234616","1352234678","1352234738","1352234804","1352234889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66c8ffb6bc129ab0bb0b7d38e28f1853.jpg","text":"TemporaryFile(/tmp/multipartBody1429989765092159936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463613137,"filename":"image_12042025_12_22_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/479da699974f67db8c24fe9e921daacf.jpg","text":"TemporaryFile(/tmp/multipartBody1340176512752546623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463613137,"filename":"image_12042025_12_21_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee8da7b5d90220fd8e8ab4d31c896b3f.jpg","text":"TemporaryFile(/tmp/multipartBody2611824133856784714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463613137,"filename":"image_12042025_12_21_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/569f16fa82226cf437696dd147512fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6476504243816007805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463613137,"filename":"image_12042025_12_22_17_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9f44287b7d996501d201eebc2de4018.jpg","text":"TemporaryFile(/tmp/multipartBody2119932802287381782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463613137,"filename":"image_12042025_12_22_27_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90932dcf39a6748befde33693853665c.jpg","text":"TemporaryFile(/tmp/multipartBody2894447112410852047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463613137,"filename":"image_12042025_12_22_36_9494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352234678","file1":"1352234616","file0":"1352234580","file4":"1352234804","file5":"1352234889","file3":"1352234738"},"map_files_photo_id_array":[{"photo_id":"1352234889","filename":"file5"},{"photo_id":"1352234678","filename":"file2"},{"photo_id":"1352234804","filename":"file4"},{"photo_id":"1352234616","filename":"file1"},{"photo_id":"1352234580","filename":"file0"},{"photo_id":"1352234738","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352234889":["hashtag1","hashtag2"]},{"1352234580":["hashtag1","hashtag2"]},{"1352234616":["hashtag1","hashtag2"]},{"1352234678":["hashtag1","hashtag2"]},{"1352234738":["hashtag1","hashtag2"]},{"1352234804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352234889, 1352234580, 1352234616, 1352234678, 1352234738, 1352234804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.264742612838745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:13:32.934209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_57_10370.jpg', '/home/pi/Desktop/images/12042025/12/22/image_12042025_12_23_07_9463.jpg', '/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_17_10360.jpg', '/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_27_9488.jpg', '/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_37_10375.jpg', '/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_46_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/22/image_12042025_12_22_57_10370.jpg
/home/pi/Desktop/images/12042025/12/22/image_12042025_12_23_07_9463.jpg
/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_17_10360.jpg
/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_27_9488.jpg
/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_37_10375.jpg
/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_46_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235284","1352235173","1352235446","1352235436","1352235349","1352235390"],"photo_ids_order":["1352235173","1352235284","1352235349","1352235390","1352235436","1352235446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75b42e7156e91b0dc34d307898d79077.jpg","text":"TemporaryFile(/tmp/multipartBody5951043105441298953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463673399,"filename":"image_12042025_12_23_07_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a64661eef1c3f7744c33f33e52aaff5.jpg","text":"TemporaryFile(/tmp/multipartBody359326919329210658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463673399,"filename":"image_12042025_12_22_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48ce5db7f7fe77f66f0c681daf4905b9.jpg","text":"TemporaryFile(/tmp/multipartBody9220554287782816738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463673399,"filename":"image_12042025_12_23_46_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88318894d652199e95ae0f13d32ff4c3.jpg","text":"TemporaryFile(/tmp/multipartBody8101221572368621923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463673399,"filename":"image_12042025_12_23_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b0f381fa41c786faeeb4eeb33f87737.jpg","text":"TemporaryFile(/tmp/multipartBody3274371191266688033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463673399,"filename":"image_12042025_12_23_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a36ec229d95989d5e1cdec6e70ce182c.jpg","text":"TemporaryFile(/tmp/multipartBody3268307011156061082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463673399,"filename":"image_12042025_12_23_27_9488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235349","file1":"1352235284","file0":"1352235173","file4":"1352235436","file5":"1352235446","file3":"1352235390"},"map_files_photo_id_array":[{"photo_id":"1352235446","filename":"file5"},{"photo_id":"1352235349","filename":"file2"},{"photo_id":"1352235436","filename":"file4"},{"photo_id":"1352235284","filename":"file1"},{"photo_id":"1352235173","filename":"file0"},{"photo_id":"1352235390","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352235284":["hashtag1","hashtag2"]},{"1352235173":["hashtag1","hashtag2"]},{"1352235446":["hashtag1","hashtag2"]},{"1352235436":["hashtag1","hashtag2"]},{"1352235349":["hashtag1","hashtag2"]},{"1352235390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352235284, 1352235173, 1352235446, 1352235436, 1352235349, 1352235390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.728522539138794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:14:32.197943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_57_10405.jpg', '/home/pi/Desktop/images/12042025/12/23/image_12042025_12_24_07_10375.jpg', '/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_17_9445.jpg', '/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_27_10369.jpg', '/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_36_9483.jpg', '/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_47_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/23/image_12042025_12_23_57_10405.jpg
/home/pi/Desktop/images/12042025/12/23/image_12042025_12_24_07_10375.jpg
/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_17_9445.jpg
/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_27_10369.jpg
/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_36_9483.jpg
/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_47_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235672","1352235651","1352235588","1352235695","1352235722","1352235716"],"photo_ids_order":["1352235588","1352235651","1352235672","1352235695","1352235716","1352235722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31ab17c0312c039d3e24d212c2e60565.jpg","text":"TemporaryFile(/tmp/multipartBody1125085507303264926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463732666,"filename":"image_12042025_12_24_17_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d222534db85b5f8c75bc02adc6dc880f.jpg","text":"TemporaryFile(/tmp/multipartBody799946693380610437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463732666,"filename":"image_12042025_12_24_07_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c48a45b4622a7a9a0804f18b6de2f40.jpg","text":"TemporaryFile(/tmp/multipartBody5593081820953417006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463732666,"filename":"image_12042025_12_23_57_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cee94ae922b36f0eea28753d8b8107b7.jpg","text":"TemporaryFile(/tmp/multipartBody7821070177436113086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463732666,"filename":"image_12042025_12_24_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/105be0f85f6b866e0df2de968d00faa9.jpg","text":"TemporaryFile(/tmp/multipartBody6654361763320780838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463732666,"filename":"image_12042025_12_24_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cb7b614109dc0663814cefc0e7d469b.jpg","text":"TemporaryFile(/tmp/multipartBody4964173504837262382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463732666,"filename":"image_12042025_12_24_36_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235672","file1":"1352235651","file0":"1352235588","file4":"1352235716","file5":"1352235722","file3":"1352235695"},"map_files_photo_id_array":[{"photo_id":"1352235722","filename":"file5"},{"photo_id":"1352235672","filename":"file2"},{"photo_id":"1352235716","filename":"file4"},{"photo_id":"1352235651","filename":"file1"},{"photo_id":"1352235588","filename":"file0"},{"photo_id":"1352235695","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352235672":["hashtag1","hashtag2"]},{"1352235651":["hashtag1","hashtag2"]},{"1352235588":["hashtag1","hashtag2"]},{"1352235695":["hashtag1","hashtag2"]},{"1352235722":["hashtag1","hashtag2"]},{"1352235716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352235672, 1352235651, 1352235588, 1352235695, 1352235722, 1352235716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.668452739715576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:15:32.333476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_57_10398.jpg', '/home/pi/Desktop/images/12042025/12/24/image_12042025_12_25_07_9356.jpg', '/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_17_10369.jpg', '/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_26_9433.jpg', '/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_37_10395.jpg', '/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_47_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/24/image_12042025_12_24_57_10398.jpg
/home/pi/Desktop/images/12042025/12/24/image_12042025_12_25_07_9356.jpg
/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_17_10369.jpg
/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_26_9433.jpg
/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_37_10395.jpg
/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_47_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235779","1352235770","1352235778","1352235772","1352235766","1352235775"],"photo_ids_order":["1352235766","1352235770","1352235772","1352235775","1352235778","1352235779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/997519d649a575e6cefa50fa3d4b760f.jpg","text":"TemporaryFile(/tmp/multipartBody6605617503137485901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463792807,"filename":"image_12042025_12_25_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a05fa2d035b9cbdd139aaf7be4513ab.jpg","text":"TemporaryFile(/tmp/multipartBody3284680017998610711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463792807,"filename":"image_12042025_12_25_07_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9bb66930121fb073320d302b9e813f4e.jpg","text":"TemporaryFile(/tmp/multipartBody4364912172198283351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463792807,"filename":"image_12042025_12_25_37_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eafe67573d760c9f516e761054770270.jpg","text":"TemporaryFile(/tmp/multipartBody8417078896498191166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463792807,"filename":"image_12042025_12_25_17_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84600b9db2f28447b3b7562a4c70cb3f.jpg","text":"TemporaryFile(/tmp/multipartBody5940671398523457038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463792807,"filename":"image_12042025_12_24_57_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/804efaf4e0d204b3312c0451d1f88f84.jpg","text":"TemporaryFile(/tmp/multipartBody2247137020227336913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463792807,"filename":"image_12042025_12_25_26_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235772","file1":"1352235770","file0":"1352235766","file4":"1352235778","file5":"1352235779","file3":"1352235775"},"map_files_photo_id_array":[{"photo_id":"1352235779","filename":"file5"},{"photo_id":"1352235772","filename":"file2"},{"photo_id":"1352235778","filename":"file4"},{"photo_id":"1352235770","filename":"file1"},{"photo_id":"1352235766","filename":"file0"},{"photo_id":"1352235775","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352235779":["hashtag1","hashtag2"]},{"1352235770":["hashtag1","hashtag2"]},{"1352235778":["hashtag1","hashtag2"]},{"1352235772":["hashtag1","hashtag2"]},{"1352235766":["hashtag1","hashtag2"]},{"1352235775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352235779, 1352235770, 1352235778, 1352235772, 1352235766, 1352235775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69457721710205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:16:32.660045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_56_9373.jpg', '/home/pi/Desktop/images/12042025/12/25/image_12042025_12_26_07_10367.jpg', '/home/pi/Desktop/images/12042025/12/26/image_12042025_12_26_17_10358.jpg', '/home/pi/Desktop/images/12042025/12/26/image_12042025_12_26_27_9365.jpg', '/home/pi/Desktop/images/12042025/12/26/image_12042025_12_26_37_10357.jpg', '/home/pi/Desktop/images/12042025/12/26/image_12042025_12_26_46_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/25/image_12042025_12_25_56_9373.jpg
/home/pi/Desktop/images/12042025/12/25/image_12042025_12_26_07_10367.jpg
/home/pi/Desktop/images/12042025/12/26/image_12042025_12_26_17_10358.jpg
/home/pi/Desktop/images/12042025/12/26/image_12042025_12_26_27_9365.jpg
/home/pi/Desktop/images/12042025/12/26/image_12042025_12_26_37_10357.jpg
/home/pi/Desktop/images/12042025/12/26/image_12042025_12_26_46_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235840","1352235822","1352235833","1352235827","1352235838","1352235817"],"photo_ids_order":["1352235817","1352235822","1352235827","1352235833","1352235838","1352235840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd31d3ef1c6fe1be20484a5af4bd2e5d.jpg","text":"TemporaryFile(/tmp/multipartBody6337807197620575103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463853138,"filename":"image_12042025_12_26_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87e3d64c2ff26b96940f0c3e1a13e685.jpg","text":"TemporaryFile(/tmp/multipartBody1420080855784298515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463853138,"filename":"image_12042025_12_26_07_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/855e02c6af0a72bdd5a1ab38fa5440ec.jpg","text":"TemporaryFile(/tmp/multipartBody1988645326957362760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463853138,"filename":"image_12042025_12_26_27_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c94038d4af840b95a5ad97d4ce323c22.jpg","text":"TemporaryFile(/tmp/multipartBody6856326147653731440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463853138,"filename":"image_12042025_12_26_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/783327ed5fb70318cc9dc4e73e3c4ca4.jpg","text":"TemporaryFile(/tmp/multipartBody5935886709542444381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463853138,"filename":"image_12042025_12_26_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ecc89762b34a59ed6df666a6ef6b5be.jpg","text":"TemporaryFile(/tmp/multipartBody3605565127285852737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463853138,"filename":"image_12042025_12_25_56_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235827","file1":"1352235822","file0":"1352235817","file4":"1352235838","file5":"1352235840","file3":"1352235833"},"map_files_photo_id_array":[{"photo_id":"1352235840","filename":"file5"},{"photo_id":"1352235827","filename":"file2"},{"photo_id":"1352235838","filename":"file4"},{"photo_id":"1352235822","filename":"file1"},{"photo_id":"1352235817","filename":"file0"},{"photo_id":"1352235833","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352235840":["hashtag1","hashtag2"]},{"1352235822":["hashtag1","hashtag2"]},{"1352235833":["hashtag1","hashtag2"]},{"1352235827":["hashtag1","hashtag2"]},{"1352235838":["hashtag1","hashtag2"]},{"1352235817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352235840, 1352235822, 1352235833, 1352235827, 1352235838, 1352235817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24093008041382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:17:32.833714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/26/image_12042025_12_27_07_10366.jpg', '/home/pi/Desktop/images/12042025/12/27/image_12042025_12_27_17_9432.jpg', '/home/pi/Desktop/images/12042025/12/27/image_12042025_12_27_27_10409.jpg', '/home/pi/Desktop/images/12042025/12/27/image_12042025_12_27_36_9414.jpg', '/home/pi/Desktop/images/12042025/12/27/image_12042025_12_27_47_10443.jpg', '/home/pi/Desktop/images/12042025/12/27/image_12042025_12_28_07_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/26/image_12042025_12_27_07_10366.jpg
/home/pi/Desktop/images/12042025/12/27/image_12042025_12_27_17_9432.jpg
/home/pi/Desktop/images/12042025/12/27/image_12042025_12_27_27_10409.jpg
/home/pi/Desktop/images/12042025/12/27/image_12042025_12_27_36_9414.jpg
/home/pi/Desktop/images/12042025/12/27/image_12042025_12_27_47_10443.jpg
/home/pi/Desktop/images/12042025/12/27/image_12042025_12_28_07_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352235969","1352235945","1352235924","1352235918","1352235920","1352235928"],"photo_ids_order":["1352235918","1352235920","1352235924","1352235928","1352235945","1352235969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b630d7885ac54c67c75871fd63bec3da.jpg","text":"TemporaryFile(/tmp/multipartBody4204749883401173870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463913293,"filename":"image_12042025_12_28_07_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/496c697a2558c9677f271bf36af60fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6463470665776106785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463913293,"filename":"image_12042025_12_27_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d04e79a48b34c6590ca31f7cc54d2558.jpg","text":"TemporaryFile(/tmp/multipartBody3684611883391335609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463913293,"filename":"image_12042025_12_27_27_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd552d38ac932e39476f45de6baf22cd.jpg","text":"TemporaryFile(/tmp/multipartBody7988048395147134015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463913293,"filename":"image_12042025_12_27_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9481bfcf8f20105fc3a10d4e9366c7d4.jpg","text":"TemporaryFile(/tmp/multipartBody2976248821635306986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463913293,"filename":"image_12042025_12_27_17_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6b09d291737aa27bfeb9057a4d3c5ed.jpg","text":"TemporaryFile(/tmp/multipartBody6025912407509130095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463913293,"filename":"image_12042025_12_27_36_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352235924","file1":"1352235920","file0":"1352235918","file4":"1352235945","file5":"1352235969","file3":"1352235928"},"map_files_photo_id_array":[{"photo_id":"1352235969","filename":"file5"},{"photo_id":"1352235924","filename":"file2"},{"photo_id":"1352235945","filename":"file4"},{"photo_id":"1352235920","filename":"file1"},{"photo_id":"1352235918","filename":"file0"},{"photo_id":"1352235928","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352235969":["hashtag1","hashtag2"]},{"1352235945":["hashtag1","hashtag2"]},{"1352235924":["hashtag1","hashtag2"]},{"1352235918":["hashtag1","hashtag2"]},{"1352235920":["hashtag1","hashtag2"]},{"1352235928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352235969, 1352235945, 1352235924, 1352235918, 1352235920, 1352235928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0553252696991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:18:33.137695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_17_10355.jpg', '/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_26_9425.jpg', '/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_37_10460.jpg', '/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_47_10474.jpg', '/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_57_9466.jpg', '/home/pi/Desktop/images/12042025/12/28/image_12042025_12_29_07_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_17_10355.jpg
/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_26_9425.jpg
/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_37_10460.jpg
/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_47_10474.jpg
/home/pi/Desktop/images/12042025/12/28/image_12042025_12_28_57_9466.jpg
/home/pi/Desktop/images/12042025/12/28/image_12042025_12_29_07_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236196","1352236169","1352236273","1352236222","1352236144","1352236245"],"photo_ids_order":["1352236144","1352236169","1352236196","1352236222","1352236245","1352236273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6bf18f8a8a707fce8ad260df8b11720.jpg","text":"TemporaryFile(/tmp/multipartBody4074437058866785730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463973611,"filename":"image_12042025_12_28_37_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e4e0bcc3b902d4ddb2ca7b308277cce.jpg","text":"TemporaryFile(/tmp/multipartBody2425507434038267952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463973611,"filename":"image_12042025_12_28_26_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fdb9fa8d548f43a58d06357898a8f61.jpg","text":"TemporaryFile(/tmp/multipartBody4359215712158085651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463973611,"filename":"image_12042025_12_29_07_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb9c4ec79f2bedf960d549e2b3bf7d11.jpg","text":"TemporaryFile(/tmp/multipartBody5080323824653808402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463973611,"filename":"image_12042025_12_28_47_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e76ff6ec62505b1efa751be86f8137d1.jpg","text":"TemporaryFile(/tmp/multipartBody5010928628797093734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463973611,"filename":"image_12042025_12_28_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afab7f746263a55d159363f0b4fe483a.jpg","text":"TemporaryFile(/tmp/multipartBody6267889031226018335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744463973611,"filename":"image_12042025_12_28_57_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236196","file1":"1352236169","file0":"1352236144","file4":"1352236245","file5":"1352236273","file3":"1352236222"},"map_files_photo_id_array":[{"photo_id":"1352236273","filename":"file5"},{"photo_id":"1352236196","filename":"file2"},{"photo_id":"1352236245","filename":"file4"},{"photo_id":"1352236169","filename":"file1"},{"photo_id":"1352236144","filename":"file0"},{"photo_id":"1352236222","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352236196":["hashtag1","hashtag2"]},{"1352236169":["hashtag1","hashtag2"]},{"1352236273":["hashtag1","hashtag2"]},{"1352236222":["hashtag1","hashtag2"]},{"1352236144":["hashtag1","hashtag2"]},{"1352236245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352236196, 1352236169, 1352236273, 1352236222, 1352236144, 1352236245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8841667175293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:19:32.204947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_17_9427.jpg', '/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_27_10376.jpg', '/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_36_9476.jpg', '/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_47_10360.jpg', '/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_57_10361.jpg', '/home/pi/Desktop/images/12042025/12/29/image_12042025_12_30_07_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_17_9427.jpg
/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_27_10376.jpg
/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_36_9476.jpg
/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_47_10360.jpg
/home/pi/Desktop/images/12042025/12/29/image_12042025_12_29_57_10361.jpg
/home/pi/Desktop/images/12042025/12/29/image_12042025_12_30_07_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236515","1352236565","1352236544","1352236433","1352236528","1352236482"],"photo_ids_order":["1352236433","1352236482","1352236515","1352236528","1352236544","1352236565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b22e609610080dcc8a1dd5cf5ecba615.jpg","text":"TemporaryFile(/tmp/multipartBody7013557460237838481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464032686,"filename":"image_12042025_12_29_36_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af18579f4335a4f2fe64852fc71e7d15.jpg","text":"TemporaryFile(/tmp/multipartBody828336784039034230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464032686,"filename":"image_12042025_12_30_07_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b83a58abfe794b1ff0fb5f889adada65.jpg","text":"TemporaryFile(/tmp/multipartBody7542129217489456767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464032686,"filename":"image_12042025_12_29_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b9bd0f2a1939f0d26ce749c4b677e1e.jpg","text":"TemporaryFile(/tmp/multipartBody1959461934181231982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464032686,"filename":"image_12042025_12_29_17_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/337cccffb34dfd6e23e0516ef2f90745.jpg","text":"TemporaryFile(/tmp/multipartBody429549285416376440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464032686,"filename":"image_12042025_12_29_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82cea3b771def6186ae41a70bddcfd04.jpg","text":"TemporaryFile(/tmp/multipartBody8799925337670967592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464032686,"filename":"image_12042025_12_29_27_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236515","file1":"1352236482","file0":"1352236433","file4":"1352236544","file5":"1352236565","file3":"1352236528"},"map_files_photo_id_array":[{"photo_id":"1352236565","filename":"file5"},{"photo_id":"1352236515","filename":"file2"},{"photo_id":"1352236544","filename":"file4"},{"photo_id":"1352236482","filename":"file1"},{"photo_id":"1352236433","filename":"file0"},{"photo_id":"1352236528","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352236515":["hashtag1","hashtag2"]},{"1352236565":["hashtag1","hashtag2"]},{"1352236544":["hashtag1","hashtag2"]},{"1352236433":["hashtag1","hashtag2"]},{"1352236528":["hashtag1","hashtag2"]},{"1352236482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352236515, 1352236565, 1352236544, 1352236433, 1352236528, 1352236482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.281421184539795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:20:32.494671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_17_10365.jpg', '/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_26_9408.jpg', '/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_37_10375.jpg', '/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_47_10376.jpg', '/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_56_9352.jpg', '/home/pi/Desktop/images/12042025/12/30/image_12042025_12_31_07_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_17_10365.jpg
/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_26_9408.jpg
/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_37_10375.jpg
/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_47_10376.jpg
/home/pi/Desktop/images/12042025/12/30/image_12042025_12_30_56_9352.jpg
/home/pi/Desktop/images/12042025/12/30/image_12042025_12_31_07_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352236781","1352236809","1352236789","1352236831","1352236834","1352236758"],"photo_ids_order":["1352236758","1352236781","1352236789","1352236809","1352236831","1352236834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c3e5f73f4513a04450603f938991c4e.jpg","text":"TemporaryFile(/tmp/multipartBody3416466378331139522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464092972,"filename":"image_12042025_12_30_26_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe668b5c8f6a62538cee4cb65aa9cdb3.jpg","text":"TemporaryFile(/tmp/multipartBody4122976920885853644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464092972,"filename":"image_12042025_12_30_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82b308aebd09b15dc15b5d5c0c0f2729.jpg","text":"TemporaryFile(/tmp/multipartBody3617472556412906220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464092972,"filename":"image_12042025_12_30_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ec830428ee9515149d60d193f24a6fc.jpg","text":"TemporaryFile(/tmp/multipartBody3890672553312958979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464092972,"filename":"image_12042025_12_30_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfcbf9ad2717d20c7e48a3de142d2f2b.jpg","text":"TemporaryFile(/tmp/multipartBody2729921848575608487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464092972,"filename":"image_12042025_12_31_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ee8cc7dd774131fa7e8a6f16f3e73cb.jpg","text":"TemporaryFile(/tmp/multipartBody3849498541510733790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464092972,"filename":"image_12042025_12_30_17_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236789","file1":"1352236781","file0":"1352236758","file4":"1352236831","file5":"1352236834","file3":"1352236809"},"map_files_photo_id_array":[{"photo_id":"1352236834","filename":"file5"},{"photo_id":"1352236789","filename":"file2"},{"photo_id":"1352236831","filename":"file4"},{"photo_id":"1352236781","filename":"file1"},{"photo_id":"1352236758","filename":"file0"},{"photo_id":"1352236809","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352236781":["hashtag1","hashtag2"]},{"1352236809":["hashtag1","hashtag2"]},{"1352236789":["hashtag1","hashtag2"]},{"1352236831":["hashtag1","hashtag2"]},{"1352236834":["hashtag1","hashtag2"]},{"1352236758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352236781, 1352236809, 1352236789, 1352236831, 1352236834, 1352236758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08127808570862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:21:32.647479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/31/image_12042025_12_31_17_10353.jpg', '/home/pi/Desktop/images/12042025/12/31/image_12042025_12_31_27_9452.jpg', '/home/pi/Desktop/images/12042025/12/31/image_12042025_12_31_37_10374.jpg', '/home/pi/Desktop/images/12042025/12/31/image_12042025_12_31_57_10364.jpg', '/home/pi/Desktop/images/12042025/12/31/image_12042025_12_32_07_10366.jpg', '/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_17_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/31/image_12042025_12_31_17_10353.jpg
/home/pi/Desktop/images/12042025/12/31/image_12042025_12_31_27_9452.jpg
/home/pi/Desktop/images/12042025/12/31/image_12042025_12_31_37_10374.jpg
/home/pi/Desktop/images/12042025/12/31/image_12042025_12_31_57_10364.jpg
/home/pi/Desktop/images/12042025/12/31/image_12042025_12_32_07_10366.jpg
/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_17_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237007","1352236938","1352236988","1352237009","1352236966","1352237011"],"photo_ids_order":["1352236938","1352236966","1352236988","1352237007","1352237009","1352237011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7491520f252d055c9c76ab1ba241447.jpg","text":"TemporaryFile(/tmp/multipartBody6233683041883800914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464153114,"filename":"image_12042025_12_31_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abcf8647e4d77eae3e5613a3f93134c9.jpg","text":"TemporaryFile(/tmp/multipartBody1764103150601583367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464153114,"filename":"image_12042025_12_31_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fee321b768c84c683128272983905cce.jpg","text":"TemporaryFile(/tmp/multipartBody3792578268964339326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464153114,"filename":"image_12042025_12_31_37_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10f582a3505cf57d8d2e7f43d150a898.jpg","text":"TemporaryFile(/tmp/multipartBody3541674618433879624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464153114,"filename":"image_12042025_12_32_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12c7e07e1434214dfa789f0c9eb23709.jpg","text":"TemporaryFile(/tmp/multipartBody147207314262952190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464153114,"filename":"image_12042025_12_31_27_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9064f95339fd8df81977a3f60370771.jpg","text":"TemporaryFile(/tmp/multipartBody1283277824625907923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464153114,"filename":"image_12042025_12_32_17_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352236988","file1":"1352236966","file0":"1352236938","file4":"1352237009","file5":"1352237011","file3":"1352237007"},"map_files_photo_id_array":[{"photo_id":"1352237011","filename":"file5"},{"photo_id":"1352236988","filename":"file2"},{"photo_id":"1352237009","filename":"file4"},{"photo_id":"1352236966","filename":"file1"},{"photo_id":"1352236938","filename":"file0"},{"photo_id":"1352237007","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352237007":["hashtag1","hashtag2"]},{"1352236938":["hashtag1","hashtag2"]},{"1352236988":["hashtag1","hashtag2"]},{"1352237009":["hashtag1","hashtag2"]},{"1352236966":["hashtag1","hashtag2"]},{"1352237011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352237007, 1352236938, 1352236988, 1352237009, 1352236966, 1352237011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.5672128200531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:22:32.889356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_27_10368.jpg', '/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_36_9399.jpg', '/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_47_10357.jpg', '/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_57_10366.jpg', '/home/pi/Desktop/images/12042025/12/32/image_12042025_12_33_06_9356.jpg', '/home/pi/Desktop/images/12042025/12/33/image_12042025_12_33_17_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_27_10368.jpg
/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_36_9399.jpg
/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_47_10357.jpg
/home/pi/Desktop/images/12042025/12/32/image_12042025_12_32_57_10366.jpg
/home/pi/Desktop/images/12042025/12/32/image_12042025_12_33_06_9356.jpg
/home/pi/Desktop/images/12042025/12/33/image_12042025_12_33_17_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237123","1352237134","1352237128","1352237131","1352237125","1352237121"],"photo_ids_order":["1352237121","1352237123","1352237125","1352237128","1352237131","1352237134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9496eb4e50d0e372e036b6de668e7b3f.jpg","text":"TemporaryFile(/tmp/multipartBody352479137638452780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464213357,"filename":"image_12042025_12_32_36_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7844658f889db4e5e22f20aa7dd41768.jpg","text":"TemporaryFile(/tmp/multipartBody5467994519912040258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464213357,"filename":"image_12042025_12_33_17_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c0c45c183bcf5397d6739236c456a08.jpg","text":"TemporaryFile(/tmp/multipartBody4240653236419268416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464213357,"filename":"image_12042025_12_32_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66577967e40093414d15d9055d0eeb96.jpg","text":"TemporaryFile(/tmp/multipartBody8832236236116746863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464213357,"filename":"image_12042025_12_33_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6f2b3ce5a2eb98037d18da0e86be301.jpg","text":"TemporaryFile(/tmp/multipartBody2998774928621807021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464213357,"filename":"image_12042025_12_32_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/947749512320f122e6f6e0e502099846.jpg","text":"TemporaryFile(/tmp/multipartBody1176417981351083882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464213357,"filename":"image_12042025_12_32_27_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237125","file1":"1352237123","file0":"1352237121","file4":"1352237131","file5":"1352237134","file3":"1352237128"},"map_files_photo_id_array":[{"photo_id":"1352237134","filename":"file5"},{"photo_id":"1352237125","filename":"file2"},{"photo_id":"1352237131","filename":"file4"},{"photo_id":"1352237123","filename":"file1"},{"photo_id":"1352237121","filename":"file0"},{"photo_id":"1352237128","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352237123":["hashtag1","hashtag2"]},{"1352237134":["hashtag1","hashtag2"]},{"1352237128":["hashtag1","hashtag2"]},{"1352237131":["hashtag1","hashtag2"]},{"1352237125":["hashtag1","hashtag2"]},{"1352237121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352237123, 1352237134, 1352237128, 1352237131, 1352237125, 1352237121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.887283325195312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:23:33.109145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/33/image_12042025_12_33_27_10367.jpg', '/home/pi/Desktop/images/12042025/12/33/image_12042025_12_33_37_9458.jpg', '/home/pi/Desktop/images/12042025/12/33/image_12042025_12_33_47_10470.jpg', '/home/pi/Desktop/images/12042025/12/33/image_12042025_12_34_07_10340.jpg', '/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_16_9396.jpg', '/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_27_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/33/image_12042025_12_33_27_10367.jpg
/home/pi/Desktop/images/12042025/12/33/image_12042025_12_33_37_9458.jpg
/home/pi/Desktop/images/12042025/12/33/image_12042025_12_33_47_10470.jpg
/home/pi/Desktop/images/12042025/12/33/image_12042025_12_34_07_10340.jpg
/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_16_9396.jpg
/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_27_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237567","1352237516","1352237371","1352237446","1352237583","1352237297"],"photo_ids_order":["1352237297","1352237371","1352237446","1352237516","1352237567","1352237583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4f9283cf55f8baf54bc2b2fc16d7cc3.jpg","text":"TemporaryFile(/tmp/multipartBody7992968929484965118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464273569,"filename":"image_12042025_12_34_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29fac6a94e5951ded3a35af927f9acf1.jpg","text":"TemporaryFile(/tmp/multipartBody574207797503755790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464273569,"filename":"image_12042025_12_34_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51205208569df52e23319fed25028c99.jpg","text":"TemporaryFile(/tmp/multipartBody2508146072247119355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464273569,"filename":"image_12042025_12_33_37_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f02d097da283d297264c19022600e07.jpg","text":"TemporaryFile(/tmp/multipartBody122861040329283016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464273569,"filename":"image_12042025_12_33_47_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9896609561151d964b286fdc47693bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8323505695923702849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464273569,"filename":"image_12042025_12_34_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9100cc2453a44b6a52c50ed5755f635f.jpg","text":"TemporaryFile(/tmp/multipartBody2092054846180876913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464273569,"filename":"image_12042025_12_33_27_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237446","file1":"1352237371","file0":"1352237297","file4":"1352237567","file5":"1352237583","file3":"1352237516"},"map_files_photo_id_array":[{"photo_id":"1352237583","filename":"file5"},{"photo_id":"1352237446","filename":"file2"},{"photo_id":"1352237567","filename":"file4"},{"photo_id":"1352237371","filename":"file1"},{"photo_id":"1352237297","filename":"file0"},{"photo_id":"1352237516","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352237567":["hashtag1","hashtag2"]},{"1352237516":["hashtag1","hashtag2"]},{"1352237371":["hashtag1","hashtag2"]},{"1352237446":["hashtag1","hashtag2"]},{"1352237583":["hashtag1","hashtag2"]},{"1352237297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352237567, 1352237516, 1352237371, 1352237446, 1352237583, 1352237297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63823914527893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:24:32.439041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_37_10366.jpg', '/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_46_9371.jpg', '/home/pi/Desktop/images/12042025/12/34/image_12042025_12_35_07_10361.jpg', '/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_17_9333.jpg', '/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_27_10352.jpg', '/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_37_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_37_10366.jpg
/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_46_9371.jpg
/home/pi/Desktop/images/12042025/12/34/image_12042025_12_35_07_10361.jpg
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_17_9333.jpg
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_27_10352.jpg
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_37_10359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4033386707305908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 15:24:42.478076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_37_10366.jpg', '/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_46_9371.jpg', '/home/pi/Desktop/images/12042025/12/34/image_12042025_12_35_07_10361.jpg', '/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_17_9333.jpg', '/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_27_10352.jpg', '/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_37_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_37_10366.jpg
/home/pi/Desktop/images/12042025/12/34/image_12042025_12_34_46_9371.jpg
/home/pi/Desktop/images/12042025/12/34/image_12042025_12_35_07_10361.jpg
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_17_9333.jpg
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_27_10352.jpg
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_37_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237770","1352237775","1352237772","1352237766","1352237745","1352237733"],"photo_ids_order":["1352237733","1352237745","1352237766","1352237770","1352237772","1352237775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6f89cc6f68360980d9e5e56ccc5668a.jpg","text":"TemporaryFile(/tmp/multipartBody7814888037994969834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464342964,"filename":"image_12042025_12_35_17_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6f56c440e970406376ccbf2c52eeefa.jpg","text":"TemporaryFile(/tmp/multipartBody2159667159643003105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464342964,"filename":"image_12042025_12_35_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/584fe5f277606b6ef12f9649c9235de2.jpg","text":"TemporaryFile(/tmp/multipartBody4574038190503905164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464342964,"filename":"image_12042025_12_35_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fbc9260d840ce6b9657af6131c43159.jpg","text":"TemporaryFile(/tmp/multipartBody894225672686774408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464342964,"filename":"image_12042025_12_35_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca6e95a670a0d9df2880da113063fda0.jpg","text":"TemporaryFile(/tmp/multipartBody5919227600123144546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464342964,"filename":"image_12042025_12_34_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b60c41f9c46326417f2474379c430f05.jpg","text":"TemporaryFile(/tmp/multipartBody3907971955207279613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464342964,"filename":"image_12042025_12_34_37_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237766","file1":"1352237745","file0":"1352237733","file4":"1352237772","file5":"1352237775","file3":"1352237770"},"map_files_photo_id_array":[{"photo_id":"1352237775","filename":"file5"},{"photo_id":"1352237766","filename":"file2"},{"photo_id":"1352237772","filename":"file4"},{"photo_id":"1352237745","filename":"file1"},{"photo_id":"1352237733","filename":"file0"},{"photo_id":"1352237770","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352237770":["hashtag1","hashtag2"]},{"1352237775":["hashtag1","hashtag2"]},{"1352237772":["hashtag1","hashtag2"]},{"1352237766":["hashtag1","hashtag2"]},{"1352237745":["hashtag1","hashtag2"]},{"1352237733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352237770, 1352237775, 1352237772, 1352237766, 1352237745, 1352237733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1586058139801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:25:32.741679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_47_9471.jpg', '/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_57_10372.jpg', '/home/pi/Desktop/images/12042025/12/35/image_12042025_12_36_06_9354.jpg', '/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_17_10344.jpg', '/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_27_10365.jpg', '/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_37_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_47_9471.jpg
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_35_57_10372.jpg
/home/pi/Desktop/images/12042025/12/35/image_12042025_12_36_06_9354.jpg
/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_17_10344.jpg
/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_27_10365.jpg
/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_37_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237825","1352237791","1352237821","1352237787","1352237835","1352237817"],"photo_ids_order":["1352237787","1352237791","1352237817","1352237821","1352237825","1352237835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5684b716f2f48355795e4841c4b2da6f.jpg","text":"TemporaryFile(/tmp/multipartBody379969853092074775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464393204,"filename":"image_12042025_12_36_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8c27db07d51ad7ccb29e1e67542df26.jpg","text":"TemporaryFile(/tmp/multipartBody5122096946601805621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464393204,"filename":"image_12042025_12_35_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d35bc849b4df8d4bd9876dcd7a8e0e5.jpg","text":"TemporaryFile(/tmp/multipartBody6005614472812971307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464393204,"filename":"image_12042025_12_36_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e7543f603df2a3b7db5cc2074f52c9c.jpg","text":"TemporaryFile(/tmp/multipartBody3069636043969332213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464393204,"filename":"image_12042025_12_35_47_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35c16824eb5bf9e6119e98657bacbb1e.jpg","text":"TemporaryFile(/tmp/multipartBody8303836634214462462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464393204,"filename":"image_12042025_12_36_37_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e593f314cf6450af7e6d9d9a20bcb108.jpg","text":"TemporaryFile(/tmp/multipartBody4496640538234325888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464393204,"filename":"image_12042025_12_36_06_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237817","file1":"1352237791","file0":"1352237787","file4":"1352237825","file5":"1352237835","file3":"1352237821"},"map_files_photo_id_array":[{"photo_id":"1352237835","filename":"file5"},{"photo_id":"1352237817","filename":"file2"},{"photo_id":"1352237825","filename":"file4"},{"photo_id":"1352237791","filename":"file1"},{"photo_id":"1352237787","filename":"file0"},{"photo_id":"1352237821","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352237825":["hashtag1","hashtag2"]},{"1352237791":["hashtag1","hashtag2"]},{"1352237821":["hashtag1","hashtag2"]},{"1352237787":["hashtag1","hashtag2"]},{"1352237835":["hashtag1","hashtag2"]},{"1352237817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352237825, 1352237791, 1352237821, 1352237787, 1352237835, 1352237817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.19591069221497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 15:26:42.894635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_47_10449.jpg', '/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_56_9419.jpg', '/home/pi/Desktop/images/12042025/12/36/image_12042025_12_37_07_10366.jpg', '/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_17_10457.jpg', '/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_27_9393.jpg', '/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_37_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_47_10449.jpg
/home/pi/Desktop/images/12042025/12/36/image_12042025_12_36_56_9419.jpg
/home/pi/Desktop/images/12042025/12/36/image_12042025_12_37_07_10366.jpg
/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_17_10457.jpg
/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_27_9393.jpg
/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_37_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237857","1352237850","1352237844","1352237853","1352237847","1352237841"],"photo_ids_order":["1352237841","1352237844","1352237847","1352237850","1352237853","1352237857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d12d72e4b8e72382ab96b20ea89fdd1.jpg","text":"TemporaryFile(/tmp/multipartBody5232096804880927642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464463356,"filename":"image_12042025_12_37_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/257491468941f8e2a416955832ee331a.jpg","text":"TemporaryFile(/tmp/multipartBody5065283389700780492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464463356,"filename":"image_12042025_12_37_17_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09442760ac4e2a40d4266254a4e5c42f.jpg","text":"TemporaryFile(/tmp/multipartBody53971481958946749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464463356,"filename":"image_12042025_12_36_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9330bda2bb2f3759b23a03e99eccf1ed.jpg","text":"TemporaryFile(/tmp/multipartBody3512947835218847270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464463356,"filename":"image_12042025_12_37_27_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30b3fef83b649faacdcaa80648f7e581.jpg","text":"TemporaryFile(/tmp/multipartBody1183556613180142564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464463356,"filename":"image_12042025_12_37_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/960216828f15b374e1830fb20597124e.jpg","text":"TemporaryFile(/tmp/multipartBody8624870884133997815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464463356,"filename":"image_12042025_12_36_47_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237847","file1":"1352237844","file0":"1352237841","file4":"1352237853","file5":"1352237857","file3":"1352237850"},"map_files_photo_id_array":[{"photo_id":"1352237857","filename":"file5"},{"photo_id":"1352237847","filename":"file2"},{"photo_id":"1352237853","filename":"file4"},{"photo_id":"1352237844","filename":"file1"},{"photo_id":"1352237841","filename":"file0"},{"photo_id":"1352237850","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352237857":["hashtag1","hashtag2"]},{"1352237850":["hashtag1","hashtag2"]},{"1352237844":["hashtag1","hashtag2"]},{"1352237853":["hashtag1","hashtag2"]},{"1352237847":["hashtag1","hashtag2"]},{"1352237841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352237857, 1352237850, 1352237844, 1352237853, 1352237847, 1352237841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14443397521973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:27:33.180049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_46_9405.jpg', '/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_57_10434.jpg', '/home/pi/Desktop/images/12042025/12/37/image_12042025_12_38_07_10358.jpg', '/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_17_9410.jpg', '/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_27_10364.jpg', '/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_36_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_46_9405.jpg
/home/pi/Desktop/images/12042025/12/37/image_12042025_12_37_57_10434.jpg
/home/pi/Desktop/images/12042025/12/37/image_12042025_12_38_07_10358.jpg
/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_17_9410.jpg
/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_27_10364.jpg
/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_36_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352237914","1352237917","1352237911","1352237919","1352237913","1352237922"],"photo_ids_order":["1352237911","1352237913","1352237914","1352237917","1352237919","1352237922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/660685bd0745b02cb2f603da08e7f6f8.jpg","text":"TemporaryFile(/tmp/multipartBody6312143160939824906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464513639,"filename":"image_12042025_12_38_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8dae46c540fb15b43c384ede163b091c.jpg","text":"TemporaryFile(/tmp/multipartBody8213188770675525315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464513639,"filename":"image_12042025_12_38_17_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a443f6ca619baaabccd587526844909.jpg","text":"TemporaryFile(/tmp/multipartBody4680911240529022893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464513639,"filename":"image_12042025_12_37_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/933c46ebc044521cc6e24603732e10e7.jpg","text":"TemporaryFile(/tmp/multipartBody238209949768950550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464513639,"filename":"image_12042025_12_38_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4da23f82da919017174a5ee1f4efa115.jpg","text":"TemporaryFile(/tmp/multipartBody3445137088023066325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464513639,"filename":"image_12042025_12_37_57_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1986ca7e6f62e4da983b99cb6a308cde.jpg","text":"TemporaryFile(/tmp/multipartBody723500481583712714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464513639,"filename":"image_12042025_12_38_36_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352237914","file1":"1352237913","file0":"1352237911","file4":"1352237919","file5":"1352237922","file3":"1352237917"},"map_files_photo_id_array":[{"photo_id":"1352237922","filename":"file5"},{"photo_id":"1352237914","filename":"file2"},{"photo_id":"1352237919","filename":"file4"},{"photo_id":"1352237913","filename":"file1"},{"photo_id":"1352237911","filename":"file0"},{"photo_id":"1352237917","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352237914":["hashtag1","hashtag2"]},{"1352237917":["hashtag1","hashtag2"]},{"1352237911":["hashtag1","hashtag2"]},{"1352237919":["hashtag1","hashtag2"]},{"1352237913":["hashtag1","hashtag2"]},{"1352237922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352237914, 1352237917, 1352237911, 1352237919, 1352237913, 1352237922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.279773473739624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:28:32.428947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_47_10428.jpg', '/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_57_10387.jpg', '/home/pi/Desktop/images/12042025/12/38/image_12042025_12_39_07_9342.jpg', '/home/pi/Desktop/images/12042025/12/39/image_12042025_12_39_17_10359.jpg', '/home/pi/Desktop/images/12042025/12/39/image_12042025_12_39_26_9402.jpg', '/home/pi/Desktop/images/12042025/12/39/image_12042025_12_39_37_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_47_10428.jpg
/home/pi/Desktop/images/12042025/12/38/image_12042025_12_38_57_10387.jpg
/home/pi/Desktop/images/12042025/12/38/image_12042025_12_39_07_9342.jpg
/home/pi/Desktop/images/12042025/12/39/image_12042025_12_39_17_10359.jpg
/home/pi/Desktop/images/12042025/12/39/image_12042025_12_39_26_9402.jpg
/home/pi/Desktop/images/12042025/12/39/image_12042025_12_39_37_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238094","1352238142","1352238121","1352238115","1352238068","1352238161"],"photo_ids_order":["1352238068","1352238094","1352238115","1352238121","1352238142","1352238161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6181e6b03a7401f365a369418c983624.jpg","text":"TemporaryFile(/tmp/multipartBody7682050195391939344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464572908,"filename":"image_12042025_12_38_57_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5dfbc512116e24df3acddca9c9ab8d93.jpg","text":"TemporaryFile(/tmp/multipartBody6461844503021486142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464572908,"filename":"image_12042025_12_39_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2df02ac5dffe3b662b72a84a92de0f4c.jpg","text":"TemporaryFile(/tmp/multipartBody6242396725887650824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464572908,"filename":"image_12042025_12_39_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4e3f823dc27669e68bc3c6f82cfdbec.jpg","text":"TemporaryFile(/tmp/multipartBody3224690465599097779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464572908,"filename":"image_12042025_12_39_07_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa80517761dbb7dddc20dc97ecda2a84.jpg","text":"TemporaryFile(/tmp/multipartBody159715569294670601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464572908,"filename":"image_12042025_12_38_47_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88ec2773649b76c10f97a72083c67fdb.jpg","text":"TemporaryFile(/tmp/multipartBody8269998086143283275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464572908,"filename":"image_12042025_12_39_37_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238115","file1":"1352238094","file0":"1352238068","file4":"1352238142","file5":"1352238161","file3":"1352238121"},"map_files_photo_id_array":[{"photo_id":"1352238161","filename":"file5"},{"photo_id":"1352238115","filename":"file2"},{"photo_id":"1352238142","filename":"file4"},{"photo_id":"1352238094","filename":"file1"},{"photo_id":"1352238068","filename":"file0"},{"photo_id":"1352238121","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352238094":["hashtag1","hashtag2"]},{"1352238142":["hashtag1","hashtag2"]},{"1352238121":["hashtag1","hashtag2"]},{"1352238115":["hashtag1","hashtag2"]},{"1352238068":["hashtag1","hashtag2"]},{"1352238161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352238094, 1352238142, 1352238121, 1352238115, 1352238068, 1352238161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.898847818374634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:29:32.701186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/39/image_12042025_12_39_47_10365.jpg', '/home/pi/Desktop/images/12042025/12/39/image_12042025_12_40_07_10393.jpg', '/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_17_10367.jpg', '/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_27_9423.jpg', '/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_37_10346.jpg', '/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_46_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/39/image_12042025_12_39_47_10365.jpg
/home/pi/Desktop/images/12042025/12/39/image_12042025_12_40_07_10393.jpg
/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_17_10367.jpg
/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_27_9423.jpg
/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_37_10346.jpg
/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_46_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238376","1352238352","1352238377","1352238359","1352238368","1352238326"],"photo_ids_order":["1352238326","1352238352","1352238359","1352238368","1352238376","1352238377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee8f6c6c0533b90b3d1c95734f5cffd5.jpg","text":"TemporaryFile(/tmp/multipartBody3281479254362282330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464633177,"filename":"image_12042025_12_40_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6a789059b80c565c20932f47c3828f7.jpg","text":"TemporaryFile(/tmp/multipartBody8522026206499103513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464633177,"filename":"image_12042025_12_40_07_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a206b82cc924624b2c56a4bb2efcf953.jpg","text":"TemporaryFile(/tmp/multipartBody6674534352273685935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464633177,"filename":"image_12042025_12_40_46_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fdcac075b5d771e6363acfba1399a992.jpg","text":"TemporaryFile(/tmp/multipartBody1356279620178170825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464633177,"filename":"image_12042025_12_40_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/565f07e41cd4baed6e52cb49c643836b.jpg","text":"TemporaryFile(/tmp/multipartBody6001697808031812411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464633177,"filename":"image_12042025_12_40_27_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aeb80910b3a286c174eaff027e06813d.jpg","text":"TemporaryFile(/tmp/multipartBody6707351088274643253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464633177,"filename":"image_12042025_12_39_47_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238359","file1":"1352238352","file0":"1352238326","file4":"1352238376","file5":"1352238377","file3":"1352238368"},"map_files_photo_id_array":[{"photo_id":"1352238377","filename":"file5"},{"photo_id":"1352238359","filename":"file2"},{"photo_id":"1352238376","filename":"file4"},{"photo_id":"1352238352","filename":"file1"},{"photo_id":"1352238326","filename":"file0"},{"photo_id":"1352238368","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352238376":["hashtag1","hashtag2"]},{"1352238352":["hashtag1","hashtag2"]},{"1352238377":["hashtag1","hashtag2"]},{"1352238359":["hashtag1","hashtag2"]},{"1352238368":["hashtag1","hashtag2"]},{"1352238326":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352238376, 1352238352, 1352238377, 1352238359, 1352238368, 1352238326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.424291133880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:30:32.971196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_57_10378.jpg', '/home/pi/Desktop/images/12042025/12/40/image_12042025_12_41_07_10346.jpg', '/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_17_9414.jpg', '/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_27_10393.jpg', '/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_36_9401.jpg', '/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_47_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/40/image_12042025_12_40_57_10378.jpg
/home/pi/Desktop/images/12042025/12/40/image_12042025_12_41_07_10346.jpg
/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_17_9414.jpg
/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_27_10393.jpg
/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_36_9401.jpg
/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_47_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238577","1352238565","1352238570","1352238573","1352238567","1352238555"],"photo_ids_order":["1352238555","1352238565","1352238567","1352238570","1352238573","1352238577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57fc46bcbc652f57f31ddf8ef6a0e090.jpg","text":"TemporaryFile(/tmp/multipartBody7480241034161129532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464693633,"filename":"image_12042025_12_41_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de3117534225174caf99cd70e0f1048c.jpg","text":"TemporaryFile(/tmp/multipartBody919094843160988205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464693633,"filename":"image_12042025_12_41_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71e1944cdd218d9a500682b0e6c38a8f.jpg","text":"TemporaryFile(/tmp/multipartBody128159406949723925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464693633,"filename":"image_12042025_12_41_27_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7ff26364865f899f2fb86913888cf96.jpg","text":"TemporaryFile(/tmp/multipartBody8839671956705123523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464693633,"filename":"image_12042025_12_41_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfb1bbf277584febdc3a468110ed6b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8387431312443749764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464693633,"filename":"image_12042025_12_41_17_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1564314d6bb05e00345a33f004e5891d.jpg","text":"TemporaryFile(/tmp/multipartBody3703447203463546476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464693633,"filename":"image_12042025_12_40_57_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238567","file1":"1352238565","file0":"1352238555","file4":"1352238573","file5":"1352238577","file3":"1352238570"},"map_files_photo_id_array":[{"photo_id":"1352238577","filename":"file5"},{"photo_id":"1352238567","filename":"file2"},{"photo_id":"1352238573","filename":"file4"},{"photo_id":"1352238565","filename":"file1"},{"photo_id":"1352238555","filename":"file0"},{"photo_id":"1352238570","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352238577":["hashtag1","hashtag2"]},{"1352238565":["hashtag1","hashtag2"]},{"1352238570":["hashtag1","hashtag2"]},{"1352238573":["hashtag1","hashtag2"]},{"1352238567":["hashtag1","hashtag2"]},{"1352238555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352238577, 1352238565, 1352238570, 1352238573, 1352238567, 1352238555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98391509056091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:31:32.230617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_57_10364.jpg', '/home/pi/Desktop/images/12042025/12/41/image_12042025_12_42_07_9455.jpg', '/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_17_10453.jpg', '/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_26_9472.jpg', '/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_37_10372.jpg', '/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_47_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/41/image_12042025_12_41_57_10364.jpg
/home/pi/Desktop/images/12042025/12/41/image_12042025_12_42_07_9455.jpg
/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_17_10453.jpg
/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_26_9472.jpg
/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_37_10372.jpg
/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_47_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238694","1352238697","1352238699","1352238639","1352238705","1352238702"],"photo_ids_order":["1352238639","1352238694","1352238697","1352238699","1352238702","1352238705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/915dc4ce946e210a3e7048502e6169ab.jpg","text":"TemporaryFile(/tmp/multipartBody7466174872509484031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464752694,"filename":"image_12042025_12_42_07_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2bfe28e4a3d0eca7b51cc768cbdc612.jpg","text":"TemporaryFile(/tmp/multipartBody8264450288606432245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464752694,"filename":"image_12042025_12_42_17_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8403a16fa08025607727333a8c2de1ea.jpg","text":"TemporaryFile(/tmp/multipartBody1873443202793097890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464752694,"filename":"image_12042025_12_42_26_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e35f91f8eb9414ebed25ba48129214f2.jpg","text":"TemporaryFile(/tmp/multipartBody831822035365900527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464752694,"filename":"image_12042025_12_41_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/723d7822d471aa5cc7343593feebabe5.jpg","text":"TemporaryFile(/tmp/multipartBody5977205113229995870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464752694,"filename":"image_12042025_12_42_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6ec4e5805cab61bbe40e2049005ae7d.jpg","text":"TemporaryFile(/tmp/multipartBody1855539699438810661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464752694,"filename":"image_12042025_12_42_37_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238697","file1":"1352238694","file0":"1352238639","file4":"1352238702","file5":"1352238705","file3":"1352238699"},"map_files_photo_id_array":[{"photo_id":"1352238705","filename":"file5"},{"photo_id":"1352238697","filename":"file2"},{"photo_id":"1352238702","filename":"file4"},{"photo_id":"1352238694","filename":"file1"},{"photo_id":"1352238639","filename":"file0"},{"photo_id":"1352238699","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352238694":["hashtag1","hashtag2"]},{"1352238697":["hashtag1","hashtag2"]},{"1352238699":["hashtag1","hashtag2"]},{"1352238639":["hashtag1","hashtag2"]},{"1352238705":["hashtag1","hashtag2"]},{"1352238702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352238694, 1352238697, 1352238699, 1352238639, 1352238705, 1352238702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60885834693909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:32:32.545568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_57_9344.jpg', '/home/pi/Desktop/images/12042025/12/42/image_12042025_12_43_07_10361.jpg', '/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_17_10359.jpg', '/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_27_9425.jpg', '/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_37_10379.jpg', '/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_46_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/42/image_12042025_12_42_57_9344.jpg
/home/pi/Desktop/images/12042025/12/42/image_12042025_12_43_07_10361.jpg
/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_17_10359.jpg
/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_27_9425.jpg
/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_37_10379.jpg
/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_46_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238731","1352238728","1352238739","1352238733","1352238736","1352238729"],"photo_ids_order":["1352238728","1352238729","1352238731","1352238733","1352238736","1352238739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06a46461cf5974916d33eab3228b6d84.jpg","text":"TemporaryFile(/tmp/multipartBody3557664003189146959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464813027,"filename":"image_12042025_12_43_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2acbaa3053c8eab1034d71493b1a665.jpg","text":"TemporaryFile(/tmp/multipartBody1190725042774431843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464813027,"filename":"image_12042025_12_42_57_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16f18b9bd39f57e8843ce7e1079861f1.jpg","text":"TemporaryFile(/tmp/multipartBody844129441793012237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464813027,"filename":"image_12042025_12_43_46_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60e1f26422b9d7993aba01284edd8218.jpg","text":"TemporaryFile(/tmp/multipartBody7229860950942948695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464813027,"filename":"image_12042025_12_43_27_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca18484a3ce9ae46a1f53750692d41f3.jpg","text":"TemporaryFile(/tmp/multipartBody3070123205699153508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464813027,"filename":"image_12042025_12_43_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9c27a4c4109ceb061b78fdaf3f26f1d.jpg","text":"TemporaryFile(/tmp/multipartBody5669064297248302313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464813027,"filename":"image_12042025_12_43_07_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238731","file1":"1352238729","file0":"1352238728","file4":"1352238736","file5":"1352238739","file3":"1352238733"},"map_files_photo_id_array":[{"photo_id":"1352238739","filename":"file5"},{"photo_id":"1352238731","filename":"file2"},{"photo_id":"1352238736","filename":"file4"},{"photo_id":"1352238729","filename":"file1"},{"photo_id":"1352238728","filename":"file0"},{"photo_id":"1352238733","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352238731":["hashtag1","hashtag2"]},{"1352238728":["hashtag1","hashtag2"]},{"1352238739":["hashtag1","hashtag2"]},{"1352238733":["hashtag1","hashtag2"]},{"1352238736":["hashtag1","hashtag2"]},{"1352238729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352238731, 1352238728, 1352238739, 1352238733, 1352238736, 1352238729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.850669384002686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:33:32.865772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_57_10467.jpg', '/home/pi/Desktop/images/12042025/12/43/image_12042025_12_44_06_9394.jpg', '/home/pi/Desktop/images/12042025/12/44/image_12042025_12_44_17_10344.jpg', '/home/pi/Desktop/images/12042025/12/44/image_12042025_12_44_27_10351.jpg', '/home/pi/Desktop/images/12042025/12/44/image_12042025_12_44_47_10448.jpg', '/home/pi/Desktop/images/12042025/12/44/image_12042025_12_44_57_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/43/image_12042025_12_43_57_10467.jpg
/home/pi/Desktop/images/12042025/12/43/image_12042025_12_44_06_9394.jpg
/home/pi/Desktop/images/12042025/12/44/image_12042025_12_44_17_10344.jpg
/home/pi/Desktop/images/12042025/12/44/image_12042025_12_44_27_10351.jpg
/home/pi/Desktop/images/12042025/12/44/image_12042025_12_44_47_10448.jpg
/home/pi/Desktop/images/12042025/12/44/image_12042025_12_44_57_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238775","1352238790","1352238826","1352238802","1352238805","1352238834"],"photo_ids_order":["1352238775","1352238790","1352238802","1352238805","1352238826","1352238834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fde078cd5e393d4b17b5c2c07ec43a61.jpg","text":"TemporaryFile(/tmp/multipartBody2668523061469473388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464873333,"filename":"image_12042025_12_43_57_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7d12c467208c34645752af3bc5f18c2.jpg","text":"TemporaryFile(/tmp/multipartBody5709583889120649221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464873333,"filename":"image_12042025_12_44_06_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3752ae9d943c4462a3a283e41d0c9e73.jpg","text":"TemporaryFile(/tmp/multipartBody2681511080587800228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464873333,"filename":"image_12042025_12_44_47_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/977c6757c2a189d7d142bdbe65e44231.jpg","text":"TemporaryFile(/tmp/multipartBody4636738350273713731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464873333,"filename":"image_12042025_12_44_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a563421c46dd5542fdb479e73a3df17.jpg","text":"TemporaryFile(/tmp/multipartBody6995513309082494958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464873333,"filename":"image_12042025_12_44_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9b67833c40bf3e5959419c310b4a584.jpg","text":"TemporaryFile(/tmp/multipartBody2345634454666169213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464873333,"filename":"image_12042025_12_44_57_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238802","file1":"1352238790","file0":"1352238775","file4":"1352238826","file5":"1352238834","file3":"1352238805"},"map_files_photo_id_array":[{"photo_id":"1352238834","filename":"file5"},{"photo_id":"1352238802","filename":"file2"},{"photo_id":"1352238826","filename":"file4"},{"photo_id":"1352238790","filename":"file1"},{"photo_id":"1352238775","filename":"file0"},{"photo_id":"1352238805","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352238775":["hashtag1","hashtag2"]},{"1352238790":["hashtag1","hashtag2"]},{"1352238826":["hashtag1","hashtag2"]},{"1352238802":["hashtag1","hashtag2"]},{"1352238805":["hashtag1","hashtag2"]},{"1352238834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352238775, 1352238790, 1352238826, 1352238802, 1352238805, 1352238834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03258657455444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:34:32.951115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/44/image_12042025_12_45_07_9422.jpg', '/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_17_10454.jpg', '/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_26_9365.jpg', '/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_37_10347.jpg', '/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_47_10359.jpg', '/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_57_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/44/image_12042025_12_45_07_9422.jpg
/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_17_10454.jpg
/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_26_9365.jpg
/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_37_10347.jpg
/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_47_10359.jpg
/home/pi/Desktop/images/12042025/12/45/image_12042025_12_45_57_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352238917","1352238911","1352238905","1352238906","1352238914","1352238908"],"photo_ids_order":["1352238905","1352238906","1352238908","1352238911","1352238914","1352238917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fff6891b488832b634a9d99b9cb836a9.jpg","text":"TemporaryFile(/tmp/multipartBody8673027713791965381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464933413,"filename":"image_12042025_12_45_57_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49db3a43862cdc7f98534f09017b5ff0.jpg","text":"TemporaryFile(/tmp/multipartBody976505591716098226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464933413,"filename":"image_12042025_12_45_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3069e31dec478163da7143876408136f.jpg","text":"TemporaryFile(/tmp/multipartBody8792872826507579402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464933413,"filename":"image_12042025_12_45_07_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/818d4ca7b6d131ba9b48c5f6dc4d4d12.jpg","text":"TemporaryFile(/tmp/multipartBody4043146526646461809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464933413,"filename":"image_12042025_12_45_17_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4bb79b73baa0ba6d0b22553019506fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6861603749059427335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464933413,"filename":"image_12042025_12_45_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39980f3104933e2027fb1090af7dd911.jpg","text":"TemporaryFile(/tmp/multipartBody7603103824308805728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464933413,"filename":"image_12042025_12_45_26_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352238908","file1":"1352238906","file0":"1352238905","file4":"1352238914","file5":"1352238917","file3":"1352238911"},"map_files_photo_id_array":[{"photo_id":"1352238917","filename":"file5"},{"photo_id":"1352238908","filename":"file2"},{"photo_id":"1352238914","filename":"file4"},{"photo_id":"1352238906","filename":"file1"},{"photo_id":"1352238905","filename":"file0"},{"photo_id":"1352238911","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352238917":["hashtag1","hashtag2"]},{"1352238911":["hashtag1","hashtag2"]},{"1352238905":["hashtag1","hashtag2"]},{"1352238906":["hashtag1","hashtag2"]},{"1352238914":["hashtag1","hashtag2"]},{"1352238908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352238917, 1352238911, 1352238905, 1352238906, 1352238914, 1352238908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24745726585388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:35:32.422985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_16_9479.jpg', '/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_27_10455.jpg', '/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_36_9522.jpg', '/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_47_10507.jpg', '/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_57_10363.jpg', '/home/pi/Desktop/images/12042025/12/46/image_12042025_12_47_07_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_16_9479.jpg
/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_27_10455.jpg
/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_36_9522.jpg
/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_47_10507.jpg
/home/pi/Desktop/images/12042025/12/46/image_12042025_12_46_57_10363.jpg
/home/pi/Desktop/images/12042025/12/46/image_12042025_12_47_07_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352239096","1352239101","1352239082","1352239099","1352239090","1352239093"],"photo_ids_order":["1352239082","1352239090","1352239093","1352239096","1352239099","1352239101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d55b0281b35aa0055c4e0c153890b2de.jpg","text":"TemporaryFile(/tmp/multipartBody7648496018851176342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464992893,"filename":"image_12042025_12_46_47_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a84c8134b0c6e1aefa61443dbb426929.jpg","text":"TemporaryFile(/tmp/multipartBody7965456366031790243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464992893,"filename":"image_12042025_12_47_07_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d290130321c73dceece4a8b28120b333.jpg","text":"TemporaryFile(/tmp/multipartBody4742722268751494386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464992893,"filename":"image_12042025_12_46_16_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d4375511dfed13379309a48510adcb3.jpg","text":"TemporaryFile(/tmp/multipartBody7121188530159294544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464992893,"filename":"image_12042025_12_46_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd599fb84ca0cc6c07be366387c0f25d.jpg","text":"TemporaryFile(/tmp/multipartBody1655093037356710702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464992893,"filename":"image_12042025_12_46_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5da24d5990081c831801f34d7353aec.jpg","text":"TemporaryFile(/tmp/multipartBody263201989263030810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744464992893,"filename":"image_12042025_12_46_36_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352239093","file1":"1352239090","file0":"1352239082","file4":"1352239099","file5":"1352239101","file3":"1352239096"},"map_files_photo_id_array":[{"photo_id":"1352239101","filename":"file5"},{"photo_id":"1352239093","filename":"file2"},{"photo_id":"1352239099","filename":"file4"},{"photo_id":"1352239090","filename":"file1"},{"photo_id":"1352239082","filename":"file0"},{"photo_id":"1352239096","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352239096":["hashtag1","hashtag2"]},{"1352239101":["hashtag1","hashtag2"]},{"1352239082":["hashtag1","hashtag2"]},{"1352239099":["hashtag1","hashtag2"]},{"1352239090":["hashtag1","hashtag2"]},{"1352239093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352239096, 1352239101, 1352239082, 1352239099, 1352239090, 1352239093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.585537910461426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:36:32.470956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_17_10374.jpg', '/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_26_9461.jpg', '/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_37_10363.jpg', '/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_47_10377.jpg', '/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_57_9435.jpg', '/home/pi/Desktop/images/12042025/12/47/image_12042025_12_48_07_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_17_10374.jpg
/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_26_9461.jpg
/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_37_10363.jpg
/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_47_10377.jpg
/home/pi/Desktop/images/12042025/12/47/image_12042025_12_47_57_9435.jpg
/home/pi/Desktop/images/12042025/12/47/image_12042025_12_48_07_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352239135","1352239120","1352239128","1352239131","1352239133","1352239118"],"photo_ids_order":["1352239118","1352239120","1352239128","1352239131","1352239133","1352239135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ee3db294e896b51109972eb665b8faa.jpg","text":"TemporaryFile(/tmp/multipartBody8487710462993767641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465052948,"filename":"image_12042025_12_48_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b103f111f728a0c3e3da5d82c8d30b77.jpg","text":"TemporaryFile(/tmp/multipartBody2107676669852073807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465052948,"filename":"image_12042025_12_47_26_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db1aa8f909f08f0f1614eab243f0059c.jpg","text":"TemporaryFile(/tmp/multipartBody6243549665290612594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465052948,"filename":"image_12042025_12_47_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/524e821045ff7a93a17405a58ee3074f.jpg","text":"TemporaryFile(/tmp/multipartBody489968866111988742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465052948,"filename":"image_12042025_12_47_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88b747951872ec2c16d76fd5ace70d74.jpg","text":"TemporaryFile(/tmp/multipartBody4322303309414664609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465052948,"filename":"image_12042025_12_47_57_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6dd7586e1a722d19864f56d6cc63c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2340818799632856898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465052948,"filename":"image_12042025_12_47_17_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352239128","file1":"1352239120","file0":"1352239118","file4":"1352239133","file5":"1352239135","file3":"1352239131"},"map_files_photo_id_array":[{"photo_id":"1352239135","filename":"file5"},{"photo_id":"1352239128","filename":"file2"},{"photo_id":"1352239133","filename":"file4"},{"photo_id":"1352239120","filename":"file1"},{"photo_id":"1352239118","filename":"file0"},{"photo_id":"1352239131","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352239135":["hashtag1","hashtag2"]},{"1352239120":["hashtag1","hashtag2"]},{"1352239128":["hashtag1","hashtag2"]},{"1352239131":["hashtag1","hashtag2"]},{"1352239133":["hashtag1","hashtag2"]},{"1352239118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352239135, 1352239120, 1352239128, 1352239131, 1352239133, 1352239118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.07604384422302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:37:32.701268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_16_9426.jpg', '/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_27_10458.jpg', '/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_37_10444.jpg', '/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_47_9377.jpg', '/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_57_10347.jpg', '/home/pi/Desktop/images/12042025/12/48/image_12042025_12_49_06_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_16_9426.jpg
/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_27_10458.jpg
/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_37_10444.jpg
/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_47_9377.jpg
/home/pi/Desktop/images/12042025/12/48/image_12042025_12_48_57_10347.jpg
/home/pi/Desktop/images/12042025/12/48/image_12042025_12_49_06_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352239168","1352239165","1352239158","1352239161","1352239163","1352239171"],"photo_ids_order":["1352239158","1352239161","1352239163","1352239165","1352239168","1352239171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03bac1a94fc7a8f98a8a7d34747bc14b.jpg","text":"TemporaryFile(/tmp/multipartBody2996490266818982535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465113193,"filename":"image_12042025_12_48_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/81254305f1ecfa8e5b613197387c2bce.jpg","text":"TemporaryFile(/tmp/multipartBody4561536980680271904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465113193,"filename":"image_12042025_12_48_47_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e344865d9bbc02d2a16c6474cccf674.jpg","text":"TemporaryFile(/tmp/multipartBody5812588477251619967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465113193,"filename":"image_12042025_12_48_16_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/289391596f8e40fd0a601ee0ab029e84.jpg","text":"TemporaryFile(/tmp/multipartBody4061013088434792882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465113193,"filename":"image_12042025_12_48_27_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/973f567b28835bc517d807f5adbf8414.jpg","text":"TemporaryFile(/tmp/multipartBody4111688978146098672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465113193,"filename":"image_12042025_12_48_37_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e5635f49b9e6df4073e468ce4c86bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4028178459003692364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465113193,"filename":"image_12042025_12_49_06_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352239163","file1":"1352239161","file0":"1352239158","file4":"1352239168","file5":"1352239171","file3":"1352239165"},"map_files_photo_id_array":[{"photo_id":"1352239171","filename":"file5"},{"photo_id":"1352239163","filename":"file2"},{"photo_id":"1352239168","filename":"file4"},{"photo_id":"1352239161","filename":"file1"},{"photo_id":"1352239158","filename":"file0"},{"photo_id":"1352239165","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352239168":["hashtag1","hashtag2"]},{"1352239165":["hashtag1","hashtag2"]},{"1352239158":["hashtag1","hashtag2"]},{"1352239161":["hashtag1","hashtag2"]},{"1352239163":["hashtag1","hashtag2"]},{"1352239171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352239168, 1352239165, 1352239158, 1352239161, 1352239163, 1352239171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.995640754699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:38:32.987753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_27_10369.jpg', '/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_36_9352.jpg', '/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_47_10389.jpg', '/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_57_10356.jpg', '/home/pi/Desktop/images/12042025/12/49/image_12042025_12_50_07_9349.jpg', '/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_17_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_27_10369.jpg
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_36_9352.jpg
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_47_10389.jpg
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_57_10356.jpg
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_50_07_9349.jpg
/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_17_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3829457759857178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 15:38:42.931843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_27_10369.jpg', '/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_36_9352.jpg', '/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_47_10389.jpg', '/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_57_10356.jpg', '/home/pi/Desktop/images/12042025/12/49/image_12042025_12_50_07_9349.jpg', '/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_17_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_27_10369.jpg
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_36_9352.jpg
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_47_10389.jpg
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_49_57_10356.jpg
/home/pi/Desktop/images/12042025/12/49/image_12042025_12_50_07_9349.jpg
/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_17_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352239618","1352239560","1352239644","1352239602","1352239553","1352239628"],"photo_ids_order":["1352239553","1352239560","1352239602","1352239618","1352239628","1352239644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30251d53012ea8da024366382385a2be.jpg","text":"TemporaryFile(/tmp/multipartBody3746669794818248155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465183389,"filename":"image_12042025_12_49_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b972d741589f4f7e597ad31a4020558.jpg","text":"TemporaryFile(/tmp/multipartBody3191316775338516071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465183389,"filename":"image_12042025_12_49_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce050cb20ad04899a522d7a1e5b91768.jpg","text":"TemporaryFile(/tmp/multipartBody719047261194302760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465183389,"filename":"image_12042025_12_50_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7bc404b1aef3b66311e24ae138b49743.jpg","text":"TemporaryFile(/tmp/multipartBody8484898772460430397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465183389,"filename":"image_12042025_12_49_47_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/007206cd33c932818cedbd3b7c9a715a.jpg","text":"TemporaryFile(/tmp/multipartBody7297292258046350211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465183389,"filename":"image_12042025_12_49_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c1aba0ad80ad1ac9d650ff405390ef2.jpg","text":"TemporaryFile(/tmp/multipartBody6041478834378779516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465183389,"filename":"image_12042025_12_50_07_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352239602","file1":"1352239560","file0":"1352239553","file4":"1352239628","file5":"1352239644","file3":"1352239618"},"map_files_photo_id_array":[{"photo_id":"1352239644","filename":"file5"},{"photo_id":"1352239602","filename":"file2"},{"photo_id":"1352239628","filename":"file4"},{"photo_id":"1352239560","filename":"file1"},{"photo_id":"1352239553","filename":"file0"},{"photo_id":"1352239618","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352239618":["hashtag1","hashtag2"]},{"1352239560":["hashtag1","hashtag2"]},{"1352239644":["hashtag1","hashtag2"]},{"1352239602":["hashtag1","hashtag2"]},{"1352239553":["hashtag1","hashtag2"]},{"1352239628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352239618, 1352239560, 1352239644, 1352239602, 1352239553, 1352239628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56385588645935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:39:32.234960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_26_9395.jpg', '/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_37_10453.jpg', '/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_47_10355.jpg', '/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_56_9353.jpg', '/home/pi/Desktop/images/12042025/12/50/image_12042025_12_51_07_10362.jpg', '/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_17_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_26_9395.jpg
/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_37_10453.jpg
/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_47_10355.jpg
/home/pi/Desktop/images/12042025/12/50/image_12042025_12_50_56_9353.jpg
/home/pi/Desktop/images/12042025/12/50/image_12042025_12_51_07_10362.jpg
/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_17_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352239746","1352239749","1352239743","1352239775","1352239763","1352239733"],"photo_ids_order":["1352239733","1352239743","1352239746","1352239749","1352239763","1352239775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6578949ea4c8cecf5efcbf1dc9b3099.jpg","text":"TemporaryFile(/tmp/multipartBody8592738815543162281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465232712,"filename":"image_12042025_12_50_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee0a1ed43438e6289e7c144cdcee2ab3.jpg","text":"TemporaryFile(/tmp/multipartBody986756802525082719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465232712,"filename":"image_12042025_12_50_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eefd463b4b194c0cfe4c7909eb34e6cd.jpg","text":"TemporaryFile(/tmp/multipartBody7152025574445535461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465232712,"filename":"image_12042025_12_50_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2c8eb4c203fea7f0e51b4ae12527a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8844441834434006684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465232712,"filename":"image_12042025_12_51_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a309b9739c26a22206968a7981a64ed8.jpg","text":"TemporaryFile(/tmp/multipartBody8849223301305914620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465232712,"filename":"image_12042025_12_51_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04a8c4e3ecde2fd5a93130a909424a5a.jpg","text":"TemporaryFile(/tmp/multipartBody8303336922781638438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465232712,"filename":"image_12042025_12_50_26_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352239746","file1":"1352239743","file0":"1352239733","file4":"1352239763","file5":"1352239775","file3":"1352239749"},"map_files_photo_id_array":[{"photo_id":"1352239775","filename":"file5"},{"photo_id":"1352239746","filename":"file2"},{"photo_id":"1352239763","filename":"file4"},{"photo_id":"1352239743","filename":"file1"},{"photo_id":"1352239733","filename":"file0"},{"photo_id":"1352239749","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352239746":["hashtag1","hashtag2"]},{"1352239749":["hashtag1","hashtag2"]},{"1352239743":["hashtag1","hashtag2"]},{"1352239775":["hashtag1","hashtag2"]},{"1352239763":["hashtag1","hashtag2"]},{"1352239733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352239746, 1352239749, 1352239743, 1352239775, 1352239763, 1352239733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.719584703445435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:40:33.407117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_27_9425.jpg', '/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_37_10383.jpg', '/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_46_9498.jpg', '/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_57_10457.jpg', '/home/pi/Desktop/images/12042025/12/51/image_12042025_12_52_06_9438.jpg', '/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_17_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_27_9425.jpg
/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_37_10383.jpg
/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_46_9498.jpg
/home/pi/Desktop/images/12042025/12/51/image_12042025_12_51_57_10457.jpg
/home/pi/Desktop/images/12042025/12/51/image_12042025_12_52_06_9438.jpg
/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_17_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352239849","1352239837","1352239834","1352239851","1352239847","1352239841"],"photo_ids_order":["1352239834","1352239837","1352239841","1352239847","1352239849","1352239851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99b28ddd7752d986703ed3ae11259919.jpg","text":"TemporaryFile(/tmp/multipartBody7636531763242368554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465293872,"filename":"image_12042025_12_52_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96b0258d9580c3c0cfa0a5e9b3e5837f.jpg","text":"TemporaryFile(/tmp/multipartBody3447183893298896893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465293872,"filename":"image_12042025_12_51_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b231155e0cfd824c946a0480c0b4fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2083399989775255030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465293872,"filename":"image_12042025_12_51_27_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff8aeb35b770c3878360a9ee59c21268.jpg","text":"TemporaryFile(/tmp/multipartBody63431360885837702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465293872,"filename":"image_12042025_12_52_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3dc1f39e6fd1748a0b93b335fd7c6d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2676772073173025481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465293872,"filename":"image_12042025_12_51_57_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45b2fa77ec7dc703e7a9c509c00a4b63.jpg","text":"TemporaryFile(/tmp/multipartBody4304030823071975952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465293872,"filename":"image_12042025_12_51_46_9498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352239841","file1":"1352239837","file0":"1352239834","file4":"1352239849","file5":"1352239851","file3":"1352239847"},"map_files_photo_id_array":[{"photo_id":"1352239851","filename":"file5"},{"photo_id":"1352239841","filename":"file2"},{"photo_id":"1352239849","filename":"file4"},{"photo_id":"1352239837","filename":"file1"},{"photo_id":"1352239834","filename":"file0"},{"photo_id":"1352239847","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352239849":["hashtag1","hashtag2"]},{"1352239837":["hashtag1","hashtag2"]},{"1352239834":["hashtag1","hashtag2"]},{"1352239851":["hashtag1","hashtag2"]},{"1352239847":["hashtag1","hashtag2"]},{"1352239841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352239849, 1352239837, 1352239834, 1352239851, 1352239847, 1352239841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.87668251991272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:41:32.764613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_27_10419.jpg', '/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_37_9371.jpg', '/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_47_10363.jpg', '/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_57_10363.jpg', '/home/pi/Desktop/images/12042025/12/52/image_12042025_12_53_07_9423.jpg', '/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_17_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_27_10419.jpg
/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_37_9371.jpg
/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_47_10363.jpg
/home/pi/Desktop/images/12042025/12/52/image_12042025_12_52_57_10363.jpg
/home/pi/Desktop/images/12042025/12/52/image_12042025_12_53_07_9423.jpg
/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_17_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240015","1352239995","1352240017","1352239953","1352239991","1352240010"],"photo_ids_order":["1352239953","1352239991","1352239995","1352240010","1352240015","1352240017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02463282ffe7964507b85821ebd42899.jpg","text":"TemporaryFile(/tmp/multipartBody7533296099894910407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465353226,"filename":"image_12042025_12_53_07_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20c226b55576b9d9855127a3091081dd.jpg","text":"TemporaryFile(/tmp/multipartBody4511088467828353794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465353226,"filename":"image_12042025_12_52_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7b1057a2b380ea87b163ec783eddd61.jpg","text":"TemporaryFile(/tmp/multipartBody7149910789480947557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465353226,"filename":"image_12042025_12_53_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be44a39790058fcc77d10b9797eab560.jpg","text":"TemporaryFile(/tmp/multipartBody6574232482294576425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465353226,"filename":"image_12042025_12_52_27_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88208b73685edad8c731f0e3bd3dae48.jpg","text":"TemporaryFile(/tmp/multipartBody7087211768084815212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465353226,"filename":"image_12042025_12_52_37_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fdb76e83b171ef7ce6a13031e3f25e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2148410863634224628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465353226,"filename":"image_12042025_12_52_57_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352239995","file1":"1352239991","file0":"1352239953","file4":"1352240015","file5":"1352240017","file3":"1352240010"},"map_files_photo_id_array":[{"photo_id":"1352240017","filename":"file5"},{"photo_id":"1352239995","filename":"file2"},{"photo_id":"1352240015","filename":"file4"},{"photo_id":"1352239991","filename":"file1"},{"photo_id":"1352239953","filename":"file0"},{"photo_id":"1352240010","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240015":["hashtag1","hashtag2"]},{"1352239995":["hashtag1","hashtag2"]},{"1352240017":["hashtag1","hashtag2"]},{"1352239953":["hashtag1","hashtag2"]},{"1352239991":["hashtag1","hashtag2"]},{"1352240010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240015, 1352239995, 1352240017, 1352239953, 1352239991, 1352240010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76992416381836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:42:32.935187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_26_9360.jpg', '/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_37_10351.jpg', '/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_47_10370.jpg', '/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_57_9450.jpg', '/home/pi/Desktop/images/12042025/12/53/image_12042025_12_54_07_10386.jpg', '/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_16_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_26_9360.jpg
/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_37_10351.jpg
/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_47_10370.jpg
/home/pi/Desktop/images/12042025/12/53/image_12042025_12_53_57_9450.jpg
/home/pi/Desktop/images/12042025/12/53/image_12042025_12_54_07_10386.jpg
/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_16_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240033","1352240036","1352240044","1352240031","1352240042","1352240039"],"photo_ids_order":["1352240031","1352240033","1352240036","1352240039","1352240042","1352240044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f3e829c70515ebd1666d5f89644d26c.jpg","text":"TemporaryFile(/tmp/multipartBody5830540298682926710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465413397,"filename":"image_12042025_12_53_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74dd64187a12d6bb1ab65a83cf427665.jpg","text":"TemporaryFile(/tmp/multipartBody6196413216017794757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465413397,"filename":"image_12042025_12_53_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fdc0c2071250a057dfcc31fa8645b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4867480045944730400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465413397,"filename":"image_12042025_12_54_16_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3253f662dd30f3fc035ba7a6e39a20c1.jpg","text":"TemporaryFile(/tmp/multipartBody4316560661842703000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465413397,"filename":"image_12042025_12_53_26_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a24e4ec2bbbfe9d8e538b7cfb22b6f0.jpg","text":"TemporaryFile(/tmp/multipartBody3880686667357040805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465413397,"filename":"image_12042025_12_54_07_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91245c382c67a235e54d0613e9120fda.jpg","text":"TemporaryFile(/tmp/multipartBody1766440381672169846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465413397,"filename":"image_12042025_12_53_57_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240036","file1":"1352240033","file0":"1352240031","file4":"1352240042","file5":"1352240044","file3":"1352240039"},"map_files_photo_id_array":[{"photo_id":"1352240044","filename":"file5"},{"photo_id":"1352240036","filename":"file2"},{"photo_id":"1352240042","filename":"file4"},{"photo_id":"1352240033","filename":"file1"},{"photo_id":"1352240031","filename":"file0"},{"photo_id":"1352240039","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240033":["hashtag1","hashtag2"]},{"1352240036":["hashtag1","hashtag2"]},{"1352240044":["hashtag1","hashtag2"]},{"1352240031":["hashtag1","hashtag2"]},{"1352240042":["hashtag1","hashtag2"]},{"1352240039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240033, 1352240036, 1352240044, 1352240031, 1352240042, 1352240039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.953766584396362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:43:33.191839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_27_10369.jpg', '/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_37_10365.jpg', '/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_47_9443.jpg', '/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_57_10451.jpg', '/home/pi/Desktop/images/12042025/12/54/image_12042025_12_55_06_9381.jpg', '/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_17_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_27_10369.jpg
/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_37_10365.jpg
/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_47_9443.jpg
/home/pi/Desktop/images/12042025/12/54/image_12042025_12_54_57_10451.jpg
/home/pi/Desktop/images/12042025/12/54/image_12042025_12_55_06_9381.jpg
/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_17_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240128","1352240077","1352240168","1352240106","1352240165","1352240150"],"photo_ids_order":["1352240077","1352240106","1352240128","1352240150","1352240165","1352240168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e1065f6dc3ba7679aedb865acf1c122.jpg","text":"TemporaryFile(/tmp/multipartBody7257285439047188566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465473657,"filename":"image_12042025_12_54_47_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa66f10413bda07a223d1425a1d56427.jpg","text":"TemporaryFile(/tmp/multipartBody2890791626272425615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465473657,"filename":"image_12042025_12_54_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cbe1e0b05512b186fc9965068de3e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5101729905975222296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465473657,"filename":"image_12042025_12_55_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0526a3f5e6b77b92154565bd2e190248.jpg","text":"TemporaryFile(/tmp/multipartBody8014275962657043602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465473657,"filename":"image_12042025_12_54_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0736b321d6a6c6732b92df2806047dc.jpg","text":"TemporaryFile(/tmp/multipartBody2398527518082660171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465473657,"filename":"image_12042025_12_55_06_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a5a517ca6cec42f376a703795112bc9.jpg","text":"TemporaryFile(/tmp/multipartBody735542777793751499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465473657,"filename":"image_12042025_12_54_57_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240128","file1":"1352240106","file0":"1352240077","file4":"1352240165","file5":"1352240168","file3":"1352240150"},"map_files_photo_id_array":[{"photo_id":"1352240168","filename":"file5"},{"photo_id":"1352240128","filename":"file2"},{"photo_id":"1352240165","filename":"file4"},{"photo_id":"1352240106","filename":"file1"},{"photo_id":"1352240077","filename":"file0"},{"photo_id":"1352240150","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240128":["hashtag1","hashtag2"]},{"1352240077":["hashtag1","hashtag2"]},{"1352240168":["hashtag1","hashtag2"]},{"1352240106":["hashtag1","hashtag2"]},{"1352240165":["hashtag1","hashtag2"]},{"1352240150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240128, 1352240077, 1352240168, 1352240106, 1352240165, 1352240150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44273281097412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:44:32.360718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_27_10362.jpg', '/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_36_9357.jpg', '/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_47_10372.jpg', '/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_57_10352.jpg', '/home/pi/Desktop/images/12042025/12/55/image_12042025_12_56_07_9442.jpg', '/home/pi/Desktop/images/12042025/12/56/image_12042025_12_56_17_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_27_10362.jpg
/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_36_9357.jpg
/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_47_10372.jpg
/home/pi/Desktop/images/12042025/12/55/image_12042025_12_55_57_10352.jpg
/home/pi/Desktop/images/12042025/12/55/image_12042025_12_56_07_9442.jpg
/home/pi/Desktop/images/12042025/12/56/image_12042025_12_56_17_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240201","1352240203","1352240187","1352240190","1352240198","1352240183"],"photo_ids_order":["1352240183","1352240187","1352240190","1352240198","1352240201","1352240203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/330c1686851a0c20ca4411a018d4cf14.jpg","text":"TemporaryFile(/tmp/multipartBody9123084151207753634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465532902,"filename":"image_12042025_12_56_07_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8dea77d2033267f5059a7b680cc6b344.jpg","text":"TemporaryFile(/tmp/multipartBody6352306214889727273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465532902,"filename":"image_12042025_12_56_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/147f839eada6e0421c171517bca794dd.jpg","text":"TemporaryFile(/tmp/multipartBody7763723589540209981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465532902,"filename":"image_12042025_12_55_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/890d321a1adc82b340c024d0a4ecc8ab.jpg","text":"TemporaryFile(/tmp/multipartBody9053571440816686061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465532902,"filename":"image_12042025_12_55_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6a905762d47897fe764d378e752b160.jpg","text":"TemporaryFile(/tmp/multipartBody5777871359839035887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465532902,"filename":"image_12042025_12_55_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c7a21e1d08f8924439e51f437960ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1232581096304837976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465532902,"filename":"image_12042025_12_55_27_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240190","file1":"1352240187","file0":"1352240183","file4":"1352240201","file5":"1352240203","file3":"1352240198"},"map_files_photo_id_array":[{"photo_id":"1352240203","filename":"file5"},{"photo_id":"1352240190","filename":"file2"},{"photo_id":"1352240201","filename":"file4"},{"photo_id":"1352240187","filename":"file1"},{"photo_id":"1352240183","filename":"file0"},{"photo_id":"1352240198","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240201":["hashtag1","hashtag2"]},{"1352240203":["hashtag1","hashtag2"]},{"1352240187":["hashtag1","hashtag2"]},{"1352240190":["hashtag1","hashtag2"]},{"1352240198":["hashtag1","hashtag2"]},{"1352240183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240201, 1352240203, 1352240187, 1352240190, 1352240198, 1352240183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77165412902832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:45:32.515738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/56/image_12042025_12_56_26_9438.jpg', '/home/pi/Desktop/images/12042025/12/56/image_12042025_12_56_46_9506.jpg', '/home/pi/Desktop/images/12042025/12/56/image_12042025_12_56_57_10367.jpg', '/home/pi/Desktop/images/12042025/12/56/image_12042025_12_57_07_10353.jpg', '/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_16_9352.jpg', '/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_27_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/56/image_12042025_12_56_26_9438.jpg
/home/pi/Desktop/images/12042025/12/56/image_12042025_12_56_46_9506.jpg
/home/pi/Desktop/images/12042025/12/56/image_12042025_12_56_57_10367.jpg
/home/pi/Desktop/images/12042025/12/56/image_12042025_12_57_07_10353.jpg
/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_16_9352.jpg
/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_27_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240232","1352240226","1352240229","1352240223","1352240234","1352240222"],"photo_ids_order":["1352240222","1352240223","1352240226","1352240229","1352240232","1352240234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd301358be98666ec5ccce85978a0c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1789189499005088224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465593183,"filename":"image_12042025_12_57_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b30d10029ef65f9543d24ebc15e89d40.jpg","text":"TemporaryFile(/tmp/multipartBody3021657273665791472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465593183,"filename":"image_12042025_12_56_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fdc059625b3a81ce277b61e74b2e2002.jpg","text":"TemporaryFile(/tmp/multipartBody5677013505810676660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465593183,"filename":"image_12042025_12_57_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/827dd8650e5fe8a287fe1964b94c51ec.jpg","text":"TemporaryFile(/tmp/multipartBody8992743839349434793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465593183,"filename":"image_12042025_12_56_46_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/593426a7297b89061edf73a38a39a10e.jpg","text":"TemporaryFile(/tmp/multipartBody8877453480880420798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465593183,"filename":"image_12042025_12_57_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8fd6a27dac298c4bce75cab1fc98c15.jpg","text":"TemporaryFile(/tmp/multipartBody7930465394121686844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465593183,"filename":"image_12042025_12_56_26_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240226","file1":"1352240223","file0":"1352240222","file4":"1352240232","file5":"1352240234","file3":"1352240229"},"map_files_photo_id_array":[{"photo_id":"1352240234","filename":"file5"},{"photo_id":"1352240226","filename":"file2"},{"photo_id":"1352240232","filename":"file4"},{"photo_id":"1352240223","filename":"file1"},{"photo_id":"1352240222","filename":"file0"},{"photo_id":"1352240229","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240232":["hashtag1","hashtag2"]},{"1352240226":["hashtag1","hashtag2"]},{"1352240229":["hashtag1","hashtag2"]},{"1352240223":["hashtag1","hashtag2"]},{"1352240234":["hashtag1","hashtag2"]},{"1352240222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240232, 1352240226, 1352240229, 1352240223, 1352240234, 1352240222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11125159263611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:46:32.815919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_37_10371.jpg', '/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_47_9368.jpg', '/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_57_10430.jpg', '/home/pi/Desktop/images/12042025/12/57/image_12042025_12_58_06_9469.jpg', '/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_17_10369.jpg', '/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_27_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_37_10371.jpg
/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_47_9368.jpg
/home/pi/Desktop/images/12042025/12/57/image_12042025_12_57_57_10430.jpg
/home/pi/Desktop/images/12042025/12/57/image_12042025_12_58_06_9469.jpg
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_17_10369.jpg
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_27_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240263","1352240269","1352240254","1352240265","1352240253","1352240267"],"photo_ids_order":["1352240253","1352240254","1352240263","1352240265","1352240267","1352240269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a80db0559021b7a02676bc58c91eba2.jpg","text":"TemporaryFile(/tmp/multipartBody2964455838735467043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465653278,"filename":"image_12042025_12_57_57_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e1a7d99427635f61cd68cd70d1aef0e.jpg","text":"TemporaryFile(/tmp/multipartBody164737305470240214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465653278,"filename":"image_12042025_12_58_27_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d58cfc2a0aafdf41a74c8cda0c53b5b3.jpg","text":"TemporaryFile(/tmp/multipartBody9086066855870109682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465653278,"filename":"image_12042025_12_57_47_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17546fa863cea57d8e78730f91144573.jpg","text":"TemporaryFile(/tmp/multipartBody7209465870217746827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465653278,"filename":"image_12042025_12_58_06_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/850f87a1fa2dd959f0dd15c6a376f5f9.jpg","text":"TemporaryFile(/tmp/multipartBody5958915184615746120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465653278,"filename":"image_12042025_12_57_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7ec3c78a80a110046dba6c01aa91e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5763136112303949650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465653278,"filename":"image_12042025_12_58_17_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240263","file1":"1352240254","file0":"1352240253","file4":"1352240267","file5":"1352240269","file3":"1352240265"},"map_files_photo_id_array":[{"photo_id":"1352240269","filename":"file5"},{"photo_id":"1352240263","filename":"file2"},{"photo_id":"1352240267","filename":"file4"},{"photo_id":"1352240254","filename":"file1"},{"photo_id":"1352240253","filename":"file0"},{"photo_id":"1352240265","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240263":["hashtag1","hashtag2"]},{"1352240269":["hashtag1","hashtag2"]},{"1352240254":["hashtag1","hashtag2"]},{"1352240265":["hashtag1","hashtag2"]},{"1352240253":["hashtag1","hashtag2"]},{"1352240267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240263, 1352240269, 1352240254, 1352240265, 1352240253, 1352240267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70853638648987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:47:33.050667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_36_9358.jpg', '/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_47_10359.jpg', '/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_56_9504.jpg', '/home/pi/Desktop/images/12042025/12/58/image_12042025_12_59_07_10363.jpg', '/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_17_10379.jpg', '/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_26_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_36_9358.jpg
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_47_10359.jpg
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_56_9504.jpg
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_59_07_10363.jpg
/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_17_10379.jpg
/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_26_9354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37374424934387207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 15:47:42.996601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_36_9358.jpg', '/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_47_10359.jpg', '/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_56_9504.jpg', '/home/pi/Desktop/images/12042025/12/58/image_12042025_12_59_07_10363.jpg', '/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_17_10379.jpg', '/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_26_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_36_9358.jpg
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_47_10359.jpg
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_58_56_9504.jpg
/home/pi/Desktop/images/12042025/12/58/image_12042025_12_59_07_10363.jpg
/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_17_10379.jpg
/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_26_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240339","1352240299","1352240337","1352240313","1352240307","1352240304"],"photo_ids_order":["1352240299","1352240304","1352240307","1352240313","1352240337","1352240339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9530a3c2f15f3250045a11bbafcd531e.jpg","text":"TemporaryFile(/tmp/multipartBody4976120370167293447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465723455,"filename":"image_12042025_12_59_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d254f655acd16cd3e7737dbf129069f1.jpg","text":"TemporaryFile(/tmp/multipartBody6340854885595183362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465723455,"filename":"image_12042025_12_58_36_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ddd125bac1b617f4cf7790858c1e8cf.jpg","text":"TemporaryFile(/tmp/multipartBody1429088459733877662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465723455,"filename":"image_12042025_12_59_17_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea0cd039cb052dce5d7578eb8f3d91a2.jpg","text":"TemporaryFile(/tmp/multipartBody3561831285561152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465723455,"filename":"image_12042025_12_59_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df0f732b4820fb557956c3dea1a6d7b6.jpg","text":"TemporaryFile(/tmp/multipartBody7158166460508257332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465723455,"filename":"image_12042025_12_58_56_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c6fec52c790294a5456b8aaec33ec93.jpg","text":"TemporaryFile(/tmp/multipartBody1166214677056641410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465723455,"filename":"image_12042025_12_58_47_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240307","file1":"1352240304","file0":"1352240299","file4":"1352240337","file5":"1352240339","file3":"1352240313"},"map_files_photo_id_array":[{"photo_id":"1352240339","filename":"file5"},{"photo_id":"1352240307","filename":"file2"},{"photo_id":"1352240337","filename":"file4"},{"photo_id":"1352240304","filename":"file1"},{"photo_id":"1352240299","filename":"file0"},{"photo_id":"1352240313","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240339":["hashtag1","hashtag2"]},{"1352240299":["hashtag1","hashtag2"]},{"1352240337":["hashtag1","hashtag2"]},{"1352240313":["hashtag1","hashtag2"]},{"1352240307":["hashtag1","hashtag2"]},{"1352240304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240339, 1352240299, 1352240337, 1352240313, 1352240307, 1352240304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51610040664673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:48:32.225138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_37_10368.jpg', '/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_47_10492.jpg', '/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_57_9444.jpg', '/home/pi/Desktop/images/12042025/13/00/image_12042025_13_00_16_10072.jpg', '/home/pi/Desktop/images/12042025/13/00/image_12042025_13_00_37_10391.jpg', '/home/pi/Desktop/images/12042025/13/00/image_12042025_13_00_46_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_37_10368.jpg
/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_47_10492.jpg
/home/pi/Desktop/images/12042025/12/59/image_12042025_12_59_57_9444.jpg
/home/pi/Desktop/images/12042025/13/00/image_12042025_13_00_16_10072.jpg
/home/pi/Desktop/images/12042025/13/00/image_12042025_13_00_37_10391.jpg
/home/pi/Desktop/images/12042025/13/00/image_12042025_13_00_46_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240362","1352240365","1352240359","1352240356","1352240352","1352240354"],"photo_ids_order":["1352240352","1352240354","1352240356","1352240359","1352240362","1352240365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1fcce80dc7c50cfbf2cd1d9746732e22.jpg","text":"TemporaryFile(/tmp/multipartBody4756724285572899521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465772705,"filename":"image_12042025_13_00_37_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35cbcab7d673f6aaae123a74e8040698.jpg","text":"TemporaryFile(/tmp/multipartBody3086396962165650773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465772705,"filename":"image_12042025_13_00_46_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ee4c41e7a9e165eed0ae9e9160ee572.jpg","text":"TemporaryFile(/tmp/multipartBody3327488267339737050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465772705,"filename":"image_12042025_13_00_16_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fe894f477bf7d9df4bb33961bab425d.jpg","text":"TemporaryFile(/tmp/multipartBody2081425091214978530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465772705,"filename":"image_12042025_12_59_57_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ade5203b4648a430e5b1df3f223591bd.jpg","text":"TemporaryFile(/tmp/multipartBody3631126007355118999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465772705,"filename":"image_12042025_12_59_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc7c1b18df7ec00b7f8e5c69eb3b58bf.jpg","text":"TemporaryFile(/tmp/multipartBody3438963732274354576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465772705,"filename":"image_12042025_12_59_47_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240356","file1":"1352240354","file0":"1352240352","file4":"1352240362","file5":"1352240365","file3":"1352240359"},"map_files_photo_id_array":[{"photo_id":"1352240365","filename":"file5"},{"photo_id":"1352240356","filename":"file2"},{"photo_id":"1352240362","filename":"file4"},{"photo_id":"1352240354","filename":"file1"},{"photo_id":"1352240352","filename":"file0"},{"photo_id":"1352240359","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240362":["hashtag1","hashtag2"]},{"1352240365":["hashtag1","hashtag2"]},{"1352240359":["hashtag1","hashtag2"]},{"1352240356":["hashtag1","hashtag2"]},{"1352240352":["hashtag1","hashtag2"]},{"1352240354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240362, 1352240365, 1352240359, 1352240356, 1352240352, 1352240354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.158191442489624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:49:32.409005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/00/image_12042025_13_00_57_10372.jpg', '/home/pi/Desktop/images/12042025/13/00/image_12042025_13_01_06_9424.jpg', '/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_16_10409.jpg', '/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_27_10345.jpg', '/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_36_9344.jpg', '/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_46_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/00/image_12042025_13_00_57_10372.jpg
/home/pi/Desktop/images/12042025/13/00/image_12042025_13_01_06_9424.jpg
/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_16_10409.jpg
/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_27_10345.jpg
/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_36_9344.jpg
/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_46_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240389","1352240392","1352240386","1352240397","1352240382","1352240384"],"photo_ids_order":["1352240382","1352240384","1352240386","1352240389","1352240392","1352240397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a0bf24a4f5e2a72e130da5fe41d8e36.jpg","text":"TemporaryFile(/tmp/multipartBody5011221400430285554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465832876,"filename":"image_12042025_13_01_27_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82f4c31d424532658e0dc16d10d0cae6.jpg","text":"TemporaryFile(/tmp/multipartBody1665060985704089477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465832876,"filename":"image_12042025_13_01_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d11ce63b92fc8f61c216a3c8ea0a6fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8013876698294918776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465832876,"filename":"image_12042025_13_01_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7394c2878cee70498b74b01ec6af8c3.jpg","text":"TemporaryFile(/tmp/multipartBody4914464903816771778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465832876,"filename":"image_12042025_13_01_46_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e608b0856b52f7e5e7e33448d273f07.jpg","text":"TemporaryFile(/tmp/multipartBody2974690682962142736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465832876,"filename":"image_12042025_13_00_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f999524020897ede5cbc54a93db216d6.jpg","text":"TemporaryFile(/tmp/multipartBody6406772998068805592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465832876,"filename":"image_12042025_13_01_06_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240386","file1":"1352240384","file0":"1352240382","file4":"1352240392","file5":"1352240397","file3":"1352240389"},"map_files_photo_id_array":[{"photo_id":"1352240397","filename":"file5"},{"photo_id":"1352240386","filename":"file2"},{"photo_id":"1352240392","filename":"file4"},{"photo_id":"1352240384","filename":"file1"},{"photo_id":"1352240382","filename":"file0"},{"photo_id":"1352240389","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240389":["hashtag1","hashtag2"]},{"1352240392":["hashtag1","hashtag2"]},{"1352240386":["hashtag1","hashtag2"]},{"1352240397":["hashtag1","hashtag2"]},{"1352240382":["hashtag1","hashtag2"]},{"1352240384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240389, 1352240392, 1352240386, 1352240397, 1352240382, 1352240384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91079354286194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:50:32.678787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_57_10364.jpg', '/home/pi/Desktop/images/12042025/13/01/image_12042025_13_02_06_9344.jpg', '/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_17_10413.jpg', '/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_26_9447.jpg', '/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_37_10476.jpg', '/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_47_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/01/image_12042025_13_01_57_10364.jpg
/home/pi/Desktop/images/12042025/13/01/image_12042025_13_02_06_9344.jpg
/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_17_10413.jpg
/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_26_9447.jpg
/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_37_10476.jpg
/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_47_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240455","1352240464","1352240443","1352240471","1352240450","1352240447"],"photo_ids_order":["1352240443","1352240447","1352240450","1352240455","1352240464","1352240471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8004a1b16d89ae683ba7a7902b647104.jpg","text":"TemporaryFile(/tmp/multipartBody8180025459390476838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465893156,"filename":"image_12042025_13_02_26_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29af51ba80cf7f77e884f55b14bb8890.jpg","text":"TemporaryFile(/tmp/multipartBody6103741053782450612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465893156,"filename":"image_12042025_13_02_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cacac438f09cac7f47cef49461d3c811.jpg","text":"TemporaryFile(/tmp/multipartBody3598680087773643545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465893156,"filename":"image_12042025_13_01_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6132b61e7eb2cb4f2e4fc9a9efdbf1ee.jpg","text":"TemporaryFile(/tmp/multipartBody5375712393119794151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465893156,"filename":"image_12042025_13_02_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9780d4af465fd9bf8f20f2d10f979c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6280567424417271073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465893156,"filename":"image_12042025_13_02_17_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6eedae9e7bbaa2e388a1fe27eb3948fd.jpg","text":"TemporaryFile(/tmp/multipartBody2861891207986128973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465893156,"filename":"image_12042025_13_02_06_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240450","file1":"1352240447","file0":"1352240443","file4":"1352240464","file5":"1352240471","file3":"1352240455"},"map_files_photo_id_array":[{"photo_id":"1352240471","filename":"file5"},{"photo_id":"1352240450","filename":"file2"},{"photo_id":"1352240464","filename":"file4"},{"photo_id":"1352240447","filename":"file1"},{"photo_id":"1352240443","filename":"file0"},{"photo_id":"1352240455","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240455":["hashtag1","hashtag2"]},{"1352240464":["hashtag1","hashtag2"]},{"1352240443":["hashtag1","hashtag2"]},{"1352240471":["hashtag1","hashtag2"]},{"1352240450":["hashtag1","hashtag2"]},{"1352240447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240455, 1352240464, 1352240443, 1352240471, 1352240450, 1352240447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.107412338256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:51:33.026450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_56_9512.jpg', '/home/pi/Desktop/images/12042025/13/02/image_12042025_13_03_07_10364.jpg', '/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_16_9438.jpg', '/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_27_10376.jpg', '/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_36_9355.jpg', '/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_46_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/02/image_12042025_13_02_56_9512.jpg
/home/pi/Desktop/images/12042025/13/02/image_12042025_13_03_07_10364.jpg
/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_16_9438.jpg
/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_27_10376.jpg
/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_36_9355.jpg
/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_46_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240563","1352240571","1352240574","1352240577","1352240559","1352240567"],"photo_ids_order":["1352240559","1352240563","1352240567","1352240571","1352240574","1352240577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f01beb51eae9efe79749ad5fa6692553.jpg","text":"TemporaryFile(/tmp/multipartBody1698711811964256137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465953487,"filename":"image_12042025_13_03_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36e1d6e484e25893e249ce3e9803dfc1.jpg","text":"TemporaryFile(/tmp/multipartBody7377289038470182330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465953487,"filename":"image_12042025_13_03_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/576b07b442e052441322540d8c657181.jpg","text":"TemporaryFile(/tmp/multipartBody5890304128571126645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465953487,"filename":"image_12042025_13_03_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9623725c76c4cac97a155b09f334268.jpg","text":"TemporaryFile(/tmp/multipartBody8465739153071598832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465953487,"filename":"image_12042025_13_03_46_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b7fb19621d7a334d69924bb9745d49b.jpg","text":"TemporaryFile(/tmp/multipartBody404730349947711598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465953487,"filename":"image_12042025_13_02_56_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24bf7981b83e18c6be6779b4d132095a.jpg","text":"TemporaryFile(/tmp/multipartBody1282846484041174131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744465953487,"filename":"image_12042025_13_03_16_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240567","file1":"1352240563","file0":"1352240559","file4":"1352240574","file5":"1352240577","file3":"1352240571"},"map_files_photo_id_array":[{"photo_id":"1352240577","filename":"file5"},{"photo_id":"1352240567","filename":"file2"},{"photo_id":"1352240574","filename":"file4"},{"photo_id":"1352240563","filename":"file1"},{"photo_id":"1352240559","filename":"file0"},{"photo_id":"1352240571","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240563":["hashtag1","hashtag2"]},{"1352240571":["hashtag1","hashtag2"]},{"1352240574":["hashtag1","hashtag2"]},{"1352240577":["hashtag1","hashtag2"]},{"1352240559":["hashtag1","hashtag2"]},{"1352240567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240563, 1352240571, 1352240574, 1352240577, 1352240559, 1352240567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.355995655059814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:52:33.168506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_57_10419.jpg', '/home/pi/Desktop/images/12042025/13/03/image_12042025_13_04_06_9374.jpg', '/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_16_10347.jpg', '/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_26_9404.jpg', '/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_36_10379.jpg', '/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_47_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/03/image_12042025_13_03_57_10419.jpg
/home/pi/Desktop/images/12042025/13/03/image_12042025_13_04_06_9374.jpg
/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_16_10347.jpg
/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_26_9404.jpg
/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_36_10379.jpg
/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_47_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240624","1352240638","1352240632","1352240634","1352240628","1352240622"],"photo_ids_order":["1352240622","1352240624","1352240628","1352240632","1352240634","1352240638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d57e6e2bb1ad7e45c40fbf954a905868.jpg","text":"TemporaryFile(/tmp/multipartBody5870562572428336899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466013624,"filename":"image_12042025_13_04_06_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc56478590c386169d66c3d42d3e21ef.jpg","text":"TemporaryFile(/tmp/multipartBody6994789199753275408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466013624,"filename":"image_12042025_13_04_47_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1757bd3e238d155d45e3b7a50872dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2729266971743982070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466013624,"filename":"image_12042025_13_04_26_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d8444a24f285aa72408b0d5f8d81296.jpg","text":"TemporaryFile(/tmp/multipartBody7926992214294587364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466013624,"filename":"image_12042025_13_04_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/515b9626dd3557eb748c976df9e86974.jpg","text":"TemporaryFile(/tmp/multipartBody5804049854167290412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466013624,"filename":"image_12042025_13_04_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2fc56b605864c0323c30580cd5bd11d.jpg","text":"TemporaryFile(/tmp/multipartBody7865845766960986911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466013624,"filename":"image_12042025_13_03_57_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240628","file1":"1352240624","file0":"1352240622","file4":"1352240634","file5":"1352240638","file3":"1352240632"},"map_files_photo_id_array":[{"photo_id":"1352240638","filename":"file5"},{"photo_id":"1352240628","filename":"file2"},{"photo_id":"1352240634","filename":"file4"},{"photo_id":"1352240624","filename":"file1"},{"photo_id":"1352240622","filename":"file0"},{"photo_id":"1352240632","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240624":["hashtag1","hashtag2"]},{"1352240638":["hashtag1","hashtag2"]},{"1352240632":["hashtag1","hashtag2"]},{"1352240634":["hashtag1","hashtag2"]},{"1352240628":["hashtag1","hashtag2"]},{"1352240622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240624, 1352240638, 1352240632, 1352240634, 1352240628, 1352240622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95426297187805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:53:32.496529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_56_9351.jpg', '/home/pi/Desktop/images/12042025/13/04/image_12042025_13_05_06_10353.jpg', '/home/pi/Desktop/images/12042025/13/05/image_12042025_13_05_26_9350.jpg', '/home/pi/Desktop/images/12042025/13/05/image_12042025_13_05_37_10453.jpg', '/home/pi/Desktop/images/12042025/13/05/image_12042025_13_05_56_10352.jpg', '/home/pi/Desktop/images/12042025/13/05/image_12042025_13_06_07_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/04/image_12042025_13_04_56_9351.jpg
/home/pi/Desktop/images/12042025/13/04/image_12042025_13_05_06_10353.jpg
/home/pi/Desktop/images/12042025/13/05/image_12042025_13_05_26_9350.jpg
/home/pi/Desktop/images/12042025/13/05/image_12042025_13_05_37_10453.jpg
/home/pi/Desktop/images/12042025/13/05/image_12042025_13_05_56_10352.jpg
/home/pi/Desktop/images/12042025/13/05/image_12042025_13_06_07_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240785","1352240776","1352240749","1352240743","1352240746","1352240795"],"photo_ids_order":["1352240743","1352240746","1352240749","1352240776","1352240785","1352240795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f32f84890329a5a84a89b70f20ce1c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3598369750829820266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466072972,"filename":"image_12042025_13_05_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/679007d2de1d0e2b61e433bfc744b30e.jpg","text":"TemporaryFile(/tmp/multipartBody4867065026561083152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466072972,"filename":"image_12042025_13_05_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16848290ce59c1b5c814a2bd5f336b9d.jpg","text":"TemporaryFile(/tmp/multipartBody1099725181439060794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466072972,"filename":"image_12042025_13_05_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3504d65fb39e86732e18093c621ef76.jpg","text":"TemporaryFile(/tmp/multipartBody2810866176459915759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466072972,"filename":"image_12042025_13_04_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d75e4cec11fccd2874579b2ff8f7fce.jpg","text":"TemporaryFile(/tmp/multipartBody6334451128261951598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466072972,"filename":"image_12042025_13_05_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9fe21672aad0f90f95a5dd21437e2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5238648822738256944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466072972,"filename":"image_12042025_13_06_07_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240749","file1":"1352240746","file0":"1352240743","file4":"1352240785","file5":"1352240795","file3":"1352240776"},"map_files_photo_id_array":[{"photo_id":"1352240795","filename":"file5"},{"photo_id":"1352240749","filename":"file2"},{"photo_id":"1352240785","filename":"file4"},{"photo_id":"1352240746","filename":"file1"},{"photo_id":"1352240743","filename":"file0"},{"photo_id":"1352240776","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240785":["hashtag1","hashtag2"]},{"1352240776":["hashtag1","hashtag2"]},{"1352240749":["hashtag1","hashtag2"]},{"1352240743":["hashtag1","hashtag2"]},{"1352240746":["hashtag1","hashtag2"]},{"1352240795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240785, 1352240776, 1352240749, 1352240743, 1352240746, 1352240795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26407074928284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:54:32.570334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_16_9434.jpg', '/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_27_10390.jpg', '/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_37_10361.jpg', '/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_46_9484.jpg', '/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_57_10367.jpg', '/home/pi/Desktop/images/12042025/13/06/image_12042025_13_07_06_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_16_9434.jpg
/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_27_10390.jpg
/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_37_10361.jpg
/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_46_9484.jpg
/home/pi/Desktop/images/12042025/13/06/image_12042025_13_06_57_10367.jpg
/home/pi/Desktop/images/12042025/13/06/image_12042025_13_07_06_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240851","1352240863","1352240845","1352240847","1352240855","1352240858"],"photo_ids_order":["1352240845","1352240847","1352240851","1352240855","1352240858","1352240863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e69554283d5c4196d65b7abbecd2bff.jpg","text":"TemporaryFile(/tmp/multipartBody951859407730201225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466133037,"filename":"image_12042025_13_06_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c2c61416feb138ce88f51e542eb2891.jpg","text":"TemporaryFile(/tmp/multipartBody7607662335327406417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466133037,"filename":"image_12042025_13_07_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c78e745ec283ed34c018f6ebee93e11.jpg","text":"TemporaryFile(/tmp/multipartBody8725254234517144489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466133037,"filename":"image_12042025_13_06_16_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d484aee73bb636761d179bafeefd62a.jpg","text":"TemporaryFile(/tmp/multipartBody2669083363138136933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466133037,"filename":"image_12042025_13_06_27_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b597cb49f3a559ac2ee2f77e1b676b8.jpg","text":"TemporaryFile(/tmp/multipartBody7415900208475555053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466133037,"filename":"image_12042025_13_06_46_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1aea51574f5c45bc9cf6ca46ef8e1338.jpg","text":"TemporaryFile(/tmp/multipartBody4921838737125598590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466133037,"filename":"image_12042025_13_06_57_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240851","file1":"1352240847","file0":"1352240845","file4":"1352240858","file5":"1352240863","file3":"1352240855"},"map_files_photo_id_array":[{"photo_id":"1352240863","filename":"file5"},{"photo_id":"1352240851","filename":"file2"},{"photo_id":"1352240858","filename":"file4"},{"photo_id":"1352240847","filename":"file1"},{"photo_id":"1352240845","filename":"file0"},{"photo_id":"1352240855","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240851":["hashtag1","hashtag2"]},{"1352240863":["hashtag1","hashtag2"]},{"1352240845":["hashtag1","hashtag2"]},{"1352240847":["hashtag1","hashtag2"]},{"1352240855":["hashtag1","hashtag2"]},{"1352240858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240851, 1352240863, 1352240845, 1352240847, 1352240855, 1352240858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56305909156799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:55:32.768276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_17_10451.jpg', '/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_27_10364.jpg', '/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_36_9360.jpg', '/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_47_10480.jpg', '/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_56_9439.jpg', '/home/pi/Desktop/images/12042025/13/07/image_12042025_13_08_07_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_17_10451.jpg
/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_27_10364.jpg
/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_36_9360.jpg
/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_47_10480.jpg
/home/pi/Desktop/images/12042025/13/07/image_12042025_13_07_56_9439.jpg
/home/pi/Desktop/images/12042025/13/07/image_12042025_13_08_07_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240906","1352240909","1352240902","1352240913","1352240916","1352240904"],"photo_ids_order":["1352240902","1352240904","1352240906","1352240909","1352240913","1352240916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88842bc797d4858492fdac5334821a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5609322551896004553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466193229,"filename":"image_12042025_13_07_36_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4625b4ed87e14de4350177f2fa255d0a.jpg","text":"TemporaryFile(/tmp/multipartBody1522862650267045761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466193229,"filename":"image_12042025_13_07_47_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cb9c3fbcdd19a420abe4a6aab92c7be.jpg","text":"TemporaryFile(/tmp/multipartBody3975207175607620380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466193229,"filename":"image_12042025_13_07_17_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/602f2385d4893d202a9f794403e4b89e.jpg","text":"TemporaryFile(/tmp/multipartBody8284714296218190103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466193229,"filename":"image_12042025_13_07_56_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e04df7928e61185ac71081278dd7a226.jpg","text":"TemporaryFile(/tmp/multipartBody3602829659197934304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466193229,"filename":"image_12042025_13_08_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2372c79a8d8c3998187d1d5e6aa39b60.jpg","text":"TemporaryFile(/tmp/multipartBody5487189496476450551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466193229,"filename":"image_12042025_13_07_27_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240906","file1":"1352240904","file0":"1352240902","file4":"1352240913","file5":"1352240916","file3":"1352240909"},"map_files_photo_id_array":[{"photo_id":"1352240916","filename":"file5"},{"photo_id":"1352240906","filename":"file2"},{"photo_id":"1352240913","filename":"file4"},{"photo_id":"1352240904","filename":"file1"},{"photo_id":"1352240902","filename":"file0"},{"photo_id":"1352240909","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240906":["hashtag1","hashtag2"]},{"1352240909":["hashtag1","hashtag2"]},{"1352240902":["hashtag1","hashtag2"]},{"1352240913":["hashtag1","hashtag2"]},{"1352240916":["hashtag1","hashtag2"]},{"1352240904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240906, 1352240909, 1352240902, 1352240913, 1352240916, 1352240904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09635901451111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:56:33.200279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_16_9360.jpg', '/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_26_10434.jpg', '/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_37_10359.jpg', '/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_46_9358.jpg', '/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_57_10446.jpg', '/home/pi/Desktop/images/12042025/13/08/image_12042025_13_09_06_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_16_9360.jpg
/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_26_10434.jpg
/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_37_10359.jpg
/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_46_9358.jpg
/home/pi/Desktop/images/12042025/13/08/image_12042025_13_08_57_10446.jpg
/home/pi/Desktop/images/12042025/13/08/image_12042025_13_09_06_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352240933","1352240941","1352240925","1352240928","1352240936","1352240930"],"photo_ids_order":["1352240925","1352240928","1352240930","1352240933","1352240936","1352240941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb87812d1c39c334dc13b7089dcaca18.jpg","text":"TemporaryFile(/tmp/multipartBody6358068795258233727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466253677,"filename":"image_12042025_13_08_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82c45d33125d8e2057b029bad2c9460a.jpg","text":"TemporaryFile(/tmp/multipartBody8286870613143831320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466253677,"filename":"image_12042025_13_09_06_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4dfb54c1632058912dfd703da77008b4.jpg","text":"TemporaryFile(/tmp/multipartBody5421614526658251578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466253677,"filename":"image_12042025_13_08_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08099a0a5862664f0b8a6a367f16fab9.jpg","text":"TemporaryFile(/tmp/multipartBody1263165367545258277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466253677,"filename":"image_12042025_13_08_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a8a2aa7972578b57c0576be50a33d90.jpg","text":"TemporaryFile(/tmp/multipartBody6717201414522794740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466253677,"filename":"image_12042025_13_08_57_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c2ab023774d8eaa8027a9dc60657fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5400065091725534147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466253677,"filename":"image_12042025_13_08_37_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352240930","file1":"1352240928","file0":"1352240925","file4":"1352240936","file5":"1352240941","file3":"1352240933"},"map_files_photo_id_array":[{"photo_id":"1352240941","filename":"file5"},{"photo_id":"1352240930","filename":"file2"},{"photo_id":"1352240936","filename":"file4"},{"photo_id":"1352240928","filename":"file1"},{"photo_id":"1352240925","filename":"file0"},{"photo_id":"1352240933","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352240933":["hashtag1","hashtag2"]},{"1352240941":["hashtag1","hashtag2"]},{"1352240925":["hashtag1","hashtag2"]},{"1352240928":["hashtag1","hashtag2"]},{"1352240936":["hashtag1","hashtag2"]},{"1352240930":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352240933, 1352240941, 1352240925, 1352240928, 1352240936, 1352240930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54958415031433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 15:57:32.425526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_16_10446.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_27_10360.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_36_9345.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_46_9920.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_57_10457.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_10_07_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_16_10446.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_27_10360.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_36_9345.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_46_9920.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_57_10457.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_10_07_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 15:59:04.362287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_16_10446.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_27_10360.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_36_9345.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_46_9920.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_57_10457.jpg', '/home/pi/Desktop/images/12042025/13/09/image_12042025_13_10_07_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_16_10446.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_27_10360.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_36_9345.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_46_9920.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_09_57_10457.jpg
/home/pi/Desktop/images/12042025/13/09/image_12042025_13_10_07_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241007","1352241029","1352241020","1352241023","1352241002","1352241014"],"photo_ids_order":["1352241002","1352241007","1352241014","1352241020","1352241023","1352241029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9a11ed95d9f35359c5411f5dea3b5b4.jpg","text":"TemporaryFile(/tmp/multipartBody5971413837956597865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466404916,"filename":"image_12042025_13_09_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db93ad3e232b244ba0ff868c9eff93e2.jpg","text":"TemporaryFile(/tmp/multipartBody1839865304372674811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466404916,"filename":"image_12042025_13_10_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8795d290164c614ca279bdb0c7f9a64f.jpg","text":"TemporaryFile(/tmp/multipartBody1952531915455134245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466404916,"filename":"image_12042025_13_09_46_9920.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4df28b3c0620a22f2afa7838d7d139b1.jpg","text":"TemporaryFile(/tmp/multipartBody2631152347419425249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466404916,"filename":"image_12042025_13_09_57_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c20315deaf3ba91e966361913c98f675.jpg","text":"TemporaryFile(/tmp/multipartBody9116027806396130322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466404916,"filename":"image_12042025_13_09_16_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/406fad0e47081ff361536b96f3c6298e.jpg","text":"TemporaryFile(/tmp/multipartBody6264269790237423106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466404916,"filename":"image_12042025_13_09_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241014","file1":"1352241007","file0":"1352241002","file4":"1352241023","file5":"1352241029","file3":"1352241020"},"map_files_photo_id_array":[{"photo_id":"1352241029","filename":"file5"},{"photo_id":"1352241014","filename":"file2"},{"photo_id":"1352241023","filename":"file4"},{"photo_id":"1352241007","filename":"file1"},{"photo_id":"1352241002","filename":"file0"},{"photo_id":"1352241020","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352241007":["hashtag1","hashtag2"]},{"1352241029":["hashtag1","hashtag2"]},{"1352241020":["hashtag1","hashtag2"]},{"1352241023":["hashtag1","hashtag2"]},{"1352241002":["hashtag1","hashtag2"]},{"1352241014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352241007, 1352241029, 1352241020, 1352241023, 1352241002, 1352241014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.369017124176025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 15:59:43.150407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/10/image_12042025_13_10_16_9346.jpg', '/home/pi/Desktop/images/12042025/13/10/image_12042025_13_10_27_10371.jpg', '/home/pi/Desktop/images/12042025/13/10/image_12042025_13_10_57_10370.jpg', '/home/pi/Desktop/images/12042025/13/10/image_12042025_13_11_06_9346.jpg', '/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_17_10437.jpg', '/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_26_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/10/image_12042025_13_10_16_9346.jpg
/home/pi/Desktop/images/12042025/13/10/image_12042025_13_10_27_10371.jpg
/home/pi/Desktop/images/12042025/13/10/image_12042025_13_10_57_10370.jpg
/home/pi/Desktop/images/12042025/13/10/image_12042025_13_11_06_9346.jpg
/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_17_10437.jpg
/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_26_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241070","1352241040","1352241087","1352241072","1352241075","1352241089"],"photo_ids_order":["1352241040","1352241070","1352241072","1352241075","1352241087","1352241089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0f056786848e548e16eb0e789b81ae1.jpg","text":"TemporaryFile(/tmp/multipartBody2206686221253662507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466443618,"filename":"image_12042025_13_10_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e620223bb052c3c5605c9ab45da4b501.jpg","text":"TemporaryFile(/tmp/multipartBody6464412862634994996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466443618,"filename":"image_12042025_13_10_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93d9deb4a4e8d8f8a51cea9e15c35338.jpg","text":"TemporaryFile(/tmp/multipartBody8202000126176203023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466443618,"filename":"image_12042025_13_11_17_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58c90d7457a328f94c1e170f17df4e67.jpg","text":"TemporaryFile(/tmp/multipartBody9138175059637092985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466443618,"filename":"image_12042025_13_10_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c387d4b4fcb18edfaa349e828bf1e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8163719885567702495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466443618,"filename":"image_12042025_13_11_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b452894c5a797f01024078b923a5a9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4972968671966037544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466443618,"filename":"image_12042025_13_11_26_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241072","file1":"1352241070","file0":"1352241040","file4":"1352241087","file5":"1352241089","file3":"1352241075"},"map_files_photo_id_array":[{"photo_id":"1352241089","filename":"file5"},{"photo_id":"1352241072","filename":"file2"},{"photo_id":"1352241087","filename":"file4"},{"photo_id":"1352241070","filename":"file1"},{"photo_id":"1352241040","filename":"file0"},{"photo_id":"1352241075","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352241070":["hashtag1","hashtag2"]},{"1352241040":["hashtag1","hashtag2"]},{"1352241087":["hashtag1","hashtag2"]},{"1352241072":["hashtag1","hashtag2"]},{"1352241075":["hashtag1","hashtag2"]},{"1352241089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352241070, 1352241040, 1352241087, 1352241072, 1352241075, 1352241089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.803393602371216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:00:32.449202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_36_10418.jpg', '/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_47_10357.jpg', '/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_56_9368.jpg', '/home/pi/Desktop/images/12042025/13/11/image_12042025_13_12_06_10348.jpg', '/home/pi/Desktop/images/12042025/13/12/image_12042025_13_12_17_10393.jpg', '/home/pi/Desktop/images/12042025/13/12/image_12042025_13_12_26_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_36_10418.jpg
/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_47_10357.jpg
/home/pi/Desktop/images/12042025/13/11/image_12042025_13_11_56_9368.jpg
/home/pi/Desktop/images/12042025/13/11/image_12042025_13_12_06_10348.jpg
/home/pi/Desktop/images/12042025/13/12/image_12042025_13_12_17_10393.jpg
/home/pi/Desktop/images/12042025/13/12/image_12042025_13_12_26_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241109","1352241118","1352241106","1352241096","1352241111","1352241114"],"photo_ids_order":["1352241096","1352241106","1352241109","1352241111","1352241114","1352241118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65d389151230ad70ada0e3fa4598afa3.jpg","text":"TemporaryFile(/tmp/multipartBody264820427281849825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466492919,"filename":"image_12042025_13_11_56_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1cded485692b275c74f435439200619.jpg","text":"TemporaryFile(/tmp/multipartBody8174385709412110334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466492919,"filename":"image_12042025_13_12_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95058565f29da83ee6b00f0cd518f94b.jpg","text":"TemporaryFile(/tmp/multipartBody944931057980857077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466492919,"filename":"image_12042025_13_11_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63dbe8fe2605a84c87d9dd47f9e7ad97.jpg","text":"TemporaryFile(/tmp/multipartBody6265813765870145317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466492919,"filename":"image_12042025_13_11_36_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d4a57ed160ad291c35be971e3de2a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1360314339149930176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466492919,"filename":"image_12042025_13_12_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88c74ecb70a81f187082dde2518abe2a.jpg","text":"TemporaryFile(/tmp/multipartBody7661983775487264696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466492919,"filename":"image_12042025_13_12_17_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241109","file1":"1352241106","file0":"1352241096","file4":"1352241114","file5":"1352241118","file3":"1352241111"},"map_files_photo_id_array":[{"photo_id":"1352241118","filename":"file5"},{"photo_id":"1352241109","filename":"file2"},{"photo_id":"1352241114","filename":"file4"},{"photo_id":"1352241106","filename":"file1"},{"photo_id":"1352241096","filename":"file0"},{"photo_id":"1352241111","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352241109":["hashtag1","hashtag2"]},{"1352241118":["hashtag1","hashtag2"]},{"1352241106":["hashtag1","hashtag2"]},{"1352241096":["hashtag1","hashtag2"]},{"1352241111":["hashtag1","hashtag2"]},{"1352241114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352241109, 1352241118, 1352241106, 1352241096, 1352241111, 1352241114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.493507623672485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:01:32.628631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/12/image_12042025_13_12_37_10449.jpg', '/home/pi/Desktop/images/12042025/13/12/image_12042025_13_12_56_10481.jpg', '/home/pi/Desktop/images/12042025/13/12/image_12042025_13_13_07_10357.jpg', '/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_16_9493.jpg', '/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_27_10422.jpg', '/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_36_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/12/image_12042025_13_12_37_10449.jpg
/home/pi/Desktop/images/12042025/13/12/image_12042025_13_12_56_10481.jpg
/home/pi/Desktop/images/12042025/13/12/image_12042025_13_13_07_10357.jpg
/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_16_9493.jpg
/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_27_10422.jpg
/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_36_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241139","1352241154","1352241141","1352241129","1352241137","1352241131"],"photo_ids_order":["1352241129","1352241131","1352241137","1352241139","1352241141","1352241154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e446ec5b44f917db6f2cfc5d33a313f.jpg","text":"TemporaryFile(/tmp/multipartBody2255007976266314018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466553100,"filename":"image_12042025_13_13_16_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffc12ff765d009004d1110ada71c2917.jpg","text":"TemporaryFile(/tmp/multipartBody3577742650653893696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466553100,"filename":"image_12042025_13_13_36_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f0d802ae26ed2acd9dbb56da191ed9b.jpg","text":"TemporaryFile(/tmp/multipartBody3030309146963161196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466553100,"filename":"image_12042025_13_13_27_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14edc69e3c9d18c83b744ae53998b6e6.jpg","text":"TemporaryFile(/tmp/multipartBody7857937655399870679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466553100,"filename":"image_12042025_13_12_37_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd75ae19366159306a7cdb1d0b6b8b24.jpg","text":"TemporaryFile(/tmp/multipartBody5837048836090950953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466553100,"filename":"image_12042025_13_13_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e638589c38201ad0c52f8fa30a95d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4525949201079459707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466553100,"filename":"image_12042025_13_12_56_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241137","file1":"1352241131","file0":"1352241129","file4":"1352241141","file5":"1352241154","file3":"1352241139"},"map_files_photo_id_array":[{"photo_id":"1352241154","filename":"file5"},{"photo_id":"1352241137","filename":"file2"},{"photo_id":"1352241141","filename":"file4"},{"photo_id":"1352241131","filename":"file1"},{"photo_id":"1352241129","filename":"file0"},{"photo_id":"1352241139","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352241139":["hashtag1","hashtag2"]},{"1352241154":["hashtag1","hashtag2"]},{"1352241141":["hashtag1","hashtag2"]},{"1352241129":["hashtag1","hashtag2"]},{"1352241137":["hashtag1","hashtag2"]},{"1352241131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352241139, 1352241154, 1352241141, 1352241129, 1352241137, 1352241131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.892836809158325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:02:32.824453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_47_10485.jpg', '/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_56_9354.jpg', '/home/pi/Desktop/images/12042025/13/13/image_12042025_13_14_06_10382.jpg', '/home/pi/Desktop/images/12042025/13/14/image_12042025_13_14_17_10346.jpg', '/home/pi/Desktop/images/12042025/13/14/image_12042025_13_14_26_9371.jpg', '/home/pi/Desktop/images/12042025/13/14/image_12042025_13_14_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_47_10485.jpg
/home/pi/Desktop/images/12042025/13/13/image_12042025_13_13_56_9354.jpg
/home/pi/Desktop/images/12042025/13/13/image_12042025_13_14_06_10382.jpg
/home/pi/Desktop/images/12042025/13/14/image_12042025_13_14_17_10346.jpg
/home/pi/Desktop/images/12042025/13/14/image_12042025_13_14_26_9371.jpg
/home/pi/Desktop/images/12042025/13/14/image_12042025_13_14_36_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241370","1352241387","1352241276","1352241377","1352241356","1352241335"],"photo_ids_order":["1352241276","1352241335","1352241356","1352241370","1352241377","1352241387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/171be2adc5a9f3ccedcc0b4db3647fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7529053398732790495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466613301,"filename":"image_12042025_13_14_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3187e726743c1ab548e9f2b73e6229f.jpg","text":"TemporaryFile(/tmp/multipartBody1947559724432110201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466613301,"filename":"image_12042025_13_14_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49b87d9dc7901256e197fe87a36ff2bb.jpg","text":"TemporaryFile(/tmp/multipartBody6249194282797600137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466613301,"filename":"image_12042025_13_13_47_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e9e02b4b913b31bf0b04b01de227977.jpg","text":"TemporaryFile(/tmp/multipartBody1569280136564379252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466613301,"filename":"image_12042025_13_14_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45e1ccfb0abc4478d961795ee4d89419.jpg","text":"TemporaryFile(/tmp/multipartBody1450452724035678309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466613301,"filename":"image_12042025_13_14_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e7d5c9ad9ace235fa16217478dd2869.jpg","text":"TemporaryFile(/tmp/multipartBody1253463830271686983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466613301,"filename":"image_12042025_13_13_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241356","file1":"1352241335","file0":"1352241276","file4":"1352241377","file5":"1352241387","file3":"1352241370"},"map_files_photo_id_array":[{"photo_id":"1352241387","filename":"file5"},{"photo_id":"1352241356","filename":"file2"},{"photo_id":"1352241377","filename":"file4"},{"photo_id":"1352241335","filename":"file1"},{"photo_id":"1352241276","filename":"file0"},{"photo_id":"1352241370","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352241370":["hashtag1","hashtag2"]},{"1352241387":["hashtag1","hashtag2"]},{"1352241276":["hashtag1","hashtag2"]},{"1352241377":["hashtag1","hashtag2"]},{"1352241356":["hashtag1","hashtag2"]},{"1352241335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352241370, 1352241387, 1352241276, 1352241377, 1352241356, 1352241335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20649456977844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:03:33.239933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/14/image_12042025_13_14_47_10411.jpg', '/home/pi/Desktop/images/12042025/13/14/image_12042025_13_15_07_10397.jpg', '/home/pi/Desktop/images/12042025/13/15/image_12042025_13_15_16_9374.jpg', '/home/pi/Desktop/images/12042025/13/15/image_12042025_13_15_26_10398.jpg', '/home/pi/Desktop/images/12042025/13/15/image_12042025_13_15_37_10365.jpg', '/home/pi/Desktop/images/12042025/13/15/image_12042025_13_15_57_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/14/image_12042025_13_14_47_10411.jpg
/home/pi/Desktop/images/12042025/13/14/image_12042025_13_15_07_10397.jpg
/home/pi/Desktop/images/12042025/13/15/image_12042025_13_15_16_9374.jpg
/home/pi/Desktop/images/12042025/13/15/image_12042025_13_15_26_10398.jpg
/home/pi/Desktop/images/12042025/13/15/image_12042025_13_15_37_10365.jpg
/home/pi/Desktop/images/12042025/13/15/image_12042025_13_15_57_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241418","1352241406","1352241435","1352241414","1352241408","1352241404"],"photo_ids_order":["1352241404","1352241406","1352241408","1352241414","1352241418","1352241435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35ab06498c3524e52640842ced92217f.jpg","text":"TemporaryFile(/tmp/multipartBody2129251128561014549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466673700,"filename":"image_12042025_13_15_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9012e51f640348e3c6f9e2dbc5d924f.jpg","text":"TemporaryFile(/tmp/multipartBody3813288273105654461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466673700,"filename":"image_12042025_13_15_07_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80e0941d455b9b61af4d0ff26f62d2a1.jpg","text":"TemporaryFile(/tmp/multipartBody5311362541549000499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466673700,"filename":"image_12042025_13_15_57_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/baa0e2cece1a8a19870fad48e5060482.jpg","text":"TemporaryFile(/tmp/multipartBody8283482461053210806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466673700,"filename":"image_12042025_13_15_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5617eea22bd6bb730c7cdbf43d470a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4909906890380300806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466673700,"filename":"image_12042025_13_15_16_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d42c27433feed7a1254d922731c4ddc0.jpg","text":"TemporaryFile(/tmp/multipartBody264376631160567560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466673700,"filename":"image_12042025_13_14_47_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241408","file1":"1352241406","file0":"1352241404","file4":"1352241418","file5":"1352241435","file3":"1352241414"},"map_files_photo_id_array":[{"photo_id":"1352241435","filename":"file5"},{"photo_id":"1352241408","filename":"file2"},{"photo_id":"1352241418","filename":"file4"},{"photo_id":"1352241406","filename":"file1"},{"photo_id":"1352241404","filename":"file0"},{"photo_id":"1352241414","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352241418":["hashtag1","hashtag2"]},{"1352241406":["hashtag1","hashtag2"]},{"1352241435":["hashtag1","hashtag2"]},{"1352241414":["hashtag1","hashtag2"]},{"1352241408":["hashtag1","hashtag2"]},{"1352241404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352241418, 1352241406, 1352241435, 1352241414, 1352241408, 1352241404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.907140016555786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:04:32.353514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/15/image_12042025_13_16_07_10369.jpg', '/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_16_9348.jpg', '/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_27_10471.jpg', '/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_36_9349.jpg', '/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_47_10454.jpg', '/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_57_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/15/image_12042025_13_16_07_10369.jpg
/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_16_9348.jpg
/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_27_10471.jpg
/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_36_9349.jpg
/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_47_10454.jpg
/home/pi/Desktop/images/12042025/13/16/image_12042025_13_16_57_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241568","1352241634","1352241610","1352241546","1352241698","1352241578"],"photo_ids_order":["1352241546","1352241568","1352241578","1352241610","1352241634","1352241698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/512f522ef4d44fcffdb5c1b9445907bc.jpg","text":"TemporaryFile(/tmp/multipartBody1026582264860550767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466732846,"filename":"image_12042025_13_16_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c85d3a3ec3bea91fdfbf4ea8781d732.jpg","text":"TemporaryFile(/tmp/multipartBody6216184607428306773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466732846,"filename":"image_12042025_13_16_47_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4304d6f46d389af22efd93779385745.jpg","text":"TemporaryFile(/tmp/multipartBody8329610535658159312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466732846,"filename":"image_12042025_13_16_36_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b2d4a117e36b609b87f6caa11a7fcca.jpg","text":"TemporaryFile(/tmp/multipartBody7736848447656694586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466732846,"filename":"image_12042025_13_16_07_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f47b95edc7c6b767e91f520edaa213b4.jpg","text":"TemporaryFile(/tmp/multipartBody4953669412328532870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466732846,"filename":"image_12042025_13_16_57_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/501bd2ad135bb6c5411c6b8136603bea.jpg","text":"TemporaryFile(/tmp/multipartBody7809087575468713528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466732846,"filename":"image_12042025_13_16_27_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241578","file1":"1352241568","file0":"1352241546","file4":"1352241634","file5":"1352241698","file3":"1352241610"},"map_files_photo_id_array":[{"photo_id":"1352241698","filename":"file5"},{"photo_id":"1352241578","filename":"file2"},{"photo_id":"1352241634","filename":"file4"},{"photo_id":"1352241568","filename":"file1"},{"photo_id":"1352241546","filename":"file0"},{"photo_id":"1352241610","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352241568":["hashtag1","hashtag2"]},{"1352241634":["hashtag1","hashtag2"]},{"1352241610":["hashtag1","hashtag2"]},{"1352241546":["hashtag1","hashtag2"]},{"1352241698":["hashtag1","hashtag2"]},{"1352241578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352241568, 1352241634, 1352241610, 1352241546, 1352241698, 1352241578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.982646226882935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:05:32.500320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/16/image_12042025_13_17_06_9339.jpg', '/home/pi/Desktop/images/12042025/13/17/image_12042025_13_17_17_10458.jpg', '/home/pi/Desktop/images/12042025/13/17/image_12042025_13_17_26_9344.jpg', '/home/pi/Desktop/images/12042025/13/17/image_12042025_13_17_47_10353.jpg', '/home/pi/Desktop/images/12042025/13/17/image_12042025_13_17_56_9356.jpg', '/home/pi/Desktop/images/12042025/13/17/image_12042025_13_18_07_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/16/image_12042025_13_17_06_9339.jpg
/home/pi/Desktop/images/12042025/13/17/image_12042025_13_17_17_10458.jpg
/home/pi/Desktop/images/12042025/13/17/image_12042025_13_17_26_9344.jpg
/home/pi/Desktop/images/12042025/13/17/image_12042025_13_17_47_10353.jpg
/home/pi/Desktop/images/12042025/13/17/image_12042025_13_17_56_9356.jpg
/home/pi/Desktop/images/12042025/13/17/image_12042025_13_18_07_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352241958","1352241937","1352241832","1352241808","1352241881","1352241908"],"photo_ids_order":["1352241808","1352241832","1352241881","1352241908","1352241937","1352241958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/975e866587804aa2d498d739c5aca923.jpg","text":"TemporaryFile(/tmp/multipartBody9128986092674126256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466792972,"filename":"image_12042025_13_18_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86c444a69dc499de6ddbec56222fac16.jpg","text":"TemporaryFile(/tmp/multipartBody2417836688562963006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466792972,"filename":"image_12042025_13_17_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d68642ae8ec2818437e7a236db38fd2e.jpg","text":"TemporaryFile(/tmp/multipartBody8845650820482111066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466792972,"filename":"image_12042025_13_17_17_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/906fb361edeb45ba5a1d9c249247c39b.jpg","text":"TemporaryFile(/tmp/multipartBody998958571226934068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466792972,"filename":"image_12042025_13_17_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d02860e60bf16043a9fb4baff06ba91.jpg","text":"TemporaryFile(/tmp/multipartBody7282448531437384645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466792972,"filename":"image_12042025_13_17_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35e6a157af12515748463ae7382014db.jpg","text":"TemporaryFile(/tmp/multipartBody4121294939662476979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466792972,"filename":"image_12042025_13_17_47_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352241881","file1":"1352241832","file0":"1352241808","file4":"1352241937","file5":"1352241958","file3":"1352241908"},"map_files_photo_id_array":[{"photo_id":"1352241958","filename":"file5"},{"photo_id":"1352241881","filename":"file2"},{"photo_id":"1352241937","filename":"file4"},{"photo_id":"1352241832","filename":"file1"},{"photo_id":"1352241808","filename":"file0"},{"photo_id":"1352241908","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352241958":["hashtag1","hashtag2"]},{"1352241937":["hashtag1","hashtag2"]},{"1352241832":["hashtag1","hashtag2"]},{"1352241808":["hashtag1","hashtag2"]},{"1352241881":["hashtag1","hashtag2"]},{"1352241908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352241958, 1352241937, 1352241832, 1352241808, 1352241881, 1352241908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29541039466858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:06:32.760815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_16_9351.jpg', '/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_26_10415.jpg', '/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_37_10338.jpg', '/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_46_9439.jpg', '/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_57_10418.jpg', '/home/pi/Desktop/images/12042025/13/18/image_12042025_13_19_06_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_16_9351.jpg
/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_26_10415.jpg
/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_37_10338.jpg
/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_46_9439.jpg
/home/pi/Desktop/images/12042025/13/18/image_12042025_13_18_57_10418.jpg
/home/pi/Desktop/images/12042025/13/18/image_12042025_13_19_06_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352242283","1352242256","1352242232","1352242202","1352242177","1352242144"],"photo_ids_order":["1352242144","1352242177","1352242202","1352242232","1352242256","1352242283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71e57c02521d0b5b3fa66ab33673f7fb.jpg","text":"TemporaryFile(/tmp/multipartBody7371103734464569010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466853224,"filename":"image_12042025_13_19_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90f33ffb3c40daa42d0cc83ca4294333.jpg","text":"TemporaryFile(/tmp/multipartBody2266818723705585265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466853224,"filename":"image_12042025_13_18_57_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa99be456ca9576422a18c4f429e74b0.jpg","text":"TemporaryFile(/tmp/multipartBody3986239119414080640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466853224,"filename":"image_12042025_13_18_46_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d43eeffcb0607d19840273c297652f93.jpg","text":"TemporaryFile(/tmp/multipartBody8806402062327225517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466853224,"filename":"image_12042025_13_18_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3ff85efe5237fd1af88383731e6d003.jpg","text":"TemporaryFile(/tmp/multipartBody4861806947149684733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466853224,"filename":"image_12042025_13_18_26_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3def3828c4326a6880b5e56fcfd67bff.jpg","text":"TemporaryFile(/tmp/multipartBody5471163030169716486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466853224,"filename":"image_12042025_13_18_16_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352242202","file1":"1352242177","file0":"1352242144","file4":"1352242256","file5":"1352242283","file3":"1352242232"},"map_files_photo_id_array":[{"photo_id":"1352242283","filename":"file5"},{"photo_id":"1352242202","filename":"file2"},{"photo_id":"1352242256","filename":"file4"},{"photo_id":"1352242177","filename":"file1"},{"photo_id":"1352242144","filename":"file0"},{"photo_id":"1352242232","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352242283":["hashtag1","hashtag2"]},{"1352242256":["hashtag1","hashtag2"]},{"1352242232":["hashtag1","hashtag2"]},{"1352242202":["hashtag1","hashtag2"]},{"1352242177":["hashtag1","hashtag2"]},{"1352242144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352242283, 1352242256, 1352242232, 1352242202, 1352242177, 1352242144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39316010475159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:07:33.009732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_27_10365.jpg', '/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_36_9337.jpg', '/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_46_10403.jpg', '/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_57_10443.jpg', '/home/pi/Desktop/images/12042025/13/19/image_12042025_13_20_06_9356.jpg', '/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_17_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_27_10365.jpg
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_36_9337.jpg
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_46_10403.jpg
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_57_10443.jpg
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_20_06_9356.jpg
/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_17_10436.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3767848014831543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 16:07:43.061949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_27_10365.jpg', '/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_36_9337.jpg', '/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_46_10403.jpg', '/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_57_10443.jpg', '/home/pi/Desktop/images/12042025/13/19/image_12042025_13_20_06_9356.jpg', '/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_17_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_27_10365.jpg
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_36_9337.jpg
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_46_10403.jpg
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_19_57_10443.jpg
/home/pi/Desktop/images/12042025/13/19/image_12042025_13_20_06_9356.jpg
/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_17_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352242779","1352242674","1352242647","1352242796","1352242723","1352242753"],"photo_ids_order":["1352242647","1352242674","1352242723","1352242753","1352242779","1352242796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/499b97a93bcf5564b8378ce21da647db.jpg","text":"TemporaryFile(/tmp/multipartBody736327959885721322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466923520,"filename":"image_12042025_13_20_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b6e630e64f1af28fe0f2a2ff14755af.jpg","text":"TemporaryFile(/tmp/multipartBody6855648433309599936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466923520,"filename":"image_12042025_13_19_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78ef7c48ce16e1851329f05b72900211.jpg","text":"TemporaryFile(/tmp/multipartBody4103016935129457868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466923520,"filename":"image_12042025_13_19_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f6413992f10740a48af3717b70823c0.jpg","text":"TemporaryFile(/tmp/multipartBody8142116364690884818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466923520,"filename":"image_12042025_13_20_17_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32fcc5194c4fea3570fa0fbffd75c16b.jpg","text":"TemporaryFile(/tmp/multipartBody5474835159724972830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466923520,"filename":"image_12042025_13_19_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/073b29cc3203b3e45258f37f07f16583.jpg","text":"TemporaryFile(/tmp/multipartBody3503615943163924017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744466923520,"filename":"image_12042025_13_19_57_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352242723","file1":"1352242674","file0":"1352242647","file4":"1352242779","file5":"1352242796","file3":"1352242753"},"map_files_photo_id_array":[{"photo_id":"1352242796","filename":"file5"},{"photo_id":"1352242723","filename":"file2"},{"photo_id":"1352242779","filename":"file4"},{"photo_id":"1352242674","filename":"file1"},{"photo_id":"1352242647","filename":"file0"},{"photo_id":"1352242753","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352242779":["hashtag1","hashtag2"]},{"1352242674":["hashtag1","hashtag2"]},{"1352242647":["hashtag1","hashtag2"]},{"1352242796":["hashtag1","hashtag2"]},{"1352242723":["hashtag1","hashtag2"]},{"1352242753":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352242779, 1352242674, 1352242647, 1352242796, 1352242723, 1352242753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.40573859214783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 16:09:04.054561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_26_9347.jpg', '/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_36_10475.jpg', '/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_47_10366.jpg', '/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_56_9456.jpg', '/home/pi/Desktop/images/12042025/13/20/image_12042025_13_21_07_10348.jpg', '/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_16_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_26_9347.jpg
/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_36_10475.jpg
/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_47_10366.jpg
/home/pi/Desktop/images/12042025/13/20/image_12042025_13_20_56_9456.jpg
/home/pi/Desktop/images/12042025/13/20/image_12042025_13_21_07_10348.jpg
/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_16_9346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352243229","1352243258","1352243290","1352243140","1352243317","1352243104"],"photo_ids_order":["1352243104","1352243140","1352243229","1352243258","1352243290","1352243317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8353bc739122b9d42751865ee0e8c78.jpg","text":"TemporaryFile(/tmp/multipartBody6910318931070655489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467004716,"filename":"image_12042025_13_20_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d2944692732f2e4ea1b64a70071d1b0.jpg","text":"TemporaryFile(/tmp/multipartBody127818817311880795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467004716,"filename":"image_12042025_13_20_56_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4eb4e9f50acaf9e15ad551242d4c2af3.jpg","text":"TemporaryFile(/tmp/multipartBody3852163250847811222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467004716,"filename":"image_12042025_13_21_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13d0d955f6c1e307ad87f2939d21567e.jpg","text":"TemporaryFile(/tmp/multipartBody5723938879897355614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467004716,"filename":"image_12042025_13_20_36_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/303903d34125f5d3d6f088830f90f70f.jpg","text":"TemporaryFile(/tmp/multipartBody537891363470799142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467004716,"filename":"image_12042025_13_21_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/450afbe2ecbe172efe2a7ec5cc1fe11c.jpg","text":"TemporaryFile(/tmp/multipartBody5111357373934152147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467004716,"filename":"image_12042025_13_20_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352243229","file1":"1352243140","file0":"1352243104","file4":"1352243290","file5":"1352243317","file3":"1352243258"},"map_files_photo_id_array":[{"photo_id":"1352243317","filename":"file5"},{"photo_id":"1352243229","filename":"file2"},{"photo_id":"1352243290","filename":"file4"},{"photo_id":"1352243140","filename":"file1"},{"photo_id":"1352243104","filename":"file0"},{"photo_id":"1352243258","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352243229":["hashtag1","hashtag2"]},{"1352243258":["hashtag1","hashtag2"]},{"1352243290":["hashtag1","hashtag2"]},{"1352243140":["hashtag1","hashtag2"]},{"1352243317":["hashtag1","hashtag2"]},{"1352243104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352243229, 1352243258, 1352243290, 1352243140, 1352243317, 1352243104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.977789878845215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 16:09:42.429445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_26_10447.jpg', '/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_37_10359.jpg', '/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_46_9354.jpg', '/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_57_10438.jpg', '/home/pi/Desktop/images/12042025/13/21/image_12042025_13_22_06_9339.jpg', '/home/pi/Desktop/images/12042025/13/22/image_12042025_13_22_16_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_26_10447.jpg
/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_37_10359.jpg
/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_46_9354.jpg
/home/pi/Desktop/images/12042025/13/21/image_12042025_13_21_57_10438.jpg
/home/pi/Desktop/images/12042025/13/21/image_12042025_13_22_06_9339.jpg
/home/pi/Desktop/images/12042025/13/22/image_12042025_13_22_16_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352243535","1352243625","1352243441","1352243615","1352243494","1352243575"],"photo_ids_order":["1352243441","1352243494","1352243535","1352243575","1352243615","1352243625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98cfec3a972dbb649c3fd8b7d1f1ad56.jpg","text":"TemporaryFile(/tmp/multipartBody8511470251579097909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467042898,"filename":"image_12042025_13_21_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbb9589597f55e34d800a1ec6030bfa9.jpg","text":"TemporaryFile(/tmp/multipartBody3519427389044510268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467042898,"filename":"image_12042025_13_22_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b5ed1fcd34d59f16a8220b8c6f02cda.jpg","text":"TemporaryFile(/tmp/multipartBody1178428865553955634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467042898,"filename":"image_12042025_13_21_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1c5b2e1bbea28e4b466bfe32fb97585.jpg","text":"TemporaryFile(/tmp/multipartBody2473694750252518106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467042898,"filename":"image_12042025_13_22_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc81b89c58a0f6103c67f88e30dd0aa7.jpg","text":"TemporaryFile(/tmp/multipartBody3868766076061178483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467042898,"filename":"image_12042025_13_21_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/597eb85b2bf54e1f9d0965635cb70358.jpg","text":"TemporaryFile(/tmp/multipartBody5725265203054590898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467042898,"filename":"image_12042025_13_21_57_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352243535","file1":"1352243494","file0":"1352243441","file4":"1352243615","file5":"1352243625","file3":"1352243575"},"map_files_photo_id_array":[{"photo_id":"1352243625","filename":"file5"},{"photo_id":"1352243535","filename":"file2"},{"photo_id":"1352243615","filename":"file4"},{"photo_id":"1352243494","filename":"file1"},{"photo_id":"1352243441","filename":"file0"},{"photo_id":"1352243575","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352243535":["hashtag1","hashtag2"]},{"1352243625":["hashtag1","hashtag2"]},{"1352243441":["hashtag1","hashtag2"]},{"1352243615":["hashtag1","hashtag2"]},{"1352243494":["hashtag1","hashtag2"]},{"1352243575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352243535, 1352243625, 1352243441, 1352243615, 1352243494, 1352243575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17081379890442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:10:32.717490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/22/image_12042025_13_22_27_10504.jpg', '/home/pi/Desktop/images/12042025/13/22/image_12042025_13_22_36_9354.jpg', '/home/pi/Desktop/images/12042025/13/22/image_12042025_13_22_47_10511.jpg', '/home/pi/Desktop/images/12042025/13/22/image_12042025_13_23_07_10362.jpg', '/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_16_9341.jpg', '/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_26_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/22/image_12042025_13_22_27_10504.jpg
/home/pi/Desktop/images/12042025/13/22/image_12042025_13_22_36_9354.jpg
/home/pi/Desktop/images/12042025/13/22/image_12042025_13_22_47_10511.jpg
/home/pi/Desktop/images/12042025/13/22/image_12042025_13_23_07_10362.jpg
/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_16_9341.jpg
/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_26_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352243913","1352244017","1352244082","1352243959","1352244234","1352244150"],"photo_ids_order":["1352243913","1352243959","1352244017","1352244082","1352244150","1352244234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f67b48501653b4f35b028ef7eb7a03e9.jpg","text":"TemporaryFile(/tmp/multipartBody7128062984097355688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467093204,"filename":"image_12042025_13_22_27_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7901e04cf65cd406bbd62a65491ebdd.jpg","text":"TemporaryFile(/tmp/multipartBody3161606422774287112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467093204,"filename":"image_12042025_13_22_47_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9d03f897c6fafed8e143377057c577a.jpg","text":"TemporaryFile(/tmp/multipartBody7055173591612815489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467093204,"filename":"image_12042025_13_23_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a28ec7147f353f88b2fec76e4b03373.jpg","text":"TemporaryFile(/tmp/multipartBody4155707785874684656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467093204,"filename":"image_12042025_13_22_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/24f23890fe4ae25b222d0ea392b1344b.jpg","text":"TemporaryFile(/tmp/multipartBody3978302674442016817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467093204,"filename":"image_12042025_13_23_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42f60557f84482e354c680c41b2ee5b9.jpg","text":"TemporaryFile(/tmp/multipartBody7212685375523783005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467093204,"filename":"image_12042025_13_23_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244017","file1":"1352243959","file0":"1352243913","file4":"1352244150","file5":"1352244234","file3":"1352244082"},"map_files_photo_id_array":[{"photo_id":"1352244234","filename":"file5"},{"photo_id":"1352244017","filename":"file2"},{"photo_id":"1352244150","filename":"file4"},{"photo_id":"1352243959","filename":"file1"},{"photo_id":"1352243913","filename":"file0"},{"photo_id":"1352244082","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352243913":["hashtag1","hashtag2"]},{"1352244017":["hashtag1","hashtag2"]},{"1352244082":["hashtag1","hashtag2"]},{"1352243959":["hashtag1","hashtag2"]},{"1352244234":["hashtag1","hashtag2"]},{"1352244150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352243913, 1352244017, 1352244082, 1352243959, 1352244234, 1352244150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.861533641815186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:11:32.913813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_37_10348.jpg', '/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_46_9403.jpg', '/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_57_10382.jpg', '/home/pi/Desktop/images/12042025/13/23/image_12042025_13_24_06_9368.jpg', '/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_16_10342.jpg', '/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_27_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_37_10348.jpg
/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_46_9403.jpg
/home/pi/Desktop/images/12042025/13/23/image_12042025_13_23_57_10382.jpg
/home/pi/Desktop/images/12042025/13/23/image_12042025_13_24_06_9368.jpg
/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_16_10342.jpg
/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_27_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352244734","1352244806","1352244856","1352244763","1352244838","1352244888"],"photo_ids_order":["1352244734","1352244763","1352244806","1352244838","1352244856","1352244888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95dd7b641dee1e31bfb028f39d1bce96.jpg","text":"TemporaryFile(/tmp/multipartBody3492398542331587122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467153389,"filename":"image_12042025_13_23_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2aefcdc4ea152506fa660438ae3d0ce2.jpg","text":"TemporaryFile(/tmp/multipartBody5266531676984960035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467153389,"filename":"image_12042025_13_23_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d808161505f2b0a22e42571dff521ee5.jpg","text":"TemporaryFile(/tmp/multipartBody4861003505712588386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467153389,"filename":"image_12042025_13_24_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f72732437baae7be53f45494d51eadd1.jpg","text":"TemporaryFile(/tmp/multipartBody6148785459705832868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467153389,"filename":"image_12042025_13_23_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b65494b83f148a60bc12664340d22d42.jpg","text":"TemporaryFile(/tmp/multipartBody8225091279560185654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467153389,"filename":"image_12042025_13_24_06_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6456cbb6b6ae40f8b04914cb9cc876d1.jpg","text":"TemporaryFile(/tmp/multipartBody7622377313999075579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467153389,"filename":"image_12042025_13_24_27_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352244806","file1":"1352244763","file0":"1352244734","file4":"1352244856","file5":"1352244888","file3":"1352244838"},"map_files_photo_id_array":[{"photo_id":"1352244888","filename":"file5"},{"photo_id":"1352244806","filename":"file2"},{"photo_id":"1352244856","filename":"file4"},{"photo_id":"1352244763","filename":"file1"},{"photo_id":"1352244734","filename":"file0"},{"photo_id":"1352244838","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352244734":["hashtag1","hashtag2"]},{"1352244806":["hashtag1","hashtag2"]},{"1352244856":["hashtag1","hashtag2"]},{"1352244763":["hashtag1","hashtag2"]},{"1352244838":["hashtag1","hashtag2"]},{"1352244888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352244734, 1352244806, 1352244856, 1352244763, 1352244838, 1352244888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20716428756714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:12:32.918660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_36_9422.jpg', '/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_47_10469.jpg', '/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_56_9342.jpg', '/home/pi/Desktop/images/12042025/13/24/image_12042025_13_25_06_10403.jpg', '/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_17_10469.jpg', '/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_26_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_36_9422.jpg
/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_47_10469.jpg
/home/pi/Desktop/images/12042025/13/24/image_12042025_13_24_56_9342.jpg
/home/pi/Desktop/images/12042025/13/24/image_12042025_13_25_06_10403.jpg
/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_17_10469.jpg
/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_26_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245673","1352245580","1352245643","1352245251","1352245701","1352245518"],"photo_ids_order":["1352245251","1352245518","1352245580","1352245643","1352245673","1352245701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff343bd6e7ae70c83559c8a8f0a7bda5.jpg","text":"TemporaryFile(/tmp/multipartBody823589812727964366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467213375,"filename":"image_12042025_13_25_17_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d78a5933250b7829fc3958756fdeb598.jpg","text":"TemporaryFile(/tmp/multipartBody3133547994245516320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467213375,"filename":"image_12042025_13_24_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a253117a99557f226704321dfe29082.jpg","text":"TemporaryFile(/tmp/multipartBody7512695114765798427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467213375,"filename":"image_12042025_13_25_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29529cf9a9b02cf83198e0eac64a267b.jpg","text":"TemporaryFile(/tmp/multipartBody2598383653758431232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467213375,"filename":"image_12042025_13_24_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e55fe90cffb4c20ea89d7d2fa0db42d.jpg","text":"TemporaryFile(/tmp/multipartBody2940066271730420047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467213375,"filename":"image_12042025_13_25_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a142ac26ef3939088dc937c9b8242219.jpg","text":"TemporaryFile(/tmp/multipartBody888438438188240035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467213375,"filename":"image_12042025_13_24_47_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245580","file1":"1352245518","file0":"1352245251","file4":"1352245673","file5":"1352245701","file3":"1352245643"},"map_files_photo_id_array":[{"photo_id":"1352245701","filename":"file5"},{"photo_id":"1352245580","filename":"file2"},{"photo_id":"1352245673","filename":"file4"},{"photo_id":"1352245518","filename":"file1"},{"photo_id":"1352245251","filename":"file0"},{"photo_id":"1352245643","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352245673":["hashtag1","hashtag2"]},{"1352245580":["hashtag1","hashtag2"]},{"1352245643":["hashtag1","hashtag2"]},{"1352245251":["hashtag1","hashtag2"]},{"1352245701":["hashtag1","hashtag2"]},{"1352245518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352245673, 1352245580, 1352245643, 1352245251, 1352245701, 1352245518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.00088858604431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:13:33.246878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_37_10455.jpg', '/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_46_9376.jpg', '/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_57_10517.jpg', '/home/pi/Desktop/images/12042025/13/25/image_12042025_13_26_07_10354.jpg', '/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_16_9510.jpg', '/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_27_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_37_10455.jpg
/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_46_9376.jpg
/home/pi/Desktop/images/12042025/13/25/image_12042025_13_25_57_10517.jpg
/home/pi/Desktop/images/12042025/13/25/image_12042025_13_26_07_10354.jpg
/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_16_9510.jpg
/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_27_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352245859","1352245925","1352245990","1352245951","1352245899","1352245971"],"photo_ids_order":["1352245859","1352245899","1352245925","1352245951","1352245971","1352245990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/395389e768e78c1eda50fa2a787aab06.jpg","text":"TemporaryFile(/tmp/multipartBody5880364963141663626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467273702,"filename":"image_12042025_13_25_37_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/baa5cd91299018725f46a28c45234ea6.jpg","text":"TemporaryFile(/tmp/multipartBody1377226842745811254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467273702,"filename":"image_12042025_13_25_57_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cdcfdfcab655c227abfdf7c4cac0d433.jpg","text":"TemporaryFile(/tmp/multipartBody3950431628627291862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467273702,"filename":"image_12042025_13_26_27_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e034515e259eccce8fcf64e9c88bc32.jpg","text":"TemporaryFile(/tmp/multipartBody5985165866560167285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467273702,"filename":"image_12042025_13_26_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1134b1505054790e8e7140caf8f65467.jpg","text":"TemporaryFile(/tmp/multipartBody7744544235848365302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467273702,"filename":"image_12042025_13_25_46_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/363fefddb3eb845efb342743edb0f3b6.jpg","text":"TemporaryFile(/tmp/multipartBody9021608612729079479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467273702,"filename":"image_12042025_13_26_16_9510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352245925","file1":"1352245899","file0":"1352245859","file4":"1352245971","file5":"1352245990","file3":"1352245951"},"map_files_photo_id_array":[{"photo_id":"1352245990","filename":"file5"},{"photo_id":"1352245925","filename":"file2"},{"photo_id":"1352245971","filename":"file4"},{"photo_id":"1352245899","filename":"file1"},{"photo_id":"1352245859","filename":"file0"},{"photo_id":"1352245951","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352245859":["hashtag1","hashtag2"]},{"1352245925":["hashtag1","hashtag2"]},{"1352245990":["hashtag1","hashtag2"]},{"1352245951":["hashtag1","hashtag2"]},{"1352245899":["hashtag1","hashtag2"]},{"1352245971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352245859, 1352245925, 1352245990, 1352245951, 1352245899, 1352245971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963805198669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:14:32.281449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_36_9357.jpg', '/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_47_10423.jpg', '/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_56_9371.jpg', '/home/pi/Desktop/images/12042025/13/26/image_12042025_13_27_06_10408.jpg', '/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_17_10380.jpg', '/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_26_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_36_9357.jpg
/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_47_10423.jpg
/home/pi/Desktop/images/12042025/13/26/image_12042025_13_26_56_9371.jpg
/home/pi/Desktop/images/12042025/13/26/image_12042025_13_27_06_10408.jpg
/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_17_10380.jpg
/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_26_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352246143","1352246145","1352246148","1352246141","1352246159","1352246138"],"photo_ids_order":["1352246138","1352246141","1352246143","1352246145","1352246148","1352246159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b007d587a6aac4397ba7b827019be3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5235047681097744420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467332810,"filename":"image_12042025_13_26_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8f5bc8e846c5774c7460d663717fc6d.jpg","text":"TemporaryFile(/tmp/multipartBody1697128780089575363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467332810,"filename":"image_12042025_13_27_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2b63b959406aa3437b8690cceca7c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7647823253092274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467332810,"filename":"image_12042025_13_27_17_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e895c0d267c2e7869d5170012ea1273b.jpg","text":"TemporaryFile(/tmp/multipartBody2354180874136857209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467332810,"filename":"image_12042025_13_26_47_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c635744900753d541e0807688ebb118.jpg","text":"TemporaryFile(/tmp/multipartBody2034403374289579946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467332810,"filename":"image_12042025_13_27_26_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1bb6a2a30e122292646ab82242ec295.jpg","text":"TemporaryFile(/tmp/multipartBody9020725625781255532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467332810,"filename":"image_12042025_13_26_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352246143","file1":"1352246141","file0":"1352246138","file4":"1352246148","file5":"1352246159","file3":"1352246145"},"map_files_photo_id_array":[{"photo_id":"1352246159","filename":"file5"},{"photo_id":"1352246143","filename":"file2"},{"photo_id":"1352246148","filename":"file4"},{"photo_id":"1352246141","filename":"file1"},{"photo_id":"1352246138","filename":"file0"},{"photo_id":"1352246145","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352246143":["hashtag1","hashtag2"]},{"1352246145":["hashtag1","hashtag2"]},{"1352246148":["hashtag1","hashtag2"]},{"1352246141":["hashtag1","hashtag2"]},{"1352246159":["hashtag1","hashtag2"]},{"1352246138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352246143, 1352246145, 1352246148, 1352246141, 1352246159, 1352246138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62383842468262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:15:32.523769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_37_10472.jpg', '/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_46_9352.jpg', '/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_56_10414.jpg', '/home/pi/Desktop/images/12042025/13/27/image_12042025_13_28_07_10474.jpg', '/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_16_9346.jpg', '/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_27_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_37_10472.jpg
/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_46_9352.jpg
/home/pi/Desktop/images/12042025/13/27/image_12042025_13_27_56_10414.jpg
/home/pi/Desktop/images/12042025/13/27/image_12042025_13_28_07_10474.jpg
/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_16_9346.jpg
/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_27_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352246219","1352246242","1352246191","1352246193","1352246196","1352246240"],"photo_ids_order":["1352246191","1352246193","1352246196","1352246219","1352246240","1352246242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/043b7e57f3cdf70a2eb25a19be0ee05d.jpg","text":"TemporaryFile(/tmp/multipartBody2356692080124842745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467392994,"filename":"image_12042025_13_28_07_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef819a34188b4432a28bea663b6e2b3d.jpg","text":"TemporaryFile(/tmp/multipartBody927506795124223186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467392994,"filename":"image_12042025_13_28_27_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1507f9717f34edbe37f2249808bdba74.jpg","text":"TemporaryFile(/tmp/multipartBody4772636606378316959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467392994,"filename":"image_12042025_13_27_37_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8641b57a2c3f24d63823c3db597f090d.jpg","text":"TemporaryFile(/tmp/multipartBody4818413972872793072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467392994,"filename":"image_12042025_13_27_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5560434408b74adb220c0f1dc2184e56.jpg","text":"TemporaryFile(/tmp/multipartBody272295886216711821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467392994,"filename":"image_12042025_13_27_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e9cb714b6c98e2027057292f44b154bb.jpg","text":"TemporaryFile(/tmp/multipartBody3504623923836532839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467392994,"filename":"image_12042025_13_28_16_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352246196","file1":"1352246193","file0":"1352246191","file4":"1352246240","file5":"1352246242","file3":"1352246219"},"map_files_photo_id_array":[{"photo_id":"1352246242","filename":"file5"},{"photo_id":"1352246196","filename":"file2"},{"photo_id":"1352246240","filename":"file4"},{"photo_id":"1352246193","filename":"file1"},{"photo_id":"1352246191","filename":"file0"},{"photo_id":"1352246219","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352246219":["hashtag1","hashtag2"]},{"1352246242":["hashtag1","hashtag2"]},{"1352246191":["hashtag1","hashtag2"]},{"1352246193":["hashtag1","hashtag2"]},{"1352246196":["hashtag1","hashtag2"]},{"1352246240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352246219, 1352246242, 1352246191, 1352246193, 1352246196, 1352246240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63321042060852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:16:32.763971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_36_9356.jpg', '/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_46_10490.jpg', '/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_57_10364.jpg', '/home/pi/Desktop/images/12042025/13/28/image_12042025_13_29_06_9373.jpg', '/home/pi/Desktop/images/12042025/13/29/image_12042025_13_29_26_9360.jpg', '/home/pi/Desktop/images/12042025/13/29/image_12042025_13_29_36_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_36_9356.jpg
/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_46_10490.jpg
/home/pi/Desktop/images/12042025/13/28/image_12042025_13_28_57_10364.jpg
/home/pi/Desktop/images/12042025/13/28/image_12042025_13_29_06_9373.jpg
/home/pi/Desktop/images/12042025/13/29/image_12042025_13_29_26_9360.jpg
/home/pi/Desktop/images/12042025/13/29/image_12042025_13_29_36_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352246729","1352246682","1352246730","1352246705","1352246633","1352246441"],"photo_ids_order":["1352246441","1352246633","1352246682","1352246705","1352246729","1352246730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ab45c94fc01063bb4382215a5f66ad6.jpg","text":"TemporaryFile(/tmp/multipartBody146568169553231209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467453228,"filename":"image_12042025_13_29_26_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef804b004640a436c46bcd3fcb384a99.jpg","text":"TemporaryFile(/tmp/multipartBody7628383295085452324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467453228,"filename":"image_12042025_13_28_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f345791565ae9a8a7b0803e3ec5b137.jpg","text":"TemporaryFile(/tmp/multipartBody5657963589143320990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467453228,"filename":"image_12042025_13_29_36_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fb1c9ddfb27ee0d60b7a5567814103d.jpg","text":"TemporaryFile(/tmp/multipartBody7557641438880531946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467453228,"filename":"image_12042025_13_29_06_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ca18b3b4431449161060e3d190dd5ed.jpg","text":"TemporaryFile(/tmp/multipartBody2238439453206942808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467453228,"filename":"image_12042025_13_28_46_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5df0d0f620d18ce0f85f679d367b421b.jpg","text":"TemporaryFile(/tmp/multipartBody8382610147542564736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467453228,"filename":"image_12042025_13_28_36_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352246682","file1":"1352246633","file0":"1352246441","file4":"1352246729","file5":"1352246730","file3":"1352246705"},"map_files_photo_id_array":[{"photo_id":"1352246730","filename":"file5"},{"photo_id":"1352246682","filename":"file2"},{"photo_id":"1352246729","filename":"file4"},{"photo_id":"1352246633","filename":"file1"},{"photo_id":"1352246441","filename":"file0"},{"photo_id":"1352246705","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352246729":["hashtag1","hashtag2"]},{"1352246682":["hashtag1","hashtag2"]},{"1352246730":["hashtag1","hashtag2"]},{"1352246705":["hashtag1","hashtag2"]},{"1352246633":["hashtag1","hashtag2"]},{"1352246441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352246729, 1352246682, 1352246730, 1352246705, 1352246633, 1352246441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.528873443603516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:17:33.002908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/29/image_12042025_13_29_47_10385.jpg', '/home/pi/Desktop/images/12042025/13/29/image_12042025_13_29_56_9350.jpg', '/home/pi/Desktop/images/12042025/13/29/image_12042025_13_30_07_10368.jpg', '/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_16_9353.jpg', '/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_26_10369.jpg', '/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_37_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/29/image_12042025_13_29_47_10385.jpg
/home/pi/Desktop/images/12042025/13/29/image_12042025_13_29_56_9350.jpg
/home/pi/Desktop/images/12042025/13/29/image_12042025_13_30_07_10368.jpg
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_16_9353.jpg
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_26_10369.jpg
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_37_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352246796","1352246883","1352246799","1352246802","1352246909","1352246804"],"photo_ids_order":["1352246796","1352246799","1352246802","1352246804","1352246883","1352246909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/620596622ac60eedac8715abe2451300.jpg","text":"TemporaryFile(/tmp/multipartBody1012409739913384631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467513470,"filename":"image_12042025_13_29_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2ca99d2ecb3133ded0f785adec23c4f.jpg","text":"TemporaryFile(/tmp/multipartBody747162193764124757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467513470,"filename":"image_12042025_13_30_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6de6deb6ba314aa24be5011d364078a3.jpg","text":"TemporaryFile(/tmp/multipartBody4617711311048056366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467513470,"filename":"image_12042025_13_29_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6d53e3a47d7ae4ae23ba2ceebb9acd8.jpg","text":"TemporaryFile(/tmp/multipartBody2009985820335958896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467513470,"filename":"image_12042025_13_30_07_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a24f6d1e7ac0844a921e2be8c3bf7c40.jpg","text":"TemporaryFile(/tmp/multipartBody3425163719843153245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467513470,"filename":"image_12042025_13_30_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da9c303b22802a033027bb6ce78fbbe5.jpg","text":"TemporaryFile(/tmp/multipartBody6992553477523839969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467513470,"filename":"image_12042025_13_30_16_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352246802","file1":"1352246799","file0":"1352246796","file4":"1352246883","file5":"1352246909","file3":"1352246804"},"map_files_photo_id_array":[{"photo_id":"1352246909","filename":"file5"},{"photo_id":"1352246802","filename":"file2"},{"photo_id":"1352246883","filename":"file4"},{"photo_id":"1352246799","filename":"file1"},{"photo_id":"1352246796","filename":"file0"},{"photo_id":"1352246804","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352246796":["hashtag1","hashtag2"]},{"1352246883":["hashtag1","hashtag2"]},{"1352246799":["hashtag1","hashtag2"]},{"1352246802":["hashtag1","hashtag2"]},{"1352246909":["hashtag1","hashtag2"]},{"1352246804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352246796, 1352246883, 1352246799, 1352246802, 1352246909, 1352246804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.06633949279785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:18:32.264483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_46_9351.jpg', '/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_56_10500.jpg', '/home/pi/Desktop/images/12042025/13/30/image_12042025_13_31_06_9450.jpg', '/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_16_10461.jpg', '/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_27_10356.jpg', '/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_36_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_46_9351.jpg
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_56_10500.jpg
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_31_06_9450.jpg
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_16_10461.jpg
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_27_10356.jpg
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_36_9334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47075414657592773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 16:18:42.309184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_46_9351.jpg', '/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_56_10500.jpg', '/home/pi/Desktop/images/12042025/13/30/image_12042025_13_31_06_9450.jpg', '/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_16_10461.jpg', '/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_27_10356.jpg', '/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_36_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_46_9351.jpg
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_30_56_10500.jpg
/home/pi/Desktop/images/12042025/13/30/image_12042025_13_31_06_9450.jpg
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_16_10461.jpg
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_27_10356.jpg
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_36_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352247013","1352247016","1352247165","1352247018","1352247059","1352247020"],"photo_ids_order":["1352247013","1352247016","1352247018","1352247020","1352247059","1352247165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6ff0216b7be2b360567b5f6eb0dc373.jpg","text":"TemporaryFile(/tmp/multipartBody5811702851606792582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467582763,"filename":"image_12042025_13_30_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/943e66867b5b0a9e618d891c9849b993.jpg","text":"TemporaryFile(/tmp/multipartBody3922027438545958645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467582763,"filename":"image_12042025_13_30_56_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8771d37f5c8eefff25642147abdb0133.jpg","text":"TemporaryFile(/tmp/multipartBody5480432470379241409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467582763,"filename":"image_12042025_13_31_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa018f240dc148229fc60ffb1cfc3282.jpg","text":"TemporaryFile(/tmp/multipartBody8935762566570917845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467582763,"filename":"image_12042025_13_31_06_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd350dba075cf299bea56f291abeea34.jpg","text":"TemporaryFile(/tmp/multipartBody8426391988168419808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467582763,"filename":"image_12042025_13_31_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/587d8421742b64831865edde6720276f.jpg","text":"TemporaryFile(/tmp/multipartBody4181122039724097583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467582763,"filename":"image_12042025_13_31_16_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352247018","file1":"1352247016","file0":"1352247013","file4":"1352247059","file5":"1352247165","file3":"1352247020"},"map_files_photo_id_array":[{"photo_id":"1352247165","filename":"file5"},{"photo_id":"1352247018","filename":"file2"},{"photo_id":"1352247059","filename":"file4"},{"photo_id":"1352247016","filename":"file1"},{"photo_id":"1352247013","filename":"file0"},{"photo_id":"1352247020","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352247013":["hashtag1","hashtag2"]},{"1352247016":["hashtag1","hashtag2"]},{"1352247165":["hashtag1","hashtag2"]},{"1352247018":["hashtag1","hashtag2"]},{"1352247059":["hashtag1","hashtag2"]},{"1352247020":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352247013, 1352247016, 1352247165, 1352247018, 1352247059, 1352247020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46745848655701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:19:32.478078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_47_10471.jpg', '/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_56_9342.jpg', '/home/pi/Desktop/images/12042025/13/31/image_12042025_13_32_06_10339.jpg', '/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_17_10450.jpg', '/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_26_9374.jpg', '/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_37_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_47_10471.jpg
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_31_56_9342.jpg
/home/pi/Desktop/images/12042025/13/31/image_12042025_13_32_06_10339.jpg
/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_17_10450.jpg
/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_26_9374.jpg
/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_37_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352247250","1352247226","1352247328","1352247285","1352247356","1352247200"],"photo_ids_order":["1352247200","1352247226","1352247250","1352247285","1352247328","1352247356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68f97339fc3af671aa9a4a23eb118a94.jpg","text":"TemporaryFile(/tmp/multipartBody6417922500890805134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467632951,"filename":"image_12042025_13_32_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94c4cf2a9ab503aa7ab18ce11ed3f4c4.jpg","text":"TemporaryFile(/tmp/multipartBody9214865795792745583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467632951,"filename":"image_12042025_13_31_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/134850cc6afe59047f376f104eb93609.jpg","text":"TemporaryFile(/tmp/multipartBody8177865548986601680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467632951,"filename":"image_12042025_13_32_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15548d393d77659308119cf8ceb772a4.jpg","text":"TemporaryFile(/tmp/multipartBody6989632126479853469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467632951,"filename":"image_12042025_13_32_17_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1cc6c18c87b0406e05acdd4eb19c428.jpg","text":"TemporaryFile(/tmp/multipartBody3370079717450535911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467632951,"filename":"image_12042025_13_32_37_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/234e28ff6437e1be31d4cb3f76d6241b.jpg","text":"TemporaryFile(/tmp/multipartBody8152129561804923195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467632951,"filename":"image_12042025_13_31_47_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352247250","file1":"1352247226","file0":"1352247200","file4":"1352247328","file5":"1352247356","file3":"1352247285"},"map_files_photo_id_array":[{"photo_id":"1352247356","filename":"file5"},{"photo_id":"1352247250","filename":"file2"},{"photo_id":"1352247328","filename":"file4"},{"photo_id":"1352247226","filename":"file1"},{"photo_id":"1352247200","filename":"file0"},{"photo_id":"1352247285","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352247250":["hashtag1","hashtag2"]},{"1352247226":["hashtag1","hashtag2"]},{"1352247328":["hashtag1","hashtag2"]},{"1352247285":["hashtag1","hashtag2"]},{"1352247356":["hashtag1","hashtag2"]},{"1352247200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352247250, 1352247226, 1352247328, 1352247285, 1352247356, 1352247200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38974380493164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:20:32.764608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_46_9400.jpg', '/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_56_10537.jpg', '/home/pi/Desktop/images/12042025/13/32/image_12042025_13_33_07_10388.jpg', '/home/pi/Desktop/images/12042025/13/33/image_12042025_13_33_27_10377.jpg', '/home/pi/Desktop/images/12042025/13/33/image_12042025_13_33_36_9370.jpg', '/home/pi/Desktop/images/12042025/13/33/image_12042025_13_33_46_10495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_46_9400.jpg
/home/pi/Desktop/images/12042025/13/32/image_12042025_13_32_56_10537.jpg
/home/pi/Desktop/images/12042025/13/32/image_12042025_13_33_07_10388.jpg
/home/pi/Desktop/images/12042025/13/33/image_12042025_13_33_27_10377.jpg
/home/pi/Desktop/images/12042025/13/33/image_12042025_13_33_36_9370.jpg
/home/pi/Desktop/images/12042025/13/33/image_12042025_13_33_46_10495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352247421","1352247424","1352247411","1352247417","1352247431","1352247428"],"photo_ids_order":["1352247411","1352247417","1352247421","1352247424","1352247428","1352247431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65d3b5acc1bdc7bf7a5cd9e15cde27bc.jpg","text":"TemporaryFile(/tmp/multipartBody3780382827131056210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467693231,"filename":"image_12042025_13_33_07_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aff2b730b219d6a688cccf76a5bf5039.jpg","text":"TemporaryFile(/tmp/multipartBody8991968421674941116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467693231,"filename":"image_12042025_13_33_27_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ce00710e125a0198ebb4c4b04eced6b.jpg","text":"TemporaryFile(/tmp/multipartBody4337805744881638390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467693231,"filename":"image_12042025_13_32_46_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfe56fca5439daa3f6320eb0675aee79.jpg","text":"TemporaryFile(/tmp/multipartBody5346450798030890129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467693231,"filename":"image_12042025_13_32_56_10537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52e51146fef406a0bd6f98d2ad43fd93.jpg","text":"TemporaryFile(/tmp/multipartBody8094944591384903274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467693231,"filename":"image_12042025_13_33_46_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc1db9faf39c7d0a5870301454cda1e8.jpg","text":"TemporaryFile(/tmp/multipartBody7023111026512510260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467693231,"filename":"image_12042025_13_33_36_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352247421","file1":"1352247417","file0":"1352247411","file4":"1352247428","file5":"1352247431","file3":"1352247424"},"map_files_photo_id_array":[{"photo_id":"1352247431","filename":"file5"},{"photo_id":"1352247421","filename":"file2"},{"photo_id":"1352247428","filename":"file4"},{"photo_id":"1352247417","filename":"file1"},{"photo_id":"1352247411","filename":"file0"},{"photo_id":"1352247424","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352247421":["hashtag1","hashtag2"]},{"1352247424":["hashtag1","hashtag2"]},{"1352247411":["hashtag1","hashtag2"]},{"1352247417":["hashtag1","hashtag2"]},{"1352247431":["hashtag1","hashtag2"]},{"1352247428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352247421, 1352247424, 1352247411, 1352247417, 1352247431, 1352247428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.967376708984375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:21:32.958942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/33/image_12042025_13_33_57_10361.jpg', '/home/pi/Desktop/images/12042025/13/33/image_12042025_13_34_06_9357.jpg', '/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_17_10350.jpg', '/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_27_10356.jpg', '/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_36_9355.jpg', '/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_47_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/33/image_12042025_13_33_57_10361.jpg
/home/pi/Desktop/images/12042025/13/33/image_12042025_13_34_06_9357.jpg
/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_17_10350.jpg
/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_27_10356.jpg
/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_36_9355.jpg
/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_47_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352247495","1352247450","1352247468","1352247447","1352247476","1352247490"],"photo_ids_order":["1352247447","1352247450","1352247468","1352247476","1352247490","1352247495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/567acb817577d723f0b7b9b5f5ad4196.jpg","text":"TemporaryFile(/tmp/multipartBody7500297947310245551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467753415,"filename":"image_12042025_13_34_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3491a2ac199e60e1262a4cd28a7d8b8f.jpg","text":"TemporaryFile(/tmp/multipartBody2263026201003775531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467753415,"filename":"image_12042025_13_34_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35aba663ba272b63ab275afd4307251c.jpg","text":"TemporaryFile(/tmp/multipartBody4874718855976772057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467753415,"filename":"image_12042025_13_34_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ade8f9ba986befbdd60d2606af23e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2123745812364845321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467753415,"filename":"image_12042025_13_33_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3ac9e88c58d3cebc0a97a208e7a1d32.jpg","text":"TemporaryFile(/tmp/multipartBody9042007351265647285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467753415,"filename":"image_12042025_13_34_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa91e2808c07e30cac0f331b4471ee67.jpg","text":"TemporaryFile(/tmp/multipartBody3542704304692415519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467753415,"filename":"image_12042025_13_34_36_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352247468","file1":"1352247450","file0":"1352247447","file4":"1352247490","file5":"1352247495","file3":"1352247476"},"map_files_photo_id_array":[{"photo_id":"1352247495","filename":"file5"},{"photo_id":"1352247468","filename":"file2"},{"photo_id":"1352247490","filename":"file4"},{"photo_id":"1352247450","filename":"file1"},{"photo_id":"1352247447","filename":"file0"},{"photo_id":"1352247476","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352247495":["hashtag1","hashtag2"]},{"1352247450":["hashtag1","hashtag2"]},{"1352247468":["hashtag1","hashtag2"]},{"1352247447":["hashtag1","hashtag2"]},{"1352247476":["hashtag1","hashtag2"]},{"1352247490":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352247495, 1352247450, 1352247468, 1352247447, 1352247476, 1352247490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.713191270828247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:22:33.029773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_56_9342.jpg', '/home/pi/Desktop/images/12042025/13/34/image_12042025_13_35_06_10393.jpg', '/home/pi/Desktop/images/12042025/13/35/image_12042025_13_35_37_10491.jpg', '/home/pi/Desktop/images/12042025/13/35/image_12042025_13_35_46_9375.jpg', '/home/pi/Desktop/images/12042025/13/35/image_12042025_13_35_57_10478.jpg', '/home/pi/Desktop/images/12042025/13/35/image_12042025_13_36_06_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/34/image_12042025_13_34_56_9342.jpg
/home/pi/Desktop/images/12042025/13/34/image_12042025_13_35_06_10393.jpg
/home/pi/Desktop/images/12042025/13/35/image_12042025_13_35_37_10491.jpg
/home/pi/Desktop/images/12042025/13/35/image_12042025_13_35_46_9375.jpg
/home/pi/Desktop/images/12042025/13/35/image_12042025_13_35_57_10478.jpg
/home/pi/Desktop/images/12042025/13/35/image_12042025_13_36_06_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352247535","1352247538","1352247572","1352247575","1352247518","1352247577"],"photo_ids_order":["1352247518","1352247535","1352247538","1352247572","1352247575","1352247577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f97e34475a2a1581c1d0665318b26311.jpg","text":"TemporaryFile(/tmp/multipartBody4552236969634480125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467813535,"filename":"image_12042025_13_35_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d327832046407b9b4464eea40f94fceb.jpg","text":"TemporaryFile(/tmp/multipartBody5123783852822689254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467813535,"filename":"image_12042025_13_35_37_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/166b9beebbc1a78608815eac0c9e3395.jpg","text":"TemporaryFile(/tmp/multipartBody8878118857124035547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467813535,"filename":"image_12042025_13_35_46_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efd0b4f4855f08ea9ba3de400935204f.jpg","text":"TemporaryFile(/tmp/multipartBody2511388220303358110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467813535,"filename":"image_12042025_13_35_57_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f016248fcb941abe3f209d29cd0f1dfe.jpg","text":"TemporaryFile(/tmp/multipartBody271277735984151355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467813535,"filename":"image_12042025_13_34_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f001a25ac769608ce3f6b2c1037eb73.jpg","text":"TemporaryFile(/tmp/multipartBody1401364029013520955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467813535,"filename":"image_12042025_13_36_06_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352247538","file1":"1352247535","file0":"1352247518","file4":"1352247575","file5":"1352247577","file3":"1352247572"},"map_files_photo_id_array":[{"photo_id":"1352247577","filename":"file5"},{"photo_id":"1352247538","filename":"file2"},{"photo_id":"1352247575","filename":"file4"},{"photo_id":"1352247535","filename":"file1"},{"photo_id":"1352247518","filename":"file0"},{"photo_id":"1352247572","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352247535":["hashtag1","hashtag2"]},{"1352247538":["hashtag1","hashtag2"]},{"1352247572":["hashtag1","hashtag2"]},{"1352247575":["hashtag1","hashtag2"]},{"1352247518":["hashtag1","hashtag2"]},{"1352247577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352247535, 1352247538, 1352247572, 1352247575, 1352247518, 1352247577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.506437301635742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:23:32.274744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/36/image_12042025_13_36_16_10446.jpg', '/home/pi/Desktop/images/12042025/13/36/image_12042025_13_36_27_10395.jpg', '/home/pi/Desktop/images/12042025/13/36/image_12042025_13_36_36_9352.jpg', '/home/pi/Desktop/images/12042025/13/36/image_12042025_13_36_57_10364.jpg', '/home/pi/Desktop/images/12042025/13/36/image_12042025_13_37_06_9344.jpg', '/home/pi/Desktop/images/12042025/13/37/image_12042025_13_37_17_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/36/image_12042025_13_36_16_10446.jpg
/home/pi/Desktop/images/12042025/13/36/image_12042025_13_36_27_10395.jpg
/home/pi/Desktop/images/12042025/13/36/image_12042025_13_36_36_9352.jpg
/home/pi/Desktop/images/12042025/13/36/image_12042025_13_36_57_10364.jpg
/home/pi/Desktop/images/12042025/13/36/image_12042025_13_37_06_9344.jpg
/home/pi/Desktop/images/12042025/13/37/image_12042025_13_37_17_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352247651","1352247629","1352247620","1352247623","1352247617","1352247626"],"photo_ids_order":["1352247617","1352247620","1352247623","1352247626","1352247629","1352247651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/702618296137cea82fa6204212bdd002.jpg","text":"TemporaryFile(/tmp/multipartBody8697839827591456809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467872729,"filename":"image_12042025_13_37_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17829c78b125c175e1488171043a13ac.jpg","text":"TemporaryFile(/tmp/multipartBody4726846781349666539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467872729,"filename":"image_12042025_13_37_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c8c604e51c9ef48e26d0ee444ed75db.jpg","text":"TemporaryFile(/tmp/multipartBody236288379510136288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467872729,"filename":"image_12042025_13_36_27_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef3d719a3acbc47b7f1c3b211d027318.jpg","text":"TemporaryFile(/tmp/multipartBody4948617834449061609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467872729,"filename":"image_12042025_13_36_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c34fc3db9e4f221a68bc3e5efa646334.jpg","text":"TemporaryFile(/tmp/multipartBody3308256757346207625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467872729,"filename":"image_12042025_13_36_16_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/433941e777b3ca42188413ff2b62c38e.jpg","text":"TemporaryFile(/tmp/multipartBody5535894368790932917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467872729,"filename":"image_12042025_13_36_57_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352247623","file1":"1352247620","file0":"1352247617","file4":"1352247629","file5":"1352247651","file3":"1352247626"},"map_files_photo_id_array":[{"photo_id":"1352247651","filename":"file5"},{"photo_id":"1352247623","filename":"file2"},{"photo_id":"1352247629","filename":"file4"},{"photo_id":"1352247620","filename":"file1"},{"photo_id":"1352247617","filename":"file0"},{"photo_id":"1352247626","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352247651":["hashtag1","hashtag2"]},{"1352247629":["hashtag1","hashtag2"]},{"1352247620":["hashtag1","hashtag2"]},{"1352247623":["hashtag1","hashtag2"]},{"1352247617":["hashtag1","hashtag2"]},{"1352247626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352247651, 1352247629, 1352247620, 1352247623, 1352247617, 1352247626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.311264514923096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:24:32.556237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/37/image_12042025_13_37_26_9348.jpg', '/home/pi/Desktop/images/12042025/13/37/image_12042025_13_37_36_10427.jpg', '/home/pi/Desktop/images/12042025/13/37/image_12042025_13_37_47_10376.jpg', '/home/pi/Desktop/images/12042025/13/37/image_12042025_13_38_07_10455.jpg', '/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_17_10338.jpg', '/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_26_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/37/image_12042025_13_37_26_9348.jpg
/home/pi/Desktop/images/12042025/13/37/image_12042025_13_37_36_10427.jpg
/home/pi/Desktop/images/12042025/13/37/image_12042025_13_37_47_10376.jpg
/home/pi/Desktop/images/12042025/13/37/image_12042025_13_38_07_10455.jpg
/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_17_10338.jpg
/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_26_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352247751","1352247690","1352247693","1352247717","1352247747","1352247743"],"photo_ids_order":["1352247690","1352247693","1352247717","1352247743","1352247747","1352247751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c35f3e012a5486b274fabbccb0a18fdb.jpg","text":"TemporaryFile(/tmp/multipartBody3130945694841894010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467933034,"filename":"image_12042025_13_38_26_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b46871dd3f0aaf819d88416bff89adc.jpg","text":"TemporaryFile(/tmp/multipartBody83676501732349893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467933034,"filename":"image_12042025_13_37_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de5b27ca8a66b45d33165120f39426f5.jpg","text":"TemporaryFile(/tmp/multipartBody3931113629158963671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467933034,"filename":"image_12042025_13_37_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5e10207c0ab187214eed642920901d4.jpg","text":"TemporaryFile(/tmp/multipartBody5715238601302531105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467933034,"filename":"image_12042025_13_37_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f6c2619f0b3128b7c2c913e74b2b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody2983433251417999487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467933034,"filename":"image_12042025_13_38_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbf0b67665f1eb3d63a462f663e1436e.jpg","text":"TemporaryFile(/tmp/multipartBody6308958252895893067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467933034,"filename":"image_12042025_13_38_07_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352247717","file1":"1352247693","file0":"1352247690","file4":"1352247747","file5":"1352247751","file3":"1352247743"},"map_files_photo_id_array":[{"photo_id":"1352247751","filename":"file5"},{"photo_id":"1352247717","filename":"file2"},{"photo_id":"1352247747","filename":"file4"},{"photo_id":"1352247693","filename":"file1"},{"photo_id":"1352247690","filename":"file0"},{"photo_id":"1352247743","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352247751":["hashtag1","hashtag2"]},{"1352247690":["hashtag1","hashtag2"]},{"1352247693":["hashtag1","hashtag2"]},{"1352247717":["hashtag1","hashtag2"]},{"1352247747":["hashtag1","hashtag2"]},{"1352247743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352247751, 1352247690, 1352247693, 1352247717, 1352247747, 1352247743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6242241859436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:25:32.808366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_37_10426.jpg', '/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_46_9352.jpg', '/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_56_10358.jpg', '/home/pi/Desktop/images/12042025/13/38/image_12042025_13_39_07_10344.jpg', '/home/pi/Desktop/images/12042025/13/39/image_12042025_13_39_16_9325.jpg', '/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_16_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_37_10426.jpg
/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_46_9352.jpg
/home/pi/Desktop/images/12042025/13/38/image_12042025_13_38_56_10358.jpg
/home/pi/Desktop/images/12042025/13/38/image_12042025_13_39_07_10344.jpg
/home/pi/Desktop/images/12042025/13/39/image_12042025_13_39_16_9325.jpg
/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_16_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352247834","1352247810","1352247887","1352247860","1352247800","1352247868"],"photo_ids_order":["1352247800","1352247810","1352247834","1352247860","1352247868","1352247887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c2c9a4894d18debaa5572fc4e4b909b.jpg","text":"TemporaryFile(/tmp/multipartBody2722259763261953698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467993270,"filename":"image_12042025_13_38_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8cf03267fc7f70c6f7b1f20eff40c52.jpg","text":"TemporaryFile(/tmp/multipartBody5031016459891837466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467993270,"filename":"image_12042025_13_38_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0db6fadda7c68dc0e83fe6c176b8a7d0.jpg","text":"TemporaryFile(/tmp/multipartBody2549981362265330196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467993270,"filename":"image_12042025_13_40_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/011b972b44e044b4ae64bef4dc6535ba.jpg","text":"TemporaryFile(/tmp/multipartBody6292805434208700704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467993270,"filename":"image_12042025_13_39_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/626848985e88f8017dc799aeb049023f.jpg","text":"TemporaryFile(/tmp/multipartBody8657449351571549949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467993270,"filename":"image_12042025_13_38_37_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd9196eb2a898eac2abfc2913c60e60e.jpg","text":"TemporaryFile(/tmp/multipartBody8145925544051783665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744467993270,"filename":"image_12042025_13_39_16_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352247834","file1":"1352247810","file0":"1352247800","file4":"1352247868","file5":"1352247887","file3":"1352247860"},"map_files_photo_id_array":[{"photo_id":"1352247887","filename":"file5"},{"photo_id":"1352247834","filename":"file2"},{"photo_id":"1352247868","filename":"file4"},{"photo_id":"1352247810","filename":"file1"},{"photo_id":"1352247800","filename":"file0"},{"photo_id":"1352247860","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352247834":["hashtag1","hashtag2"]},{"1352247810":["hashtag1","hashtag2"]},{"1352247887":["hashtag1","hashtag2"]},{"1352247860":["hashtag1","hashtag2"]},{"1352247800":["hashtag1","hashtag2"]},{"1352247868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352247834, 1352247810, 1352247887, 1352247860, 1352247800, 1352247868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84025430679321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:26:33.043505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_27_10362.jpg', '/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_36_9353.jpg', '/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_47_10440.jpg', '/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_56_9424.jpg', '/home/pi/Desktop/images/12042025/13/40/image_12042025_13_41_06_10376.jpg', '/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_17_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_27_10362.jpg
/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_36_9353.jpg
/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_47_10440.jpg
/home/pi/Desktop/images/12042025/13/40/image_12042025_13_40_56_9424.jpg
/home/pi/Desktop/images/12042025/13/40/image_12042025_13_41_06_10376.jpg
/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_17_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248027","1352248032","1352248017","1352248010","1352248021","1352248030"],"photo_ids_order":["1352248010","1352248017","1352248021","1352248027","1352248030","1352248032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ede9b3fa16b5f945256ffb8804927a19.jpg","text":"TemporaryFile(/tmp/multipartBody5617079606659303178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468053493,"filename":"image_12042025_13_40_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/362be76a5a11262ef90df8b8d1317eb2.jpg","text":"TemporaryFile(/tmp/multipartBody1199151539235212485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468053493,"filename":"image_12042025_13_41_17_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e1c56dc0ffba521f5f0a54eb56cb90c.jpg","text":"TemporaryFile(/tmp/multipartBody5292037613019806861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468053493,"filename":"image_12042025_13_40_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/184ced4ed2d86c88469e1d73fa3dc874.jpg","text":"TemporaryFile(/tmp/multipartBody2130944913286721403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468053493,"filename":"image_12042025_13_40_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a6988c909967ddc64db5eb1cf5b97b1.jpg","text":"TemporaryFile(/tmp/multipartBody2981485655236022752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468053493,"filename":"image_12042025_13_40_47_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/482e84d54fbde5f06138fae333cf210e.jpg","text":"TemporaryFile(/tmp/multipartBody4186887158008688298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468053493,"filename":"image_12042025_13_41_06_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248021","file1":"1352248017","file0":"1352248010","file4":"1352248030","file5":"1352248032","file3":"1352248027"},"map_files_photo_id_array":[{"photo_id":"1352248032","filename":"file5"},{"photo_id":"1352248021","filename":"file2"},{"photo_id":"1352248030","filename":"file4"},{"photo_id":"1352248017","filename":"file1"},{"photo_id":"1352248010","filename":"file0"},{"photo_id":"1352248027","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248027":["hashtag1","hashtag2"]},{"1352248032":["hashtag1","hashtag2"]},{"1352248017":["hashtag1","hashtag2"]},{"1352248010":["hashtag1","hashtag2"]},{"1352248021":["hashtag1","hashtag2"]},{"1352248030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248027, 1352248032, 1352248017, 1352248010, 1352248021, 1352248030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06178283691406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:27:33.299249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_26_9353.jpg', '/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_37_10426.jpg', '/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_46_9341.jpg', '/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_57_10535.jpg', '/home/pi/Desktop/images/12042025/13/41/image_12042025_13_42_07_10381.jpg', '/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_16_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_26_9353.jpg
/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_37_10426.jpg
/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_46_9341.jpg
/home/pi/Desktop/images/12042025/13/41/image_12042025_13_41_57_10535.jpg
/home/pi/Desktop/images/12042025/13/41/image_12042025_13_42_07_10381.jpg
/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_16_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248059","1352248070","1352248043","1352248049","1352248081","1352248045"],"photo_ids_order":["1352248043","1352248045","1352248049","1352248059","1352248070","1352248081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd8221f42a7501a9a649b2f15b4fea1f.jpg","text":"TemporaryFile(/tmp/multipartBody3279132599182657877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468113753,"filename":"image_12042025_13_41_57_10535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53a955133de47af6793f09ca0c50a888.jpg","text":"TemporaryFile(/tmp/multipartBody7569211962999087900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468113753,"filename":"image_12042025_13_42_07_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/977272c6f340e187c899f0dc9a29d9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5698521117440582784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468113753,"filename":"image_12042025_13_41_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7437f042ee8bb06e37ed4c4941722db.jpg","text":"TemporaryFile(/tmp/multipartBody964126914768066843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468113753,"filename":"image_12042025_13_41_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba9fb12ea2fe06d727946de92e12b133.jpg","text":"TemporaryFile(/tmp/multipartBody5960958394393297599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468113753,"filename":"image_12042025_13_42_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1172f78d929c2671a661d3424031402a.jpg","text":"TemporaryFile(/tmp/multipartBody1075633771491841150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468113753,"filename":"image_12042025_13_41_37_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248049","file1":"1352248045","file0":"1352248043","file4":"1352248070","file5":"1352248081","file3":"1352248059"},"map_files_photo_id_array":[{"photo_id":"1352248081","filename":"file5"},{"photo_id":"1352248049","filename":"file2"},{"photo_id":"1352248070","filename":"file4"},{"photo_id":"1352248045","filename":"file1"},{"photo_id":"1352248043","filename":"file0"},{"photo_id":"1352248059","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248059":["hashtag1","hashtag2"]},{"1352248070":["hashtag1","hashtag2"]},{"1352248043":["hashtag1","hashtag2"]},{"1352248049":["hashtag1","hashtag2"]},{"1352248081":["hashtag1","hashtag2"]},{"1352248045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248059, 1352248070, 1352248043, 1352248049, 1352248081, 1352248045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86594557762146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:28:32.497618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_27_10423.jpg', '/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_36_9344.jpg', '/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_46_10420.jpg', '/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_57_10429.jpg', '/home/pi/Desktop/images/12042025/13/42/image_12042025_13_43_06_9419.jpg', '/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_17_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_27_10423.jpg
/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_36_9344.jpg
/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_46_10420.jpg
/home/pi/Desktop/images/12042025/13/42/image_12042025_13_42_57_10429.jpg
/home/pi/Desktop/images/12042025/13/42/image_12042025_13_43_06_9419.jpg
/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_17_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248204","1352248191","1352248185","1352248173","1352248167","1352248195"],"photo_ids_order":["1352248167","1352248173","1352248185","1352248191","1352248195","1352248204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c6b99f7829f3e880f492420de90968e.jpg","text":"TemporaryFile(/tmp/multipartBody5568815703186877372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468172985,"filename":"image_12042025_13_43_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f57c1f09270d62476c6f4390e47b1c6.jpg","text":"TemporaryFile(/tmp/multipartBody5647384889661082802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468172985,"filename":"image_12042025_13_42_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1768baadbe2294b169d659b51224581a.jpg","text":"TemporaryFile(/tmp/multipartBody408853193652830243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468172985,"filename":"image_12042025_13_42_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97dfdbf4d0e92b57a79ecf0d793dd930.jpg","text":"TemporaryFile(/tmp/multipartBody6993876461121968723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468172985,"filename":"image_12042025_13_42_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35393cf6fc4d60ab9c3941c2b18f0626.jpg","text":"TemporaryFile(/tmp/multipartBody6140223970973600513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468172985,"filename":"image_12042025_13_42_27_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8534b2bc353adf7d986408995097a881.jpg","text":"TemporaryFile(/tmp/multipartBody6640528278629083436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468172985,"filename":"image_12042025_13_43_06_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248185","file1":"1352248173","file0":"1352248167","file4":"1352248195","file5":"1352248204","file3":"1352248191"},"map_files_photo_id_array":[{"photo_id":"1352248204","filename":"file5"},{"photo_id":"1352248185","filename":"file2"},{"photo_id":"1352248195","filename":"file4"},{"photo_id":"1352248173","filename":"file1"},{"photo_id":"1352248167","filename":"file0"},{"photo_id":"1352248191","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248204":["hashtag1","hashtag2"]},{"1352248191":["hashtag1","hashtag2"]},{"1352248185":["hashtag1","hashtag2"]},{"1352248173":["hashtag1","hashtag2"]},{"1352248167":["hashtag1","hashtag2"]},{"1352248195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248204, 1352248191, 1352248185, 1352248173, 1352248167, 1352248195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97322988510132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:29:32.866551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_26_9342.jpg', '/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_36_10474.jpg', '/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_47_10390.jpg', '/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_56_9357.jpg', '/home/pi/Desktop/images/12042025/13/43/image_12042025_13_44_07_10417.jpg', '/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_16_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_26_9342.jpg
/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_36_10474.jpg
/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_47_10390.jpg
/home/pi/Desktop/images/12042025/13/43/image_12042025_13_43_56_9357.jpg
/home/pi/Desktop/images/12042025/13/43/image_12042025_13_44_07_10417.jpg
/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_16_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248287","1352248263","1352248250","1352248247","1352248255","1352248309"],"photo_ids_order":["1352248247","1352248250","1352248255","1352248263","1352248287","1352248309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64b24ff8d51876c5ae1abf9bd1876015.jpg","text":"TemporaryFile(/tmp/multipartBody5215950457891931657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468233326,"filename":"image_12042025_13_44_07_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/637121655608abc4b256392d47d6e374.jpg","text":"TemporaryFile(/tmp/multipartBody8176720888365836255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468233326,"filename":"image_12042025_13_43_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f30698a2de5b6383b3d42e38c41f0b1.jpg","text":"TemporaryFile(/tmp/multipartBody7343857632382811215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468233326,"filename":"image_12042025_13_43_36_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9beee67b39589e386765ad1e17730b5.jpg","text":"TemporaryFile(/tmp/multipartBody4485744903305261655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468233326,"filename":"image_12042025_13_43_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5985dfa20f3dfb8457cd64026fbbe59b.jpg","text":"TemporaryFile(/tmp/multipartBody8443445332421093231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468233326,"filename":"image_12042025_13_43_47_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8be57df95fe09757ac8733e894fe79f7.jpg","text":"TemporaryFile(/tmp/multipartBody3188603571997354836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468233326,"filename":"image_12042025_13_44_16_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248255","file1":"1352248250","file0":"1352248247","file4":"1352248287","file5":"1352248309","file3":"1352248263"},"map_files_photo_id_array":[{"photo_id":"1352248309","filename":"file5"},{"photo_id":"1352248255","filename":"file2"},{"photo_id":"1352248287","filename":"file4"},{"photo_id":"1352248250","filename":"file1"},{"photo_id":"1352248247","filename":"file0"},{"photo_id":"1352248263","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248287":["hashtag1","hashtag2"]},{"1352248263":["hashtag1","hashtag2"]},{"1352248250":["hashtag1","hashtag2"]},{"1352248247":["hashtag1","hashtag2"]},{"1352248255":["hashtag1","hashtag2"]},{"1352248309":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248287, 1352248263, 1352248250, 1352248247, 1352248255, 1352248309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92624616622925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:30:33.115493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_26_10417.jpg', '/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_37_10465.jpg', '/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_46_9360.jpg', '/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_57_10449.jpg', '/home/pi/Desktop/images/12042025/13/44/image_12042025_13_45_06_9452.jpg', '/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_16_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_26_10417.jpg
/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_37_10465.jpg
/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_46_9360.jpg
/home/pi/Desktop/images/12042025/13/44/image_12042025_13_44_57_10449.jpg
/home/pi/Desktop/images/12042025/13/44/image_12042025_13_45_06_9452.jpg
/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_16_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248341","1352248323","1352248352","1352248349","1352248339","1352248333"],"photo_ids_order":["1352248323","1352248333","1352248339","1352248341","1352248349","1352248352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33f46e71310505ee020c80ff9a1cdd8f.jpg","text":"TemporaryFile(/tmp/multipartBody7819591171048512242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468293573,"filename":"image_12042025_13_44_57_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9995be111465ccbf223c77f771c7d74.jpg","text":"TemporaryFile(/tmp/multipartBody9007604255440551632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468293573,"filename":"image_12042025_13_44_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee80e3cc916df8f47aefc297bba5bf91.jpg","text":"TemporaryFile(/tmp/multipartBody9220459159185392501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468293573,"filename":"image_12042025_13_45_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/844418a365e4654d303a381cafff8200.jpg","text":"TemporaryFile(/tmp/multipartBody8642578520728939371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468293573,"filename":"image_12042025_13_45_06_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0123ef9facd020292a42f867c436a4e8.jpg","text":"TemporaryFile(/tmp/multipartBody2034955990703930993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468293573,"filename":"image_12042025_13_44_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad9bad29c6b840fddbc6c106a0066756.jpg","text":"TemporaryFile(/tmp/multipartBody2208869084815102933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468293573,"filename":"image_12042025_13_44_37_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248339","file1":"1352248333","file0":"1352248323","file4":"1352248349","file5":"1352248352","file3":"1352248341"},"map_files_photo_id_array":[{"photo_id":"1352248352","filename":"file5"},{"photo_id":"1352248339","filename":"file2"},{"photo_id":"1352248349","filename":"file4"},{"photo_id":"1352248333","filename":"file1"},{"photo_id":"1352248323","filename":"file0"},{"photo_id":"1352248341","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248341":["hashtag1","hashtag2"]},{"1352248323":["hashtag1","hashtag2"]},{"1352248352":["hashtag1","hashtag2"]},{"1352248349":["hashtag1","hashtag2"]},{"1352248339":["hashtag1","hashtag2"]},{"1352248333":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248341, 1352248323, 1352248352, 1352248349, 1352248339, 1352248333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09123659133911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:31:32.329093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_27_10366.jpg', '/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_36_9358.jpg', '/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_47_10382.jpg', '/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_56_9338.jpg', '/home/pi/Desktop/images/12042025/13/45/image_12042025_13_46_06_10435.jpg', '/home/pi/Desktop/images/12042025/13/46/image_12042025_13_46_26_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_27_10366.jpg
/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_36_9358.jpg
/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_47_10382.jpg
/home/pi/Desktop/images/12042025/13/45/image_12042025_13_45_56_9338.jpg
/home/pi/Desktop/images/12042025/13/45/image_12042025_13_46_06_10435.jpg
/home/pi/Desktop/images/12042025/13/46/image_12042025_13_46_26_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248370","1352248381","1352248375","1352248384","1352248378","1352248372"],"photo_ids_order":["1352248370","1352248372","1352248375","1352248378","1352248381","1352248384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cde76b3997bc8e7d5a85fc9db6df80a5.jpg","text":"TemporaryFile(/tmp/multipartBody8748697558767751340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468352796,"filename":"image_12042025_13_45_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/067d9316258929ac789e5802b7cf754a.jpg","text":"TemporaryFile(/tmp/multipartBody8490448691000861198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468352796,"filename":"image_12042025_13_46_06_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1efb0698407a571a885d0788b495dced.jpg","text":"TemporaryFile(/tmp/multipartBody7353148328717390791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468352796,"filename":"image_12042025_13_45_47_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0661a5d960e75502d129506c58d88e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3088120995662610428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468352796,"filename":"image_12042025_13_46_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/531caca5fe6d6f71cd923340be88ef58.jpg","text":"TemporaryFile(/tmp/multipartBody5303167531605474054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468352796,"filename":"image_12042025_13_45_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/840be4ff81688b0b0667353b0df17f6b.jpg","text":"TemporaryFile(/tmp/multipartBody5287516468522285751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468352796,"filename":"image_12042025_13_45_36_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248375","file1":"1352248372","file0":"1352248370","file4":"1352248381","file5":"1352248384","file3":"1352248378"},"map_files_photo_id_array":[{"photo_id":"1352248384","filename":"file5"},{"photo_id":"1352248375","filename":"file2"},{"photo_id":"1352248381","filename":"file4"},{"photo_id":"1352248372","filename":"file1"},{"photo_id":"1352248370","filename":"file0"},{"photo_id":"1352248378","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248370":["hashtag1","hashtag2"]},{"1352248381":["hashtag1","hashtag2"]},{"1352248375":["hashtag1","hashtag2"]},{"1352248384":["hashtag1","hashtag2"]},{"1352248378":["hashtag1","hashtag2"]},{"1352248372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248370, 1352248381, 1352248375, 1352248384, 1352248378, 1352248372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.433310747146606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:32:32.495293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/47/image_12042025_13_47_26_10361.jpg', '/home/pi/Desktop/images/12042025/13/47/image_12042025_13_47_37_10346.jpg', '/home/pi/Desktop/images/12042025/13/47/image_12042025_13_47_46_9372.jpg', '/home/pi/Desktop/images/12042025/13/47/image_12042025_13_47_57_10389.jpg', '/home/pi/Desktop/images/12042025/13/47/image_12042025_13_48_06_9423.jpg', '/home/pi/Desktop/images/12042025/13/48/image_12042025_13_48_16_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/47/image_12042025_13_47_26_10361.jpg
/home/pi/Desktop/images/12042025/13/47/image_12042025_13_47_37_10346.jpg
/home/pi/Desktop/images/12042025/13/47/image_12042025_13_47_46_9372.jpg
/home/pi/Desktop/images/12042025/13/47/image_12042025_13_47_57_10389.jpg
/home/pi/Desktop/images/12042025/13/47/image_12042025_13_48_06_9423.jpg
/home/pi/Desktop/images/12042025/13/48/image_12042025_13_48_16_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248504","1352248425","1352248499","1352248427","1352248430","1352248495"],"photo_ids_order":["1352248425","1352248427","1352248430","1352248495","1352248499","1352248504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98a5a245cc934b79ce1508ed7bb3c69c.jpg","text":"TemporaryFile(/tmp/multipartBody5036892074210535291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468412974,"filename":"image_12042025_13_48_16_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a76406fd5c189dfef486d89ef2cf207.jpg","text":"TemporaryFile(/tmp/multipartBody6968806616250481667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468412974,"filename":"image_12042025_13_47_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efb056fdc24a7f4440ed56f03132c81d.jpg","text":"TemporaryFile(/tmp/multipartBody1275452704549453580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468412974,"filename":"image_12042025_13_48_06_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9125548b4eb6d35213833f7194fe726.jpg","text":"TemporaryFile(/tmp/multipartBody3228401577291664077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468412974,"filename":"image_12042025_13_47_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b506ce44b0fdd98e233452edb90e88d0.jpg","text":"TemporaryFile(/tmp/multipartBody3801028814681676756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468412974,"filename":"image_12042025_13_47_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0dd92a76e14e3b7da3daf802f296535.jpg","text":"TemporaryFile(/tmp/multipartBody1294293721335530295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468412974,"filename":"image_12042025_13_47_57_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248430","file1":"1352248427","file0":"1352248425","file4":"1352248499","file5":"1352248504","file3":"1352248495"},"map_files_photo_id_array":[{"photo_id":"1352248504","filename":"file5"},{"photo_id":"1352248430","filename":"file2"},{"photo_id":"1352248499","filename":"file4"},{"photo_id":"1352248427","filename":"file1"},{"photo_id":"1352248425","filename":"file0"},{"photo_id":"1352248495","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248504":["hashtag1","hashtag2"]},{"1352248425":["hashtag1","hashtag2"]},{"1352248499":["hashtag1","hashtag2"]},{"1352248427":["hashtag1","hashtag2"]},{"1352248430":["hashtag1","hashtag2"]},{"1352248495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248504, 1352248425, 1352248499, 1352248427, 1352248430, 1352248495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49758219718933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:33:32.886011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/48/image_12042025_13_48_27_10362.jpg', '/home/pi/Desktop/images/12042025/13/48/image_12042025_13_48_56_9419.jpg', '/home/pi/Desktop/images/12042025/13/48/image_12042025_13_49_06_10477.jpg', '/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_17_10417.jpg', '/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_26_9342.jpg', '/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_37_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/48/image_12042025_13_48_27_10362.jpg
/home/pi/Desktop/images/12042025/13/48/image_12042025_13_48_56_9419.jpg
/home/pi/Desktop/images/12042025/13/48/image_12042025_13_49_06_10477.jpg
/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_17_10417.jpg
/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_26_9342.jpg
/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_37_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248522","1352248533","1352248530","1352248526","1352248535","1352248538"],"photo_ids_order":["1352248522","1352248526","1352248530","1352248533","1352248535","1352248538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43fdaa4d09b675d47c4dde13aa1ab317.jpg","text":"TemporaryFile(/tmp/multipartBody3537558828170348953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468473363,"filename":"image_12042025_13_48_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc66708783df547bc9a417adf0965692.jpg","text":"TemporaryFile(/tmp/multipartBody4085947435406749544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468473363,"filename":"image_12042025_13_49_17_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9350beac86840f1a0b8ec7f7e1b15c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7268360973296929483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468473363,"filename":"image_12042025_13_49_06_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0307dd95dd8e8dc3cdcea968be75f5fd.jpg","text":"TemporaryFile(/tmp/multipartBody8272875626655080517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468473363,"filename":"image_12042025_13_48_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34715de6e5e1cd897f3fbcc25cb8196b.jpg","text":"TemporaryFile(/tmp/multipartBody2384877487134939478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468473363,"filename":"image_12042025_13_49_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5cac4720f20fe25b9f520e1733f9227c.jpg","text":"TemporaryFile(/tmp/multipartBody8161077493109716022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468473363,"filename":"image_12042025_13_49_37_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248530","file1":"1352248526","file0":"1352248522","file4":"1352248535","file5":"1352248538","file3":"1352248533"},"map_files_photo_id_array":[{"photo_id":"1352248538","filename":"file5"},{"photo_id":"1352248530","filename":"file2"},{"photo_id":"1352248535","filename":"file4"},{"photo_id":"1352248526","filename":"file1"},{"photo_id":"1352248522","filename":"file0"},{"photo_id":"1352248533","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248522":["hashtag1","hashtag2"]},{"1352248533":["hashtag1","hashtag2"]},{"1352248530":["hashtag1","hashtag2"]},{"1352248526":["hashtag1","hashtag2"]},{"1352248535":["hashtag1","hashtag2"]},{"1352248538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248522, 1352248533, 1352248530, 1352248526, 1352248535, 1352248538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63407278060913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:34:33.090927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_46_9357.jpg', '/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_57_10522.jpg', '/home/pi/Desktop/images/12042025/13/49/image_12042025_13_50_06_9357.jpg', '/home/pi/Desktop/images/12042025/13/50/image_12042025_13_50_16_10332.jpg', '/home/pi/Desktop/images/12042025/13/50/image_12042025_13_50_27_10435.jpg', '/home/pi/Desktop/images/12042025/13/50/image_12042025_13_50_47_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_46_9357.jpg
/home/pi/Desktop/images/12042025/13/49/image_12042025_13_49_57_10522.jpg
/home/pi/Desktop/images/12042025/13/49/image_12042025_13_50_06_9357.jpg
/home/pi/Desktop/images/12042025/13/50/image_12042025_13_50_16_10332.jpg
/home/pi/Desktop/images/12042025/13/50/image_12042025_13_50_27_10435.jpg
/home/pi/Desktop/images/12042025/13/50/image_12042025_13_50_47_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248572","1352248566","1352248575","1352248569","1352248562","1352248561"],"photo_ids_order":["1352248561","1352248562","1352248566","1352248569","1352248572","1352248575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb4578831969dbb708c135d597632334.jpg","text":"TemporaryFile(/tmp/multipartBody8595506133023490793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468533540,"filename":"image_12042025_13_50_27_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88059975bdcbf012d5e9701823a7e2ac.jpg","text":"TemporaryFile(/tmp/multipartBody1217799922093415451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468533540,"filename":"image_12042025_13_50_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68facba855b5b936aef3433097f413d2.jpg","text":"TemporaryFile(/tmp/multipartBody2224966511484557932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468533540,"filename":"image_12042025_13_50_47_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d8acdf3d3e552be61d781df0022b5c8.jpg","text":"TemporaryFile(/tmp/multipartBody8901249585574526836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468533540,"filename":"image_12042025_13_50_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcfdb97a297ca358d1f4e86acd291d54.jpg","text":"TemporaryFile(/tmp/multipartBody1892537739697546980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468533540,"filename":"image_12042025_13_49_57_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e61421ea4b82ead49c83522e11557b4.jpg","text":"TemporaryFile(/tmp/multipartBody5744356350737260020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468533540,"filename":"image_12042025_13_49_46_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248566","file1":"1352248562","file0":"1352248561","file4":"1352248572","file5":"1352248575","file3":"1352248569"},"map_files_photo_id_array":[{"photo_id":"1352248575","filename":"file5"},{"photo_id":"1352248566","filename":"file2"},{"photo_id":"1352248572","filename":"file4"},{"photo_id":"1352248562","filename":"file1"},{"photo_id":"1352248561","filename":"file0"},{"photo_id":"1352248569","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248572":["hashtag1","hashtag2"]},{"1352248566":["hashtag1","hashtag2"]},{"1352248575":["hashtag1","hashtag2"]},{"1352248569":["hashtag1","hashtag2"]},{"1352248562":["hashtag1","hashtag2"]},{"1352248561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248572, 1352248566, 1352248575, 1352248569, 1352248562, 1352248561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76260161399841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:35:32.295973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/50/image_12042025_13_51_06_9352.jpg', '/home/pi/Desktop/images/12042025/13/51/image_12042025_13_51_17_10423.jpg', '/home/pi/Desktop/images/12042025/13/51/image_12042025_13_51_36_10450.jpg', '/home/pi/Desktop/images/12042025/13/51/image_12042025_13_51_47_10372.jpg', '/home/pi/Desktop/images/12042025/13/51/image_12042025_13_51_56_9362.jpg', '/home/pi/Desktop/images/12042025/13/52/image_12042025_13_52_16_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/50/image_12042025_13_51_06_9352.jpg
/home/pi/Desktop/images/12042025/13/51/image_12042025_13_51_17_10423.jpg
/home/pi/Desktop/images/12042025/13/51/image_12042025_13_51_36_10450.jpg
/home/pi/Desktop/images/12042025/13/51/image_12042025_13_51_47_10372.jpg
/home/pi/Desktop/images/12042025/13/51/image_12042025_13_51_56_9362.jpg
/home/pi/Desktop/images/12042025/13/52/image_12042025_13_52_16_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248599","1352248602","1352248595","1352248594","1352248597","1352248596"],"photo_ids_order":["1352248594","1352248595","1352248596","1352248597","1352248599","1352248602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91e801ffc1483e31870e90d9251676a9.jpg","text":"TemporaryFile(/tmp/multipartBody6546819423868442904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468592787,"filename":"image_12042025_13_51_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f3cd4eb331bbb8955793bf12fd5b2a4.jpg","text":"TemporaryFile(/tmp/multipartBody4510599834174702327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468592787,"filename":"image_12042025_13_52_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b320d70874ee693c8cadf2eceff46348.jpg","text":"TemporaryFile(/tmp/multipartBody2900222333639739615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468592787,"filename":"image_12042025_13_51_17_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f7b34213c86c2d29e3bfbe887e76072.jpg","text":"TemporaryFile(/tmp/multipartBody201404308880490458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468592787,"filename":"image_12042025_13_51_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3990f36f581f7ff5229552696ef53596.jpg","text":"TemporaryFile(/tmp/multipartBody3749410812580203128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468592787,"filename":"image_12042025_13_51_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62e39e6695f94e5dfe22cc19c701cf1d.jpg","text":"TemporaryFile(/tmp/multipartBody3918215910146675327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468592787,"filename":"image_12042025_13_51_36_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248596","file1":"1352248595","file0":"1352248594","file4":"1352248599","file5":"1352248602","file3":"1352248597"},"map_files_photo_id_array":[{"photo_id":"1352248602","filename":"file5"},{"photo_id":"1352248596","filename":"file2"},{"photo_id":"1352248599","filename":"file4"},{"photo_id":"1352248595","filename":"file1"},{"photo_id":"1352248594","filename":"file0"},{"photo_id":"1352248597","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248599":["hashtag1","hashtag2"]},{"1352248602":["hashtag1","hashtag2"]},{"1352248595":["hashtag1","hashtag2"]},{"1352248594":["hashtag1","hashtag2"]},{"1352248597":["hashtag1","hashtag2"]},{"1352248596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248599, 1352248602, 1352248595, 1352248594, 1352248597, 1352248596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38069438934326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:36:32.457372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/52/image_12042025_13_52_26_10416.jpg', '/home/pi/Desktop/images/12042025/13/52/image_12042025_13_52_37_10351.jpg', '/home/pi/Desktop/images/12042025/13/52/image_12042025_13_52_46_9338.jpg', '/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_16_10363.jpg', '/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_27_10439.jpg', '/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_36_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/52/image_12042025_13_52_26_10416.jpg
/home/pi/Desktop/images/12042025/13/52/image_12042025_13_52_37_10351.jpg
/home/pi/Desktop/images/12042025/13/52/image_12042025_13_52_46_9338.jpg
/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_16_10363.jpg
/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_27_10439.jpg
/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_36_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248621","1352248615","1352248613","1352248624","1352248618","1352248627"],"photo_ids_order":["1352248613","1352248615","1352248618","1352248621","1352248624","1352248627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9a4b4a2e15c2201fdb084fb2db23638.jpg","text":"TemporaryFile(/tmp/multipartBody8548629437661924997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468652933,"filename":"image_12042025_13_53_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79e5a50abcaeba957b24ac47a3809307.jpg","text":"TemporaryFile(/tmp/multipartBody4699060702191589673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468652933,"filename":"image_12042025_13_52_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6dd5ce47fdf543e450a3c475dd5d3663.jpg","text":"TemporaryFile(/tmp/multipartBody1710826774847396544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468652933,"filename":"image_12042025_13_52_26_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/faebd10ea639a51b78213788eec3366a.jpg","text":"TemporaryFile(/tmp/multipartBody633681364918716189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468652933,"filename":"image_12042025_13_53_27_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d99a5684b5276d7703ef5bfd470e0577.jpg","text":"TemporaryFile(/tmp/multipartBody5234576239278980270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468652933,"filename":"image_12042025_13_52_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7c7e0665f85476ec50fe2d124bcbaef.jpg","text":"TemporaryFile(/tmp/multipartBody1706871894693080838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468652933,"filename":"image_12042025_13_53_36_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248618","file1":"1352248615","file0":"1352248613","file4":"1352248624","file5":"1352248627","file3":"1352248621"},"map_files_photo_id_array":[{"photo_id":"1352248627","filename":"file5"},{"photo_id":"1352248618","filename":"file2"},{"photo_id":"1352248624","filename":"file4"},{"photo_id":"1352248615","filename":"file1"},{"photo_id":"1352248613","filename":"file0"},{"photo_id":"1352248621","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248621":["hashtag1","hashtag2"]},{"1352248615":["hashtag1","hashtag2"]},{"1352248613":["hashtag1","hashtag2"]},{"1352248624":["hashtag1","hashtag2"]},{"1352248618":["hashtag1","hashtag2"]},{"1352248627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248621, 1352248615, 1352248613, 1352248624, 1352248618, 1352248627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02654838562012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:37:32.878757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_47_10479.jpg', '/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_56_9386.jpg', '/home/pi/Desktop/images/12042025/13/53/image_12042025_13_54_06_10454.jpg', '/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_17_10387.jpg', '/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_26_9115.jpg', '/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_36_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_47_10479.jpg
/home/pi/Desktop/images/12042025/13/53/image_12042025_13_53_56_9386.jpg
/home/pi/Desktop/images/12042025/13/53/image_12042025_13_54_06_10454.jpg
/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_17_10387.jpg
/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_26_9115.jpg
/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_36_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248677","1352248680","1352248674","1352248667","1352248672","1352248669"],"photo_ids_order":["1352248667","1352248669","1352248672","1352248674","1352248677","1352248680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6765b88adc5e1aa042103ad3f4971d96.jpg","text":"TemporaryFile(/tmp/multipartBody7169452801076138629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468713331,"filename":"image_12042025_13_54_26_9115.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbcf135235757385a9ebdbed2fa15655.jpg","text":"TemporaryFile(/tmp/multipartBody1737472918148516337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468713331,"filename":"image_12042025_13_54_36_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6037717d49ab7acfb57fd066e09a31dc.jpg","text":"TemporaryFile(/tmp/multipartBody1169921144191879638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468713331,"filename":"image_12042025_13_54_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cedc270085aaffea730622fd914c1699.jpg","text":"TemporaryFile(/tmp/multipartBody5051656985386780021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468713331,"filename":"image_12042025_13_53_47_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df2d3a296a2319fa87ecab84aa27d52b.jpg","text":"TemporaryFile(/tmp/multipartBody5457446411291670900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468713331,"filename":"image_12042025_13_54_06_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/979d93c5533c334d324c9fb3d04c2209.jpg","text":"TemporaryFile(/tmp/multipartBody5111321355868484235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468713331,"filename":"image_12042025_13_53_56_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248672","file1":"1352248669","file0":"1352248667","file4":"1352248677","file5":"1352248680","file3":"1352248674"},"map_files_photo_id_array":[{"photo_id":"1352248680","filename":"file5"},{"photo_id":"1352248672","filename":"file2"},{"photo_id":"1352248677","filename":"file4"},{"photo_id":"1352248669","filename":"file1"},{"photo_id":"1352248667","filename":"file0"},{"photo_id":"1352248674","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248677":["hashtag1","hashtag2"]},{"1352248680":["hashtag1","hashtag2"]},{"1352248674":["hashtag1","hashtag2"]},{"1352248667":["hashtag1","hashtag2"]},{"1352248672":["hashtag1","hashtag2"]},{"1352248669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248677, 1352248680, 1352248674, 1352248667, 1352248672, 1352248669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.227628231048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:38:33.032482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_47_10378.jpg', '/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_56_9350.jpg', '/home/pi/Desktop/images/12042025/13/54/image_12042025_13_55_07_10474.jpg', '/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_16_9348.jpg', '/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_26_10351.jpg', '/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_37_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_47_10378.jpg
/home/pi/Desktop/images/12042025/13/54/image_12042025_13_54_56_9350.jpg
/home/pi/Desktop/images/12042025/13/54/image_12042025_13_55_07_10474.jpg
/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_16_9348.jpg
/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_26_10351.jpg
/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_37_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248701","1352248710","1352248704","1352248688","1352248690","1352248693"],"photo_ids_order":["1352248688","1352248690","1352248693","1352248701","1352248704","1352248710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/83f6cb26bf1c979174f2d975cc4721a9.jpg","text":"TemporaryFile(/tmp/multipartBody4424554507446187844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468773482,"filename":"image_12042025_13_55_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b249934b04a54407892fdb288f3641dd.jpg","text":"TemporaryFile(/tmp/multipartBody4292538948034008362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468773482,"filename":"image_12042025_13_55_37_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2dfe9bf3349e327e43f6f2f7ac42313.jpg","text":"TemporaryFile(/tmp/multipartBody7056020418847171733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468773482,"filename":"image_12042025_13_55_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69cd42ea53f04c1485171af41f70e54a.jpg","text":"TemporaryFile(/tmp/multipartBody331631330284226222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468773482,"filename":"image_12042025_13_54_47_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7db1870e10e5c0f195f2fddf137ba871.jpg","text":"TemporaryFile(/tmp/multipartBody4597657458898049869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468773482,"filename":"image_12042025_13_54_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8eb7a3e44e9c8addba460c6071b53184.jpg","text":"TemporaryFile(/tmp/multipartBody3228823756159605081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468773482,"filename":"image_12042025_13_55_07_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248693","file1":"1352248690","file0":"1352248688","file4":"1352248704","file5":"1352248710","file3":"1352248701"},"map_files_photo_id_array":[{"photo_id":"1352248710","filename":"file5"},{"photo_id":"1352248693","filename":"file2"},{"photo_id":"1352248704","filename":"file4"},{"photo_id":"1352248690","filename":"file1"},{"photo_id":"1352248688","filename":"file0"},{"photo_id":"1352248701","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248701":["hashtag1","hashtag2"]},{"1352248710":["hashtag1","hashtag2"]},{"1352248704":["hashtag1","hashtag2"]},{"1352248688":["hashtag1","hashtag2"]},{"1352248690":["hashtag1","hashtag2"]},{"1352248693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248701, 1352248710, 1352248704, 1352248688, 1352248690, 1352248693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11019206047058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:39:32.184558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_46_9345.jpg', '/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_56_10377.jpg', '/home/pi/Desktop/images/12042025/13/55/image_12042025_13_56_07_10367.jpg', '/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_16_9353.jpg', '/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_27_10401.jpg', '/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_36_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_46_9345.jpg
/home/pi/Desktop/images/12042025/13/55/image_12042025_13_55_56_10377.jpg
/home/pi/Desktop/images/12042025/13/55/image_12042025_13_56_07_10367.jpg
/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_16_9353.jpg
/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_27_10401.jpg
/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_36_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248758","1352248761","1352248763","1352248751","1352248754","1352248747"],"photo_ids_order":["1352248747","1352248751","1352248754","1352248758","1352248761","1352248763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2856026c311c714a2b412f597af8921e.jpg","text":"TemporaryFile(/tmp/multipartBody7976137796302127940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468832634,"filename":"image_12042025_13_56_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1998b1572953860c8f9296af6cac4026.jpg","text":"TemporaryFile(/tmp/multipartBody4180463626949474122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468832634,"filename":"image_12042025_13_56_27_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3a68b8c7aa5ee3c17a0ba55ec177bd2.jpg","text":"TemporaryFile(/tmp/multipartBody2297518758196470556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468832634,"filename":"image_12042025_13_56_36_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b5094951c488f9b5d737b8586e4037c.jpg","text":"TemporaryFile(/tmp/multipartBody3222805528375142236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468832634,"filename":"image_12042025_13_55_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3908fd4c9e3b21b2da6bad92649a09ce.jpg","text":"TemporaryFile(/tmp/multipartBody6707629415081411921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468832634,"filename":"image_12042025_13_56_07_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1617f32917cb2c91c5eb10a6ac6c0519.jpg","text":"TemporaryFile(/tmp/multipartBody2737675385776738758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468832634,"filename":"image_12042025_13_55_46_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248754","file1":"1352248751","file0":"1352248747","file4":"1352248761","file5":"1352248763","file3":"1352248758"},"map_files_photo_id_array":[{"photo_id":"1352248763","filename":"file5"},{"photo_id":"1352248754","filename":"file2"},{"photo_id":"1352248761","filename":"file4"},{"photo_id":"1352248751","filename":"file1"},{"photo_id":"1352248747","filename":"file0"},{"photo_id":"1352248758","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248758":["hashtag1","hashtag2"]},{"1352248761":["hashtag1","hashtag2"]},{"1352248763":["hashtag1","hashtag2"]},{"1352248751":["hashtag1","hashtag2"]},{"1352248754":["hashtag1","hashtag2"]},{"1352248747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248758, 1352248761, 1352248763, 1352248751, 1352248754, 1352248747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90334105491638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:40:32.648493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_46_10437.jpg', '/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_57_10357.jpg', '/home/pi/Desktop/images/12042025/13/56/image_12042025_13_57_06_9354.jpg', '/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_16_10368.jpg', '/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_27_10365.jpg', '/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_36_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_46_10437.jpg
/home/pi/Desktop/images/12042025/13/56/image_12042025_13_56_57_10357.jpg
/home/pi/Desktop/images/12042025/13/56/image_12042025_13_57_06_9354.jpg
/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_16_10368.jpg
/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_27_10365.jpg
/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_36_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248807","1352248782","1352248770","1352248773","1352248793","1352248778"],"photo_ids_order":["1352248770","1352248773","1352248778","1352248782","1352248793","1352248807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c13102249d80586ca2491c930f804d8c.jpg","text":"TemporaryFile(/tmp/multipartBody8314778404201629261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468893107,"filename":"image_12042025_13_57_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad92b6398505c923b72356e132dcbe82.jpg","text":"TemporaryFile(/tmp/multipartBody782505942294866130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468893107,"filename":"image_12042025_13_57_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fec8d093cc6650550c7383a37cbb87d3.jpg","text":"TemporaryFile(/tmp/multipartBody6582785599086458738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468893107,"filename":"image_12042025_13_56_46_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68c08adddd5450525452367a5784826c.jpg","text":"TemporaryFile(/tmp/multipartBody7953038804797380171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468893107,"filename":"image_12042025_13_56_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ca6eee607afa1b875566feb95110047.jpg","text":"TemporaryFile(/tmp/multipartBody1945471045736860673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468893107,"filename":"image_12042025_13_57_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c4e29b589fde5b75d5c9914b88f9e89.jpg","text":"TemporaryFile(/tmp/multipartBody3960577613518288647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468893107,"filename":"image_12042025_13_57_06_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248778","file1":"1352248773","file0":"1352248770","file4":"1352248793","file5":"1352248807","file3":"1352248782"},"map_files_photo_id_array":[{"photo_id":"1352248807","filename":"file5"},{"photo_id":"1352248778","filename":"file2"},{"photo_id":"1352248793","filename":"file4"},{"photo_id":"1352248773","filename":"file1"},{"photo_id":"1352248770","filename":"file0"},{"photo_id":"1352248782","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248807":["hashtag1","hashtag2"]},{"1352248782":["hashtag1","hashtag2"]},{"1352248770":["hashtag1","hashtag2"]},{"1352248773":["hashtag1","hashtag2"]},{"1352248793":["hashtag1","hashtag2"]},{"1352248778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248807, 1352248782, 1352248770, 1352248773, 1352248793, 1352248778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91201734542847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:41:32.814104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_47_10517.jpg', '/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_56_9341.jpg', '/home/pi/Desktop/images/12042025/13/57/image_12042025_13_58_06_10396.jpg', '/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_17_10410.jpg', '/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_26_9494.jpg', '/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_37_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_47_10517.jpg
/home/pi/Desktop/images/12042025/13/57/image_12042025_13_57_56_9341.jpg
/home/pi/Desktop/images/12042025/13/57/image_12042025_13_58_06_10396.jpg
/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_17_10410.jpg
/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_26_9494.jpg
/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_37_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352248848","1352248892","1352248883","1352248951","1352248888","1352248948"],"photo_ids_order":["1352248848","1352248883","1352248888","1352248892","1352248948","1352248951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/343b97b37e748f7bfde2d9d313fbad53.jpg","text":"TemporaryFile(/tmp/multipartBody5816853459844167976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468953271,"filename":"image_12042025_13_57_47_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8aba26887a61185bb878d9e56b5b2614.jpg","text":"TemporaryFile(/tmp/multipartBody2773511342810161965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468953271,"filename":"image_12042025_13_58_17_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac7c71f66ed53954a66ef9174b46ba3a.jpg","text":"TemporaryFile(/tmp/multipartBody697562297243048361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468953271,"filename":"image_12042025_13_57_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a7d65179fbe6941fd37c85471c7eba5.jpg","text":"TemporaryFile(/tmp/multipartBody5047475761963408449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468953271,"filename":"image_12042025_13_58_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb3dd61a2644dd68afd3ee18443235ad.jpg","text":"TemporaryFile(/tmp/multipartBody5600216421415067552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468953271,"filename":"image_12042025_13_58_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d1f304fa579a72c78e7386e798323f4.jpg","text":"TemporaryFile(/tmp/multipartBody3169679819024904349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744468953271,"filename":"image_12042025_13_58_26_9494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352248888","file1":"1352248883","file0":"1352248848","file4":"1352248948","file5":"1352248951","file3":"1352248892"},"map_files_photo_id_array":[{"photo_id":"1352248951","filename":"file5"},{"photo_id":"1352248888","filename":"file2"},{"photo_id":"1352248948","filename":"file4"},{"photo_id":"1352248883","filename":"file1"},{"photo_id":"1352248848","filename":"file0"},{"photo_id":"1352248892","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352248848":["hashtag1","hashtag2"]},{"1352248892":["hashtag1","hashtag2"]},{"1352248883":["hashtag1","hashtag2"]},{"1352248951":["hashtag1","hashtag2"]},{"1352248888":["hashtag1","hashtag2"]},{"1352248948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352248848, 1352248892, 1352248883, 1352248951, 1352248888, 1352248948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.588306188583374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:42:33.233506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_46_9349.jpg', '/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_56_10364.jpg', '/home/pi/Desktop/images/12042025/13/58/image_12042025_13_59_07_10441.jpg', '/home/pi/Desktop/images/12042025/13/59/image_12042025_13_59_16_9338.jpg', '/home/pi/Desktop/images/12042025/13/59/image_12042025_13_59_27_10430.jpg', '/home/pi/Desktop/images/12042025/13/59/image_12042025_13_59_47_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_46_9349.jpg
/home/pi/Desktop/images/12042025/13/58/image_12042025_13_58_56_10364.jpg
/home/pi/Desktop/images/12042025/13/58/image_12042025_13_59_07_10441.jpg
/home/pi/Desktop/images/12042025/13/59/image_12042025_13_59_16_9338.jpg
/home/pi/Desktop/images/12042025/13/59/image_12042025_13_59_27_10430.jpg
/home/pi/Desktop/images/12042025/13/59/image_12042025_13_59_47_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249024","1352249027","1352249290","1352249032","1352249227","1352249091"],"photo_ids_order":["1352249024","1352249027","1352249032","1352249091","1352249227","1352249290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3c13ae1a9b21631c4802836fdb67d41.jpg","text":"TemporaryFile(/tmp/multipartBody682648303695824786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469013678,"filename":"image_12042025_13_58_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d4f47a769552e610f63a0a5f51a2d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6439102373682252494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469013678,"filename":"image_12042025_13_58_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b49dc36b537db8401d3c7d02657f84b.jpg","text":"TemporaryFile(/tmp/multipartBody931864826107768587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469013678,"filename":"image_12042025_13_59_47_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fe77e402523804c391c17bce8a7c6a6.jpg","text":"TemporaryFile(/tmp/multipartBody7482387549890325935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469013678,"filename":"image_12042025_13_59_07_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1412b16a76fccce685e9af73d4ebe7b0.jpg","text":"TemporaryFile(/tmp/multipartBody4570296234149142630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469013678,"filename":"image_12042025_13_59_27_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d5e484cc56523c925b9ab0bbf23b8a7.jpg","text":"TemporaryFile(/tmp/multipartBody2955193229107318911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469013678,"filename":"image_12042025_13_59_16_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249032","file1":"1352249027","file0":"1352249024","file4":"1352249227","file5":"1352249290","file3":"1352249091"},"map_files_photo_id_array":[{"photo_id":"1352249290","filename":"file5"},{"photo_id":"1352249032","filename":"file2"},{"photo_id":"1352249227","filename":"file4"},{"photo_id":"1352249027","filename":"file1"},{"photo_id":"1352249024","filename":"file0"},{"photo_id":"1352249091","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352249024":["hashtag1","hashtag2"]},{"1352249027":["hashtag1","hashtag2"]},{"1352249290":["hashtag1","hashtag2"]},{"1352249032":["hashtag1","hashtag2"]},{"1352249227":["hashtag1","hashtag2"]},{"1352249091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352249024, 1352249027, 1352249290, 1352249032, 1352249227, 1352249091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26158022880554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:43:32.348508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/13/59/image_12042025_13_59_56_9382.jpg', '/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_16_10073.jpg', '/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_27_10435.jpg', '/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_37_10348.jpg', '/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_47_9483.jpg', '/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_57_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/13/59/image_12042025_13_59_56_9382.jpg
/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_16_10073.jpg
/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_27_10435.jpg
/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_37_10348.jpg
/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_47_9483.jpg
/home/pi/Desktop/images/12042025/14/00/image_12042025_14_00_57_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249460","1352249474","1352249468","1352249498","1352249510","1352249437"],"photo_ids_order":["1352249437","1352249460","1352249468","1352249474","1352249498","1352249510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5607418301c534b21fa1d2e7e0acfd0c.jpg","text":"TemporaryFile(/tmp/multipartBody8642030302915516700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469072804,"filename":"image_12042025_14_00_16_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/082ada3cfb6a36c470ae030155cf3dac.jpg","text":"TemporaryFile(/tmp/multipartBody7880621009193022186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469072804,"filename":"image_12042025_14_00_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efed17c23b6dffc06be1774d90805f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2299140047566672439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469072804,"filename":"image_12042025_14_00_27_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cca87185aca2e906bc191d29cf180fe.jpg","text":"TemporaryFile(/tmp/multipartBody1124850468982929700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469072804,"filename":"image_12042025_14_00_47_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/72b68b794befc8525f00dbc2d54e1348.jpg","text":"TemporaryFile(/tmp/multipartBody2264177181192931839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469072804,"filename":"image_12042025_14_00_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7440a3d4a027b8d466b54107b38ed1b8.jpg","text":"TemporaryFile(/tmp/multipartBody6011250794823473784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469072804,"filename":"image_12042025_13_59_56_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249468","file1":"1352249460","file0":"1352249437","file4":"1352249498","file5":"1352249510","file3":"1352249474"},"map_files_photo_id_array":[{"photo_id":"1352249510","filename":"file5"},{"photo_id":"1352249468","filename":"file2"},{"photo_id":"1352249498","filename":"file4"},{"photo_id":"1352249460","filename":"file1"},{"photo_id":"1352249437","filename":"file0"},{"photo_id":"1352249474","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352249460":["hashtag1","hashtag2"]},{"1352249474":["hashtag1","hashtag2"]},{"1352249468":["hashtag1","hashtag2"]},{"1352249498":["hashtag1","hashtag2"]},{"1352249510":["hashtag1","hashtag2"]},{"1352249437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352249460, 1352249474, 1352249468, 1352249498, 1352249510, 1352249437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67608022689819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:44:32.550603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/00/image_12042025_14_01_06_9383.jpg', '/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_17_10421.jpg', '/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_27_10360.jpg', '/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_37_9480.jpg', '/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_47_10355.jpg', '/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_56_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/00/image_12042025_14_01_06_9383.jpg
/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_17_10421.jpg
/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_27_10360.jpg
/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_37_9480.jpg
/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_47_10355.jpg
/home/pi/Desktop/images/12042025/14/01/image_12042025_14_01_56_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249652","1352249631","1352249648","1352249645","1352249639","1352249635"],"photo_ids_order":["1352249631","1352249635","1352249639","1352249645","1352249648","1352249652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba4103241b2e4f33f5be411482090903.jpg","text":"TemporaryFile(/tmp/multipartBody8504593588491103245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469133024,"filename":"image_12042025_14_01_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ef97e697b7c9e84f88f00c42e4f7042.jpg","text":"TemporaryFile(/tmp/multipartBody8145394670200352980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469133024,"filename":"image_12042025_14_01_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08113244040e6fa82f71fa2da01ecff7.jpg","text":"TemporaryFile(/tmp/multipartBody4993901835088836202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469133024,"filename":"image_12042025_14_01_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84b4ff0a719811111addb4f2fd325ebe.jpg","text":"TemporaryFile(/tmp/multipartBody839422924552946402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469133024,"filename":"image_12042025_14_01_37_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/869fbb2dbb17781b6432c2843cc1f952.jpg","text":"TemporaryFile(/tmp/multipartBody3831265524952641040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469133024,"filename":"image_12042025_14_01_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1e4e2477b6ee46f91df8d293acdcdca.jpg","text":"TemporaryFile(/tmp/multipartBody7931122279172906078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469133024,"filename":"image_12042025_14_01_17_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249639","file1":"1352249635","file0":"1352249631","file4":"1352249648","file5":"1352249652","file3":"1352249645"},"map_files_photo_id_array":[{"photo_id":"1352249652","filename":"file5"},{"photo_id":"1352249639","filename":"file2"},{"photo_id":"1352249648","filename":"file4"},{"photo_id":"1352249635","filename":"file1"},{"photo_id":"1352249631","filename":"file0"},{"photo_id":"1352249645","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352249652":["hashtag1","hashtag2"]},{"1352249631":["hashtag1","hashtag2"]},{"1352249648":["hashtag1","hashtag2"]},{"1352249645":["hashtag1","hashtag2"]},{"1352249639":["hashtag1","hashtag2"]},{"1352249635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352249652, 1352249631, 1352249648, 1352249645, 1352249639, 1352249635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.564884185791016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:45:32.969136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/01/image_12042025_14_02_07_10507.jpg', '/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_17_10380.jpg', '/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_27_9462.jpg', '/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_37_10355.jpg', '/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_46_9343.jpg', '/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_57_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/01/image_12042025_14_02_07_10507.jpg
/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_17_10380.jpg
/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_27_9462.jpg
/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_37_10355.jpg
/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_46_9343.jpg
/home/pi/Desktop/images/12042025/14/02/image_12042025_14_02_57_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249712","1352249715","1352249700","1352249703","1352249717","1352249707"],"photo_ids_order":["1352249700","1352249703","1352249707","1352249712","1352249715","1352249717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e73a828401e4a0ccb55c801c87aeb3d.jpg","text":"TemporaryFile(/tmp/multipartBody5344646316772100930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469193428,"filename":"image_12042025_14_02_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba9884f133c39e225ec9ebf07bff2d32.jpg","text":"TemporaryFile(/tmp/multipartBody4285542996255573191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469193428,"filename":"image_12042025_14_02_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/408bac10495234bb19949b0c0abf1c3a.jpg","text":"TemporaryFile(/tmp/multipartBody5895268531130457841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469193428,"filename":"image_12042025_14_02_07_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c9b8eefa4c66f09810b83973ff1ab3d.jpg","text":"TemporaryFile(/tmp/multipartBody3194446070728364926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469193428,"filename":"image_12042025_14_02_17_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c58b5d4b68c3c97cd045be08f134235c.jpg","text":"TemporaryFile(/tmp/multipartBody6318061880331732694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469193428,"filename":"image_12042025_14_02_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/995d84c0b96b2bae29bf6fb4ea704d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6915827057970816533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469193428,"filename":"image_12042025_14_02_27_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249707","file1":"1352249703","file0":"1352249700","file4":"1352249715","file5":"1352249717","file3":"1352249712"},"map_files_photo_id_array":[{"photo_id":"1352249717","filename":"file5"},{"photo_id":"1352249707","filename":"file2"},{"photo_id":"1352249715","filename":"file4"},{"photo_id":"1352249703","filename":"file1"},{"photo_id":"1352249700","filename":"file0"},{"photo_id":"1352249712","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352249712":["hashtag1","hashtag2"]},{"1352249715":["hashtag1","hashtag2"]},{"1352249700":["hashtag1","hashtag2"]},{"1352249703":["hashtag1","hashtag2"]},{"1352249717":["hashtag1","hashtag2"]},{"1352249707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352249712, 1352249715, 1352249700, 1352249703, 1352249717, 1352249707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.519158601760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:46:33.181080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/02/image_12042025_14_03_07_10353.jpg', '/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_16_9470.jpg', '/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_27_10369.jpg', '/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_36_9357.jpg', '/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_47_10398.jpg', '/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_57_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/02/image_12042025_14_03_07_10353.jpg
/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_16_9470.jpg
/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_27_10369.jpg
/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_36_9357.jpg
/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_47_10398.jpg
/home/pi/Desktop/images/12042025/14/03/image_12042025_14_03_57_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249783","1352249786","1352249782","1352249788","1352249790","1352249784"],"photo_ids_order":["1352249782","1352249783","1352249784","1352249786","1352249788","1352249790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c72f48ecb1240ccb6a39a04f93e7027.jpg","text":"TemporaryFile(/tmp/multipartBody6922156742669314596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469253629,"filename":"image_12042025_14_03_16_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/118d33522bdb0a09875e4574c4a7f076.jpg","text":"TemporaryFile(/tmp/multipartBody4516763702688483074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469253629,"filename":"image_12042025_14_03_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5162ed4a450277f4736925b1884ff013.jpg","text":"TemporaryFile(/tmp/multipartBody991366096453564711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469253629,"filename":"image_12042025_14_03_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b54eb0fa76836eb3b99f8e80a2bd8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6582481292205486485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469253629,"filename":"image_12042025_14_03_47_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fcc9b3a361e68f08e6c5291cf4de26ed.jpg","text":"TemporaryFile(/tmp/multipartBody2953486692638108526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469253629,"filename":"image_12042025_14_03_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df97aac7ccd9685d7cb5d41964a8ffdd.jpg","text":"TemporaryFile(/tmp/multipartBody1020509029628404176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469253629,"filename":"image_12042025_14_03_27_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249784","file1":"1352249783","file0":"1352249782","file4":"1352249788","file5":"1352249790","file3":"1352249786"},"map_files_photo_id_array":[{"photo_id":"1352249790","filename":"file5"},{"photo_id":"1352249784","filename":"file2"},{"photo_id":"1352249788","filename":"file4"},{"photo_id":"1352249783","filename":"file1"},{"photo_id":"1352249782","filename":"file0"},{"photo_id":"1352249786","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352249783":["hashtag1","hashtag2"]},{"1352249786":["hashtag1","hashtag2"]},{"1352249782":["hashtag1","hashtag2"]},{"1352249788":["hashtag1","hashtag2"]},{"1352249790":["hashtag1","hashtag2"]},{"1352249784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352249783, 1352249786, 1352249782, 1352249788, 1352249790, 1352249784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18946552276611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:47:32.435911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/03/image_12042025_14_04_06_9421.jpg', '/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_17_10349.jpg', '/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_26_9458.jpg', '/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_37_10465.jpg', '/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_47_10409.jpg', '/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_56_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/03/image_12042025_14_04_06_9421.jpg
/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_17_10349.jpg
/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_26_9458.jpg
/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_37_10465.jpg
/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_47_10409.jpg
/home/pi/Desktop/images/12042025/14/04/image_12042025_14_04_56_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249844","1352249808","1352249822","1352249825","1352249819","1352249856"],"photo_ids_order":["1352249808","1352249819","1352249822","1352249825","1352249844","1352249856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e97f43ba39aaac54f9723e0ed646e48.jpg","text":"TemporaryFile(/tmp/multipartBody7261866044293745207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469312900,"filename":"image_12042025_14_04_47_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c255fd18fc77ae6b09fe230fda099fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8694652139104186356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469312900,"filename":"image_12042025_14_04_06_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43489aa3b69eccb6d5f0e62468422a48.jpg","text":"TemporaryFile(/tmp/multipartBody1638530533148426950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469312900,"filename":"image_12042025_14_04_26_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07b47238a54cf388a0b816e50ef99a15.jpg","text":"TemporaryFile(/tmp/multipartBody5210785865783018800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469312900,"filename":"image_12042025_14_04_37_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/182012c7e87f0c05ce6cdd167d00c9f0.jpg","text":"TemporaryFile(/tmp/multipartBody1847025545642342289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469312900,"filename":"image_12042025_14_04_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4227c1657594f33cbf7ef2235fae9484.jpg","text":"TemporaryFile(/tmp/multipartBody3564485394663229920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469312900,"filename":"image_12042025_14_04_56_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249822","file1":"1352249819","file0":"1352249808","file4":"1352249844","file5":"1352249856","file3":"1352249825"},"map_files_photo_id_array":[{"photo_id":"1352249856","filename":"file5"},{"photo_id":"1352249822","filename":"file2"},{"photo_id":"1352249844","filename":"file4"},{"photo_id":"1352249819","filename":"file1"},{"photo_id":"1352249808","filename":"file0"},{"photo_id":"1352249825","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352249844":["hashtag1","hashtag2"]},{"1352249808":["hashtag1","hashtag2"]},{"1352249822":["hashtag1","hashtag2"]},{"1352249825":["hashtag1","hashtag2"]},{"1352249819":["hashtag1","hashtag2"]},{"1352249856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352249844, 1352249808, 1352249822, 1352249825, 1352249819, 1352249856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.510029792785645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:48:32.665293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/04/image_12042025_14_05_07_10349.jpg', '/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_17_10346.jpg', '/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_26_9356.jpg', '/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_37_10421.jpg', '/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_46_9347.jpg', '/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_57_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/04/image_12042025_14_05_07_10349.jpg
/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_17_10346.jpg
/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_26_9356.jpg
/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_37_10421.jpg
/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_46_9347.jpg
/home/pi/Desktop/images/12042025/14/05/image_12042025_14_05_57_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352249958","1352249928","1352249963","1352249930","1352249944","1352249961"],"photo_ids_order":["1352249928","1352249930","1352249944","1352249958","1352249961","1352249963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3548e61da0967b5446e23e9c18a58d20.jpg","text":"TemporaryFile(/tmp/multipartBody6889277835818359217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469373124,"filename":"image_12042025_14_05_37_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3bb3dc024aa168e272afdda551202a0.jpg","text":"TemporaryFile(/tmp/multipartBody8045746687774452972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469373124,"filename":"image_12042025_14_05_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d939a1aae1e8bb84452b4dea319e2631.jpg","text":"TemporaryFile(/tmp/multipartBody179046275081586776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469373124,"filename":"image_12042025_14_05_57_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b382137c134951267d8205604323cba.jpg","text":"TemporaryFile(/tmp/multipartBody4025787917184791793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469373124,"filename":"image_12042025_14_05_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca8881abf5789c96e098a0174fe44995.jpg","text":"TemporaryFile(/tmp/multipartBody4168098537179053787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469373124,"filename":"image_12042025_14_05_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48755b640c5c7fd60e47e641fb3d1b1e.jpg","text":"TemporaryFile(/tmp/multipartBody877416206250419578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469373124,"filename":"image_12042025_14_05_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352249944","file1":"1352249930","file0":"1352249928","file4":"1352249961","file5":"1352249963","file3":"1352249958"},"map_files_photo_id_array":[{"photo_id":"1352249963","filename":"file5"},{"photo_id":"1352249944","filename":"file2"},{"photo_id":"1352249961","filename":"file4"},{"photo_id":"1352249930","filename":"file1"},{"photo_id":"1352249928","filename":"file0"},{"photo_id":"1352249958","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352249958":["hashtag1","hashtag2"]},{"1352249928":["hashtag1","hashtag2"]},{"1352249963":["hashtag1","hashtag2"]},{"1352249930":["hashtag1","hashtag2"]},{"1352249944":["hashtag1","hashtag2"]},{"1352249961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352249958, 1352249928, 1352249963, 1352249930, 1352249944, 1352249961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.92693257331848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:49:33.005778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/05/image_12042025_14_06_07_10445.jpg', '/home/pi/Desktop/images/12042025/14/06/image_12042025_14_06_17_9458.jpg', '/home/pi/Desktop/images/12042025/14/06/image_12042025_14_06_27_10371.jpg', '/home/pi/Desktop/images/12042025/14/06/image_12042025_14_06_36_9477.jpg', '/home/pi/Desktop/images/12042025/14/06/image_12042025_14_06_56_9385.jpg', '/home/pi/Desktop/images/12042025/14/06/image_12042025_14_07_07_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/05/image_12042025_14_06_07_10445.jpg
/home/pi/Desktop/images/12042025/14/06/image_12042025_14_06_17_9458.jpg
/home/pi/Desktop/images/12042025/14/06/image_12042025_14_06_27_10371.jpg
/home/pi/Desktop/images/12042025/14/06/image_12042025_14_06_36_9477.jpg
/home/pi/Desktop/images/12042025/14/06/image_12042025_14_06_56_9385.jpg
/home/pi/Desktop/images/12042025/14/06/image_12042025_14_07_07_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250022","1352250016","1352250012","1352250029","1352250014","1352250070"],"photo_ids_order":["1352250012","1352250014","1352250016","1352250022","1352250029","1352250070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f84f75c0329930dfcd5c9af6cd3bb1f.jpg","text":"TemporaryFile(/tmp/multipartBody3532390173564781621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469433452,"filename":"image_12042025_14_06_36_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff337cba9fd4b92befc46568e0b0a646.jpg","text":"TemporaryFile(/tmp/multipartBody3981467275111336785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469433452,"filename":"image_12042025_14_06_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00bd6da2569147363944319b1e402064.jpg","text":"TemporaryFile(/tmp/multipartBody9064922476633137868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469433452,"filename":"image_12042025_14_06_07_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d58d9e9cfcb6ce143a348456d164c84d.jpg","text":"TemporaryFile(/tmp/multipartBody4726208676403343419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469433452,"filename":"image_12042025_14_06_56_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1793e6cbd03f1188f2b993c76d3acdd1.jpg","text":"TemporaryFile(/tmp/multipartBody4929518456735343984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469433452,"filename":"image_12042025_14_06_17_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/01195c239a2c6fe2ee03e859f79aa8b6.jpg","text":"TemporaryFile(/tmp/multipartBody5592918033039033126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469433452,"filename":"image_12042025_14_07_07_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250016","file1":"1352250014","file0":"1352250012","file4":"1352250029","file5":"1352250070","file3":"1352250022"},"map_files_photo_id_array":[{"photo_id":"1352250070","filename":"file5"},{"photo_id":"1352250016","filename":"file2"},{"photo_id":"1352250029","filename":"file4"},{"photo_id":"1352250014","filename":"file1"},{"photo_id":"1352250012","filename":"file0"},{"photo_id":"1352250022","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250022":["hashtag1","hashtag2"]},{"1352250016":["hashtag1","hashtag2"]},{"1352250012":["hashtag1","hashtag2"]},{"1352250029":["hashtag1","hashtag2"]},{"1352250014":["hashtag1","hashtag2"]},{"1352250070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250022, 1352250016, 1352250012, 1352250029, 1352250014, 1352250070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36588907241821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:50:33.183863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/07/image_12042025_14_07_26_9415.jpg', '/home/pi/Desktop/images/12042025/14/07/image_12042025_14_07_37_10345.jpg', '/home/pi/Desktop/images/12042025/14/07/image_12042025_14_07_46_9377.jpg', '/home/pi/Desktop/images/12042025/14/07/image_12042025_14_07_57_10458.jpg', '/home/pi/Desktop/images/12042025/14/07/image_12042025_14_08_07_10465.jpg', '/home/pi/Desktop/images/12042025/14/08/image_12042025_14_08_36_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/07/image_12042025_14_07_26_9415.jpg
/home/pi/Desktop/images/12042025/14/07/image_12042025_14_07_37_10345.jpg
/home/pi/Desktop/images/12042025/14/07/image_12042025_14_07_46_9377.jpg
/home/pi/Desktop/images/12042025/14/07/image_12042025_14_07_57_10458.jpg
/home/pi/Desktop/images/12042025/14/07/image_12042025_14_08_07_10465.jpg
/home/pi/Desktop/images/12042025/14/08/image_12042025_14_08_36_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250214","1352250192","1352250189","1352250182","1352250212","1352250218"],"photo_ids_order":["1352250182","1352250189","1352250192","1352250212","1352250214","1352250218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6267b7d02af5ae92a2b24c7ecfbb4bf.jpg","text":"TemporaryFile(/tmp/multipartBody3700467155484080306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469493640,"filename":"image_12042025_14_08_07_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/261683c8e9ec18f505a35ecdaa6376d1.jpg","text":"TemporaryFile(/tmp/multipartBody6492091907502504575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469493640,"filename":"image_12042025_14_07_46_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/644f116509b41fe889ff1cb25df2b9a8.jpg","text":"TemporaryFile(/tmp/multipartBody2071912249142031887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469493640,"filename":"image_12042025_14_07_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7ebe64d5271bd278fa99ba8a8f57e72.jpg","text":"TemporaryFile(/tmp/multipartBody6608695771328360502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469493640,"filename":"image_12042025_14_07_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb70ec4d17834ebeb8fcc16e455eeaa9.jpg","text":"TemporaryFile(/tmp/multipartBody7547783356514881447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469493640,"filename":"image_12042025_14_07_57_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c16aaeea7b8ef5f9e868df687551d189.jpg","text":"TemporaryFile(/tmp/multipartBody5922714700494613532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469493640,"filename":"image_12042025_14_08_36_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250192","file1":"1352250189","file0":"1352250182","file4":"1352250214","file5":"1352250218","file3":"1352250212"},"map_files_photo_id_array":[{"photo_id":"1352250218","filename":"file5"},{"photo_id":"1352250192","filename":"file2"},{"photo_id":"1352250214","filename":"file4"},{"photo_id":"1352250189","filename":"file1"},{"photo_id":"1352250182","filename":"file0"},{"photo_id":"1352250212","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250214":["hashtag1","hashtag2"]},{"1352250192":["hashtag1","hashtag2"]},{"1352250189":["hashtag1","hashtag2"]},{"1352250182":["hashtag1","hashtag2"]},{"1352250212":["hashtag1","hashtag2"]},{"1352250218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250214, 1352250192, 1352250189, 1352250182, 1352250212, 1352250218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99622416496277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:51:32.290931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/09/image_12042025_14_09_47_10358.jpg', '/home/pi/Desktop/images/12042025/14/10/image_12042025_14_10_27_10454.jpg', '/home/pi/Desktop/images/12042025/14/10/image_12042025_14_10_37_10373.jpg', '/home/pi/Desktop/images/12042025/14/10/image_12042025_14_10_57_10435.jpg', '/home/pi/Desktop/images/12042025/14/11/image_12042025_14_11_17_10336.jpg', '/home/pi/Desktop/images/12042025/14/11/image_12042025_14_11_37_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/09/image_12042025_14_09_47_10358.jpg
/home/pi/Desktop/images/12042025/14/10/image_12042025_14_10_27_10454.jpg
/home/pi/Desktop/images/12042025/14/10/image_12042025_14_10_37_10373.jpg
/home/pi/Desktop/images/12042025/14/10/image_12042025_14_10_57_10435.jpg
/home/pi/Desktop/images/12042025/14/11/image_12042025_14_11_17_10336.jpg
/home/pi/Desktop/images/12042025/14/11/image_12042025_14_11_37_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250264","1352250267","1352250252","1352250249","1352250260","1352250257"],"photo_ids_order":["1352250249","1352250252","1352250257","1352250260","1352250264","1352250267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f334c07b470c3c997db7b045e2dbdf8.jpg","text":"TemporaryFile(/tmp/multipartBody8143718973279584536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469552737,"filename":"image_12042025_14_11_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3785f96a7f2ba58f3737e1ac26386ddc.jpg","text":"TemporaryFile(/tmp/multipartBody2610550854028406282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469552737,"filename":"image_12042025_14_11_37_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d06e5e96ac582ec39a52ae786107538b.jpg","text":"TemporaryFile(/tmp/multipartBody321457424616231988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469552737,"filename":"image_12042025_14_10_27_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fdfe01a4b149273d6081e138c7bb654.jpg","text":"TemporaryFile(/tmp/multipartBody7910481398565645374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469552737,"filename":"image_12042025_14_09_47_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d92ce1007dbd204264524260a712d5d.jpg","text":"TemporaryFile(/tmp/multipartBody3045885635643708910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469552737,"filename":"image_12042025_14_10_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4f6f90f6a3a6e923b5bd1c373844ef7.jpg","text":"TemporaryFile(/tmp/multipartBody1834537485330939566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469552737,"filename":"image_12042025_14_10_37_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250257","file1":"1352250252","file0":"1352250249","file4":"1352250264","file5":"1352250267","file3":"1352250260"},"map_files_photo_id_array":[{"photo_id":"1352250267","filename":"file5"},{"photo_id":"1352250257","filename":"file2"},{"photo_id":"1352250264","filename":"file4"},{"photo_id":"1352250252","filename":"file1"},{"photo_id":"1352250249","filename":"file0"},{"photo_id":"1352250260","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250264":["hashtag1","hashtag2"]},{"1352250267":["hashtag1","hashtag2"]},{"1352250252":["hashtag1","hashtag2"]},{"1352250249":["hashtag1","hashtag2"]},{"1352250260":["hashtag1","hashtag2"]},{"1352250257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250264, 1352250267, 1352250252, 1352250249, 1352250260, 1352250257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90650391578674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:52:32.559943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/11/image_12042025_14_11_47_10370.jpg', '/home/pi/Desktop/images/12042025/14/11/image_12042025_14_12_07_10484.jpg', '/home/pi/Desktop/images/12042025/14/12/image_12042025_14_12_17_10371.jpg', '/home/pi/Desktop/images/12042025/14/12/image_12042025_14_12_37_10357.jpg', '/home/pi/Desktop/images/12042025/14/12/image_12042025_14_12_46_9359.jpg', '/home/pi/Desktop/images/12042025/14/12/image_12042025_14_12_57_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/11/image_12042025_14_11_47_10370.jpg
/home/pi/Desktop/images/12042025/14/11/image_12042025_14_12_07_10484.jpg
/home/pi/Desktop/images/12042025/14/12/image_12042025_14_12_17_10371.jpg
/home/pi/Desktop/images/12042025/14/12/image_12042025_14_12_37_10357.jpg
/home/pi/Desktop/images/12042025/14/12/image_12042025_14_12_46_9359.jpg
/home/pi/Desktop/images/12042025/14/12/image_12042025_14_12_57_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250291","1352250287","1352250284","1352250298","1352250302","1352250295"],"photo_ids_order":["1352250284","1352250287","1352250291","1352250295","1352250298","1352250302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7b5646ca717919480ad2318623466c3.jpg","text":"TemporaryFile(/tmp/multipartBody2591223456587656841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469613011,"filename":"image_12042025_14_12_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c0bbfbb85efc62babbe0ab6dcdbcd61.jpg","text":"TemporaryFile(/tmp/multipartBody2052782428081942840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469613011,"filename":"image_12042025_14_12_07_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/858f73122732a2d3d49f682fda62cdb8.jpg","text":"TemporaryFile(/tmp/multipartBody8042605138140279052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469613011,"filename":"image_12042025_14_11_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/048a8f044c79a2184bf343fedd85f823.jpg","text":"TemporaryFile(/tmp/multipartBody1245398533921306670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469613011,"filename":"image_12042025_14_12_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/195074fd0bd9c77ac5628dcada6e9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4711443224160038326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469613011,"filename":"image_12042025_14_12_57_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d1197c38c222afdcc9cb8262b272904.jpg","text":"TemporaryFile(/tmp/multipartBody1954781436511427904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469613011,"filename":"image_12042025_14_12_37_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250291","file1":"1352250287","file0":"1352250284","file4":"1352250298","file5":"1352250302","file3":"1352250295"},"map_files_photo_id_array":[{"photo_id":"1352250302","filename":"file5"},{"photo_id":"1352250291","filename":"file2"},{"photo_id":"1352250298","filename":"file4"},{"photo_id":"1352250287","filename":"file1"},{"photo_id":"1352250284","filename":"file0"},{"photo_id":"1352250295","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250291":["hashtag1","hashtag2"]},{"1352250287":["hashtag1","hashtag2"]},{"1352250284":["hashtag1","hashtag2"]},{"1352250298":["hashtag1","hashtag2"]},{"1352250302":["hashtag1","hashtag2"]},{"1352250295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250291, 1352250287, 1352250284, 1352250298, 1352250302, 1352250295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.941100120544434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:53:32.802836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/12/image_12042025_14_13_07_10349.jpg', '/home/pi/Desktop/images/12042025/14/13/image_12042025_14_13_16_9411.jpg', '/home/pi/Desktop/images/12042025/14/13/image_12042025_14_13_27_10362.jpg', '/home/pi/Desktop/images/12042025/14/13/image_12042025_14_13_36_9345.jpg', '/home/pi/Desktop/images/12042025/14/13/image_12042025_14_13_47_10462.jpg', '/home/pi/Desktop/images/12042025/14/13/image_12042025_14_14_07_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/12/image_12042025_14_13_07_10349.jpg
/home/pi/Desktop/images/12042025/14/13/image_12042025_14_13_16_9411.jpg
/home/pi/Desktop/images/12042025/14/13/image_12042025_14_13_27_10362.jpg
/home/pi/Desktop/images/12042025/14/13/image_12042025_14_13_36_9345.jpg
/home/pi/Desktop/images/12042025/14/13/image_12042025_14_13_47_10462.jpg
/home/pi/Desktop/images/12042025/14/13/image_12042025_14_14_07_9536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250372","1352250360","1352250333","1352250336","1352250380","1352250376"],"photo_ids_order":["1352250333","1352250336","1352250360","1352250372","1352250376","1352250380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7a72d979f77b8a9846f31ac60694281.jpg","text":"TemporaryFile(/tmp/multipartBody8199197167331048997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469673253,"filename":"image_12042025_14_13_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa5bf4edf73cc8caa5ff49214039bc77.jpg","text":"TemporaryFile(/tmp/multipartBody3353853221504837569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469673253,"filename":"image_12042025_14_13_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3b6afe450bcb86db92acfe504113912.jpg","text":"TemporaryFile(/tmp/multipartBody3276751820290404215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469673253,"filename":"image_12042025_14_13_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14b91a462000a31671b85eef489adf0e.jpg","text":"TemporaryFile(/tmp/multipartBody7038833312591753055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469673253,"filename":"image_12042025_14_13_16_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25d14cf4c36b6d58b6678bd7c4404ecf.jpg","text":"TemporaryFile(/tmp/multipartBody1016227092890367755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469673253,"filename":"image_12042025_14_14_07_9536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/127f41f1e9811b810d736e271d1b254a.jpg","text":"TemporaryFile(/tmp/multipartBody3226713222567141956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469673253,"filename":"image_12042025_14_13_47_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250360","file1":"1352250336","file0":"1352250333","file4":"1352250376","file5":"1352250380","file3":"1352250372"},"map_files_photo_id_array":[{"photo_id":"1352250380","filename":"file5"},{"photo_id":"1352250360","filename":"file2"},{"photo_id":"1352250376","filename":"file4"},{"photo_id":"1352250336","filename":"file1"},{"photo_id":"1352250333","filename":"file0"},{"photo_id":"1352250372","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250372":["hashtag1","hashtag2"]},{"1352250360":["hashtag1","hashtag2"]},{"1352250333":["hashtag1","hashtag2"]},{"1352250336":["hashtag1","hashtag2"]},{"1352250380":["hashtag1","hashtag2"]},{"1352250376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250372, 1352250360, 1352250333, 1352250336, 1352250380, 1352250376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50832152366638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:54:33.034795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/14/image_12042025_14_14_17_10365.jpg', '/home/pi/Desktop/images/12042025/14/14/image_12042025_14_14_56_9444.jpg', '/home/pi/Desktop/images/12042025/14/14/image_12042025_14_15_07_10357.jpg', '/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_16_9362.jpg', '/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_27_10438.jpg', '/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_37_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/14/image_12042025_14_14_17_10365.jpg
/home/pi/Desktop/images/12042025/14/14/image_12042025_14_14_56_9444.jpg
/home/pi/Desktop/images/12042025/14/14/image_12042025_14_15_07_10357.jpg
/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_16_9362.jpg
/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_27_10438.jpg
/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_37_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250459","1352250467","1352250470","1352250464","1352250451","1352250454"],"photo_ids_order":["1352250451","1352250454","1352250459","1352250464","1352250467","1352250470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e4a8d8d91207010bc1648b20ee2faa8.jpg","text":"TemporaryFile(/tmp/multipartBody6914404533959546407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469733475,"filename":"image_12042025_14_15_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb6b90d7edd5a5ef9df8900273716c43.jpg","text":"TemporaryFile(/tmp/multipartBody9055107645849205171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469733475,"filename":"image_12042025_14_15_27_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/294baa6e0915b6f0c53628fb8d3ecc56.jpg","text":"TemporaryFile(/tmp/multipartBody8489500907706299277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469733475,"filename":"image_12042025_14_15_37_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a296c2dd0b7368e8c1c610b0f13e3b46.jpg","text":"TemporaryFile(/tmp/multipartBody1479736403353000116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469733475,"filename":"image_12042025_14_15_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/703ffe1b4f74c91c82c651f285dd3ab0.jpg","text":"TemporaryFile(/tmp/multipartBody847980894252436270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469733475,"filename":"image_12042025_14_14_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04b8089af8905695aa1471bc28c63ce1.jpg","text":"TemporaryFile(/tmp/multipartBody984260538037782611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469733475,"filename":"image_12042025_14_14_56_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250459","file1":"1352250454","file0":"1352250451","file4":"1352250467","file5":"1352250470","file3":"1352250464"},"map_files_photo_id_array":[{"photo_id":"1352250470","filename":"file5"},{"photo_id":"1352250459","filename":"file2"},{"photo_id":"1352250467","filename":"file4"},{"photo_id":"1352250454","filename":"file1"},{"photo_id":"1352250451","filename":"file0"},{"photo_id":"1352250464","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250459":["hashtag1","hashtag2"]},{"1352250467":["hashtag1","hashtag2"]},{"1352250470":["hashtag1","hashtag2"]},{"1352250464":["hashtag1","hashtag2"]},{"1352250451":["hashtag1","hashtag2"]},{"1352250454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250459, 1352250467, 1352250470, 1352250464, 1352250451, 1352250454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35285758972168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:55:32.204068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_46_9403.jpg', '/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_57_10377.jpg', '/home/pi/Desktop/images/12042025/14/15/image_12042025_14_16_07_10338.jpg', '/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_16_9356.jpg', '/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_27_10418.jpg', '/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_36_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_46_9403.jpg
/home/pi/Desktop/images/12042025/14/15/image_12042025_14_15_57_10377.jpg
/home/pi/Desktop/images/12042025/14/15/image_12042025_14_16_07_10338.jpg
/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_16_9356.jpg
/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_27_10418.jpg
/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_36_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250483","1352250494","1352250497","1352250503","1352250490","1352250487"],"photo_ids_order":["1352250483","1352250487","1352250490","1352250494","1352250497","1352250503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58d1da2798a3c49338c2c731ef049907.jpg","text":"TemporaryFile(/tmp/multipartBody2455032680242320871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469792647,"filename":"image_12042025_14_15_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54de71bffaf66121fd95ac0554fb653b.jpg","text":"TemporaryFile(/tmp/multipartBody2517649231971974054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469792647,"filename":"image_12042025_14_16_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5c73425c692ab66c888be0788777454.jpg","text":"TemporaryFile(/tmp/multipartBody9102776323476862466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469792647,"filename":"image_12042025_14_16_27_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ade46cd68bb6535ab71b83135f954f12.jpg","text":"TemporaryFile(/tmp/multipartBody6860390020619078733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469792647,"filename":"image_12042025_14_16_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fdac9c1cefee46f65dfcadc3d18eab22.jpg","text":"TemporaryFile(/tmp/multipartBody7913243781988099814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469792647,"filename":"image_12042025_14_16_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16675f033a0f77dce69a9f5b26900a8c.jpg","text":"TemporaryFile(/tmp/multipartBody5052965571117739902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469792647,"filename":"image_12042025_14_15_57_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250490","file1":"1352250487","file0":"1352250483","file4":"1352250497","file5":"1352250503","file3":"1352250494"},"map_files_photo_id_array":[{"photo_id":"1352250503","filename":"file5"},{"photo_id":"1352250490","filename":"file2"},{"photo_id":"1352250497","filename":"file4"},{"photo_id":"1352250487","filename":"file1"},{"photo_id":"1352250483","filename":"file0"},{"photo_id":"1352250494","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250483":["hashtag1","hashtag2"]},{"1352250494":["hashtag1","hashtag2"]},{"1352250497":["hashtag1","hashtag2"]},{"1352250503":["hashtag1","hashtag2"]},{"1352250490":["hashtag1","hashtag2"]},{"1352250487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250483, 1352250494, 1352250497, 1352250503, 1352250490, 1352250487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.853680849075317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:56:32.527016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_46_10120.jpg', '/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_57_10362.jpg', '/home/pi/Desktop/images/12042025/14/16/image_12042025_14_17_07_10345.jpg', '/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_17_9566.jpg', '/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_27_10439.jpg', '/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_36_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_46_10120.jpg
/home/pi/Desktop/images/12042025/14/16/image_12042025_14_16_57_10362.jpg
/home/pi/Desktop/images/12042025/14/16/image_12042025_14_17_07_10345.jpg
/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_17_9566.jpg
/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_27_10439.jpg
/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_36_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250678","1352250680","1352250688","1352250682","1352250685","1352250690"],"photo_ids_order":["1352250678","1352250680","1352250682","1352250685","1352250688","1352250690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a0788d8bde8a50958b0f0dce533af82.jpg","text":"TemporaryFile(/tmp/multipartBody8017083038347440948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469852980,"filename":"image_12042025_14_16_46_10120.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de74acc901e18dc889727f97cc6f7617.jpg","text":"TemporaryFile(/tmp/multipartBody8256390414369131801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469852980,"filename":"image_12042025_14_16_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff199d12d21434466a3541fce85d4998.jpg","text":"TemporaryFile(/tmp/multipartBody5686979014120219600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469852980,"filename":"image_12042025_14_17_27_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4024b5dfbb737d83f6025415143d356.jpg","text":"TemporaryFile(/tmp/multipartBody8907342455850058410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469852980,"filename":"image_12042025_14_17_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e02658e5cb43e47bdeeb4b1bfd82666b.jpg","text":"TemporaryFile(/tmp/multipartBody5340980703750063302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469852980,"filename":"image_12042025_14_17_17_9566.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03535887b53113a75f09670beee7c579.jpg","text":"TemporaryFile(/tmp/multipartBody8098600779548848893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744469852980,"filename":"image_12042025_14_17_36_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250682","file1":"1352250680","file0":"1352250678","file4":"1352250688","file5":"1352250690","file3":"1352250685"},"map_files_photo_id_array":[{"photo_id":"1352250690","filename":"file5"},{"photo_id":"1352250682","filename":"file2"},{"photo_id":"1352250688","filename":"file4"},{"photo_id":"1352250680","filename":"file1"},{"photo_id":"1352250678","filename":"file0"},{"photo_id":"1352250685","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250678":["hashtag1","hashtag2"]},{"1352250680":["hashtag1","hashtag2"]},{"1352250688":["hashtag1","hashtag2"]},{"1352250682":["hashtag1","hashtag2"]},{"1352250685":["hashtag1","hashtag2"]},{"1352250690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250678, 1352250680, 1352250688, 1352250682, 1352250685, 1352250690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.972648859024048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 16:57:32.741337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_56_9370.jpg', '/home/pi/Desktop/images/12042025/14/17/image_12042025_14_18_07_10383.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_17_10404.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_26_9408.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_37_10394.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_47_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_56_9370.jpg
/home/pi/Desktop/images/12042025/14/17/image_12042025_14_18_07_10383.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_17_10404.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_26_9408.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_37_10394.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_47_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 16:59:04.786730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_56_9370.jpg', '/home/pi/Desktop/images/12042025/14/17/image_12042025_14_18_07_10383.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_17_10404.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_26_9408.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_37_10394.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_47_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/17/image_12042025_14_17_56_9370.jpg
/home/pi/Desktop/images/12042025/14/17/image_12042025_14_18_07_10383.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_17_10404.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_26_9408.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_37_10394.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_47_10357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250764","1352250752","1352250755","1352250775","1352250769","1352250760"],"photo_ids_order":["1352250752","1352250755","1352250760","1352250764","1352250769","1352250775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aea9ca61712b32d4f428f21f57d59472.jpg","text":"TemporaryFile(/tmp/multipartBody2012179071138691449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470005352,"filename":"image_12042025_14_18_26_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ea40d5dc164e73d8785004965b560cf.jpg","text":"TemporaryFile(/tmp/multipartBody8437410895125997854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470005352,"filename":"image_12042025_14_17_56_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/945d218ee43d418c17f6fbecaca31288.jpg","text":"TemporaryFile(/tmp/multipartBody6142440118390554558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470005352,"filename":"image_12042025_14_18_07_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3be3b00d4dd33e99692bcc642404c578.jpg","text":"TemporaryFile(/tmp/multipartBody7836289009698139078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470005352,"filename":"image_12042025_14_18_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfa6374db956869eee1a388cc2515ad1.jpg","text":"TemporaryFile(/tmp/multipartBody4536653786678932406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470005352,"filename":"image_12042025_14_18_37_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f11f8d1721901a5732349c6f56bd50c.jpg","text":"TemporaryFile(/tmp/multipartBody7686232618120958260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470005352,"filename":"image_12042025_14_18_17_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250760","file1":"1352250755","file0":"1352250752","file4":"1352250769","file5":"1352250775","file3":"1352250764"},"map_files_photo_id_array":[{"photo_id":"1352250775","filename":"file5"},{"photo_id":"1352250760","filename":"file2"},{"photo_id":"1352250769","filename":"file4"},{"photo_id":"1352250755","filename":"file1"},{"photo_id":"1352250752","filename":"file0"},{"photo_id":"1352250764","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250764":["hashtag1","hashtag2"]},{"1352250752":["hashtag1","hashtag2"]},{"1352250755":["hashtag1","hashtag2"]},{"1352250775":["hashtag1","hashtag2"]},{"1352250769":["hashtag1","hashtag2"]},{"1352250760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250764, 1352250752, 1352250755, 1352250775, 1352250769, 1352250760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.315107583999634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 16:59:43.261924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_57_9428.jpg', '/home/pi/Desktop/images/12042025/14/18/image_12042025_14_19_07_10344.jpg', '/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_16_9325.jpg', '/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_27_10378.jpg', '/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_37_10356.jpg', '/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_46_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_18_57_9428.jpg
/home/pi/Desktop/images/12042025/14/18/image_12042025_14_19_07_10344.jpg
/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_16_9325.jpg
/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_27_10378.jpg
/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_37_10356.jpg
/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_46_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250795","1352250791","1352250788","1352250793","1352250787","1352250784"],"photo_ids_order":["1352250784","1352250787","1352250788","1352250791","1352250793","1352250795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/725852de38f924e0acc6fc61eae61153.jpg","text":"TemporaryFile(/tmp/multipartBody3101747102366389176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470043705,"filename":"image_12042025_14_19_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acc602cb9036275c51a5265eb380abdd.jpg","text":"TemporaryFile(/tmp/multipartBody4170731314542696628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470043705,"filename":"image_12042025_14_19_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2aa70ca116aae350e459cff69b59b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3261740932606790292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470043705,"filename":"image_12042025_14_19_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6aebe281720ae5a632596d7973d5853.jpg","text":"TemporaryFile(/tmp/multipartBody1651149493525468345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470043705,"filename":"image_12042025_14_19_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6ac34d99677fe88f3d5cfcfafe155b2.jpg","text":"TemporaryFile(/tmp/multipartBody2672532979212392672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470043705,"filename":"image_12042025_14_19_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f26e78da9592f4f12513f19fdea662ac.jpg","text":"TemporaryFile(/tmp/multipartBody6777742279917675496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470043705,"filename":"image_12042025_14_18_57_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250788","file1":"1352250787","file0":"1352250784","file4":"1352250793","file5":"1352250795","file3":"1352250791"},"map_files_photo_id_array":[{"photo_id":"1352250795","filename":"file5"},{"photo_id":"1352250788","filename":"file2"},{"photo_id":"1352250793","filename":"file4"},{"photo_id":"1352250787","filename":"file1"},{"photo_id":"1352250784","filename":"file0"},{"photo_id":"1352250791","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250795":["hashtag1","hashtag2"]},{"1352250791":["hashtag1","hashtag2"]},{"1352250788":["hashtag1","hashtag2"]},{"1352250793":["hashtag1","hashtag2"]},{"1352250787":["hashtag1","hashtag2"]},{"1352250784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250795, 1352250791, 1352250788, 1352250793, 1352250787, 1352250784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19695591926575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:00:32.459358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_57_10345.jpg', '/home/pi/Desktop/images/12042025/14/19/image_12042025_14_20_07_10419.jpg', '/home/pi/Desktop/images/12042025/14/20/image_12042025_14_20_17_9419.jpg', '/home/pi/Desktop/images/12042025/14/20/image_12042025_14_20_27_10368.jpg', '/home/pi/Desktop/images/12042025/14/20/image_12042025_14_20_47_10480.jpg', '/home/pi/Desktop/images/12042025/14/20/image_12042025_14_20_56_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/19/image_12042025_14_19_57_10345.jpg
/home/pi/Desktop/images/12042025/14/19/image_12042025_14_20_07_10419.jpg
/home/pi/Desktop/images/12042025/14/20/image_12042025_14_20_17_9419.jpg
/home/pi/Desktop/images/12042025/14/20/image_12042025_14_20_27_10368.jpg
/home/pi/Desktop/images/12042025/14/20/image_12042025_14_20_47_10480.jpg
/home/pi/Desktop/images/12042025/14/20/image_12042025_14_20_56_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250816","1352250810","1352250807","1352250812","1352250815","1352250818"],"photo_ids_order":["1352250807","1352250810","1352250812","1352250815","1352250816","1352250818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/652d99ac31a43f5ec587b3137d2c5fef.jpg","text":"TemporaryFile(/tmp/multipartBody3150119065755755783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470092920,"filename":"image_12042025_14_20_47_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa132edae060e20464ef381a32270466.jpg","text":"TemporaryFile(/tmp/multipartBody472799115584229523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470092920,"filename":"image_12042025_14_20_07_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/634d867b5b989ef6b84b35d711bda8a9.jpg","text":"TemporaryFile(/tmp/multipartBody3684009897213151027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470092920,"filename":"image_12042025_14_19_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c64a9c350ab868ed337f6ac1b4dc51d.jpg","text":"TemporaryFile(/tmp/multipartBody8875895853594070625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470092920,"filename":"image_12042025_14_20_17_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de9091995f9eaa3e9f1d70a87380aef0.jpg","text":"TemporaryFile(/tmp/multipartBody8106976819960014548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470092920,"filename":"image_12042025_14_20_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09bd8685496e470d510f2751ea836ba1.jpg","text":"TemporaryFile(/tmp/multipartBody6624907843614069239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470092920,"filename":"image_12042025_14_20_56_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250812","file1":"1352250810","file0":"1352250807","file4":"1352250816","file5":"1352250818","file3":"1352250815"},"map_files_photo_id_array":[{"photo_id":"1352250818","filename":"file5"},{"photo_id":"1352250812","filename":"file2"},{"photo_id":"1352250816","filename":"file4"},{"photo_id":"1352250810","filename":"file1"},{"photo_id":"1352250807","filename":"file0"},{"photo_id":"1352250815","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250816":["hashtag1","hashtag2"]},{"1352250810":["hashtag1","hashtag2"]},{"1352250807":["hashtag1","hashtag2"]},{"1352250812":["hashtag1","hashtag2"]},{"1352250815":["hashtag1","hashtag2"]},{"1352250818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250816, 1352250810, 1352250807, 1352250812, 1352250815, 1352250818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02284288406372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:01:32.705455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/20/image_12042025_14_21_07_10389.jpg', '/home/pi/Desktop/images/12042025/14/21/image_12042025_14_21_17_10377.jpg', '/home/pi/Desktop/images/12042025/14/21/image_12042025_14_21_27_9428.jpg', '/home/pi/Desktop/images/12042025/14/21/image_12042025_14_21_37_10362.jpg', '/home/pi/Desktop/images/12042025/14/21/image_12042025_14_21_46_9338.jpg', '/home/pi/Desktop/images/12042025/14/22/image_12042025_14_22_16_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/20/image_12042025_14_21_07_10389.jpg
/home/pi/Desktop/images/12042025/14/21/image_12042025_14_21_17_10377.jpg
/home/pi/Desktop/images/12042025/14/21/image_12042025_14_21_27_9428.jpg
/home/pi/Desktop/images/12042025/14/21/image_12042025_14_21_37_10362.jpg
/home/pi/Desktop/images/12042025/14/21/image_12042025_14_21_46_9338.jpg
/home/pi/Desktop/images/12042025/14/22/image_12042025_14_22_16_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352250861","1352250839","1352250848","1352250842","1352250856","1352250844"],"photo_ids_order":["1352250839","1352250842","1352250844","1352250848","1352250856","1352250861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65e07bb0b3a41d4539bae6b034396cf3.jpg","text":"TemporaryFile(/tmp/multipartBody7022997889604875122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470153284,"filename":"image_12042025_14_22_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df5abacb122497d378762055f45ff610.jpg","text":"TemporaryFile(/tmp/multipartBody8046683321546651328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470153284,"filename":"image_12042025_14_21_07_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a3d440536639661ceb14ab40cdbee3e.jpg","text":"TemporaryFile(/tmp/multipartBody7774383435566269912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470153284,"filename":"image_12042025_14_21_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/359b583d09b5c181b89ede26b3dc0484.jpg","text":"TemporaryFile(/tmp/multipartBody4714899436436071218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470153284,"filename":"image_12042025_14_21_17_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33b33e6d85bd26e0dfb18fd643064221.jpg","text":"TemporaryFile(/tmp/multipartBody8696100126099963449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470153284,"filename":"image_12042025_14_21_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40778664725ab3779ce2232d54fb2b52.jpg","text":"TemporaryFile(/tmp/multipartBody5407000524073359048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470153284,"filename":"image_12042025_14_21_27_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352250844","file1":"1352250842","file0":"1352250839","file4":"1352250856","file5":"1352250861","file3":"1352250848"},"map_files_photo_id_array":[{"photo_id":"1352250861","filename":"file5"},{"photo_id":"1352250844","filename":"file2"},{"photo_id":"1352250856","filename":"file4"},{"photo_id":"1352250842","filename":"file1"},{"photo_id":"1352250839","filename":"file0"},{"photo_id":"1352250848","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352250861":["hashtag1","hashtag2"]},{"1352250839":["hashtag1","hashtag2"]},{"1352250848":["hashtag1","hashtag2"]},{"1352250842":["hashtag1","hashtag2"]},{"1352250856":["hashtag1","hashtag2"]},{"1352250844":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352250861, 1352250839, 1352250848, 1352250842, 1352250856, 1352250844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91832876205444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:02:33.142256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/22/image_12042025_14_22_37_10430.jpg', '/home/pi/Desktop/images/12042025/14/23/image_12042025_14_23_36_9439.jpg', '/home/pi/Desktop/images/12042025/14/23/image_12042025_14_23_47_10388.jpg', '/home/pi/Desktop/images/12042025/14/23/image_12042025_14_23_56_9386.jpg', '/home/pi/Desktop/images/12042025/14/23/image_12042025_14_24_07_10374.jpg', '/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_17_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/22/image_12042025_14_22_37_10430.jpg
/home/pi/Desktop/images/12042025/14/23/image_12042025_14_23_36_9439.jpg
/home/pi/Desktop/images/12042025/14/23/image_12042025_14_23_47_10388.jpg
/home/pi/Desktop/images/12042025/14/23/image_12042025_14_23_56_9386.jpg
/home/pi/Desktop/images/12042025/14/23/image_12042025_14_24_07_10374.jpg
/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_17_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251218","1352251110","1352251157","1352251139","1352251216","1352251213"],"photo_ids_order":["1352251110","1352251139","1352251157","1352251213","1352251216","1352251218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8dbf3ac6b64be1b1e60892f991ce7251.jpg","text":"TemporaryFile(/tmp/multipartBody1638302287198300068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470213601,"filename":"image_12042025_14_24_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/631c762320e1ae8a248e4db56d7a10dd.jpg","text":"TemporaryFile(/tmp/multipartBody8777219611463311219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470213601,"filename":"image_12042025_14_22_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d873001cdcbe41aeba44d1ea17afeac.jpg","text":"TemporaryFile(/tmp/multipartBody5167226688985300972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470213601,"filename":"image_12042025_14_23_47_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a2a74ab7e430704dcc9b2146d653434.jpg","text":"TemporaryFile(/tmp/multipartBody8367892542513787739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470213601,"filename":"image_12042025_14_23_36_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/911ee59475dc4cee16ed166cddaaef8c.jpg","text":"TemporaryFile(/tmp/multipartBody2092383723330694088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470213601,"filename":"image_12042025_14_24_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db64856db0dd266edc879de16b1556ea.jpg","text":"TemporaryFile(/tmp/multipartBody9199209375840684458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470213601,"filename":"image_12042025_14_23_56_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251157","file1":"1352251139","file0":"1352251110","file4":"1352251216","file5":"1352251218","file3":"1352251213"},"map_files_photo_id_array":[{"photo_id":"1352251218","filename":"file5"},{"photo_id":"1352251157","filename":"file2"},{"photo_id":"1352251216","filename":"file4"},{"photo_id":"1352251139","filename":"file1"},{"photo_id":"1352251110","filename":"file0"},{"photo_id":"1352251213","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352251218":["hashtag1","hashtag2"]},{"1352251110":["hashtag1","hashtag2"]},{"1352251157":["hashtag1","hashtag2"]},{"1352251139":["hashtag1","hashtag2"]},{"1352251216":["hashtag1","hashtag2"]},{"1352251213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352251218, 1352251110, 1352251157, 1352251139, 1352251216, 1352251213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23761010169983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:03:32.281151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_26_9393.jpg', '/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_37_10374.jpg', '/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_47_10401.jpg', '/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_56_9336.jpg', '/home/pi/Desktop/images/12042025/14/25/image_12042025_14_25_16_9340.jpg', '/home/pi/Desktop/images/12042025/14/25/image_12042025_14_25_37_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_26_9393.jpg
/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_37_10374.jpg
/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_47_10401.jpg
/home/pi/Desktop/images/12042025/14/24/image_12042025_14_24_56_9336.jpg
/home/pi/Desktop/images/12042025/14/25/image_12042025_14_25_16_9340.jpg
/home/pi/Desktop/images/12042025/14/25/image_12042025_14_25_37_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251308","1352251334","1352251331","1352251339","1352251336","1352251341"],"photo_ids_order":["1352251308","1352251331","1352251334","1352251336","1352251339","1352251341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9080cf2aa95fb71ae848a164f958c30.jpg","text":"TemporaryFile(/tmp/multipartBody5059570543334619421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470272739,"filename":"image_12042025_14_24_26_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68eba83b79c66246eb9a7e677c09a087.jpg","text":"TemporaryFile(/tmp/multipartBody2136680590925657817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470272739,"filename":"image_12042025_14_24_47_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3cac8c174ed427a86bbd66383cdbf78.jpg","text":"TemporaryFile(/tmp/multipartBody4919527740946836755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470272739,"filename":"image_12042025_14_24_37_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84d2a37ced8439daa5c08449cf9cf01f.jpg","text":"TemporaryFile(/tmp/multipartBody1065333013523088770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470272739,"filename":"image_12042025_14_25_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52c9cb05becb3b4d1fb82a0b8c78bb4f.jpg","text":"TemporaryFile(/tmp/multipartBody9179625412904482787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470272739,"filename":"image_12042025_14_24_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f648c6af941812ab63f9baeabec6d7df.jpg","text":"TemporaryFile(/tmp/multipartBody4348045781627093380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470272739,"filename":"image_12042025_14_25_37_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251334","file1":"1352251331","file0":"1352251308","file4":"1352251339","file5":"1352251341","file3":"1352251336"},"map_files_photo_id_array":[{"photo_id":"1352251341","filename":"file5"},{"photo_id":"1352251334","filename":"file2"},{"photo_id":"1352251339","filename":"file4"},{"photo_id":"1352251331","filename":"file1"},{"photo_id":"1352251308","filename":"file0"},{"photo_id":"1352251336","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352251308":["hashtag1","hashtag2"]},{"1352251334":["hashtag1","hashtag2"]},{"1352251331":["hashtag1","hashtag2"]},{"1352251339":["hashtag1","hashtag2"]},{"1352251336":["hashtag1","hashtag2"]},{"1352251341":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352251308, 1352251334, 1352251331, 1352251339, 1352251336, 1352251341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.705910682678223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:04:32.523899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/25/image_12042025_14_25_46_9438.jpg', '/home/pi/Desktop/images/12042025/14/25/image_12042025_14_25_57_10355.jpg', '/home/pi/Desktop/images/12042025/14/25/image_12042025_14_26_07_10335.jpg', '/home/pi/Desktop/images/12042025/14/26/image_12042025_14_26_17_9343.jpg', '/home/pi/Desktop/images/12042025/14/26/image_12042025_14_26_27_10364.jpg', '/home/pi/Desktop/images/12042025/14/26/image_12042025_14_26_36_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/25/image_12042025_14_25_46_9438.jpg
/home/pi/Desktop/images/12042025/14/25/image_12042025_14_25_57_10355.jpg
/home/pi/Desktop/images/12042025/14/25/image_12042025_14_26_07_10335.jpg
/home/pi/Desktop/images/12042025/14/26/image_12042025_14_26_17_9343.jpg
/home/pi/Desktop/images/12042025/14/26/image_12042025_14_26_27_10364.jpg
/home/pi/Desktop/images/12042025/14/26/image_12042025_14_26_36_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251404","1352251379","1352251445","1352251421","1352251358","1352251356"],"photo_ids_order":["1352251356","1352251358","1352251379","1352251404","1352251421","1352251445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58fe091d5a5842dcdffc7a107546957a.jpg","text":"TemporaryFile(/tmp/multipartBody3670657004840372496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470332990,"filename":"image_12042025_14_26_17_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c4c77f29e181427f7cce44891c6d696.jpg","text":"TemporaryFile(/tmp/multipartBody8456255961672342641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470332990,"filename":"image_12042025_14_26_07_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ebbadb7b225744641b33bc14e004c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1287900615555472112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470332990,"filename":"image_12042025_14_26_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3d60d0a081840e07454155ab389b5b2.jpg","text":"TemporaryFile(/tmp/multipartBody2937999843559798683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470332990,"filename":"image_12042025_14_26_27_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04c79669f91a6592451c60cd9a980142.jpg","text":"TemporaryFile(/tmp/multipartBody1722579920012025981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470332990,"filename":"image_12042025_14_25_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59d82ea09c758da6463ee08f96bb41ea.jpg","text":"TemporaryFile(/tmp/multipartBody6734747626188912509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470332990,"filename":"image_12042025_14_25_46_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251379","file1":"1352251358","file0":"1352251356","file4":"1352251421","file5":"1352251445","file3":"1352251404"},"map_files_photo_id_array":[{"photo_id":"1352251445","filename":"file5"},{"photo_id":"1352251379","filename":"file2"},{"photo_id":"1352251421","filename":"file4"},{"photo_id":"1352251358","filename":"file1"},{"photo_id":"1352251356","filename":"file0"},{"photo_id":"1352251404","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352251404":["hashtag1","hashtag2"]},{"1352251379":["hashtag1","hashtag2"]},{"1352251445":["hashtag1","hashtag2"]},{"1352251421":["hashtag1","hashtag2"]},{"1352251358":["hashtag1","hashtag2"]},{"1352251356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352251404, 1352251379, 1352251445, 1352251421, 1352251358, 1352251356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31926369667053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:05:32.879428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/26/image_12042025_14_26_57_10357.jpg', '/home/pi/Desktop/images/12042025/14/26/image_12042025_14_27_06_9389.jpg', '/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_17_10339.jpg', '/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_27_10329.jpg', '/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_37_9457.jpg', '/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_47_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/26/image_12042025_14_26_57_10357.jpg
/home/pi/Desktop/images/12042025/14/26/image_12042025_14_27_06_9389.jpg
/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_17_10339.jpg
/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_27_10329.jpg
/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_37_9457.jpg
/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_47_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352251734","1352251655","1352251715","1352251660","1352251684","1352251633"],"photo_ids_order":["1352251633","1352251655","1352251660","1352251684","1352251715","1352251734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4743396c916dbfca9c40264cd5194a28.jpg","text":"TemporaryFile(/tmp/multipartBody1628662229961047821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470393339,"filename":"image_12042025_14_27_47_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b333b4d46008ffc025f3ab1eaf51051.jpg","text":"TemporaryFile(/tmp/multipartBody1730530754513443154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470393339,"filename":"image_12042025_14_27_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed5aa677ba571b64454297621ec284c1.jpg","text":"TemporaryFile(/tmp/multipartBody6575277962548679975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470393339,"filename":"image_12042025_14_27_37_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e0a5708780733ab0b826f9cf9262a46.jpg","text":"TemporaryFile(/tmp/multipartBody7422084139144477501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470393339,"filename":"image_12042025_14_27_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb2ac27a0380368255d43ae81d5c76d1.jpg","text":"TemporaryFile(/tmp/multipartBody3163594207371545464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470393339,"filename":"image_12042025_14_27_27_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d2264d14640b1b0dec5e3e304ae3df5.jpg","text":"TemporaryFile(/tmp/multipartBody213877974422920805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470393339,"filename":"image_12042025_14_26_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251660","file1":"1352251655","file0":"1352251633","file4":"1352251715","file5":"1352251734","file3":"1352251684"},"map_files_photo_id_array":[{"photo_id":"1352251734","filename":"file5"},{"photo_id":"1352251660","filename":"file2"},{"photo_id":"1352251715","filename":"file4"},{"photo_id":"1352251655","filename":"file1"},{"photo_id":"1352251633","filename":"file0"},{"photo_id":"1352251684","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352251734":["hashtag1","hashtag2"]},{"1352251655":["hashtag1","hashtag2"]},{"1352251715":["hashtag1","hashtag2"]},{"1352251660":["hashtag1","hashtag2"]},{"1352251684":["hashtag1","hashtag2"]},{"1352251633":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352251734, 1352251655, 1352251715, 1352251660, 1352251684, 1352251633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.943532943725586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:06:33.192863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_56_9390.jpg', '/home/pi/Desktop/images/12042025/14/28/image_12042025_14_28_27_10376.jpg', '/home/pi/Desktop/images/12042025/14/28/image_12042025_14_28_37_10447.jpg', '/home/pi/Desktop/images/12042025/14/28/image_12042025_14_28_46_9481.jpg', '/home/pi/Desktop/images/12042025/14/28/image_12042025_14_28_57_10374.jpg', '/home/pi/Desktop/images/12042025/14/28/image_12042025_14_29_06_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/27/image_12042025_14_27_56_9390.jpg
/home/pi/Desktop/images/12042025/14/28/image_12042025_14_28_27_10376.jpg
/home/pi/Desktop/images/12042025/14/28/image_12042025_14_28_37_10447.jpg
/home/pi/Desktop/images/12042025/14/28/image_12042025_14_28_46_9481.jpg
/home/pi/Desktop/images/12042025/14/28/image_12042025_14_28_57_10374.jpg
/home/pi/Desktop/images/12042025/14/28/image_12042025_14_29_06_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352252072","1352251955","1352251907","1352252166","1352252118","1352251998"],"photo_ids_order":["1352251907","1352251955","1352251998","1352252072","1352252118","1352252166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20be4960b21c5713600493c02e4757d6.jpg","text":"TemporaryFile(/tmp/multipartBody1993442681585512553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470453646,"filename":"image_12042025_14_28_46_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3629588a8084cacc7bb4113189d53238.jpg","text":"TemporaryFile(/tmp/multipartBody2920354151523530864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470453646,"filename":"image_12042025_14_28_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbda2698d235726386cc5bbda5a0254b.jpg","text":"TemporaryFile(/tmp/multipartBody6283149374667467966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470453646,"filename":"image_12042025_14_27_56_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f59127b9440494a7c69b28579b1f999.jpg","text":"TemporaryFile(/tmp/multipartBody6508787500951775163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470453646,"filename":"image_12042025_14_29_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d6fe7838f0a8d4ced76453ea8f0a067.jpg","text":"TemporaryFile(/tmp/multipartBody3488516640150820346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470453646,"filename":"image_12042025_14_28_57_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/687ff22ef78709e677b5d968e1d01c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3495675339991907309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470453646,"filename":"image_12042025_14_28_37_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352251998","file1":"1352251955","file0":"1352251907","file4":"1352252118","file5":"1352252166","file3":"1352252072"},"map_files_photo_id_array":[{"photo_id":"1352252166","filename":"file5"},{"photo_id":"1352251998","filename":"file2"},{"photo_id":"1352252118","filename":"file4"},{"photo_id":"1352251955","filename":"file1"},{"photo_id":"1352251907","filename":"file0"},{"photo_id":"1352252072","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352252072":["hashtag1","hashtag2"]},{"1352251955":["hashtag1","hashtag2"]},{"1352251907":["hashtag1","hashtag2"]},{"1352252166":["hashtag1","hashtag2"]},{"1352252118":["hashtag1","hashtag2"]},{"1352251998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352252072, 1352251955, 1352251907, 1352252166, 1352252118, 1352251998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.671241760253906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:07:32.389901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_17_10841.jpg', '/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_26_9397.jpg', '/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_37_10358.jpg', '/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_46_9438.jpg', '/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_57_10360.jpg', '/home/pi/Desktop/images/12042025/14/29/image_12042025_14_30_07_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_17_10841.jpg
/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_26_9397.jpg
/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_37_10358.jpg
/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_46_9438.jpg
/home/pi/Desktop/images/12042025/14/29/image_12042025_14_29_57_10360.jpg
/home/pi/Desktop/images/12042025/14/29/image_12042025_14_30_07_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352252438","1352252494","1352252542","1352252521","1352252472","1352252421"],"photo_ids_order":["1352252421","1352252438","1352252472","1352252494","1352252521","1352252542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/937c6617f4b4a64f16a337ddf84d550c.jpg","text":"TemporaryFile(/tmp/multipartBody1077445319177318375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470512845,"filename":"image_12042025_14_29_26_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22e4a1194c47ed28ede045b8033f020e.jpg","text":"TemporaryFile(/tmp/multipartBody366065984888973923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470512845,"filename":"image_12042025_14_29_46_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22182fbcead0c64c54d69616e84a9c6a.jpg","text":"TemporaryFile(/tmp/multipartBody3741634731792040354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470512845,"filename":"image_12042025_14_30_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ac5c91a396c05b2224649cdee6a1355.jpg","text":"TemporaryFile(/tmp/multipartBody15214379080739929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470512845,"filename":"image_12042025_14_29_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/426254d25c00ac58f9cadc4caff2c5cb.jpg","text":"TemporaryFile(/tmp/multipartBody2502805841775737269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470512845,"filename":"image_12042025_14_29_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5efd12d98b24452c153954ea677f1aed.jpg","text":"TemporaryFile(/tmp/multipartBody2801802391235748435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470512845,"filename":"image_12042025_14_29_17_10841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352252472","file1":"1352252438","file0":"1352252421","file4":"1352252521","file5":"1352252542","file3":"1352252494"},"map_files_photo_id_array":[{"photo_id":"1352252542","filename":"file5"},{"photo_id":"1352252472","filename":"file2"},{"photo_id":"1352252521","filename":"file4"},{"photo_id":"1352252438","filename":"file1"},{"photo_id":"1352252421","filename":"file0"},{"photo_id":"1352252494","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352252438":["hashtag1","hashtag2"]},{"1352252494":["hashtag1","hashtag2"]},{"1352252542":["hashtag1","hashtag2"]},{"1352252521":["hashtag1","hashtag2"]},{"1352252472":["hashtag1","hashtag2"]},{"1352252421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352252438, 1352252494, 1352252542, 1352252521, 1352252472, 1352252421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.413641691207886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:08:32.662956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_16_9482.jpg', '/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_27_10465.jpg', '/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_36_9500.jpg', '/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_47_10354.jpg', '/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_57_10363.jpg', '/home/pi/Desktop/images/12042025/14/30/image_12042025_14_31_06_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_16_9482.jpg
/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_27_10465.jpg
/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_36_9500.jpg
/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_47_10354.jpg
/home/pi/Desktop/images/12042025/14/30/image_12042025_14_30_57_10363.jpg
/home/pi/Desktop/images/12042025/14/30/image_12042025_14_31_06_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352252957","1352252770","1352252866","1352252911","1352252740","1352252820"],"photo_ids_order":["1352252740","1352252770","1352252820","1352252866","1352252911","1352252957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33533473a723e2ac79afc9cf6f3e969e.jpg","text":"TemporaryFile(/tmp/multipartBody4043038868354690523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470573122,"filename":"image_12042025_14_31_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7aeeb089d8d58fdfe709c5f3cfa3455e.jpg","text":"TemporaryFile(/tmp/multipartBody6777771707324369178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470573122,"filename":"image_12042025_14_30_27_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/412853b1c8bc125f76df382eadbeecf8.jpg","text":"TemporaryFile(/tmp/multipartBody7297057095624093579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470573122,"filename":"image_12042025_14_30_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90824e17b3a64ebeb492e421e66471cf.jpg","text":"TemporaryFile(/tmp/multipartBody2320110503627612108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470573122,"filename":"image_12042025_14_30_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb5aaea72ffd14b46dc1324dc388687b.jpg","text":"TemporaryFile(/tmp/multipartBody5642155857314441919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470573122,"filename":"image_12042025_14_30_16_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd0a720763d446a6a092a3a6949663a1.jpg","text":"TemporaryFile(/tmp/multipartBody2916898869669298654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470573122,"filename":"image_12042025_14_30_36_9500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352252820","file1":"1352252770","file0":"1352252740","file4":"1352252911","file5":"1352252957","file3":"1352252866"},"map_files_photo_id_array":[{"photo_id":"1352252957","filename":"file5"},{"photo_id":"1352252820","filename":"file2"},{"photo_id":"1352252911","filename":"file4"},{"photo_id":"1352252770","filename":"file1"},{"photo_id":"1352252740","filename":"file0"},{"photo_id":"1352252866","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352252957":["hashtag1","hashtag2"]},{"1352252770":["hashtag1","hashtag2"]},{"1352252866":["hashtag1","hashtag2"]},{"1352252911":["hashtag1","hashtag2"]},{"1352252740":["hashtag1","hashtag2"]},{"1352252820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352252957, 1352252770, 1352252866, 1352252911, 1352252740, 1352252820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87035608291626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:09:32.902270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/31/image_12042025_14_31_17_10358.jpg', '/home/pi/Desktop/images/12042025/14/32/image_12042025_14_32_37_10358.jpg', '/home/pi/Desktop/images/12042025/14/32/image_12042025_14_33_06_9350.jpg', '/home/pi/Desktop/images/12042025/14/33/image_12042025_14_33_27_10447.jpg', '/home/pi/Desktop/images/12042025/14/33/image_12042025_14_33_47_10348.jpg', '/home/pi/Desktop/images/12042025/14/33/image_12042025_14_34_07_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/31/image_12042025_14_31_17_10358.jpg
/home/pi/Desktop/images/12042025/14/32/image_12042025_14_32_37_10358.jpg
/home/pi/Desktop/images/12042025/14/32/image_12042025_14_33_06_9350.jpg
/home/pi/Desktop/images/12042025/14/33/image_12042025_14_33_27_10447.jpg
/home/pi/Desktop/images/12042025/14/33/image_12042025_14_33_47_10348.jpg
/home/pi/Desktop/images/12042025/14/33/image_12042025_14_34_07_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253422","1352253475","1352253564","1352253336","1352253300","1352253516"],"photo_ids_order":["1352253300","1352253336","1352253422","1352253475","1352253516","1352253564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ce6f2e7b087cb1bb8951c9990856f0c.jpg","text":"TemporaryFile(/tmp/multipartBody7260211993904006105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470633364,"filename":"image_12042025_14_33_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7eca15eea696c75fef9fa1193441181a.jpg","text":"TemporaryFile(/tmp/multipartBody2775446920930465247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470633364,"filename":"image_12042025_14_33_27_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51cda15cb14baa0175c558dfcffafc6b.jpg","text":"TemporaryFile(/tmp/multipartBody1019763101159986579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470633364,"filename":"image_12042025_14_34_07_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1eb59396a2ef6eeccc62eddc43ce3f8d.jpg","text":"TemporaryFile(/tmp/multipartBody7753402684281871166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470633364,"filename":"image_12042025_14_32_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e447044af2539ddd343b231d5d1201c0.jpg","text":"TemporaryFile(/tmp/multipartBody3397037350124854908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470633364,"filename":"image_12042025_14_31_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ff28e9e84fa76af34c5df081f29980d.jpg","text":"TemporaryFile(/tmp/multipartBody8489732026178363032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470633364,"filename":"image_12042025_14_33_47_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253422","file1":"1352253336","file0":"1352253300","file4":"1352253516","file5":"1352253564","file3":"1352253475"},"map_files_photo_id_array":[{"photo_id":"1352253564","filename":"file5"},{"photo_id":"1352253422","filename":"file2"},{"photo_id":"1352253516","filename":"file4"},{"photo_id":"1352253336","filename":"file1"},{"photo_id":"1352253300","filename":"file0"},{"photo_id":"1352253475","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352253422":["hashtag1","hashtag2"]},{"1352253475":["hashtag1","hashtag2"]},{"1352253564":["hashtag1","hashtag2"]},{"1352253336":["hashtag1","hashtag2"]},{"1352253300":["hashtag1","hashtag2"]},{"1352253516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352253422, 1352253475, 1352253564, 1352253336, 1352253300, 1352253516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09744215011597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:10:33.033392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/34/image_12042025_14_34_37_10364.jpg', '/home/pi/Desktop/images/12042025/14/34/image_12042025_14_34_57_10413.jpg', '/home/pi/Desktop/images/12042025/14/34/image_12042025_14_35_07_10348.jpg', '/home/pi/Desktop/images/12042025/14/35/image_12042025_14_35_16_9394.jpg', '/home/pi/Desktop/images/12042025/14/35/image_12042025_14_35_27_10360.jpg', '/home/pi/Desktop/images/12042025/14/35/image_12042025_14_35_46_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/34/image_12042025_14_34_37_10364.jpg
/home/pi/Desktop/images/12042025/14/34/image_12042025_14_34_57_10413.jpg
/home/pi/Desktop/images/12042025/14/34/image_12042025_14_35_07_10348.jpg
/home/pi/Desktop/images/12042025/14/35/image_12042025_14_35_16_9394.jpg
/home/pi/Desktop/images/12042025/14/35/image_12042025_14_35_27_10360.jpg
/home/pi/Desktop/images/12042025/14/35/image_12042025_14_35_46_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253755","1352253749","1352253743","1352253758","1352253752","1352253746"],"photo_ids_order":["1352253743","1352253746","1352253749","1352253752","1352253755","1352253758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efe7747134e4974a8fe2f8bbc7cc490d.jpg","text":"TemporaryFile(/tmp/multipartBody8214219242192049924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470693491,"filename":"image_12042025_14_35_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3f61e7e27d978f2990e36d6799e7705.jpg","text":"TemporaryFile(/tmp/multipartBody7379055228892980809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470693491,"filename":"image_12042025_14_35_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7dfc49399b6abf1bd807eb5bbb3980c7.jpg","text":"TemporaryFile(/tmp/multipartBody3246613140927853107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470693491,"filename":"image_12042025_14_34_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59b965e8c1931e37ce972903a9e6cbb6.jpg","text":"TemporaryFile(/tmp/multipartBody8161979755332425612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470693491,"filename":"image_12042025_14_35_46_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e01da84cf5ea7b43b72ed0cc95851a2.jpg","text":"TemporaryFile(/tmp/multipartBody3738379253804375012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470693491,"filename":"image_12042025_14_35_16_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fcce0a3b04ea7706790f00724aedb66e.jpg","text":"TemporaryFile(/tmp/multipartBody6261503958563143069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470693491,"filename":"image_12042025_14_34_57_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253749","file1":"1352253746","file0":"1352253743","file4":"1352253755","file5":"1352253758","file3":"1352253752"},"map_files_photo_id_array":[{"photo_id":"1352253758","filename":"file5"},{"photo_id":"1352253749","filename":"file2"},{"photo_id":"1352253755","filename":"file4"},{"photo_id":"1352253746","filename":"file1"},{"photo_id":"1352253743","filename":"file0"},{"photo_id":"1352253752","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352253755":["hashtag1","hashtag2"]},{"1352253749":["hashtag1","hashtag2"]},{"1352253743":["hashtag1","hashtag2"]},{"1352253758":["hashtag1","hashtag2"]},{"1352253752":["hashtag1","hashtag2"]},{"1352253746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352253755, 1352253749, 1352253743, 1352253758, 1352253752, 1352253746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96880340576172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:11:32.375214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/35/image_12042025_14_35_57_10364.jpg', '/home/pi/Desktop/images/12042025/14/36/image_12042025_14_36_17_10354.jpg', '/home/pi/Desktop/images/12042025/14/36/image_12042025_14_36_27_10445.jpg', '/home/pi/Desktop/images/12042025/14/36/image_12042025_14_36_36_9478.jpg', '/home/pi/Desktop/images/12042025/14/36/image_12042025_14_36_56_9456.jpg', '/home/pi/Desktop/images/12042025/14/36/image_12042025_14_37_07_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/35/image_12042025_14_35_57_10364.jpg
/home/pi/Desktop/images/12042025/14/36/image_12042025_14_36_17_10354.jpg
/home/pi/Desktop/images/12042025/14/36/image_12042025_14_36_27_10445.jpg
/home/pi/Desktop/images/12042025/14/36/image_12042025_14_36_36_9478.jpg
/home/pi/Desktop/images/12042025/14/36/image_12042025_14_36_56_9456.jpg
/home/pi/Desktop/images/12042025/14/36/image_12042025_14_37_07_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352253854","1352253812","1352253809","1352253853","1352253856","1352253829"],"photo_ids_order":["1352253809","1352253812","1352253829","1352253853","1352253854","1352253856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b259e9c87d07af60b1a5139a2d8ffc42.jpg","text":"TemporaryFile(/tmp/multipartBody664539105770110384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470752852,"filename":"image_12042025_14_36_56_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/114dca69cbf961c4050fc5e1bd157d0e.jpg","text":"TemporaryFile(/tmp/multipartBody71887140471920112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470752852,"filename":"image_12042025_14_36_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cadae44d7c4402fa730902891f82072.jpg","text":"TemporaryFile(/tmp/multipartBody8901359718679415300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470752852,"filename":"image_12042025_14_35_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0dbbdb2d478928ad737b51a85c6974a7.jpg","text":"TemporaryFile(/tmp/multipartBody4279375090333293265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470752852,"filename":"image_12042025_14_36_36_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a741ecd2e8b0858c143204ce1141288b.jpg","text":"TemporaryFile(/tmp/multipartBody7003450952338751807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470752852,"filename":"image_12042025_14_37_07_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b92899db5111fe02b648e49bc87fdc5.jpg","text":"TemporaryFile(/tmp/multipartBody8537212732545680781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470752852,"filename":"image_12042025_14_36_27_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352253829","file1":"1352253812","file0":"1352253809","file4":"1352253854","file5":"1352253856","file3":"1352253853"},"map_files_photo_id_array":[{"photo_id":"1352253856","filename":"file5"},{"photo_id":"1352253829","filename":"file2"},{"photo_id":"1352253854","filename":"file4"},{"photo_id":"1352253812","filename":"file1"},{"photo_id":"1352253809","filename":"file0"},{"photo_id":"1352253853","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352253854":["hashtag1","hashtag2"]},{"1352253812":["hashtag1","hashtag2"]},{"1352253809":["hashtag1","hashtag2"]},{"1352253853":["hashtag1","hashtag2"]},{"1352253856":["hashtag1","hashtag2"]},{"1352253829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352253854, 1352253812, 1352253809, 1352253853, 1352253856, 1352253829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11545705795288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:12:32.586422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/37/image_12042025_14_37_17_10355.jpg', '/home/pi/Desktop/images/12042025/14/37/image_12042025_14_37_26_9369.jpg', '/home/pi/Desktop/images/12042025/14/37/image_12042025_14_37_37_10373.jpg', '/home/pi/Desktop/images/12042025/14/37/image_12042025_14_37_57_10447.jpg', '/home/pi/Desktop/images/12042025/14/38/image_12042025_14_38_16_9430.jpg', '/home/pi/Desktop/images/12042025/14/38/image_12042025_14_38_47_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/37/image_12042025_14_37_17_10355.jpg
/home/pi/Desktop/images/12042025/14/37/image_12042025_14_37_26_9369.jpg
/home/pi/Desktop/images/12042025/14/37/image_12042025_14_37_37_10373.jpg
/home/pi/Desktop/images/12042025/14/37/image_12042025_14_37_57_10447.jpg
/home/pi/Desktop/images/12042025/14/38/image_12042025_14_38_16_9430.jpg
/home/pi/Desktop/images/12042025/14/38/image_12042025_14_38_47_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254192","1352254174","1352254120","1352254215","1352254148","1352254097"],"photo_ids_order":["1352254097","1352254120","1352254148","1352254174","1352254192","1352254215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28b4331e1ec1a12b7e651f61df117489.jpg","text":"TemporaryFile(/tmp/multipartBody4012732895557425528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470813079,"filename":"image_12042025_14_38_16_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2bcb4ddd31eb7235f6dba00a3b5f8d5.jpg","text":"TemporaryFile(/tmp/multipartBody478372367642836296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470813079,"filename":"image_12042025_14_37_57_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/640605f45ac973001f3881c8c337fe3e.jpg","text":"TemporaryFile(/tmp/multipartBody6056033525266136263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470813079,"filename":"image_12042025_14_37_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d185ae0e64deadac1d4a2d1fc4e54bc.jpg","text":"TemporaryFile(/tmp/multipartBody1176778822539493703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470813079,"filename":"image_12042025_14_38_47_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6d6eb93bacd45e6c9516f15f48a147a.jpg","text":"TemporaryFile(/tmp/multipartBody8643154718516596088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470813079,"filename":"image_12042025_14_37_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/109980e25e67f4ac287b2bc4e8f57ebc.jpg","text":"TemporaryFile(/tmp/multipartBody9019035247377113525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470813079,"filename":"image_12042025_14_37_17_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254148","file1":"1352254120","file0":"1352254097","file4":"1352254192","file5":"1352254215","file3":"1352254174"},"map_files_photo_id_array":[{"photo_id":"1352254215","filename":"file5"},{"photo_id":"1352254148","filename":"file2"},{"photo_id":"1352254192","filename":"file4"},{"photo_id":"1352254120","filename":"file1"},{"photo_id":"1352254097","filename":"file0"},{"photo_id":"1352254174","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352254192":["hashtag1","hashtag2"]},{"1352254174":["hashtag1","hashtag2"]},{"1352254120":["hashtag1","hashtag2"]},{"1352254215":["hashtag1","hashtag2"]},{"1352254148":["hashtag1","hashtag2"]},{"1352254097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352254192, 1352254174, 1352254120, 1352254215, 1352254148, 1352254097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23025369644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:13:32.813128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/38/image_12042025_14_39_07_9487.jpg', '/home/pi/Desktop/images/12042025/14/39/image_12042025_14_39_17_10369.jpg', '/home/pi/Desktop/images/12042025/14/39/image_12042025_14_39_26_9487.jpg', '/home/pi/Desktop/images/12042025/14/39/image_12042025_14_39_37_10362.jpg', '/home/pi/Desktop/images/12042025/14/39/image_12042025_14_39_47_10419.jpg', '/home/pi/Desktop/images/12042025/14/39/image_12042025_14_40_07_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/38/image_12042025_14_39_07_9487.jpg
/home/pi/Desktop/images/12042025/14/39/image_12042025_14_39_17_10369.jpg
/home/pi/Desktop/images/12042025/14/39/image_12042025_14_39_26_9487.jpg
/home/pi/Desktop/images/12042025/14/39/image_12042025_14_39_37_10362.jpg
/home/pi/Desktop/images/12042025/14/39/image_12042025_14_39_47_10419.jpg
/home/pi/Desktop/images/12042025/14/39/image_12042025_14_40_07_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254495","1352254498","1352254459","1352254501","1352254476","1352254434"],"photo_ids_order":["1352254434","1352254459","1352254476","1352254495","1352254498","1352254501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b989651ec7966f85a2c64cffe4dcf6a7.jpg","text":"TemporaryFile(/tmp/multipartBody3136411781755477655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470873282,"filename":"image_12042025_14_39_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eac3b5280ecf3efe538607b79a17dbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5095775014839463649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470873282,"filename":"image_12042025_14_39_47_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dca4a1b3c8cecf0a65e04327f07680d6.jpg","text":"TemporaryFile(/tmp/multipartBody5561339215965970239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470873282,"filename":"image_12042025_14_39_17_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0387675c2d82a09c41ef8dd35b38c1c5.jpg","text":"TemporaryFile(/tmp/multipartBody8677593579224238867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470873282,"filename":"image_12042025_14_40_07_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e19c396f51b54d832d5b5ab564d98edd.jpg","text":"TemporaryFile(/tmp/multipartBody7659860027266319284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470873282,"filename":"image_12042025_14_39_26_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a3a1404f0d222c3cee52b1e8775639b.jpg","text":"TemporaryFile(/tmp/multipartBody4542604842862131759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470873282,"filename":"image_12042025_14_39_07_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254476","file1":"1352254459","file0":"1352254434","file4":"1352254498","file5":"1352254501","file3":"1352254495"},"map_files_photo_id_array":[{"photo_id":"1352254501","filename":"file5"},{"photo_id":"1352254476","filename":"file2"},{"photo_id":"1352254498","filename":"file4"},{"photo_id":"1352254459","filename":"file1"},{"photo_id":"1352254434","filename":"file0"},{"photo_id":"1352254495","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352254495":["hashtag1","hashtag2"]},{"1352254498":["hashtag1","hashtag2"]},{"1352254459":["hashtag1","hashtag2"]},{"1352254501":["hashtag1","hashtag2"]},{"1352254476":["hashtag1","hashtag2"]},{"1352254434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352254495, 1352254498, 1352254459, 1352254501, 1352254476, 1352254434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68417239189148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:14:33.142340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/40/image_12042025_14_40_16_9454.jpg', '/home/pi/Desktop/images/12042025/14/40/image_12042025_14_40_27_10395.jpg', '/home/pi/Desktop/images/12042025/14/40/image_12042025_14_40_36_9361.jpg', '/home/pi/Desktop/images/12042025/14/40/image_12042025_14_40_47_10399.jpg', '/home/pi/Desktop/images/12042025/14/40/image_12042025_14_41_06_9407.jpg', '/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_17_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/40/image_12042025_14_40_16_9454.jpg
/home/pi/Desktop/images/12042025/14/40/image_12042025_14_40_27_10395.jpg
/home/pi/Desktop/images/12042025/14/40/image_12042025_14_40_36_9361.jpg
/home/pi/Desktop/images/12042025/14/40/image_12042025_14_40_47_10399.jpg
/home/pi/Desktop/images/12042025/14/40/image_12042025_14_41_06_9407.jpg
/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_17_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254630","1352254633","1352254650","1352254656","1352254629","1352254637"],"photo_ids_order":["1352254629","1352254630","1352254633","1352254637","1352254650","1352254656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e669df9cc70385d06cf0891bc8d32cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7398860434557956628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470933596,"filename":"image_12042025_14_40_27_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08a63621d95943b427f3297892b08977.jpg","text":"TemporaryFile(/tmp/multipartBody2297241927251149212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470933596,"filename":"image_12042025_14_40_36_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23a8f7a58de302ab81b0a9c996375848.jpg","text":"TemporaryFile(/tmp/multipartBody4978756666380266668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470933596,"filename":"image_12042025_14_41_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c1754028a6c06bb5191961c282cd8f6.jpg","text":"TemporaryFile(/tmp/multipartBody2002629227360068510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470933596,"filename":"image_12042025_14_41_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/baa77b77291f93737d4bc0b73c29c453.jpg","text":"TemporaryFile(/tmp/multipartBody1030776523681692981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470933596,"filename":"image_12042025_14_40_16_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d6f3ab27bf3c5a7cf271045d3926f01.jpg","text":"TemporaryFile(/tmp/multipartBody2169106070374681626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470933596,"filename":"image_12042025_14_40_47_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254633","file1":"1352254630","file0":"1352254629","file4":"1352254650","file5":"1352254656","file3":"1352254637"},"map_files_photo_id_array":[{"photo_id":"1352254656","filename":"file5"},{"photo_id":"1352254633","filename":"file2"},{"photo_id":"1352254650","filename":"file4"},{"photo_id":"1352254630","filename":"file1"},{"photo_id":"1352254629","filename":"file0"},{"photo_id":"1352254637","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352254630":["hashtag1","hashtag2"]},{"1352254633":["hashtag1","hashtag2"]},{"1352254650":["hashtag1","hashtag2"]},{"1352254656":["hashtag1","hashtag2"]},{"1352254629":["hashtag1","hashtag2"]},{"1352254637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352254630, 1352254633, 1352254650, 1352254656, 1352254629, 1352254637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.958292722702026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:15:32.269362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_27_10370.jpg', '/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_36_9344.jpg', '/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_47_10440.jpg', '/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_56_9469.jpg', '/home/pi/Desktop/images/12042025/14/41/image_12042025_14_42_07_10353.jpg', '/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_17_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_27_10370.jpg
/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_36_9344.jpg
/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_47_10440.jpg
/home/pi/Desktop/images/12042025/14/41/image_12042025_14_41_56_9469.jpg
/home/pi/Desktop/images/12042025/14/41/image_12042025_14_42_07_10353.jpg
/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_17_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254729","1352254731","1352254722","1352254725","1352254733","1352254727"],"photo_ids_order":["1352254722","1352254725","1352254727","1352254729","1352254731","1352254733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b499893095c5d8b1d68f4232bb43a357.jpg","text":"TemporaryFile(/tmp/multipartBody1693952216883003245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470992727,"filename":"image_12042025_14_41_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed327e99ea123d1bc8e18f2aebc8da44.jpg","text":"TemporaryFile(/tmp/multipartBody4243566057018891208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470992727,"filename":"image_12042025_14_42_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87a6894ac4dcd3a1f82111b9f073c43d.jpg","text":"TemporaryFile(/tmp/multipartBody401013610023624357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470992727,"filename":"image_12042025_14_41_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a67a5e5f65c90e42663e687b69e8e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8466998321515261321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470992727,"filename":"image_12042025_14_41_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/37f7b730b316a0a9774273222f4e97f3.jpg","text":"TemporaryFile(/tmp/multipartBody2371556580449080981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470992727,"filename":"image_12042025_14_42_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2af4b5c5d0ce55a4fd0f03194f556abc.jpg","text":"TemporaryFile(/tmp/multipartBody4601666908924176079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744470992727,"filename":"image_12042025_14_41_47_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254727","file1":"1352254725","file0":"1352254722","file4":"1352254731","file5":"1352254733","file3":"1352254729"},"map_files_photo_id_array":[{"photo_id":"1352254733","filename":"file5"},{"photo_id":"1352254727","filename":"file2"},{"photo_id":"1352254731","filename":"file4"},{"photo_id":"1352254725","filename":"file1"},{"photo_id":"1352254722","filename":"file0"},{"photo_id":"1352254729","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352254729":["hashtag1","hashtag2"]},{"1352254731":["hashtag1","hashtag2"]},{"1352254722":["hashtag1","hashtag2"]},{"1352254725":["hashtag1","hashtag2"]},{"1352254733":["hashtag1","hashtag2"]},{"1352254727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352254729, 1352254731, 1352254722, 1352254725, 1352254733, 1352254727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.272385597229004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:16:32.554201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_26_9382.jpg', '/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_37_10365.jpg', '/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_46_9426.jpg', '/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_57_10377.jpg', '/home/pi/Desktop/images/12042025/14/42/image_12042025_14_43_07_10356.jpg', '/home/pi/Desktop/images/12042025/14/43/image_12042025_14_43_16_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_26_9382.jpg
/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_37_10365.jpg
/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_46_9426.jpg
/home/pi/Desktop/images/12042025/14/42/image_12042025_14_42_57_10377.jpg
/home/pi/Desktop/images/12042025/14/42/image_12042025_14_43_07_10356.jpg
/home/pi/Desktop/images/12042025/14/43/image_12042025_14_43_16_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254780","1352254774","1352254777","1352254782","1352254784","1352254778"],"photo_ids_order":["1352254774","1352254777","1352254778","1352254780","1352254782","1352254784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/870f05d1912be8b22ee441db0c55cd13.jpg","text":"TemporaryFile(/tmp/multipartBody3389928721324635671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471053025,"filename":"image_12042025_14_42_57_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85ccbf5b786262eaf61bd40dae026119.jpg","text":"TemporaryFile(/tmp/multipartBody5722504627473888863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471053025,"filename":"image_12042025_14_42_26_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8bef5c4f9d989615e64096d73d114530.jpg","text":"TemporaryFile(/tmp/multipartBody4427426587264503259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471053025,"filename":"image_12042025_14_42_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c2bdc69d682b1c630dc537ac4c14586.jpg","text":"TemporaryFile(/tmp/multipartBody2590190501261503263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471053025,"filename":"image_12042025_14_43_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8520c2ae15a402cbf53eb6ce218c28e1.jpg","text":"TemporaryFile(/tmp/multipartBody5263165298575290057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471053025,"filename":"image_12042025_14_43_16_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eee678abbf9a54a2908a6096b043c7f2.jpg","text":"TemporaryFile(/tmp/multipartBody398779165652001908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471053025,"filename":"image_12042025_14_42_46_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254778","file1":"1352254777","file0":"1352254774","file4":"1352254782","file5":"1352254784","file3":"1352254780"},"map_files_photo_id_array":[{"photo_id":"1352254784","filename":"file5"},{"photo_id":"1352254778","filename":"file2"},{"photo_id":"1352254782","filename":"file4"},{"photo_id":"1352254777","filename":"file1"},{"photo_id":"1352254774","filename":"file0"},{"photo_id":"1352254780","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352254780":["hashtag1","hashtag2"]},{"1352254774":["hashtag1","hashtag2"]},{"1352254777":["hashtag1","hashtag2"]},{"1352254782":["hashtag1","hashtag2"]},{"1352254784":["hashtag1","hashtag2"]},{"1352254778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352254780, 1352254774, 1352254777, 1352254782, 1352254784, 1352254778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10586333274841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:17:32.672279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/43/image_12042025_14_43_47_10375.jpg', '/home/pi/Desktop/images/12042025/14/43/image_12042025_14_43_57_10379.jpg', '/home/pi/Desktop/images/12042025/14/43/image_12042025_14_44_06_9348.jpg', '/home/pi/Desktop/images/12042025/14/44/image_12042025_14_44_47_10383.jpg', '/home/pi/Desktop/images/12042025/14/45/image_12042025_14_45_26_9455.jpg', '/home/pi/Desktop/images/12042025/14/45/image_12042025_14_45_37_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/43/image_12042025_14_43_47_10375.jpg
/home/pi/Desktop/images/12042025/14/43/image_12042025_14_43_57_10379.jpg
/home/pi/Desktop/images/12042025/14/43/image_12042025_14_44_06_9348.jpg
/home/pi/Desktop/images/12042025/14/44/image_12042025_14_44_47_10383.jpg
/home/pi/Desktop/images/12042025/14/45/image_12042025_14_45_26_9455.jpg
/home/pi/Desktop/images/12042025/14/45/image_12042025_14_45_37_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254797","1352254830","1352254800","1352254853","1352254844","1352254817"],"photo_ids_order":["1352254797","1352254800","1352254817","1352254830","1352254844","1352254853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/834791d5ae46f7c39493b980d2fd99cb.jpg","text":"TemporaryFile(/tmp/multipartBody441903004362212658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471113140,"filename":"image_12042025_14_43_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d0cb73fb8192e91a071d9872f4cbb33.jpg","text":"TemporaryFile(/tmp/multipartBody721713174052517461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471113140,"filename":"image_12042025_14_44_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b20ce3117d4563a2aa1583c3b309fdb9.jpg","text":"TemporaryFile(/tmp/multipartBody7936347184758625816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471113140,"filename":"image_12042025_14_43_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1eaf85b5afea13e4fcd9741c647d8e0.jpg","text":"TemporaryFile(/tmp/multipartBody4306284930978781699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471113140,"filename":"image_12042025_14_45_37_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e973a9280c07ddc0c6f6c3c27408f0b.jpg","text":"TemporaryFile(/tmp/multipartBody6240707354839566956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471113140,"filename":"image_12042025_14_45_26_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fd78bef82d2e26f536ad2fb9f881adf.jpg","text":"TemporaryFile(/tmp/multipartBody7619776363476823353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471113140,"filename":"image_12042025_14_44_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254817","file1":"1352254800","file0":"1352254797","file4":"1352254844","file5":"1352254853","file3":"1352254830"},"map_files_photo_id_array":[{"photo_id":"1352254853","filename":"file5"},{"photo_id":"1352254817","filename":"file2"},{"photo_id":"1352254844","filename":"file4"},{"photo_id":"1352254800","filename":"file1"},{"photo_id":"1352254797","filename":"file0"},{"photo_id":"1352254830","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352254797":["hashtag1","hashtag2"]},{"1352254830":["hashtag1","hashtag2"]},{"1352254800":["hashtag1","hashtag2"]},{"1352254853":["hashtag1","hashtag2"]},{"1352254844":["hashtag1","hashtag2"]},{"1352254817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352254797, 1352254830, 1352254800, 1352254853, 1352254844, 1352254817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76762270927429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:18:32.899589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/45/image_12042025_14_45_46_9353.jpg', '/home/pi/Desktop/images/12042025/14/45/image_12042025_14_45_57_10362.jpg', '/home/pi/Desktop/images/12042025/14/46/image_12042025_14_46_16_9420.jpg', '/home/pi/Desktop/images/12042025/14/46/image_12042025_14_46_27_10346.jpg', '/home/pi/Desktop/images/12042025/14/46/image_12042025_14_46_46_9391.jpg', '/home/pi/Desktop/images/12042025/14/46/image_12042025_14_47_06_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/45/image_12042025_14_45_46_9353.jpg
/home/pi/Desktop/images/12042025/14/45/image_12042025_14_45_57_10362.jpg
/home/pi/Desktop/images/12042025/14/46/image_12042025_14_46_16_9420.jpg
/home/pi/Desktop/images/12042025/14/46/image_12042025_14_46_27_10346.jpg
/home/pi/Desktop/images/12042025/14/46/image_12042025_14_46_46_9391.jpg
/home/pi/Desktop/images/12042025/14/46/image_12042025_14_47_06_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352254951","1352254887","1352254959","1352254935","1352254908","1352254889"],"photo_ids_order":["1352254887","1352254889","1352254908","1352254935","1352254951","1352254959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3b90e2f7c90f8e1a6e3693a8a874022.jpg","text":"TemporaryFile(/tmp/multipartBody3879710236544603770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471173376,"filename":"image_12042025_14_46_46_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/caf51931d6b321001209c5d39a114d50.jpg","text":"TemporaryFile(/tmp/multipartBody2165077318856515749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471173376,"filename":"image_12042025_14_45_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/102f90df485e6dd2e76e401aded0f1a6.jpg","text":"TemporaryFile(/tmp/multipartBody22917257508707626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471173376,"filename":"image_12042025_14_47_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab67487f3cff6181fa0e033a59bad14c.jpg","text":"TemporaryFile(/tmp/multipartBody5303469835362160393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471173376,"filename":"image_12042025_14_46_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/873f1be9adc1763b315943cbafcfeabd.jpg","text":"TemporaryFile(/tmp/multipartBody7779509832180652296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471173376,"filename":"image_12042025_14_46_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d185a60bc31755015b29c597bb37f6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2732791856854333085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471173376,"filename":"image_12042025_14_45_57_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352254908","file1":"1352254889","file0":"1352254887","file4":"1352254951","file5":"1352254959","file3":"1352254935"},"map_files_photo_id_array":[{"photo_id":"1352254959","filename":"file5"},{"photo_id":"1352254908","filename":"file2"},{"photo_id":"1352254951","filename":"file4"},{"photo_id":"1352254889","filename":"file1"},{"photo_id":"1352254887","filename":"file0"},{"photo_id":"1352254935","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352254951":["hashtag1","hashtag2"]},{"1352254887":["hashtag1","hashtag2"]},{"1352254959":["hashtag1","hashtag2"]},{"1352254935":["hashtag1","hashtag2"]},{"1352254908":["hashtag1","hashtag2"]},{"1352254889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352254951, 1352254887, 1352254959, 1352254935, 1352254908, 1352254889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26788353919983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:19:33.292161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_17_10360.jpg', '/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_27_10367.jpg', '/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_36_9452.jpg', '/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_47_10419.jpg', '/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_56_9356.jpg', '/home/pi/Desktop/images/12042025/14/47/image_12042025_14_48_07_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_17_10360.jpg
/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_27_10367.jpg
/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_36_9452.jpg
/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_47_10419.jpg
/home/pi/Desktop/images/12042025/14/47/image_12042025_14_47_56_9356.jpg
/home/pi/Desktop/images/12042025/14/47/image_12042025_14_48_07_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255017","1352255019","1352255016","1352255021","1352255015","1352255018"],"photo_ids_order":["1352255015","1352255016","1352255017","1352255018","1352255019","1352255021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59ac7d7f4bb5e98485d1c973a8c9990c.jpg","text":"TemporaryFile(/tmp/multipartBody8045669972678182221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471233756,"filename":"image_12042025_14_47_36_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/481e268f175fcc1ecf389ffc9f3d9f65.jpg","text":"TemporaryFile(/tmp/multipartBody4968420879127587781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471233756,"filename":"image_12042025_14_47_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f473f216996841ff44a42baa27601fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4704981451155862168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471233756,"filename":"image_12042025_14_47_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27d181e0fd0d3a92eeaa815ff8bc651e.jpg","text":"TemporaryFile(/tmp/multipartBody5234851709865499996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471233756,"filename":"image_12042025_14_48_07_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/81df08ad0f7be20918ef91c246ecb4a7.jpg","text":"TemporaryFile(/tmp/multipartBody7978755832667500499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471233756,"filename":"image_12042025_14_47_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4df8415c051fbfbbe46477abe54945a0.jpg","text":"TemporaryFile(/tmp/multipartBody670367655089500159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471233756,"filename":"image_12042025_14_47_47_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255017","file1":"1352255016","file0":"1352255015","file4":"1352255019","file5":"1352255021","file3":"1352255018"},"map_files_photo_id_array":[{"photo_id":"1352255021","filename":"file5"},{"photo_id":"1352255017","filename":"file2"},{"photo_id":"1352255019","filename":"file4"},{"photo_id":"1352255016","filename":"file1"},{"photo_id":"1352255015","filename":"file0"},{"photo_id":"1352255018","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255017":["hashtag1","hashtag2"]},{"1352255019":["hashtag1","hashtag2"]},{"1352255016":["hashtag1","hashtag2"]},{"1352255021":["hashtag1","hashtag2"]},{"1352255015":["hashtag1","hashtag2"]},{"1352255018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255017, 1352255019, 1352255016, 1352255021, 1352255015, 1352255018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.782992124557495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:20:32.480409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/48/image_12042025_14_49_07_10434.jpg', '/home/pi/Desktop/images/12042025/14/49/image_12042025_14_49_16_9338.jpg', '/home/pi/Desktop/images/12042025/14/49/image_12042025_14_49_47_9440.jpg', '/home/pi/Desktop/images/12042025/14/50/image_12042025_14_50_36_9396.jpg', '/home/pi/Desktop/images/12042025/14/50/image_12042025_14_50_47_10409.jpg', '/home/pi/Desktop/images/12042025/14/50/image_12042025_14_50_56_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/48/image_12042025_14_49_07_10434.jpg
/home/pi/Desktop/images/12042025/14/49/image_12042025_14_49_16_9338.jpg
/home/pi/Desktop/images/12042025/14/49/image_12042025_14_49_47_9440.jpg
/home/pi/Desktop/images/12042025/14/50/image_12042025_14_50_36_9396.jpg
/home/pi/Desktop/images/12042025/14/50/image_12042025_14_50_47_10409.jpg
/home/pi/Desktop/images/12042025/14/50/image_12042025_14_50_56_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255410","1352255448","1352255433","1352255421","1352255415","1352255452"],"photo_ids_order":["1352255410","1352255415","1352255421","1352255433","1352255448","1352255452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2031dc3f0ee6e47b48b22cbdc591f888.jpg","text":"TemporaryFile(/tmp/multipartBody3660452894654232509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471292969,"filename":"image_12042025_14_49_07_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b57696179c57b529729c8100a6aec320.jpg","text":"TemporaryFile(/tmp/multipartBody2632857398917498802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471292969,"filename":"image_12042025_14_50_47_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f40a448b0f67d5e9d1b4135db2fc609.jpg","text":"TemporaryFile(/tmp/multipartBody7362009275415852159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471292969,"filename":"image_12042025_14_50_36_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46b6d7e0d89dfab64a40e7c70f679ac0.jpg","text":"TemporaryFile(/tmp/multipartBody4840528858012062478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471292969,"filename":"image_12042025_14_49_47_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14bfac824135fadebba5e47b35a7614f.jpg","text":"TemporaryFile(/tmp/multipartBody2628330222552876108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471292969,"filename":"image_12042025_14_49_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20c7a5fcc9470ee0ad8255b42bc4f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody2264977914456047599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471292969,"filename":"image_12042025_14_50_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255421","file1":"1352255415","file0":"1352255410","file4":"1352255448","file5":"1352255452","file3":"1352255433"},"map_files_photo_id_array":[{"photo_id":"1352255452","filename":"file5"},{"photo_id":"1352255421","filename":"file2"},{"photo_id":"1352255448","filename":"file4"},{"photo_id":"1352255415","filename":"file1"},{"photo_id":"1352255410","filename":"file0"},{"photo_id":"1352255433","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255410":["hashtag1","hashtag2"]},{"1352255448":["hashtag1","hashtag2"]},{"1352255433":["hashtag1","hashtag2"]},{"1352255421":["hashtag1","hashtag2"]},{"1352255415":["hashtag1","hashtag2"]},{"1352255452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255410, 1352255448, 1352255433, 1352255421, 1352255415, 1352255452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.906601667404175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:21:32.954282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/51/image_12042025_14_51_56_9473.jpg', '/home/pi/Desktop/images/12042025/14/51/image_12042025_14_52_07_10350.jpg', '/home/pi/Desktop/images/12042025/14/52/image_12042025_14_52_37_10387.jpg', '/home/pi/Desktop/images/12042025/14/52/image_12042025_14_52_46_9431.jpg', '/home/pi/Desktop/images/12042025/14/52/image_12042025_14_53_07_10345.jpg', '/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_27_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/51/image_12042025_14_51_56_9473.jpg
/home/pi/Desktop/images/12042025/14/51/image_12042025_14_52_07_10350.jpg
/home/pi/Desktop/images/12042025/14/52/image_12042025_14_52_37_10387.jpg
/home/pi/Desktop/images/12042025/14/52/image_12042025_14_52_46_9431.jpg
/home/pi/Desktop/images/12042025/14/52/image_12042025_14_53_07_10345.jpg
/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_27_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255530","1352255527","1352255529","1352255522","1352255531","1352255525"],"photo_ids_order":["1352255522","1352255525","1352255527","1352255529","1352255530","1352255531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6df1ccf9904137de0073afeccaecce0.jpg","text":"TemporaryFile(/tmp/multipartBody3477507274012223810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471353416,"filename":"image_12042025_14_53_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf726c64bdd6c961c0d097d087b12027.jpg","text":"TemporaryFile(/tmp/multipartBody6630768083661027506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471353416,"filename":"image_12042025_14_52_37_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c253ff2ec8af6a5e4bb65f96a82e33c5.jpg","text":"TemporaryFile(/tmp/multipartBody5734211283569395320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471353416,"filename":"image_12042025_14_52_46_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed94f4e561e6814567644f68a1755835.jpg","text":"TemporaryFile(/tmp/multipartBody466645657263228765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471353416,"filename":"image_12042025_14_51_56_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70eb21727cf64dde692b15ac28911bde.jpg","text":"TemporaryFile(/tmp/multipartBody384519835903856185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471353416,"filename":"image_12042025_14_53_27_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c73a275daf31a8e3fb1a16604ab404ee.jpg","text":"TemporaryFile(/tmp/multipartBody5294253056291680923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471353416,"filename":"image_12042025_14_52_07_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255527","file1":"1352255525","file0":"1352255522","file4":"1352255530","file5":"1352255531","file3":"1352255529"},"map_files_photo_id_array":[{"photo_id":"1352255531","filename":"file5"},{"photo_id":"1352255527","filename":"file2"},{"photo_id":"1352255530","filename":"file4"},{"photo_id":"1352255525","filename":"file1"},{"photo_id":"1352255522","filename":"file0"},{"photo_id":"1352255529","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255530":["hashtag1","hashtag2"]},{"1352255527":["hashtag1","hashtag2"]},{"1352255529":["hashtag1","hashtag2"]},{"1352255522":["hashtag1","hashtag2"]},{"1352255531":["hashtag1","hashtag2"]},{"1352255525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255530, 1352255527, 1352255529, 1352255522, 1352255531, 1352255525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.192461013793945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:22:33.136730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_36_9466.jpg', '/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_47_10391.jpg', '/home/pi/Desktop/images/12042025/14/54/image_12042025_14_54_37_10446.jpg', '/home/pi/Desktop/images/12042025/14/54/image_12042025_14_54_56_9382.jpg', '/home/pi/Desktop/images/12042025/14/54/image_12042025_14_55_07_10334.jpg', '/home/pi/Desktop/images/12042025/14/55/image_12042025_14_55_17_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_36_9466.jpg
/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_47_10391.jpg
/home/pi/Desktop/images/12042025/14/54/image_12042025_14_54_37_10446.jpg
/home/pi/Desktop/images/12042025/14/54/image_12042025_14_54_56_9382.jpg
/home/pi/Desktop/images/12042025/14/54/image_12042025_14_55_07_10334.jpg
/home/pi/Desktop/images/12042025/14/55/image_12042025_14_55_17_10361.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37943077087402344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 17:22:43.126409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_36_9466.jpg', '/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_47_10391.jpg', '/home/pi/Desktop/images/12042025/14/54/image_12042025_14_54_37_10446.jpg', '/home/pi/Desktop/images/12042025/14/54/image_12042025_14_54_56_9382.jpg', '/home/pi/Desktop/images/12042025/14/54/image_12042025_14_55_07_10334.jpg', '/home/pi/Desktop/images/12042025/14/55/image_12042025_14_55_17_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_36_9466.jpg
/home/pi/Desktop/images/12042025/14/53/image_12042025_14_53_47_10391.jpg
/home/pi/Desktop/images/12042025/14/54/image_12042025_14_54_37_10446.jpg
/home/pi/Desktop/images/12042025/14/54/image_12042025_14_54_56_9382.jpg
/home/pi/Desktop/images/12042025/14/54/image_12042025_14_55_07_10334.jpg
/home/pi/Desktop/images/12042025/14/55/image_12042025_14_55_17_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255563","1352255556","1352255565","1352255568","1352255553","1352255561"],"photo_ids_order":["1352255553","1352255556","1352255561","1352255563","1352255565","1352255568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca55f0c2d7ab54e1720862c2096f3416.jpg","text":"TemporaryFile(/tmp/multipartBody6108816637887610182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471423592,"filename":"image_12042025_14_54_56_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0513515f31b4e18a08258c98c6b66c55.jpg","text":"TemporaryFile(/tmp/multipartBody6031278673660376917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471423592,"filename":"image_12042025_14_53_47_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a3aab10de39aff9206eadc523294171.jpg","text":"TemporaryFile(/tmp/multipartBody6568083355480483548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471423592,"filename":"image_12042025_14_55_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/858610aee20dddeb05f2dec0771ac332.jpg","text":"TemporaryFile(/tmp/multipartBody69909646727405417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471423592,"filename":"image_12042025_14_55_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/481fdef9fee6e6db363d622150362f4e.jpg","text":"TemporaryFile(/tmp/multipartBody7546940325556077389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471423592,"filename":"image_12042025_14_53_36_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a73e45a8a04b22d554b737b2803617d.jpg","text":"TemporaryFile(/tmp/multipartBody6931277578140276960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471423592,"filename":"image_12042025_14_54_37_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255561","file1":"1352255556","file0":"1352255553","file4":"1352255565","file5":"1352255568","file3":"1352255563"},"map_files_photo_id_array":[{"photo_id":"1352255568","filename":"file5"},{"photo_id":"1352255561","filename":"file2"},{"photo_id":"1352255565","filename":"file4"},{"photo_id":"1352255556","filename":"file1"},{"photo_id":"1352255553","filename":"file0"},{"photo_id":"1352255563","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255563":["hashtag1","hashtag2"]},{"1352255556":["hashtag1","hashtag2"]},{"1352255565":["hashtag1","hashtag2"]},{"1352255568":["hashtag1","hashtag2"]},{"1352255553":["hashtag1","hashtag2"]},{"1352255561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255563, 1352255556, 1352255565, 1352255568, 1352255553, 1352255561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.508694648742676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:23:32.434220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/55/image_12042025_14_55_26_9347.jpg', '/home/pi/Desktop/images/12042025/14/55/image_12042025_14_56_07_10357.jpg', '/home/pi/Desktop/images/12042025/14/56/image_12042025_14_56_16_9354.jpg', '/home/pi/Desktop/images/12042025/14/56/image_12042025_14_56_27_10455.jpg', '/home/pi/Desktop/images/12042025/14/56/image_12042025_14_56_57_10393.jpg', '/home/pi/Desktop/images/12042025/14/56/image_12042025_14_57_06_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/55/image_12042025_14_55_26_9347.jpg
/home/pi/Desktop/images/12042025/14/55/image_12042025_14_56_07_10357.jpg
/home/pi/Desktop/images/12042025/14/56/image_12042025_14_56_16_9354.jpg
/home/pi/Desktop/images/12042025/14/56/image_12042025_14_56_27_10455.jpg
/home/pi/Desktop/images/12042025/14/56/image_12042025_14_56_57_10393.jpg
/home/pi/Desktop/images/12042025/14/56/image_12042025_14_57_06_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255592","1352255585","1352255594","1352255588","1352255579","1352255581"],"photo_ids_order":["1352255579","1352255581","1352255585","1352255588","1352255592","1352255594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/923becd3eecd0b85a8558c659b923200.jpg","text":"TemporaryFile(/tmp/multipartBody3069491757364897668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471472900,"filename":"image_12042025_14_56_57_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5557cb9cde0048685081de3283b22fdb.jpg","text":"TemporaryFile(/tmp/multipartBody2485080834136556966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471472900,"filename":"image_12042025_14_56_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e9c09412a0aa15b2b1de0adf9c22c12.jpg","text":"TemporaryFile(/tmp/multipartBody7369428850811825215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471472900,"filename":"image_12042025_14_57_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76d84d7010612c589aef7c3273823e05.jpg","text":"TemporaryFile(/tmp/multipartBody1715367021553371287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471472900,"filename":"image_12042025_14_56_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/350eec9ba957955f6d2fb86b4b922473.jpg","text":"TemporaryFile(/tmp/multipartBody6051430700217525000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471472900,"filename":"image_12042025_14_55_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/878ed5423ac354623c3743d12424f252.jpg","text":"TemporaryFile(/tmp/multipartBody6958387454294840981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471472900,"filename":"image_12042025_14_56_07_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255585","file1":"1352255581","file0":"1352255579","file4":"1352255592","file5":"1352255594","file3":"1352255588"},"map_files_photo_id_array":[{"photo_id":"1352255594","filename":"file5"},{"photo_id":"1352255585","filename":"file2"},{"photo_id":"1352255592","filename":"file4"},{"photo_id":"1352255581","filename":"file1"},{"photo_id":"1352255579","filename":"file0"},{"photo_id":"1352255588","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255592":["hashtag1","hashtag2"]},{"1352255585":["hashtag1","hashtag2"]},{"1352255594":["hashtag1","hashtag2"]},{"1352255588":["hashtag1","hashtag2"]},{"1352255579":["hashtag1","hashtag2"]},{"1352255581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255592, 1352255585, 1352255594, 1352255588, 1352255579, 1352255581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.074304580688477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:24:32.689833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/57/image_12042025_14_57_17_10359.jpg', '/home/pi/Desktop/images/12042025/14/57/image_12042025_14_57_27_10336.jpg', '/home/pi/Desktop/images/12042025/14/57/image_12042025_14_57_47_10496.jpg', '/home/pi/Desktop/images/12042025/14/57/image_12042025_14_57_56_9418.jpg', '/home/pi/Desktop/images/12042025/14/57/image_12042025_14_58_07_10458.jpg', '/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_17_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/57/image_12042025_14_57_17_10359.jpg
/home/pi/Desktop/images/12042025/14/57/image_12042025_14_57_27_10336.jpg
/home/pi/Desktop/images/12042025/14/57/image_12042025_14_57_47_10496.jpg
/home/pi/Desktop/images/12042025/14/57/image_12042025_14_57_56_9418.jpg
/home/pi/Desktop/images/12042025/14/57/image_12042025_14_58_07_10458.jpg
/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_17_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255620","1352255623","1352255631","1352255636","1352255633","1352255627"],"photo_ids_order":["1352255620","1352255623","1352255627","1352255631","1352255633","1352255636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcb746572023826ebc62ff39e82e4c14.jpg","text":"TemporaryFile(/tmp/multipartBody6326141032181743366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471533156,"filename":"image_12042025_14_57_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe408229d14d2990089eda88a3c5ac66.jpg","text":"TemporaryFile(/tmp/multipartBody8304650389678903446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471533156,"filename":"image_12042025_14_57_27_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/153671529cd728b699ae3320f7d6bcf0.jpg","text":"TemporaryFile(/tmp/multipartBody7012068238616025730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471533156,"filename":"image_12042025_14_57_56_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4acb351ccb2324ee2c068f403fdf6812.jpg","text":"TemporaryFile(/tmp/multipartBody6222957155501532077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471533156,"filename":"image_12042025_14_58_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1914138f6f5e30fab8ad727d09044390.jpg","text":"TemporaryFile(/tmp/multipartBody7252052106053842173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471533156,"filename":"image_12042025_14_58_07_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c01752f5dca56457de200f48312b9346.jpg","text":"TemporaryFile(/tmp/multipartBody6036844404978150851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471533156,"filename":"image_12042025_14_57_47_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255627","file1":"1352255623","file0":"1352255620","file4":"1352255633","file5":"1352255636","file3":"1352255631"},"map_files_photo_id_array":[{"photo_id":"1352255636","filename":"file5"},{"photo_id":"1352255627","filename":"file2"},{"photo_id":"1352255633","filename":"file4"},{"photo_id":"1352255623","filename":"file1"},{"photo_id":"1352255620","filename":"file0"},{"photo_id":"1352255631","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255620":["hashtag1","hashtag2"]},{"1352255623":["hashtag1","hashtag2"]},{"1352255631":["hashtag1","hashtag2"]},{"1352255636":["hashtag1","hashtag2"]},{"1352255633":["hashtag1","hashtag2"]},{"1352255627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255620, 1352255623, 1352255631, 1352255636, 1352255633, 1352255627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95928621292114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:25:33.070099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_27_9491.jpg', '/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_37_10412.jpg', '/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_46_9348.jpg', '/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_57_10410.jpg', '/home/pi/Desktop/images/12042025/14/58/image_12042025_14_59_07_10352.jpg', '/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_16_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_27_9491.jpg
/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_37_10412.jpg
/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_46_9348.jpg
/home/pi/Desktop/images/12042025/14/58/image_12042025_14_58_57_10410.jpg
/home/pi/Desktop/images/12042025/14/58/image_12042025_14_59_07_10352.jpg
/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_16_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255655","1352255664","1352255658","1352255666","1352255660","1352255654"],"photo_ids_order":["1352255654","1352255655","1352255658","1352255660","1352255664","1352255666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c63bd7b0ec813686a0c25f1102bc5521.jpg","text":"TemporaryFile(/tmp/multipartBody3745856766036841898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471593540,"filename":"image_12042025_14_58_37_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96e86e84aea4fe1ac33aeafef9ecea3c.jpg","text":"TemporaryFile(/tmp/multipartBody8304063579444514012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471593540,"filename":"image_12042025_14_59_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f68332c214114718399ea2dec36e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody1723981538929436795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471593540,"filename":"image_12042025_14_58_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d71043c38ce428a5373d18031d96595f.jpg","text":"TemporaryFile(/tmp/multipartBody2287575113112337962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471593540,"filename":"image_12042025_14_59_16_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08915b6263c81ac8db41f4ab997f4c8b.jpg","text":"TemporaryFile(/tmp/multipartBody4424935006736118915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471593540,"filename":"image_12042025_14_58_57_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2815f7f498f64596c2d32423dba8c62e.jpg","text":"TemporaryFile(/tmp/multipartBody3218113039303026182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471593540,"filename":"image_12042025_14_58_27_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255658","file1":"1352255655","file0":"1352255654","file4":"1352255664","file5":"1352255666","file3":"1352255660"},"map_files_photo_id_array":[{"photo_id":"1352255666","filename":"file5"},{"photo_id":"1352255658","filename":"file2"},{"photo_id":"1352255664","filename":"file4"},{"photo_id":"1352255655","filename":"file1"},{"photo_id":"1352255654","filename":"file0"},{"photo_id":"1352255660","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255655":["hashtag1","hashtag2"]},{"1352255664":["hashtag1","hashtag2"]},{"1352255658":["hashtag1","hashtag2"]},{"1352255666":["hashtag1","hashtag2"]},{"1352255660":["hashtag1","hashtag2"]},{"1352255654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255655, 1352255664, 1352255658, 1352255666, 1352255660, 1352255654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43754959106445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:26:32.140790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_27_10366.jpg', '/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_36_9363.jpg', '/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_47_10370.jpg', '/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_57_10395.jpg', '/home/pi/Desktop/images/12042025/15/00/image_12042025_15_00_16_10953.jpg', '/home/pi/Desktop/images/12042025/15/00/image_12042025_15_00_45_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_27_10366.jpg
/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_36_9363.jpg
/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_47_10370.jpg
/home/pi/Desktop/images/12042025/14/59/image_12042025_14_59_57_10395.jpg
/home/pi/Desktop/images/12042025/15/00/image_12042025_15_00_16_10953.jpg
/home/pi/Desktop/images/12042025/15/00/image_12042025_15_00_45_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255691","1352255694","1352255697","1352255700","1352255689","1352255686"],"photo_ids_order":["1352255686","1352255689","1352255691","1352255694","1352255697","1352255700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9dcc2f11b98ee7acdac790d49c30232c.jpg","text":"TemporaryFile(/tmp/multipartBody1660139734148281780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471652610,"filename":"image_12042025_14_59_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74926784bd355e7d96c9b8308a1fd1d6.jpg","text":"TemporaryFile(/tmp/multipartBody7913717457836820391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471652610,"filename":"image_12042025_14_59_57_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97d3bf3006beeaa36264d06d9be5c3c1.jpg","text":"TemporaryFile(/tmp/multipartBody2668901966721561574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471652610,"filename":"image_12042025_15_00_16_10953.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ccafdcd0c9c022c70abb69ed4572290.jpg","text":"TemporaryFile(/tmp/multipartBody4083501521420209783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471652610,"filename":"image_12042025_15_00_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4020462edc8c412ae50edf2686be78ea.jpg","text":"TemporaryFile(/tmp/multipartBody2199557233174141372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471652610,"filename":"image_12042025_14_59_36_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ba3b2df29e95c410455c0ba239ed4bd.jpg","text":"TemporaryFile(/tmp/multipartBody7155518189591624838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471652610,"filename":"image_12042025_14_59_27_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255691","file1":"1352255689","file0":"1352255686","file4":"1352255697","file5":"1352255700","file3":"1352255694"},"map_files_photo_id_array":[{"photo_id":"1352255700","filename":"file5"},{"photo_id":"1352255691","filename":"file2"},{"photo_id":"1352255697","filename":"file4"},{"photo_id":"1352255689","filename":"file1"},{"photo_id":"1352255686","filename":"file0"},{"photo_id":"1352255694","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255691":["hashtag1","hashtag2"]},{"1352255694":["hashtag1","hashtag2"]},{"1352255697":["hashtag1","hashtag2"]},{"1352255700":["hashtag1","hashtag2"]},{"1352255689":["hashtag1","hashtag2"]},{"1352255686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255691, 1352255694, 1352255697, 1352255700, 1352255689, 1352255686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92826843261719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:27:32.478518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/00/image_12042025_15_01_06_10436.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_15_9399.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_26_10368.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_35_9346.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_46_10472.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_56_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/00/image_12042025_15_01_06_10436.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_15_9399.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_26_10368.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_35_9346.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_46_10472.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_56_10339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3843352794647217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 17:27:42.406525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/00/image_12042025_15_01_06_10436.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_15_9399.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_26_10368.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_35_9346.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_46_10472.jpg', '/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_56_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/00/image_12042025_15_01_06_10436.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_15_9399.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_26_10368.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_35_9346.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_46_10472.jpg
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_01_56_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255772","1352255769","1352255763","1352255766","1352255768","1352255744"],"photo_ids_order":["1352255744","1352255763","1352255766","1352255768","1352255769","1352255772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b001f50762527945e4f5f83c8451c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5116719554039347235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471722871,"filename":"image_12042025_15_01_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65bd26281a3b30a67fb43577968a8fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8888682776114286094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471722871,"filename":"image_12042025_15_01_46_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28dabe5784ac9b4f5d3a9d6689e001b8.jpg","text":"TemporaryFile(/tmp/multipartBody2783104338346093817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471722871,"filename":"image_12042025_15_01_15_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b217230991ea4e12301c592b2b406ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5044064433059040783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471722871,"filename":"image_12042025_15_01_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a69a814f9233c64448bbb1586d79223.jpg","text":"TemporaryFile(/tmp/multipartBody7673596822205287646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471722871,"filename":"image_12042025_15_01_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29e4fb0fce5304c545d6e49bbe95424f.jpg","text":"TemporaryFile(/tmp/multipartBody3894996794470657251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471722871,"filename":"image_12042025_15_01_06_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255766","file1":"1352255763","file0":"1352255744","file4":"1352255769","file5":"1352255772","file3":"1352255768"},"map_files_photo_id_array":[{"photo_id":"1352255772","filename":"file5"},{"photo_id":"1352255766","filename":"file2"},{"photo_id":"1352255769","filename":"file4"},{"photo_id":"1352255763","filename":"file1"},{"photo_id":"1352255744","filename":"file0"},{"photo_id":"1352255768","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255772":["hashtag1","hashtag2"]},{"1352255769":["hashtag1","hashtag2"]},{"1352255763":["hashtag1","hashtag2"]},{"1352255766":["hashtag1","hashtag2"]},{"1352255768":["hashtag1","hashtag2"]},{"1352255744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255772, 1352255769, 1352255763, 1352255766, 1352255768, 1352255744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.620001792907715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 17:28:42.580048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/01/image_12042025_15_02_05_9343.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_16_10445.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_25_9410.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_36_10367.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_46_10359.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_55_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_02_05_9343.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_16_10445.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_25_9410.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_36_10367.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_46_10359.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_55_9498.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38928914070129395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:28:52.580421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/01/image_12042025_15_02_05_9343.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_16_10445.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_25_9410.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_36_10367.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_46_10359.jpg', '/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_55_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/01/image_12042025_15_02_05_9343.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_16_10445.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_25_9410.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_36_10367.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_46_10359.jpg
/home/pi/Desktop/images/12042025/15/02/image_12042025_15_02_55_9498.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255874","1352255864","1352255858","1352255861","1352255869","1352255872"],"photo_ids_order":["1352255858","1352255861","1352255864","1352255869","1352255872","1352255874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f48f75a9dce8579e9dfcf4d5eae3661.jpg","text":"TemporaryFile(/tmp/multipartBody6788178422601075209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471793045,"filename":"image_12042025_15_02_55_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/931a96d756bcd1eb6594558f20f28d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5681510842396036290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471793045,"filename":"image_12042025_15_02_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1a7f1ec5fb72ac5a243fbceba879eb1.jpg","text":"TemporaryFile(/tmp/multipartBody2285571052702615805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471793045,"filename":"image_12042025_15_02_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/957b9b8967d428f69c3157bda3ceed14.jpg","text":"TemporaryFile(/tmp/multipartBody8178080532640062229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471793045,"filename":"image_12042025_15_02_16_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f286b387636345a3ffd647472fa1e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody803324026210589218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471793045,"filename":"image_12042025_15_02_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02a2a5a15e808b6db206aa74c68c1884.jpg","text":"TemporaryFile(/tmp/multipartBody2798715289449751521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471793045,"filename":"image_12042025_15_02_46_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255864","file1":"1352255861","file0":"1352255858","file4":"1352255872","file5":"1352255874","file3":"1352255869"},"map_files_photo_id_array":[{"photo_id":"1352255874","filename":"file5"},{"photo_id":"1352255864","filename":"file2"},{"photo_id":"1352255872","filename":"file4"},{"photo_id":"1352255861","filename":"file1"},{"photo_id":"1352255858","filename":"file0"},{"photo_id":"1352255869","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255874":["hashtag1","hashtag2"]},{"1352255864":["hashtag1","hashtag2"]},{"1352255858":["hashtag1","hashtag2"]},{"1352255861":["hashtag1","hashtag2"]},{"1352255869":["hashtag1","hashtag2"]},{"1352255872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255874, 1352255864, 1352255858, 1352255861, 1352255869, 1352255872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.365957736968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:29:32.883265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_15_9355.jpg', '/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_26_10435.jpg', '/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_36_10356.jpg', '/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_45_9416.jpg', '/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_56_10347.jpg', '/home/pi/Desktop/images/12042025/15/03/image_12042025_15_04_06_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_15_9355.jpg
/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_26_10435.jpg
/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_36_10356.jpg
/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_45_9416.jpg
/home/pi/Desktop/images/12042025/15/03/image_12042025_15_03_56_10347.jpg
/home/pi/Desktop/images/12042025/15/03/image_12042025_15_04_06_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255882","1352255891","1352255888","1352255887","1352255890","1352255884"],"photo_ids_order":["1352255882","1352255884","1352255887","1352255888","1352255890","1352255891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e79ec8f0de9cb430244f8251158cac7b.jpg","text":"TemporaryFile(/tmp/multipartBody6752512817206990681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471833341,"filename":"image_12042025_15_03_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/957b0e36a3d2c11dc2f6e16e69a7b953.jpg","text":"TemporaryFile(/tmp/multipartBody1615895930154920693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471833341,"filename":"image_12042025_15_04_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23ca43ae967bd8f17fd3183f1095eb1e.jpg","text":"TemporaryFile(/tmp/multipartBody4263442532942192669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471833341,"filename":"image_12042025_15_03_45_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/434342b2c52b83bb4210bdd217420b28.jpg","text":"TemporaryFile(/tmp/multipartBody1674206261806679732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471833341,"filename":"image_12042025_15_03_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d96ec5f7c46177f3bb15416e1cf5ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4104593110624156208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471833341,"filename":"image_12042025_15_03_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8553f01d4213d23644c31a0d52918b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6562840345648906134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471833341,"filename":"image_12042025_15_03_26_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255887","file1":"1352255884","file0":"1352255882","file4":"1352255890","file5":"1352255891","file3":"1352255888"},"map_files_photo_id_array":[{"photo_id":"1352255891","filename":"file5"},{"photo_id":"1352255887","filename":"file2"},{"photo_id":"1352255890","filename":"file4"},{"photo_id":"1352255884","filename":"file1"},{"photo_id":"1352255882","filename":"file0"},{"photo_id":"1352255888","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255882":["hashtag1","hashtag2"]},{"1352255891":["hashtag1","hashtag2"]},{"1352255888":["hashtag1","hashtag2"]},{"1352255887":["hashtag1","hashtag2"]},{"1352255890":["hashtag1","hashtag2"]},{"1352255884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255882, 1352255891, 1352255888, 1352255887, 1352255890, 1352255884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37122321128845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:30:33.062744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/04/image_12042025_15_04_15_9373.jpg', '/home/pi/Desktop/images/12042025/15/04/image_12042025_15_04_35_9378.jpg', '/home/pi/Desktop/images/12042025/15/04/image_12042025_15_04_46_10369.jpg', '/home/pi/Desktop/images/12042025/15/04/image_12042025_15_04_56_10425.jpg', '/home/pi/Desktop/images/12042025/15/04/image_12042025_15_05_05_9412.jpg', '/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_16_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/04/image_12042025_15_04_15_9373.jpg
/home/pi/Desktop/images/12042025/15/04/image_12042025_15_04_35_9378.jpg
/home/pi/Desktop/images/12042025/15/04/image_12042025_15_04_46_10369.jpg
/home/pi/Desktop/images/12042025/15/04/image_12042025_15_04_56_10425.jpg
/home/pi/Desktop/images/12042025/15/04/image_12042025_15_05_05_9412.jpg
/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_16_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352255970","1352255967","1352255972","1352255962","1352255971","1352255965"],"photo_ids_order":["1352255962","1352255965","1352255967","1352255970","1352255971","1352255972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7b94a18b3fb8637ee240d5bc27ea651.jpg","text":"TemporaryFile(/tmp/multipartBody8177218867216976546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471893524,"filename":"image_12042025_15_04_56_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2aa8593e4754831a376a889b0bf08aee.jpg","text":"TemporaryFile(/tmp/multipartBody444329847463318523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471893524,"filename":"image_12042025_15_04_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7aa849d106d9f429dd94e9ef0719775.jpg","text":"TemporaryFile(/tmp/multipartBody3198567806509313760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471893524,"filename":"image_12042025_15_05_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6c72b5f9468d8a95e9aa3293bf891da.jpg","text":"TemporaryFile(/tmp/multipartBody8206502323919396633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471893524,"filename":"image_12042025_15_04_15_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab6cf3812af77471862c828f11d54c68.jpg","text":"TemporaryFile(/tmp/multipartBody7517912520169943247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471893524,"filename":"image_12042025_15_05_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25e746c7cf41e6fd6110d55722ef42dd.jpg","text":"TemporaryFile(/tmp/multipartBody8558456406928802298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471893524,"filename":"image_12042025_15_04_35_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352255967","file1":"1352255965","file0":"1352255962","file4":"1352255971","file5":"1352255972","file3":"1352255970"},"map_files_photo_id_array":[{"photo_id":"1352255972","filename":"file5"},{"photo_id":"1352255967","filename":"file2"},{"photo_id":"1352255971","filename":"file4"},{"photo_id":"1352255965","filename":"file1"},{"photo_id":"1352255962","filename":"file0"},{"photo_id":"1352255970","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352255970":["hashtag1","hashtag2"]},{"1352255967":["hashtag1","hashtag2"]},{"1352255972":["hashtag1","hashtag2"]},{"1352255962":["hashtag1","hashtag2"]},{"1352255971":["hashtag1","hashtag2"]},{"1352255965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352255970, 1352255967, 1352255972, 1352255962, 1352255971, 1352255965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03701853752136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:31:32.248081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_25_9432.jpg', '/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_36_10352.jpg', '/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_46_10349.jpg', '/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_55_9511.jpg', '/home/pi/Desktop/images/12042025/15/05/image_12042025_15_06_06_10352.jpg', '/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_16_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_25_9432.jpg
/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_36_10352.jpg
/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_46_10349.jpg
/home/pi/Desktop/images/12042025/15/05/image_12042025_15_05_55_9511.jpg
/home/pi/Desktop/images/12042025/15/05/image_12042025_15_06_06_10352.jpg
/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_16_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256042","1352256036","1352256038","1352256061","1352256040","1352256031"],"photo_ids_order":["1352256031","1352256036","1352256038","1352256040","1352256042","1352256061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22ef65e7758cd36ca1a58374bddff8e8.jpg","text":"TemporaryFile(/tmp/multipartBody358610181708721903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471952730,"filename":"image_12042025_15_06_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59737318a5a6e739513ec0fa6155cfc1.jpg","text":"TemporaryFile(/tmp/multipartBody8482956165359976067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471952730,"filename":"image_12042025_15_05_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5cb9924c7c80105dd518a982da551f4a.jpg","text":"TemporaryFile(/tmp/multipartBody7448906591275940295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471952730,"filename":"image_12042025_15_05_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4c68855154a3546def12e3f2da62a9b.jpg","text":"TemporaryFile(/tmp/multipartBody1971337640765439436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471952730,"filename":"image_12042025_15_06_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9dede12c34ba80529e6ec55646af8d87.jpg","text":"TemporaryFile(/tmp/multipartBody8018266046025008914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471952730,"filename":"image_12042025_15_05_55_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fba16effe4addd73990b2bfcac7f1475.jpg","text":"TemporaryFile(/tmp/multipartBody1722270544556179199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744471952730,"filename":"image_12042025_15_05_25_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256038","file1":"1352256036","file0":"1352256031","file4":"1352256042","file5":"1352256061","file3":"1352256040"},"map_files_photo_id_array":[{"photo_id":"1352256061","filename":"file5"},{"photo_id":"1352256038","filename":"file2"},{"photo_id":"1352256042","filename":"file4"},{"photo_id":"1352256036","filename":"file1"},{"photo_id":"1352256031","filename":"file0"},{"photo_id":"1352256040","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352256042":["hashtag1","hashtag2"]},{"1352256036":["hashtag1","hashtag2"]},{"1352256038":["hashtag1","hashtag2"]},{"1352256061":["hashtag1","hashtag2"]},{"1352256040":["hashtag1","hashtag2"]},{"1352256031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352256042, 1352256036, 1352256038, 1352256061, 1352256040, 1352256031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53707528114319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:32:32.510133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_26_9412.jpg', '/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_36_10346.jpg', '/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_45_9399.jpg', '/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_56_10451.jpg', '/home/pi/Desktop/images/12042025/15/06/image_12042025_15_07_06_10374.jpg', '/home/pi/Desktop/images/12042025/15/07/image_12042025_15_07_35_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_26_9412.jpg
/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_36_10346.jpg
/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_45_9399.jpg
/home/pi/Desktop/images/12042025/15/06/image_12042025_15_06_56_10451.jpg
/home/pi/Desktop/images/12042025/15/06/image_12042025_15_07_06_10374.jpg
/home/pi/Desktop/images/12042025/15/07/image_12042025_15_07_35_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256351","1352256330","1352256324","1352256333","1352256386","1352256448"],"photo_ids_order":["1352256324","1352256330","1352256333","1352256351","1352256386","1352256448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf7b060695ad5289f0073f4a40081c5c.jpg","text":"TemporaryFile(/tmp/multipartBody8754641458873905636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472012990,"filename":"image_12042025_15_06_56_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b50932b5146b912f9335759c22879e46.jpg","text":"TemporaryFile(/tmp/multipartBody2320499041065924429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472012990,"filename":"image_12042025_15_06_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/481ca8d9cbdfc105ff24e35d053a37d1.jpg","text":"TemporaryFile(/tmp/multipartBody5125149330569968226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472012990,"filename":"image_12042025_15_06_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9049c0db85ad0380f290a8bb15a2b727.jpg","text":"TemporaryFile(/tmp/multipartBody7060359761133413908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472012990,"filename":"image_12042025_15_06_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c0fee490b826565a0593a6bb0429779.jpg","text":"TemporaryFile(/tmp/multipartBody310393591171737297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472012990,"filename":"image_12042025_15_07_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2cda586625dd0212b9ec09c8859103d.jpg","text":"TemporaryFile(/tmp/multipartBody2886947135214746892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472012990,"filename":"image_12042025_15_07_35_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256333","file1":"1352256330","file0":"1352256324","file4":"1352256386","file5":"1352256448","file3":"1352256351"},"map_files_photo_id_array":[{"photo_id":"1352256448","filename":"file5"},{"photo_id":"1352256333","filename":"file2"},{"photo_id":"1352256386","filename":"file4"},{"photo_id":"1352256330","filename":"file1"},{"photo_id":"1352256324","filename":"file0"},{"photo_id":"1352256351","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352256351":["hashtag1","hashtag2"]},{"1352256330":["hashtag1","hashtag2"]},{"1352256324":["hashtag1","hashtag2"]},{"1352256333":["hashtag1","hashtag2"]},{"1352256386":["hashtag1","hashtag2"]},{"1352256448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352256351, 1352256330, 1352256324, 1352256333, 1352256386, 1352256448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.375972270965576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:33:32.791006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/07/image_12042025_15_07_46_10457.jpg', '/home/pi/Desktop/images/12042025/15/07/image_12042025_15_07_56_10362.jpg', '/home/pi/Desktop/images/12042025/15/07/image_12042025_15_08_05_9415.jpg', '/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_16_10407.jpg', '/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_25_9351.jpg', '/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_36_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/07/image_12042025_15_07_46_10457.jpg
/home/pi/Desktop/images/12042025/15/07/image_12042025_15_07_56_10362.jpg
/home/pi/Desktop/images/12042025/15/07/image_12042025_15_08_05_9415.jpg
/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_16_10407.jpg
/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_25_9351.jpg
/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_36_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256563","1352256572","1352256566","1352256569","1352256560","1352256557"],"photo_ids_order":["1352256557","1352256560","1352256563","1352256566","1352256569","1352256572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/655a6d89d3ed9e2bbf313b1269b31f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7212905165901308386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472073268,"filename":"image_12042025_15_08_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c96734d5819b5b87cce2945701433f7.jpg","text":"TemporaryFile(/tmp/multipartBody1605579889769931437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472073268,"filename":"image_12042025_15_08_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad6205a90c12207da34c3f4862fc7737.jpg","text":"TemporaryFile(/tmp/multipartBody6245295849551136352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472073268,"filename":"image_12042025_15_08_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3bf302ab78f6a16680d052782370c4ff.jpg","text":"TemporaryFile(/tmp/multipartBody7552291365723676638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472073268,"filename":"image_12042025_15_08_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/781e5e41312d9a0337886c2306832d08.jpg","text":"TemporaryFile(/tmp/multipartBody7803452955364485041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472073268,"filename":"image_12042025_15_07_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3655f2ff771a2af957715e0787ea69d2.jpg","text":"TemporaryFile(/tmp/multipartBody3165653078111605266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472073268,"filename":"image_12042025_15_07_46_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256563","file1":"1352256560","file0":"1352256557","file4":"1352256569","file5":"1352256572","file3":"1352256566"},"map_files_photo_id_array":[{"photo_id":"1352256572","filename":"file5"},{"photo_id":"1352256563","filename":"file2"},{"photo_id":"1352256569","filename":"file4"},{"photo_id":"1352256560","filename":"file1"},{"photo_id":"1352256557","filename":"file0"},{"photo_id":"1352256566","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352256563":["hashtag1","hashtag2"]},{"1352256572":["hashtag1","hashtag2"]},{"1352256566":["hashtag1","hashtag2"]},{"1352256569":["hashtag1","hashtag2"]},{"1352256560":["hashtag1","hashtag2"]},{"1352256557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352256563, 1352256572, 1352256566, 1352256569, 1352256560, 1352256557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67571210861206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:34:33.008513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_46_10383.jpg', '/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_55_9486.jpg', '/home/pi/Desktop/images/12042025/15/08/image_12042025_15_09_06_10363.jpg', '/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_15_9336.jpg', '/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_26_10433.jpg', '/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_36_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_46_10383.jpg
/home/pi/Desktop/images/12042025/15/08/image_12042025_15_08_55_9486.jpg
/home/pi/Desktop/images/12042025/15/08/image_12042025_15_09_06_10363.jpg
/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_15_9336.jpg
/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_26_10433.jpg
/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_36_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256681","1352256657","1352256626","1352256629","1352256706","1352256634"],"photo_ids_order":["1352256626","1352256629","1352256634","1352256657","1352256681","1352256706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/808ab81270417bdb2cd23d23601c05fb.jpg","text":"TemporaryFile(/tmp/multipartBody2790012452930942051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472133464,"filename":"image_12042025_15_09_26_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db295569e5b2d09fedbb02fcc02a30ff.jpg","text":"TemporaryFile(/tmp/multipartBody7425651361259323470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472133464,"filename":"image_12042025_15_09_15_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/026b8ff1754a8ab2d3e71432f7a2ef38.jpg","text":"TemporaryFile(/tmp/multipartBody8354385131414680803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472133464,"filename":"image_12042025_15_08_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/611f88ae1dac932708abdf8d6e521343.jpg","text":"TemporaryFile(/tmp/multipartBody165663428834250523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472133464,"filename":"image_12042025_15_08_55_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b99163f4d26e4fd2ed0b1e2da64dfe0f.jpg","text":"TemporaryFile(/tmp/multipartBody1262989834849547827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472133464,"filename":"image_12042025_15_09_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d7e16b4a8e16dceb568a53ffb19351d.jpg","text":"TemporaryFile(/tmp/multipartBody6568721763179340651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472133464,"filename":"image_12042025_15_09_06_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256634","file1":"1352256629","file0":"1352256626","file4":"1352256681","file5":"1352256706","file3":"1352256657"},"map_files_photo_id_array":[{"photo_id":"1352256706","filename":"file5"},{"photo_id":"1352256634","filename":"file2"},{"photo_id":"1352256681","filename":"file4"},{"photo_id":"1352256629","filename":"file1"},{"photo_id":"1352256626","filename":"file0"},{"photo_id":"1352256657","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352256681":["hashtag1","hashtag2"]},{"1352256657":["hashtag1","hashtag2"]},{"1352256626":["hashtag1","hashtag2"]},{"1352256629":["hashtag1","hashtag2"]},{"1352256706":["hashtag1","hashtag2"]},{"1352256634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352256681, 1352256657, 1352256626, 1352256629, 1352256706, 1352256634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.50071907043457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:35:32.182196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_46_9470.jpg', '/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_56_10355.jpg', '/home/pi/Desktop/images/12042025/15/09/image_12042025_15_10_05_9341.jpg', '/home/pi/Desktop/images/12042025/15/10/image_12042025_15_10_16_10420.jpg', '/home/pi/Desktop/images/12042025/15/10/image_12042025_15_10_26_10359.jpg', '/home/pi/Desktop/images/12042025/15/10/image_12042025_15_10_55_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_46_9470.jpg
/home/pi/Desktop/images/12042025/15/09/image_12042025_15_09_56_10355.jpg
/home/pi/Desktop/images/12042025/15/09/image_12042025_15_10_05_9341.jpg
/home/pi/Desktop/images/12042025/15/10/image_12042025_15_10_16_10420.jpg
/home/pi/Desktop/images/12042025/15/10/image_12042025_15_10_26_10359.jpg
/home/pi/Desktop/images/12042025/15/10/image_12042025_15_10_55_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352256933","1352256900","1352256893","1352256906","1352256953","1352256902"],"photo_ids_order":["1352256893","1352256900","1352256902","1352256906","1352256933","1352256953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/501d4c276fdd0af95037cda51ce052ff.jpg","text":"TemporaryFile(/tmp/multipartBody1728618033385363878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472192643,"filename":"image_12042025_15_10_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8acc153ab349c4895e1698ac33be27d.jpg","text":"TemporaryFile(/tmp/multipartBody8385328105384175918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472192643,"filename":"image_12042025_15_09_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc8f3135ac12efa874be11f3fd6a21f4.jpg","text":"TemporaryFile(/tmp/multipartBody2060339836985801526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472192643,"filename":"image_12042025_15_09_46_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14a99a825382669f025a8e2e93f6605a.jpg","text":"TemporaryFile(/tmp/multipartBody1658056639789629624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472192643,"filename":"image_12042025_15_10_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddbb0697e7d9d5c9cabb760d267ce501.jpg","text":"TemporaryFile(/tmp/multipartBody5266935085485955809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472192643,"filename":"image_12042025_15_10_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42ba00d8c5e74abb0395a142a41e1370.jpg","text":"TemporaryFile(/tmp/multipartBody3340765105330105271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472192643,"filename":"image_12042025_15_10_05_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352256902","file1":"1352256900","file0":"1352256893","file4":"1352256933","file5":"1352256953","file3":"1352256906"},"map_files_photo_id_array":[{"photo_id":"1352256953","filename":"file5"},{"photo_id":"1352256902","filename":"file2"},{"photo_id":"1352256933","filename":"file4"},{"photo_id":"1352256900","filename":"file1"},{"photo_id":"1352256893","filename":"file0"},{"photo_id":"1352256906","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352256933":["hashtag1","hashtag2"]},{"1352256900":["hashtag1","hashtag2"]},{"1352256893":["hashtag1","hashtag2"]},{"1352256906":["hashtag1","hashtag2"]},{"1352256953":["hashtag1","hashtag2"]},{"1352256902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352256933, 1352256900, 1352256893, 1352256906, 1352256953, 1352256902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.531755208969116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:36:32.379791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/11/image_12042025_15_11_16_10387.jpg', '/home/pi/Desktop/images/12042025/15/11/image_12042025_15_11_25_9425.jpg', '/home/pi/Desktop/images/12042025/15/11/image_12042025_15_11_36_10371.jpg', '/home/pi/Desktop/images/12042025/15/11/image_12042025_15_11_56_10373.jpg', '/home/pi/Desktop/images/12042025/15/11/image_12042025_15_12_06_10351.jpg', '/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_15_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/11/image_12042025_15_11_16_10387.jpg
/home/pi/Desktop/images/12042025/15/11/image_12042025_15_11_25_9425.jpg
/home/pi/Desktop/images/12042025/15/11/image_12042025_15_11_36_10371.jpg
/home/pi/Desktop/images/12042025/15/11/image_12042025_15_11_56_10373.jpg
/home/pi/Desktop/images/12042025/15/11/image_12042025_15_12_06_10351.jpg
/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_15_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257068","1352257073","1352257076","1352257070","1352257078","1352257065"],"photo_ids_order":["1352257065","1352257068","1352257070","1352257073","1352257076","1352257078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea428e4bc5adacf2a210e8cf689dedda.jpg","text":"TemporaryFile(/tmp/multipartBody1912795347323250751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472252858,"filename":"image_12042025_15_11_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3c597b99ea716e8d5eea86f6ab5fb49.jpg","text":"TemporaryFile(/tmp/multipartBody3129115789801761220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472252858,"filename":"image_12042025_15_11_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98de23bcff8c4938cec59fe22549d2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2097740888866199757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472252858,"filename":"image_12042025_15_12_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1bc5577bc83be25cf87dd3f2eb490c6.jpg","text":"TemporaryFile(/tmp/multipartBody6113247706950159132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472252858,"filename":"image_12042025_15_11_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f955737308466588a74863cb1d76e46.jpg","text":"TemporaryFile(/tmp/multipartBody4536135608240912443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472252858,"filename":"image_12042025_15_12_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5cc71e0e6f528691cad642074470a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody486573116720150260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472252858,"filename":"image_12042025_15_11_16_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257070","file1":"1352257068","file0":"1352257065","file4":"1352257076","file5":"1352257078","file3":"1352257073"},"map_files_photo_id_array":[{"photo_id":"1352257078","filename":"file5"},{"photo_id":"1352257070","filename":"file2"},{"photo_id":"1352257076","filename":"file4"},{"photo_id":"1352257068","filename":"file1"},{"photo_id":"1352257065","filename":"file0"},{"photo_id":"1352257073","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352257068":["hashtag1","hashtag2"]},{"1352257073":["hashtag1","hashtag2"]},{"1352257076":["hashtag1","hashtag2"]},{"1352257070":["hashtag1","hashtag2"]},{"1352257078":["hashtag1","hashtag2"]},{"1352257065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352257068, 1352257073, 1352257076, 1352257070, 1352257078, 1352257065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.353161334991455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 17:37:42.581811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_26_10431.jpg', '/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_36_10363.jpg', '/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_45_9434.jpg', '/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_56_10356.jpg', '/home/pi/Desktop/images/12042025/15/12/image_12042025_15_13_05_9333.jpg', '/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_16_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_26_10431.jpg
/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_36_10363.jpg
/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_45_9434.jpg
/home/pi/Desktop/images/12042025/15/12/image_12042025_15_12_56_10356.jpg
/home/pi/Desktop/images/12042025/15/12/image_12042025_15_13_05_9333.jpg
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_16_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257196","1352257213","1352257284","1352257237","1352257204","1352257182"],"photo_ids_order":["1352257182","1352257196","1352257204","1352257213","1352257237","1352257284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9186b46e27fa144bcea13e948266f562.jpg","text":"TemporaryFile(/tmp/multipartBody8731098814156364889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472323037,"filename":"image_12042025_15_12_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd87cbb8ed219fe64bb7a30f9c5490e3.jpg","text":"TemporaryFile(/tmp/multipartBody2550613911713696297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472323037,"filename":"image_12042025_15_12_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79549f3052ffa401357884d2387eb657.jpg","text":"TemporaryFile(/tmp/multipartBody8723066116910116934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472323037,"filename":"image_12042025_15_13_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d134de165507722d3df9f60754d5a453.jpg","text":"TemporaryFile(/tmp/multipartBody6878746697502259140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472323037,"filename":"image_12042025_15_13_05_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36ae0f3363c71c01844f82d3d45b26bb.jpg","text":"TemporaryFile(/tmp/multipartBody645818953178228108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472323037,"filename":"image_12042025_15_12_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f91d70d649f2f36888eb7c42d0617da7.jpg","text":"TemporaryFile(/tmp/multipartBody6704175397239357953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472323037,"filename":"image_12042025_15_12_26_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257204","file1":"1352257196","file0":"1352257182","file4":"1352257237","file5":"1352257284","file3":"1352257213"},"map_files_photo_id_array":[{"photo_id":"1352257284","filename":"file5"},{"photo_id":"1352257204","filename":"file2"},{"photo_id":"1352257237","filename":"file4"},{"photo_id":"1352257196","filename":"file1"},{"photo_id":"1352257182","filename":"file0"},{"photo_id":"1352257213","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352257196":["hashtag1","hashtag2"]},{"1352257213":["hashtag1","hashtag2"]},{"1352257284":["hashtag1","hashtag2"]},{"1352257237":["hashtag1","hashtag2"]},{"1352257204":["hashtag1","hashtag2"]},{"1352257182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352257196, 1352257213, 1352257284, 1352257237, 1352257204, 1352257182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599284410476685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:38:32.980901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_26_10356.jpg', '/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_46_10361.jpg', '/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_56_10360.jpg', '/home/pi/Desktop/images/12042025/15/13/image_12042025_15_14_05_9348.jpg', '/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_16_10417.jpg', '/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_26_10356.jpg
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_46_10361.jpg
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_56_10360.jpg
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_14_05_9348.jpg
/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_16_10417.jpg
/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_26_10376.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37430357933044434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 17:38:42.992550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_26_10356.jpg', '/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_46_10361.jpg', '/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_56_10360.jpg', '/home/pi/Desktop/images/12042025/15/13/image_12042025_15_14_05_9348.jpg', '/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_16_10417.jpg', '/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_26_10356.jpg
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_46_10361.jpg
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_13_56_10360.jpg
/home/pi/Desktop/images/12042025/15/13/image_12042025_15_14_05_9348.jpg
/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_16_10417.jpg
/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_26_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257399","1352257403","1352257406","1352257396","1352257408","1352257428"],"photo_ids_order":["1352257396","1352257399","1352257403","1352257406","1352257408","1352257428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae91014f23918ac7872fd75ea5d3fc9c.jpg","text":"TemporaryFile(/tmp/multipartBody5870303089779635072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472383538,"filename":"image_12042025_15_13_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fe3f03631a52a08d9cb7ef79ddf4767.jpg","text":"TemporaryFile(/tmp/multipartBody8247384354285630860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472383538,"filename":"image_12042025_15_13_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/18df415b2f04cebe0f114049e14f35f6.jpg","text":"TemporaryFile(/tmp/multipartBody1779745507062317348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472383538,"filename":"image_12042025_15_14_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e014eca69e1ecd945f51cb24557a08c.jpg","text":"TemporaryFile(/tmp/multipartBody5756804437413118989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472383538,"filename":"image_12042025_15_13_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab9b55bd186d2c25deed14a4da2edc50.jpg","text":"TemporaryFile(/tmp/multipartBody4793891844801521973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472383538,"filename":"image_12042025_15_14_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16823e6d5446242331be3029c2c8ff29.jpg","text":"TemporaryFile(/tmp/multipartBody3621449673020288047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472383538,"filename":"image_12042025_15_14_26_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257403","file1":"1352257399","file0":"1352257396","file4":"1352257408","file5":"1352257428","file3":"1352257406"},"map_files_photo_id_array":[{"photo_id":"1352257428","filename":"file5"},{"photo_id":"1352257403","filename":"file2"},{"photo_id":"1352257408","filename":"file4"},{"photo_id":"1352257399","filename":"file1"},{"photo_id":"1352257396","filename":"file0"},{"photo_id":"1352257406","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352257399":["hashtag1","hashtag2"]},{"1352257403":["hashtag1","hashtag2"]},{"1352257406":["hashtag1","hashtag2"]},{"1352257396":["hashtag1","hashtag2"]},{"1352257408":["hashtag1","hashtag2"]},{"1352257428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352257399, 1352257403, 1352257406, 1352257396, 1352257408, 1352257428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62911415100098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:39:32.225920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_36_9472.jpg', '/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_46_10364.jpg', '/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_55_9359.jpg', '/home/pi/Desktop/images/12042025/15/14/image_12042025_15_15_06_10421.jpg', '/home/pi/Desktop/images/12042025/15/15/image_12042025_15_15_16_10342.jpg', '/home/pi/Desktop/images/12042025/15/15/image_12042025_15_15_25_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_36_9472.jpg
/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_46_10364.jpg
/home/pi/Desktop/images/12042025/15/14/image_12042025_15_14_55_9359.jpg
/home/pi/Desktop/images/12042025/15/14/image_12042025_15_15_06_10421.jpg
/home/pi/Desktop/images/12042025/15/15/image_12042025_15_15_16_10342.jpg
/home/pi/Desktop/images/12042025/15/15/image_12042025_15_15_25_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257656","1352257658","1352257669","1352257660","1352257662","1352257665"],"photo_ids_order":["1352257656","1352257658","1352257660","1352257662","1352257665","1352257669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5af765dd6ad6d8d2f522896423369fe8.jpg","text":"TemporaryFile(/tmp/multipartBody504003168782041609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472432695,"filename":"image_12042025_15_14_36_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14331e2d2c07c91b0828dbdf0a52e702.jpg","text":"TemporaryFile(/tmp/multipartBody4967201503123047643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472432695,"filename":"image_12042025_15_14_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fac99c7dff3bb0e342f1268e8018c4b.jpg","text":"TemporaryFile(/tmp/multipartBody1497984138992126696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472432695,"filename":"image_12042025_15_15_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1affdb37900213283fa520925432f4fa.jpg","text":"TemporaryFile(/tmp/multipartBody3916512038002588508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472432695,"filename":"image_12042025_15_14_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b50fc335f47fdd4382ec146274aa197d.jpg","text":"TemporaryFile(/tmp/multipartBody7458121955811899859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472432695,"filename":"image_12042025_15_15_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd4a3b6dba8cc70b3d2f47cddb010492.jpg","text":"TemporaryFile(/tmp/multipartBody2149494076587904435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472432695,"filename":"image_12042025_15_15_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257660","file1":"1352257658","file0":"1352257656","file4":"1352257665","file5":"1352257669","file3":"1352257662"},"map_files_photo_id_array":[{"photo_id":"1352257669","filename":"file5"},{"photo_id":"1352257660","filename":"file2"},{"photo_id":"1352257665","filename":"file4"},{"photo_id":"1352257658","filename":"file1"},{"photo_id":"1352257656","filename":"file0"},{"photo_id":"1352257662","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352257656":["hashtag1","hashtag2"]},{"1352257658":["hashtag1","hashtag2"]},{"1352257669":["hashtag1","hashtag2"]},{"1352257660":["hashtag1","hashtag2"]},{"1352257662":["hashtag1","hashtag2"]},{"1352257665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352257656, 1352257658, 1352257669, 1352257660, 1352257662, 1352257665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56160283088684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:40:32.600896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/15/image_12042025_15_15_36_10413.jpg', '/home/pi/Desktop/images/12042025/15/15/image_12042025_15_15_45_9349.jpg', '/home/pi/Desktop/images/12042025/15/15/image_12042025_15_16_06_10354.jpg', '/home/pi/Desktop/images/12042025/15/16/image_12042025_15_16_15_9401.jpg', '/home/pi/Desktop/images/12042025/15/16/image_12042025_15_16_35_9368.jpg', '/home/pi/Desktop/images/12042025/15/16/image_12042025_15_16_46_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/15/image_12042025_15_15_36_10413.jpg
/home/pi/Desktop/images/12042025/15/15/image_12042025_15_15_45_9349.jpg
/home/pi/Desktop/images/12042025/15/15/image_12042025_15_16_06_10354.jpg
/home/pi/Desktop/images/12042025/15/16/image_12042025_15_16_15_9401.jpg
/home/pi/Desktop/images/12042025/15/16/image_12042025_15_16_35_9368.jpg
/home/pi/Desktop/images/12042025/15/16/image_12042025_15_16_46_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257783","1352257792","1352257794","1352257788","1352257797","1352257785"],"photo_ids_order":["1352257783","1352257785","1352257788","1352257792","1352257794","1352257797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe85cb5b47d9fc77e182bf867488394f.jpg","text":"TemporaryFile(/tmp/multipartBody4102521954950764722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472493136,"filename":"image_12042025_15_15_36_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc365c3bd6d3e5223c1448e23df4d693.jpg","text":"TemporaryFile(/tmp/multipartBody4485033917758819858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472493136,"filename":"image_12042025_15_16_15_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8ae3aa93dad1141318336e9a8682786.jpg","text":"TemporaryFile(/tmp/multipartBody5133320625244160109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472493136,"filename":"image_12042025_15_16_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9dc08ac043e18fb56178654dbda8b6e4.jpg","text":"TemporaryFile(/tmp/multipartBody3062420757646869939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472493136,"filename":"image_12042025_15_16_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab1ba805c38045b75f41445097b5c829.jpg","text":"TemporaryFile(/tmp/multipartBody5551231749694554972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472493136,"filename":"image_12042025_15_16_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b26af118b4347819ba5ebf7cff47aa14.jpg","text":"TemporaryFile(/tmp/multipartBody4904317958137433247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472493136,"filename":"image_12042025_15_15_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257788","file1":"1352257785","file0":"1352257783","file4":"1352257794","file5":"1352257797","file3":"1352257792"},"map_files_photo_id_array":[{"photo_id":"1352257797","filename":"file5"},{"photo_id":"1352257788","filename":"file2"},{"photo_id":"1352257794","filename":"file4"},{"photo_id":"1352257785","filename":"file1"},{"photo_id":"1352257783","filename":"file0"},{"photo_id":"1352257792","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352257783":["hashtag1","hashtag2"]},{"1352257792":["hashtag1","hashtag2"]},{"1352257794":["hashtag1","hashtag2"]},{"1352257788":["hashtag1","hashtag2"]},{"1352257797":["hashtag1","hashtag2"]},{"1352257785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352257783, 1352257792, 1352257794, 1352257788, 1352257797, 1352257785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65204954147339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:41:32.676811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/16/image_12042025_15_16_56_10369.jpg', '/home/pi/Desktop/images/12042025/15/16/image_12042025_15_17_05_9393.jpg', '/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_16_10346.jpg', '/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_26_10359.jpg', '/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_36_9443.jpg', '/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_46_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/16/image_12042025_15_16_56_10369.jpg
/home/pi/Desktop/images/12042025/15/16/image_12042025_15_17_05_9393.jpg
/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_16_10346.jpg
/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_26_10359.jpg
/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_36_9443.jpg
/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_46_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257827","1352257812","1352257821","1352257809","1352257832","1352257816"],"photo_ids_order":["1352257809","1352257812","1352257816","1352257821","1352257827","1352257832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0349e0cb701d8f176e7a6cf0dac0f887.jpg","text":"TemporaryFile(/tmp/multipartBody1631443501690053216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472553148,"filename":"image_12042025_15_17_36_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c53dd1a008e7d3269492a188dbbd8590.jpg","text":"TemporaryFile(/tmp/multipartBody8174089960530933318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472553148,"filename":"image_12042025_15_17_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f15a63aae361e86eacd255f8f3b79c31.jpg","text":"TemporaryFile(/tmp/multipartBody3902757598669745948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472553148,"filename":"image_12042025_15_17_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c599e2f831710a6420b4853cd4fece0.jpg","text":"TemporaryFile(/tmp/multipartBody5851183249319052496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472553148,"filename":"image_12042025_15_16_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a72dc440e783c66628afedba8f66c56f.jpg","text":"TemporaryFile(/tmp/multipartBody1004993496714676780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472553148,"filename":"image_12042025_15_17_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a350ae7e41707c330c53904555ba7285.jpg","text":"TemporaryFile(/tmp/multipartBody7564547599776620015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472553148,"filename":"image_12042025_15_17_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257816","file1":"1352257812","file0":"1352257809","file4":"1352257827","file5":"1352257832","file3":"1352257821"},"map_files_photo_id_array":[{"photo_id":"1352257832","filename":"file5"},{"photo_id":"1352257816","filename":"file2"},{"photo_id":"1352257827","filename":"file4"},{"photo_id":"1352257812","filename":"file1"},{"photo_id":"1352257809","filename":"file0"},{"photo_id":"1352257821","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352257827":["hashtag1","hashtag2"]},{"1352257812":["hashtag1","hashtag2"]},{"1352257821":["hashtag1","hashtag2"]},{"1352257809":["hashtag1","hashtag2"]},{"1352257832":["hashtag1","hashtag2"]},{"1352257816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352257827, 1352257812, 1352257821, 1352257809, 1352257832, 1352257816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.50889253616333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:42:32.939664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_55_9489.jpg', '/home/pi/Desktop/images/12042025/15/17/image_12042025_15_18_06_10356.jpg', '/home/pi/Desktop/images/12042025/15/18/image_12042025_15_18_16_10338.jpg', '/home/pi/Desktop/images/12042025/15/18/image_12042025_15_18_36_10362.jpg', '/home/pi/Desktop/images/12042025/15/18/image_12042025_15_18_45_9336.jpg', '/home/pi/Desktop/images/12042025/15/18/image_12042025_15_18_56_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/17/image_12042025_15_17_55_9489.jpg
/home/pi/Desktop/images/12042025/15/17/image_12042025_15_18_06_10356.jpg
/home/pi/Desktop/images/12042025/15/18/image_12042025_15_18_16_10338.jpg
/home/pi/Desktop/images/12042025/15/18/image_12042025_15_18_36_10362.jpg
/home/pi/Desktop/images/12042025/15/18/image_12042025_15_18_45_9336.jpg
/home/pi/Desktop/images/12042025/15/18/image_12042025_15_18_56_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352257940","1352257958","1352257922","1352257901","1352257945","1352257933"],"photo_ids_order":["1352257901","1352257922","1352257933","1352257940","1352257945","1352257958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48c6f40d9823bf20624ad2458c366d0d.jpg","text":"TemporaryFile(/tmp/multipartBody3771597379152654546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472613395,"filename":"image_12042025_15_18_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99fc3ab035bd8e82abfb6b5b4502c3c6.jpg","text":"TemporaryFile(/tmp/multipartBody6115973820804889030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472613395,"filename":"image_12042025_15_18_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/315d3faf7f854f0025926ae281146efd.jpg","text":"TemporaryFile(/tmp/multipartBody8895546497510271420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472613395,"filename":"image_12042025_15_18_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f4163645eca382569df034658b900a3.jpg","text":"TemporaryFile(/tmp/multipartBody2683412994746913171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472613395,"filename":"image_12042025_15_17_55_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2914f7959515909560888f6a6cf42c9.jpg","text":"TemporaryFile(/tmp/multipartBody7066021366745965680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472613395,"filename":"image_12042025_15_18_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/797ce75709b9221c282282beef545b9d.jpg","text":"TemporaryFile(/tmp/multipartBody5785263646949644188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472613395,"filename":"image_12042025_15_18_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352257933","file1":"1352257922","file0":"1352257901","file4":"1352257945","file5":"1352257958","file3":"1352257940"},"map_files_photo_id_array":[{"photo_id":"1352257958","filename":"file5"},{"photo_id":"1352257933","filename":"file2"},{"photo_id":"1352257945","filename":"file4"},{"photo_id":"1352257922","filename":"file1"},{"photo_id":"1352257901","filename":"file0"},{"photo_id":"1352257940","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352257940":["hashtag1","hashtag2"]},{"1352257958":["hashtag1","hashtag2"]},{"1352257922":["hashtag1","hashtag2"]},{"1352257901":["hashtag1","hashtag2"]},{"1352257945":["hashtag1","hashtag2"]},{"1352257933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352257940, 1352257958, 1352257922, 1352257901, 1352257945, 1352257933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43799591064453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:43:33.120971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/18/image_12042025_15_19_06_10344.jpg', '/home/pi/Desktop/images/12042025/15/19/image_12042025_15_19_15_9332.jpg', '/home/pi/Desktop/images/12042025/15/19/image_12042025_15_19_36_10355.jpg', '/home/pi/Desktop/images/12042025/15/19/image_12042025_15_19_45_9366.jpg', '/home/pi/Desktop/images/12042025/15/19/image_12042025_15_19_56_10448.jpg', '/home/pi/Desktop/images/12042025/15/20/image_12042025_15_20_16_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/18/image_12042025_15_19_06_10344.jpg
/home/pi/Desktop/images/12042025/15/19/image_12042025_15_19_15_9332.jpg
/home/pi/Desktop/images/12042025/15/19/image_12042025_15_19_36_10355.jpg
/home/pi/Desktop/images/12042025/15/19/image_12042025_15_19_45_9366.jpg
/home/pi/Desktop/images/12042025/15/19/image_12042025_15_19_56_10448.jpg
/home/pi/Desktop/images/12042025/15/20/image_12042025_15_20_16_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352258054","1352258141","1352258057","1352258092","1352258116","1352258016"],"photo_ids_order":["1352258016","1352258054","1352258057","1352258092","1352258116","1352258141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0511636d3787c889db9fd64ce355b8a1.jpg","text":"TemporaryFile(/tmp/multipartBody978702519974129879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472673600,"filename":"image_12042025_15_19_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/865c3a377c389f337b01b8857e60b5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8296304287457378718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472673600,"filename":"image_12042025_15_20_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48afcc785f2959e8806b0c12178d72c9.jpg","text":"TemporaryFile(/tmp/multipartBody2830434736046038541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472673600,"filename":"image_12042025_15_19_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aabb29e7c7d66f86bf7012f8e40d6ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3853158093550830344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472673600,"filename":"image_12042025_15_19_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7774f0bdc60f7918b39dab62474cb63e.jpg","text":"TemporaryFile(/tmp/multipartBody5112564202157168216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472673600,"filename":"image_12042025_15_19_56_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/943869e617abac6358ac0571c14c7ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6211725910155183924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472673600,"filename":"image_12042025_15_19_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352258057","file1":"1352258054","file0":"1352258016","file4":"1352258116","file5":"1352258141","file3":"1352258092"},"map_files_photo_id_array":[{"photo_id":"1352258141","filename":"file5"},{"photo_id":"1352258057","filename":"file2"},{"photo_id":"1352258116","filename":"file4"},{"photo_id":"1352258054","filename":"file1"},{"photo_id":"1352258016","filename":"file0"},{"photo_id":"1352258092","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352258054":["hashtag1","hashtag2"]},{"1352258141":["hashtag1","hashtag2"]},{"1352258057":["hashtag1","hashtag2"]},{"1352258092":["hashtag1","hashtag2"]},{"1352258116":["hashtag1","hashtag2"]},{"1352258016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352258054, 1352258141, 1352258057, 1352258092, 1352258116, 1352258016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90842008590698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:44:32.272926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/20/image_12042025_15_20_35_9346.jpg', '/home/pi/Desktop/images/12042025/15/20/image_12042025_15_20_46_10423.jpg', '/home/pi/Desktop/images/12042025/15/20/image_12042025_15_20_56_10348.jpg', '/home/pi/Desktop/images/12042025/15/20/image_12042025_15_21_05_9391.jpg', '/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_16_10346.jpg', '/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_25_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/20/image_12042025_15_20_35_9346.jpg
/home/pi/Desktop/images/12042025/15/20/image_12042025_15_20_46_10423.jpg
/home/pi/Desktop/images/12042025/15/20/image_12042025_15_20_56_10348.jpg
/home/pi/Desktop/images/12042025/15/20/image_12042025_15_21_05_9391.jpg
/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_16_10346.jpg
/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_25_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352258156","1352258161","1352258158","1352258172","1352258166","1352258169"],"photo_ids_order":["1352258156","1352258158","1352258161","1352258166","1352258169","1352258172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/256cd4466adbbd57688d0781aacccdb4.jpg","text":"TemporaryFile(/tmp/multipartBody3446745056418747550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472732755,"filename":"image_12042025_15_20_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c7a7727716cf26a5f5298e588f538c1.jpg","text":"TemporaryFile(/tmp/multipartBody4805937754810527327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472732755,"filename":"image_12042025_15_20_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92dadadfbddb1c95b82abb97ce10e394.jpg","text":"TemporaryFile(/tmp/multipartBody7788126611860460815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472732755,"filename":"image_12042025_15_20_46_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e1ba3776dfcba088c5e7731161ba610.jpg","text":"TemporaryFile(/tmp/multipartBody3997122188735283537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472732755,"filename":"image_12042025_15_21_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bbf0f365dc183f7925e37a12e30ac04.jpg","text":"TemporaryFile(/tmp/multipartBody3791534155748346211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472732755,"filename":"image_12042025_15_21_05_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a03b8e640b58a00e7bccba5eb5dea437.jpg","text":"TemporaryFile(/tmp/multipartBody2831753691020227763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472732755,"filename":"image_12042025_15_21_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352258161","file1":"1352258158","file0":"1352258156","file4":"1352258169","file5":"1352258172","file3":"1352258166"},"map_files_photo_id_array":[{"photo_id":"1352258172","filename":"file5"},{"photo_id":"1352258161","filename":"file2"},{"photo_id":"1352258169","filename":"file4"},{"photo_id":"1352258158","filename":"file1"},{"photo_id":"1352258156","filename":"file0"},{"photo_id":"1352258166","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352258156":["hashtag1","hashtag2"]},{"1352258161":["hashtag1","hashtag2"]},{"1352258158":["hashtag1","hashtag2"]},{"1352258172":["hashtag1","hashtag2"]},{"1352258166":["hashtag1","hashtag2"]},{"1352258169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352258156, 1352258161, 1352258158, 1352258172, 1352258166, 1352258169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.033398389816284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:45:32.653702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_36_10358.jpg', '/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_46_10374.jpg', '/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_55_9468.jpg', '/home/pi/Desktop/images/12042025/15/21/image_12042025_15_22_06_10401.jpg', '/home/pi/Desktop/images/12042025/15/22/image_12042025_15_22_16_10361.jpg', '/home/pi/Desktop/images/12042025/15/22/image_12042025_15_22_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_36_10358.jpg
/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_46_10374.jpg
/home/pi/Desktop/images/12042025/15/21/image_12042025_15_21_55_9468.jpg
/home/pi/Desktop/images/12042025/15/21/image_12042025_15_22_06_10401.jpg
/home/pi/Desktop/images/12042025/15/22/image_12042025_15_22_16_10361.jpg
/home/pi/Desktop/images/12042025/15/22/image_12042025_15_22_36_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352258190","1352258184","1352258178","1352258193","1352258187","1352258181"],"photo_ids_order":["1352258178","1352258181","1352258184","1352258187","1352258190","1352258193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d43bdcb047bce53f0d30afacdb7433ff.jpg","text":"TemporaryFile(/tmp/multipartBody3911587412404455970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472793137,"filename":"image_12042025_15_22_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c59d8d6a21fdbde8ea936cc1f2c860d.jpg","text":"TemporaryFile(/tmp/multipartBody5374332645899059846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472793137,"filename":"image_12042025_15_21_55_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7d0862add5f88375125769998d70a83.jpg","text":"TemporaryFile(/tmp/multipartBody6036999432107254054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472793137,"filename":"image_12042025_15_21_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3656e393545eceaf03702bd7ca704375.jpg","text":"TemporaryFile(/tmp/multipartBody6724173760495373212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472793137,"filename":"image_12042025_15_22_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e084cccc2f175e72f205a8e002a77056.jpg","text":"TemporaryFile(/tmp/multipartBody5212201628147535997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472793137,"filename":"image_12042025_15_22_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7bc580937e2725ad2ad8b121b891534.jpg","text":"TemporaryFile(/tmp/multipartBody761402646885028852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472793137,"filename":"image_12042025_15_21_46_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352258184","file1":"1352258181","file0":"1352258178","file4":"1352258190","file5":"1352258193","file3":"1352258187"},"map_files_photo_id_array":[{"photo_id":"1352258193","filename":"file5"},{"photo_id":"1352258184","filename":"file2"},{"photo_id":"1352258190","filename":"file4"},{"photo_id":"1352258181","filename":"file1"},{"photo_id":"1352258178","filename":"file0"},{"photo_id":"1352258187","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352258190":["hashtag1","hashtag2"]},{"1352258184":["hashtag1","hashtag2"]},{"1352258178":["hashtag1","hashtag2"]},{"1352258193":["hashtag1","hashtag2"]},{"1352258187":["hashtag1","hashtag2"]},{"1352258181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352258190, 1352258184, 1352258178, 1352258193, 1352258187, 1352258181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.604010820388794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:46:33.127136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/22/image_12042025_15_22_45_9445.jpg', '/home/pi/Desktop/images/12042025/15/22/image_12042025_15_22_56_10455.jpg', '/home/pi/Desktop/images/12042025/15/22/image_12042025_15_23_06_10338.jpg', '/home/pi/Desktop/images/12042025/15/23/image_12042025_15_23_15_9356.jpg', '/home/pi/Desktop/images/12042025/15/23/image_12042025_15_23_26_10362.jpg', '/home/pi/Desktop/images/12042025/15/23/image_12042025_15_23_35_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/22/image_12042025_15_22_45_9445.jpg
/home/pi/Desktop/images/12042025/15/22/image_12042025_15_22_56_10455.jpg
/home/pi/Desktop/images/12042025/15/22/image_12042025_15_23_06_10338.jpg
/home/pi/Desktop/images/12042025/15/23/image_12042025_15_23_15_9356.jpg
/home/pi/Desktop/images/12042025/15/23/image_12042025_15_23_26_10362.jpg
/home/pi/Desktop/images/12042025/15/23/image_12042025_15_23_35_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352258378","1352258342","1352258444","1352258389","1352258380","1352258361"],"photo_ids_order":["1352258342","1352258361","1352258378","1352258380","1352258389","1352258444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9098eb81f0583b8618c8211beda7738.jpg","text":"TemporaryFile(/tmp/multipartBody7199746600065269527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472853587,"filename":"image_12042025_15_23_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f29e14ec58a5fe2c92ad5eadf00d810.jpg","text":"TemporaryFile(/tmp/multipartBody1276685144618727535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472853587,"filename":"image_12042025_15_22_45_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fd0422005fe1ade5dd376c40cb0404d.jpg","text":"TemporaryFile(/tmp/multipartBody7572388942653730136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472853587,"filename":"image_12042025_15_23_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31c551ebabd065812f9aec5b47c74105.jpg","text":"TemporaryFile(/tmp/multipartBody1025677865915951906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472853587,"filename":"image_12042025_15_23_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/546b7aa5c3702e54beaba43ba3b34148.jpg","text":"TemporaryFile(/tmp/multipartBody826150793951931528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472853587,"filename":"image_12042025_15_23_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78098a33ad9bcef7411104d6562df63e.jpg","text":"TemporaryFile(/tmp/multipartBody3713871630900471329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472853587,"filename":"image_12042025_15_22_56_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352258378","file1":"1352258361","file0":"1352258342","file4":"1352258389","file5":"1352258444","file3":"1352258380"},"map_files_photo_id_array":[{"photo_id":"1352258444","filename":"file5"},{"photo_id":"1352258378","filename":"file2"},{"photo_id":"1352258389","filename":"file4"},{"photo_id":"1352258361","filename":"file1"},{"photo_id":"1352258342","filename":"file0"},{"photo_id":"1352258380","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352258378":["hashtag1","hashtag2"]},{"1352258342":["hashtag1","hashtag2"]},{"1352258444":["hashtag1","hashtag2"]},{"1352258389":["hashtag1","hashtag2"]},{"1352258380":["hashtag1","hashtag2"]},{"1352258361":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352258378, 1352258342, 1352258444, 1352258389, 1352258380, 1352258361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.526386737823486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:47:32.172391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/23/image_12042025_15_23_46_10465.jpg', '/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_16_10394.jpg', '/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_25_9355.jpg', '/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_36_10477.jpg', '/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_46_10366.jpg', '/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_55_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/23/image_12042025_15_23_46_10465.jpg
/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_16_10394.jpg
/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_25_9355.jpg
/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_36_10477.jpg
/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_46_10366.jpg
/home/pi/Desktop/images/12042025/15/24/image_12042025_15_24_55_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352258756","1352258644","1352258731","1352258710","1352258619","1352258684"],"photo_ids_order":["1352258619","1352258644","1352258684","1352258710","1352258731","1352258756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a314e4ddc72559a7e35c5804b6ed627b.jpg","text":"TemporaryFile(/tmp/multipartBody1319303832381112281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472912644,"filename":"image_12042025_15_24_55_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7dce143f34871a54b3166eade930187.jpg","text":"TemporaryFile(/tmp/multipartBody8790662898646267948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472912644,"filename":"image_12042025_15_24_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6da1cd247fa279b7b711aedd2aa817c.jpg","text":"TemporaryFile(/tmp/multipartBody2196266530878107396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472912644,"filename":"image_12042025_15_24_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1012159634b2efdd721b350d8904dc5f.jpg","text":"TemporaryFile(/tmp/multipartBody1993865004050098113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472912644,"filename":"image_12042025_15_24_36_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40baf3e4e463361831b342ece9fb3f7c.jpg","text":"TemporaryFile(/tmp/multipartBody8542473402671266261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472912644,"filename":"image_12042025_15_23_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1f164aba145583fefb0891c35d47f7e.jpg","text":"TemporaryFile(/tmp/multipartBody2985862217429937959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472912644,"filename":"image_12042025_15_24_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352258684","file1":"1352258644","file0":"1352258619","file4":"1352258731","file5":"1352258756","file3":"1352258710"},"map_files_photo_id_array":[{"photo_id":"1352258756","filename":"file5"},{"photo_id":"1352258684","filename":"file2"},{"photo_id":"1352258731","filename":"file4"},{"photo_id":"1352258644","filename":"file1"},{"photo_id":"1352258619","filename":"file0"},{"photo_id":"1352258710","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352258756":["hashtag1","hashtag2"]},{"1352258644":["hashtag1","hashtag2"]},{"1352258731":["hashtag1","hashtag2"]},{"1352258710":["hashtag1","hashtag2"]},{"1352258619":["hashtag1","hashtag2"]},{"1352258684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352258756, 1352258644, 1352258731, 1352258710, 1352258619, 1352258684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07080578804016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:48:32.513905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/24/image_12042025_15_25_06_10384.jpg', '/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_15_9398.jpg', '/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_26_10413.jpg', '/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_36_10437.jpg', '/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_45_9353.jpg', '/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_56_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/24/image_12042025_15_25_06_10384.jpg
/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_15_9398.jpg
/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_26_10413.jpg
/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_36_10437.jpg
/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_45_9353.jpg
/home/pi/Desktop/images/12042025/15/25/image_12042025_15_25_56_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259029","1352258954","1352259055","1352258932","1352258908","1352259006"],"photo_ids_order":["1352258908","1352258932","1352258954","1352259006","1352259029","1352259055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d284bd50d3d18681f8b404d785dd80b.jpg","text":"TemporaryFile(/tmp/multipartBody2276141718164250868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472972989,"filename":"image_12042025_15_25_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2124d385eee118d408cd7825f650840c.jpg","text":"TemporaryFile(/tmp/multipartBody8917318768642144407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472972989,"filename":"image_12042025_15_25_26_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0342e497826708bb79ffbfab69e29dda.jpg","text":"TemporaryFile(/tmp/multipartBody7260055587331476540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472972989,"filename":"image_12042025_15_25_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55abb32d8237dc128470afa8c9b64109.jpg","text":"TemporaryFile(/tmp/multipartBody6805507427033023393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472972989,"filename":"image_12042025_15_25_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0729904ee8a8cc3e4643a683a56aed7.jpg","text":"TemporaryFile(/tmp/multipartBody8967086794400461768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472972989,"filename":"image_12042025_15_25_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59bf531709cdee0e8db47912dac08a1d.jpg","text":"TemporaryFile(/tmp/multipartBody5198955633045229504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744472972989,"filename":"image_12042025_15_25_36_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352258954","file1":"1352258932","file0":"1352258908","file4":"1352259029","file5":"1352259055","file3":"1352259006"},"map_files_photo_id_array":[{"photo_id":"1352259055","filename":"file5"},{"photo_id":"1352258954","filename":"file2"},{"photo_id":"1352259029","filename":"file4"},{"photo_id":"1352258932","filename":"file1"},{"photo_id":"1352258908","filename":"file0"},{"photo_id":"1352259006","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352259029":["hashtag1","hashtag2"]},{"1352258954":["hashtag1","hashtag2"]},{"1352259055":["hashtag1","hashtag2"]},{"1352258932":["hashtag1","hashtag2"]},{"1352258908":["hashtag1","hashtag2"]},{"1352259006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352259029, 1352258954, 1352259055, 1352258932, 1352258908, 1352259006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98924112319946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:49:32.713276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_26_10407.jpg', '/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_36_9495.jpg', '/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_46_10378.jpg', '/home/pi/Desktop/images/12042025/15/26/image_12042025_15_27_06_10337.jpg', '/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_16_10354.jpg', '/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_25_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_26_10407.jpg
/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_36_9495.jpg
/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_46_10378.jpg
/home/pi/Desktop/images/12042025/15/26/image_12042025_15_27_06_10337.jpg
/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_16_10354.jpg
/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_25_9400.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38663554191589355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 17:49:42.703237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_26_10407.jpg', '/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_36_9495.jpg', '/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_46_10378.jpg', '/home/pi/Desktop/images/12042025/15/26/image_12042025_15_27_06_10337.jpg', '/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_16_10354.jpg', '/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_25_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_26_10407.jpg
/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_36_9495.jpg
/home/pi/Desktop/images/12042025/15/26/image_12042025_15_26_46_10378.jpg
/home/pi/Desktop/images/12042025/15/26/image_12042025_15_27_06_10337.jpg
/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_16_10354.jpg
/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_25_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259289","1352259319","1352259345","1352259386","1352259371","1352259260"],"photo_ids_order":["1352259260","1352259289","1352259319","1352259345","1352259371","1352259386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e3babc11a3c884f614df5023abd1daf.jpg","text":"TemporaryFile(/tmp/multipartBody761633804050974810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473043160,"filename":"image_12042025_15_26_36_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70133a3d24aa26d435d8e812b6974640.jpg","text":"TemporaryFile(/tmp/multipartBody135027607425032003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473043160,"filename":"image_12042025_15_26_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13e202ff77c3366b8cb7c4d770ccded2.jpg","text":"TemporaryFile(/tmp/multipartBody7707305981753083367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473043160,"filename":"image_12042025_15_27_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b39f9b55a36510e50c0a399c9de6f2f1.jpg","text":"TemporaryFile(/tmp/multipartBody8881170152697646293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473043160,"filename":"image_12042025_15_27_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8340e7fed8b2ec332ca7346fafa4151.jpg","text":"TemporaryFile(/tmp/multipartBody6319395160492453556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473043160,"filename":"image_12042025_15_27_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44d6c217e37cd11249cf544248fa4632.jpg","text":"TemporaryFile(/tmp/multipartBody2239112865692031028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473043160,"filename":"image_12042025_15_26_26_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352259319","file1":"1352259289","file0":"1352259260","file4":"1352259371","file5":"1352259386","file3":"1352259345"},"map_files_photo_id_array":[{"photo_id":"1352259386","filename":"file5"},{"photo_id":"1352259319","filename":"file2"},{"photo_id":"1352259371","filename":"file4"},{"photo_id":"1352259289","filename":"file1"},{"photo_id":"1352259260","filename":"file0"},{"photo_id":"1352259345","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352259289":["hashtag1","hashtag2"]},{"1352259319":["hashtag1","hashtag2"]},{"1352259345":["hashtag1","hashtag2"]},{"1352259386":["hashtag1","hashtag2"]},{"1352259371":["hashtag1","hashtag2"]},{"1352259260":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352259289, 1352259319, 1352259345, 1352259386, 1352259371, 1352259260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1416597366333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:50:32.920863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_36_10360.jpg', '/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_45_9436.jpg', '/home/pi/Desktop/images/12042025/15/27/image_12042025_15_28_06_10398.jpg', '/home/pi/Desktop/images/12042025/15/28/image_12042025_15_28_15_9380.jpg', '/home/pi/Desktop/images/12042025/15/28/image_12042025_15_28_36_10393.jpg', '/home/pi/Desktop/images/12042025/15/28/image_12042025_15_28_46_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_36_10360.jpg
/home/pi/Desktop/images/12042025/15/27/image_12042025_15_27_45_9436.jpg
/home/pi/Desktop/images/12042025/15/27/image_12042025_15_28_06_10398.jpg
/home/pi/Desktop/images/12042025/15/28/image_12042025_15_28_15_9380.jpg
/home/pi/Desktop/images/12042025/15/28/image_12042025_15_28_36_10393.jpg
/home/pi/Desktop/images/12042025/15/28/image_12042025_15_28_46_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259457","1352259505","1352259489","1352259483","1352259497","1352259461"],"photo_ids_order":["1352259457","1352259461","1352259483","1352259489","1352259497","1352259505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/27e88b885216b07da090185c8b5392b0.jpg","text":"TemporaryFile(/tmp/multipartBody1695791216068508656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473093387,"filename":"image_12042025_15_27_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35bbf7973701b717fd424a7c6c022d49.jpg","text":"TemporaryFile(/tmp/multipartBody8011106030563970098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473093387,"filename":"image_12042025_15_28_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/065d00ad7d3566327063426a3d534f63.jpg","text":"TemporaryFile(/tmp/multipartBody7817522122591255875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473093387,"filename":"image_12042025_15_28_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/133c95ebab9095aa7b7855a37bb9564b.jpg","text":"TemporaryFile(/tmp/multipartBody6310718153621122613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473093387,"filename":"image_12042025_15_28_06_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2ddfa0324487cd956f459a0375e3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4418110704494517302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473093387,"filename":"image_12042025_15_28_36_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fed5ff09c4d0608b1d3655ef427289c1.jpg","text":"TemporaryFile(/tmp/multipartBody496483502436225807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473093387,"filename":"image_12042025_15_27_45_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352259483","file1":"1352259461","file0":"1352259457","file4":"1352259497","file5":"1352259505","file3":"1352259489"},"map_files_photo_id_array":[{"photo_id":"1352259505","filename":"file5"},{"photo_id":"1352259483","filename":"file2"},{"photo_id":"1352259497","filename":"file4"},{"photo_id":"1352259461","filename":"file1"},{"photo_id":"1352259457","filename":"file0"},{"photo_id":"1352259489","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352259457":["hashtag1","hashtag2"]},{"1352259505":["hashtag1","hashtag2"]},{"1352259489":["hashtag1","hashtag2"]},{"1352259483":["hashtag1","hashtag2"]},{"1352259497":["hashtag1","hashtag2"]},{"1352259461":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352259457, 1352259505, 1352259489, 1352259483, 1352259497, 1352259461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.907312870025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:51:33.147073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/28/image_12042025_15_28_56_10411.jpg', '/home/pi/Desktop/images/12042025/15/28/image_12042025_15_29_05_9488.jpg', '/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_16_10375.jpg', '/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_25_9365.jpg', '/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_36_10358.jpg', '/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_46_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/28/image_12042025_15_28_56_10411.jpg
/home/pi/Desktop/images/12042025/15/28/image_12042025_15_29_05_9488.jpg
/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_16_10375.jpg
/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_25_9365.jpg
/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_36_10358.jpg
/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_46_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259542","1352259515","1352259518","1352259523","1352259526","1352259528"],"photo_ids_order":["1352259515","1352259518","1352259523","1352259526","1352259528","1352259542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c18c5a1fa6b012033f4d461592f54d24.jpg","text":"TemporaryFile(/tmp/multipartBody3525089972604925182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473153607,"filename":"image_12042025_15_29_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d34402306835306bc79542215c8212ac.jpg","text":"TemporaryFile(/tmp/multipartBody3595012738530641495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473153607,"filename":"image_12042025_15_28_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/319058e9b5c83cdd007911b3577a6559.jpg","text":"TemporaryFile(/tmp/multipartBody5144512682793964681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473153607,"filename":"image_12042025_15_29_05_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/228c6689c1ab8859c8890deacacc0242.jpg","text":"TemporaryFile(/tmp/multipartBody8323573930123937527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473153607,"filename":"image_12042025_15_29_16_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0e80b928c719a173314ba194f1fc1a5.jpg","text":"TemporaryFile(/tmp/multipartBody7427787380687956766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473153607,"filename":"image_12042025_15_29_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02eae4262b61306746d231d4219ad685.jpg","text":"TemporaryFile(/tmp/multipartBody2229711219028301919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473153607,"filename":"image_12042025_15_29_36_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352259523","file1":"1352259518","file0":"1352259515","file4":"1352259528","file5":"1352259542","file3":"1352259526"},"map_files_photo_id_array":[{"photo_id":"1352259542","filename":"file5"},{"photo_id":"1352259523","filename":"file2"},{"photo_id":"1352259528","filename":"file4"},{"photo_id":"1352259518","filename":"file1"},{"photo_id":"1352259515","filename":"file0"},{"photo_id":"1352259526","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352259542":["hashtag1","hashtag2"]},{"1352259515":["hashtag1","hashtag2"]},{"1352259518":["hashtag1","hashtag2"]},{"1352259523":["hashtag1","hashtag2"]},{"1352259526":["hashtag1","hashtag2"]},{"1352259528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352259542, 1352259515, 1352259518, 1352259523, 1352259526, 1352259528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.951757192611694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:52:32.451036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_55_9346.jpg', '/home/pi/Desktop/images/12042025/15/29/image_12042025_15_30_06_10445.jpg', '/home/pi/Desktop/images/12042025/15/30/image_12042025_15_30_15_9456.jpg', '/home/pi/Desktop/images/12042025/15/30/image_12042025_15_30_26_10393.jpg', '/home/pi/Desktop/images/12042025/15/30/image_12042025_15_30_36_10343.jpg', '/home/pi/Desktop/images/12042025/15/30/image_12042025_15_30_56_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/29/image_12042025_15_29_55_9346.jpg
/home/pi/Desktop/images/12042025/15/29/image_12042025_15_30_06_10445.jpg
/home/pi/Desktop/images/12042025/15/30/image_12042025_15_30_15_9456.jpg
/home/pi/Desktop/images/12042025/15/30/image_12042025_15_30_26_10393.jpg
/home/pi/Desktop/images/12042025/15/30/image_12042025_15_30_36_10343.jpg
/home/pi/Desktop/images/12042025/15/30/image_12042025_15_30_56_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352259803","1352259853","1352259730","1352259826","1352259780","1352259755"],"photo_ids_order":["1352259730","1352259755","1352259780","1352259803","1352259826","1352259853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af019d3004ed2b4831efe4cb940f7cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4848940548559057402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473212929,"filename":"image_12042025_15_30_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddb055fc53d46d3eef96717582073048.jpg","text":"TemporaryFile(/tmp/multipartBody3612585553871988660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473212929,"filename":"image_12042025_15_30_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45ccf82f76ac9686d82674cdde0cb61d.jpg","text":"TemporaryFile(/tmp/multipartBody3885134149364536627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473212929,"filename":"image_12042025_15_29_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd5798328118c09dd1a8d106c805a5fb.jpg","text":"TemporaryFile(/tmp/multipartBody1675917454668951406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473212929,"filename":"image_12042025_15_30_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4343afef280bccfd148c2eccc2148ea4.jpg","text":"TemporaryFile(/tmp/multipartBody5037646334223038690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473212929,"filename":"image_12042025_15_30_15_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/435cebca236317ec6a347d8e7aae581d.jpg","text":"TemporaryFile(/tmp/multipartBody7327546460356391360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473212929,"filename":"image_12042025_15_30_06_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352259780","file1":"1352259755","file0":"1352259730","file4":"1352259826","file5":"1352259853","file3":"1352259803"},"map_files_photo_id_array":[{"photo_id":"1352259853","filename":"file5"},{"photo_id":"1352259780","filename":"file2"},{"photo_id":"1352259826","filename":"file4"},{"photo_id":"1352259755","filename":"file1"},{"photo_id":"1352259730","filename":"file0"},{"photo_id":"1352259803","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352259803":["hashtag1","hashtag2"]},{"1352259853":["hashtag1","hashtag2"]},{"1352259730":["hashtag1","hashtag2"]},{"1352259826":["hashtag1","hashtag2"]},{"1352259780":["hashtag1","hashtag2"]},{"1352259755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352259803, 1352259853, 1352259730, 1352259826, 1352259780, 1352259755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88942837715149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:53:32.543712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/30/image_12042025_15_31_06_10358.jpg', '/home/pi/Desktop/images/12042025/15/31/image_12042025_15_31_16_9468.jpg', '/home/pi/Desktop/images/12042025/15/31/image_12042025_15_31_26_10355.jpg', '/home/pi/Desktop/images/12042025/15/31/image_12042025_15_31_35_9331.jpg', '/home/pi/Desktop/images/12042025/15/31/image_12042025_15_32_05_9404.jpg', '/home/pi/Desktop/images/12042025/15/32/image_12042025_15_32_16_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/30/image_12042025_15_31_06_10358.jpg
/home/pi/Desktop/images/12042025/15/31/image_12042025_15_31_16_9468.jpg
/home/pi/Desktop/images/12042025/15/31/image_12042025_15_31_26_10355.jpg
/home/pi/Desktop/images/12042025/15/31/image_12042025_15_31_35_9331.jpg
/home/pi/Desktop/images/12042025/15/31/image_12042025_15_32_05_9404.jpg
/home/pi/Desktop/images/12042025/15/32/image_12042025_15_32_16_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260015","1352260009","1352260018","1352260012","1352260020","1352260002"],"photo_ids_order":["1352260002","1352260009","1352260012","1352260015","1352260018","1352260020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a53966d822621506687ad680d7724454.jpg","text":"TemporaryFile(/tmp/multipartBody3065502006288447223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473273009,"filename":"image_12042025_15_31_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e025ca302cc5ab573a5a23854dd62849.jpg","text":"TemporaryFile(/tmp/multipartBody7114131974383399471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473273009,"filename":"image_12042025_15_31_16_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0544ab3647f8ebcd198973e0c4270d66.jpg","text":"TemporaryFile(/tmp/multipartBody8574087460072846714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473273009,"filename":"image_12042025_15_32_05_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0dd0c0f07a239061cfa3878420fe911c.jpg","text":"TemporaryFile(/tmp/multipartBody6904671828828382652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473273009,"filename":"image_12042025_15_31_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b466ee53ec5c489cc363303ce0c74f40.jpg","text":"TemporaryFile(/tmp/multipartBody3013703630255098145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473273009,"filename":"image_12042025_15_32_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f46d504dcbce8a49733c0fdc7476f67.jpg","text":"TemporaryFile(/tmp/multipartBody6131754111108032306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473273009,"filename":"image_12042025_15_31_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260012","file1":"1352260009","file0":"1352260002","file4":"1352260018","file5":"1352260020","file3":"1352260015"},"map_files_photo_id_array":[{"photo_id":"1352260020","filename":"file5"},{"photo_id":"1352260012","filename":"file2"},{"photo_id":"1352260018","filename":"file4"},{"photo_id":"1352260009","filename":"file1"},{"photo_id":"1352260002","filename":"file0"},{"photo_id":"1352260015","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352260015":["hashtag1","hashtag2"]},{"1352260009":["hashtag1","hashtag2"]},{"1352260018":["hashtag1","hashtag2"]},{"1352260012":["hashtag1","hashtag2"]},{"1352260020":["hashtag1","hashtag2"]},{"1352260002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352260015, 1352260009, 1352260018, 1352260012, 1352260020, 1352260002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08799409866333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:54:32.782069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/32/image_12042025_15_32_26_10354.jpg', '/home/pi/Desktop/images/12042025/15/32/image_12042025_15_32_36_9429.jpg', '/home/pi/Desktop/images/12042025/15/32/image_12042025_15_32_55_9336.jpg', '/home/pi/Desktop/images/12042025/15/33/image_12042025_15_33_16_10439.jpg', '/home/pi/Desktop/images/12042025/15/33/image_12042025_15_33_25_9368.jpg', '/home/pi/Desktop/images/12042025/15/33/image_12042025_15_33_36_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/32/image_12042025_15_32_26_10354.jpg
/home/pi/Desktop/images/12042025/15/32/image_12042025_15_32_36_9429.jpg
/home/pi/Desktop/images/12042025/15/32/image_12042025_15_32_55_9336.jpg
/home/pi/Desktop/images/12042025/15/33/image_12042025_15_33_16_10439.jpg
/home/pi/Desktop/images/12042025/15/33/image_12042025_15_33_25_9368.jpg
/home/pi/Desktop/images/12042025/15/33/image_12042025_15_33_36_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260142","1352260213","1352260164","1352260206","1352260215","1352260209"],"photo_ids_order":["1352260142","1352260164","1352260206","1352260209","1352260213","1352260215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f223591df691899bc795c981203229ec.jpg","text":"TemporaryFile(/tmp/multipartBody8093874789663349422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473333247,"filename":"image_12042025_15_32_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fa5628933b5fa00f52a3926152ba784.jpg","text":"TemporaryFile(/tmp/multipartBody5019450196883087829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473333247,"filename":"image_12042025_15_33_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b48a8a2a9a5e347e7bfc80d8aff54ee.jpg","text":"TemporaryFile(/tmp/multipartBody9211080009813109271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473333247,"filename":"image_12042025_15_32_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a2f7c121a2c5b6563f7c73eddfc8708.jpg","text":"TemporaryFile(/tmp/multipartBody1010385818885913735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473333247,"filename":"image_12042025_15_32_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/879126c36b8da01f0dc86a1bbe729d91.jpg","text":"TemporaryFile(/tmp/multipartBody5108307561521807147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473333247,"filename":"image_12042025_15_33_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d8b908c377dda0243afd7d7ad7cd8e9.jpg","text":"TemporaryFile(/tmp/multipartBody8742378233570496544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473333247,"filename":"image_12042025_15_33_16_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260206","file1":"1352260164","file0":"1352260142","file4":"1352260213","file5":"1352260215","file3":"1352260209"},"map_files_photo_id_array":[{"photo_id":"1352260215","filename":"file5"},{"photo_id":"1352260206","filename":"file2"},{"photo_id":"1352260213","filename":"file4"},{"photo_id":"1352260164","filename":"file1"},{"photo_id":"1352260142","filename":"file0"},{"photo_id":"1352260209","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352260142":["hashtag1","hashtag2"]},{"1352260213":["hashtag1","hashtag2"]},{"1352260164":["hashtag1","hashtag2"]},{"1352260206":["hashtag1","hashtag2"]},{"1352260215":["hashtag1","hashtag2"]},{"1352260209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352260142, 1352260213, 1352260164, 1352260206, 1352260215, 1352260209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.660930156707764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:55:33.160437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/33/image_12042025_15_33_45_9354.jpg', '/home/pi/Desktop/images/12042025/15/33/image_12042025_15_34_06_10357.jpg', '/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_15_9478.jpg', '/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_26_10365.jpg', '/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_35_9350.jpg', '/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_46_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/33/image_12042025_15_33_45_9354.jpg
/home/pi/Desktop/images/12042025/15/33/image_12042025_15_34_06_10357.jpg
/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_15_9478.jpg
/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_26_10365.jpg
/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_35_9350.jpg
/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_46_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260223","1352260231","1352260234","1352260237","1352260227","1352260221"],"photo_ids_order":["1352260221","1352260223","1352260227","1352260231","1352260234","1352260237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07feedcf989a9923d5d539119973cd19.jpg","text":"TemporaryFile(/tmp/multipartBody6311437506115142193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473393634,"filename":"image_12042025_15_34_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99cc3799b5e02b2d4a10791cf0832437.jpg","text":"TemporaryFile(/tmp/multipartBody6513954458053872322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473393634,"filename":"image_12042025_15_34_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7008d0b2bc3cbd50dc189240e30fec99.jpg","text":"TemporaryFile(/tmp/multipartBody8239208654758436987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473393634,"filename":"image_12042025_15_34_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2086dc2916bff2d730fb825c69782d52.jpg","text":"TemporaryFile(/tmp/multipartBody6108060270265792772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473393634,"filename":"image_12042025_15_34_46_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/736ec14ba52938ec82edb88557f77c54.jpg","text":"TemporaryFile(/tmp/multipartBody8622582906295061916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473393634,"filename":"image_12042025_15_34_15_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6744aaae258ffa6a23f2467c5d5ce0b3.jpg","text":"TemporaryFile(/tmp/multipartBody3516354286428829390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473393634,"filename":"image_12042025_15_33_45_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260227","file1":"1352260223","file0":"1352260221","file4":"1352260234","file5":"1352260237","file3":"1352260231"},"map_files_photo_id_array":[{"photo_id":"1352260237","filename":"file5"},{"photo_id":"1352260227","filename":"file2"},{"photo_id":"1352260234","filename":"file4"},{"photo_id":"1352260223","filename":"file1"},{"photo_id":"1352260221","filename":"file0"},{"photo_id":"1352260231","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352260223":["hashtag1","hashtag2"]},{"1352260231":["hashtag1","hashtag2"]},{"1352260234":["hashtag1","hashtag2"]},{"1352260237":["hashtag1","hashtag2"]},{"1352260227":["hashtag1","hashtag2"]},{"1352260221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352260223, 1352260231, 1352260234, 1352260237, 1352260227, 1352260221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.520724296569824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:56:32.224484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_56_10470.jpg', '/home/pi/Desktop/images/12042025/15/34/image_12042025_15_35_06_9481.jpg', '/home/pi/Desktop/images/12042025/15/35/image_12042025_15_35_16_10362.jpg', '/home/pi/Desktop/images/12042025/15/35/image_12042025_15_35_46_10431.jpg', '/home/pi/Desktop/images/12042025/15/35/image_12042025_15_35_56_9444.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_15_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/34/image_12042025_15_34_56_10470.jpg
/home/pi/Desktop/images/12042025/15/34/image_12042025_15_35_06_9481.jpg
/home/pi/Desktop/images/12042025/15/35/image_12042025_15_35_16_10362.jpg
/home/pi/Desktop/images/12042025/15/35/image_12042025_15_35_46_10431.jpg
/home/pi/Desktop/images/12042025/15/35/image_12042025_15_35_56_9444.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_15_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260348","1352260327","1352260386","1352260368","1352260431","1352260410"],"photo_ids_order":["1352260327","1352260348","1352260368","1352260386","1352260410","1352260431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/edc8ce9a3bc3824bef836df10932feca.jpg","text":"TemporaryFile(/tmp/multipartBody7431243995452143407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473452681,"filename":"image_12042025_15_35_06_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d21851424f6eb7af6abfb5163baf7514.jpg","text":"TemporaryFile(/tmp/multipartBody4926096392882171579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473452681,"filename":"image_12042025_15_34_56_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/debea8d8a5541c7536d247e62c0a6f60.jpg","text":"TemporaryFile(/tmp/multipartBody3678732585436917516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473452681,"filename":"image_12042025_15_35_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6895134c62031225982f2c901653a33.jpg","text":"TemporaryFile(/tmp/multipartBody4458708694902416380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473452681,"filename":"image_12042025_15_35_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f5b9915a9204faf32f8a7f473e34b7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2439213295776218675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473452681,"filename":"image_12042025_15_36_15_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65ba95bf90bab92deb75dd0b3d6ed189.jpg","text":"TemporaryFile(/tmp/multipartBody7687659629841476051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473452681,"filename":"image_12042025_15_35_56_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260368","file1":"1352260348","file0":"1352260327","file4":"1352260410","file5":"1352260431","file3":"1352260386"},"map_files_photo_id_array":[{"photo_id":"1352260431","filename":"file5"},{"photo_id":"1352260368","filename":"file2"},{"photo_id":"1352260410","filename":"file4"},{"photo_id":"1352260348","filename":"file1"},{"photo_id":"1352260327","filename":"file0"},{"photo_id":"1352260386","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352260348":["hashtag1","hashtag2"]},{"1352260327":["hashtag1","hashtag2"]},{"1352260386":["hashtag1","hashtag2"]},{"1352260368":["hashtag1","hashtag2"]},{"1352260431":["hashtag1","hashtag2"]},{"1352260410":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352260348, 1352260327, 1352260386, 1352260368, 1352260431, 1352260410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.829737186431885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 17:57:32.428481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_26_10375.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_36_10388.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_46_9498.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_56_10358.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_37_05_9347.jpg', '/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_16_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_26_10375.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_36_10388.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_46_9498.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_56_10358.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_37_05_9347.jpg
/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_16_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 17:59:04.738773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_26_10375.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_36_10388.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_46_9498.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_56_10358.jpg', '/home/pi/Desktop/images/12042025/15/36/image_12042025_15_37_05_9347.jpg', '/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_16_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_26_10375.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_36_10388.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_46_9498.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_36_56_10358.jpg
/home/pi/Desktop/images/12042025/15/36/image_12042025_15_37_05_9347.jpg
/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_16_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352260745","1352260715","1352260864","1352260821","1352260793","1352260719"],"photo_ids_order":["1352260715","1352260719","1352260745","1352260793","1352260821","1352260864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6fd8353b950d95c3cb2e02a3ac4946eb.jpg","text":"TemporaryFile(/tmp/multipartBody5697886418740851630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473605338,"filename":"image_12042025_15_36_46_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f6bf97f2eae89509ae8341729d44ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4132831513137396888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473605338,"filename":"image_12042025_15_36_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b2d573a64bfd2f8d630845393687112.jpg","text":"TemporaryFile(/tmp/multipartBody5066932808121907738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473605338,"filename":"image_12042025_15_37_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/128a937537ac902c0cd63414f1001bde.jpg","text":"TemporaryFile(/tmp/multipartBody6272140758925002956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473605338,"filename":"image_12042025_15_37_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94957779bd35afb885d4b9e168d2e1f8.jpg","text":"TemporaryFile(/tmp/multipartBody7844215066267993044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473605338,"filename":"image_12042025_15_36_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6444c294d3e859326095802b84f3dc6f.jpg","text":"TemporaryFile(/tmp/multipartBody1113282416790970807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473605338,"filename":"image_12042025_15_36_36_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352260745","file1":"1352260719","file0":"1352260715","file4":"1352260821","file5":"1352260864","file3":"1352260793"},"map_files_photo_id_array":[{"photo_id":"1352260864","filename":"file5"},{"photo_id":"1352260745","filename":"file2"},{"photo_id":"1352260821","filename":"file4"},{"photo_id":"1352260719","filename":"file1"},{"photo_id":"1352260715","filename":"file0"},{"photo_id":"1352260793","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352260745":["hashtag1","hashtag2"]},{"1352260715":["hashtag1","hashtag2"]},{"1352260864":["hashtag1","hashtag2"]},{"1352260821":["hashtag1","hashtag2"]},{"1352260793":["hashtag1","hashtag2"]},{"1352260719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352260745, 1352260715, 1352260864, 1352260821, 1352260793, 1352260719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.68641996383667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 18:00:03.956681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_26_10350.jpg', '/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_35_9341.jpg', '/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_46_10420.jpg', '/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_56_10360.jpg', '/home/pi/Desktop/images/12042025/15/37/image_12042025_15_38_05_9388.jpg', '/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_16_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_26_10350.jpg
/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_35_9341.jpg
/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_46_10420.jpg
/home/pi/Desktop/images/12042025/15/37/image_12042025_15_37_56_10360.jpg
/home/pi/Desktop/images/12042025/15/37/image_12042025_15_38_05_9388.jpg
/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_16_10333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261042","1352261122","1352261017","1352261094","1352261067","1352260995"],"photo_ids_order":["1352260995","1352261017","1352261042","1352261067","1352261094","1352261122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d664e4ceedc5225df5869a4aedb1bade.jpg","text":"TemporaryFile(/tmp/multipartBody731806752437436981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473664465,"filename":"image_12042025_15_37_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/117d95d5ebac3f979c5ba8201f6f607e.jpg","text":"TemporaryFile(/tmp/multipartBody2511501655281851236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473664465,"filename":"image_12042025_15_38_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55a8a89d8fe2d86a467931b6294ed690.jpg","text":"TemporaryFile(/tmp/multipartBody6174685660009040330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473664465,"filename":"image_12042025_15_37_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0245de4e7c03ae65899a11f7d5d060b1.jpg","text":"TemporaryFile(/tmp/multipartBody4804352184024574587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473664465,"filename":"image_12042025_15_38_05_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/905e8648bba67c5f0a3e2eca0fea7ca4.jpg","text":"TemporaryFile(/tmp/multipartBody271492591130410777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473664465,"filename":"image_12042025_15_37_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed8e8a524d3d5911e3d2c1600942dbd8.jpg","text":"TemporaryFile(/tmp/multipartBody6243261174038214945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473664465,"filename":"image_12042025_15_37_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261042","file1":"1352261017","file0":"1352260995","file4":"1352261094","file5":"1352261122","file3":"1352261067"},"map_files_photo_id_array":[{"photo_id":"1352261122","filename":"file5"},{"photo_id":"1352261042","filename":"file2"},{"photo_id":"1352261094","filename":"file4"},{"photo_id":"1352261017","filename":"file1"},{"photo_id":"1352260995","filename":"file0"},{"photo_id":"1352261067","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352261042":["hashtag1","hashtag2"]},{"1352261122":["hashtag1","hashtag2"]},{"1352261017":["hashtag1","hashtag2"]},{"1352261094":["hashtag1","hashtag2"]},{"1352261067":["hashtag1","hashtag2"]},{"1352260995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352261042, 1352261122, 1352261017, 1352261094, 1352261067, 1352260995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92919683456421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 18:00:43.144733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_26_10358.jpg', '/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_36_9462.jpg', '/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_46_10332.jpg', '/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_55_9352.jpg', '/home/pi/Desktop/images/12042025/15/38/image_12042025_15_39_06_10400.jpg', '/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_26_10358.jpg
/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_36_9462.jpg
/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_46_10332.jpg
/home/pi/Desktop/images/12042025/15/38/image_12042025_15_38_55_9352.jpg
/home/pi/Desktop/images/12042025/15/38/image_12042025_15_39_06_10400.jpg
/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_16_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261303","1352261239","1352261215","1352261280","1352261262","1352261343"],"photo_ids_order":["1352261215","1352261239","1352261262","1352261280","1352261303","1352261343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/112aef317e0b842077125795617c65b4.jpg","text":"TemporaryFile(/tmp/multipartBody5128490760075346784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473703605,"filename":"image_12042025_15_39_06_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a844a3aec849ead6c52db74fdd33965a.jpg","text":"TemporaryFile(/tmp/multipartBody1400828509496910511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473703605,"filename":"image_12042025_15_38_36_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4525f0b171042b6da843832a1b9ec259.jpg","text":"TemporaryFile(/tmp/multipartBody4496564686222734793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473703605,"filename":"image_12042025_15_38_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d75dafbe0de00e2c2fe6968daa5bc93e.jpg","text":"TemporaryFile(/tmp/multipartBody9186129721793363993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473703605,"filename":"image_12042025_15_38_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b1b81ce5512bfbdb35d9631595e8c7e.jpg","text":"TemporaryFile(/tmp/multipartBody5563908309258524174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473703605,"filename":"image_12042025_15_38_46_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/391d0c25608c5bc2d1ad7c45fd069a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3084152435011792588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473703605,"filename":"image_12042025_15_39_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261262","file1":"1352261239","file0":"1352261215","file4":"1352261303","file5":"1352261343","file3":"1352261280"},"map_files_photo_id_array":[{"photo_id":"1352261343","filename":"file5"},{"photo_id":"1352261262","filename":"file2"},{"photo_id":"1352261303","filename":"file4"},{"photo_id":"1352261239","filename":"file1"},{"photo_id":"1352261215","filename":"file0"},{"photo_id":"1352261280","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352261303":["hashtag1","hashtag2"]},{"1352261239":["hashtag1","hashtag2"]},{"1352261215":["hashtag1","hashtag2"]},{"1352261280":["hashtag1","hashtag2"]},{"1352261262":["hashtag1","hashtag2"]},{"1352261343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352261303, 1352261239, 1352261215, 1352261280, 1352261262, 1352261343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02410101890564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:01:32.600701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_25_9398.jpg', '/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_36_10344.jpg', '/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_46_10347.jpg', '/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_56_9418.jpg', '/home/pi/Desktop/images/12042025/15/39/image_12042025_15_40_06_10337.jpg', '/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_15_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_25_9398.jpg
/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_36_10344.jpg
/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_46_10347.jpg
/home/pi/Desktop/images/12042025/15/39/image_12042025_15_39_56_9418.jpg
/home/pi/Desktop/images/12042025/15/39/image_12042025_15_40_06_10337.jpg
/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_15_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261405","1352261402","1352261401","1352261397","1352261400","1352261403"],"photo_ids_order":["1352261397","1352261400","1352261401","1352261402","1352261403","1352261405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/600219fef53ee25603d50598ce47ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody5677852843374150001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473753076,"filename":"image_12042025_15_40_15_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6d856283d5b7e0826129a166a2e81c7.jpg","text":"TemporaryFile(/tmp/multipartBody3934916495770405220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473753076,"filename":"image_12042025_15_39_56_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf8f0e9fa9cda240351285f6fee6ef10.jpg","text":"TemporaryFile(/tmp/multipartBody9142104606606268163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473753076,"filename":"image_12042025_15_39_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c13ff3118da16a42cdebde83efca164.jpg","text":"TemporaryFile(/tmp/multipartBody658105929226336909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473753076,"filename":"image_12042025_15_39_25_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9187b66f2e78a43e4e3f02555f481103.jpg","text":"TemporaryFile(/tmp/multipartBody1295411729501777462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473753076,"filename":"image_12042025_15_39_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9df34ed4a0726645ab4096822c7bb5ee.jpg","text":"TemporaryFile(/tmp/multipartBody2055494692930174853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473753076,"filename":"image_12042025_15_40_06_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261401","file1":"1352261400","file0":"1352261397","file4":"1352261403","file5":"1352261405","file3":"1352261402"},"map_files_photo_id_array":[{"photo_id":"1352261405","filename":"file5"},{"photo_id":"1352261401","filename":"file2"},{"photo_id":"1352261403","filename":"file4"},{"photo_id":"1352261400","filename":"file1"},{"photo_id":"1352261397","filename":"file0"},{"photo_id":"1352261402","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352261405":["hashtag1","hashtag2"]},{"1352261402":["hashtag1","hashtag2"]},{"1352261401":["hashtag1","hashtag2"]},{"1352261397":["hashtag1","hashtag2"]},{"1352261400":["hashtag1","hashtag2"]},{"1352261403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352261405, 1352261402, 1352261401, 1352261397, 1352261400, 1352261403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17583751678467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:02:32.844705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_26_10470.jpg', '/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_36_10328.jpg', '/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_45_9396.jpg', '/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_56_10375.jpg', '/home/pi/Desktop/images/12042025/15/40/image_12042025_15_41_05_9580.jpg', '/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_16_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_26_10470.jpg
/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_36_10328.jpg
/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_45_9396.jpg
/home/pi/Desktop/images/12042025/15/40/image_12042025_15_40_56_10375.jpg
/home/pi/Desktop/images/12042025/15/40/image_12042025_15_41_05_9580.jpg
/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_16_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261606","1352261547","1352261579","1352261489","1352261468","1352261516"],"photo_ids_order":["1352261468","1352261489","1352261516","1352261547","1352261579","1352261606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff7502cc02e1e51c1b274f4e34c997a6.jpg","text":"TemporaryFile(/tmp/multipartBody4362326443023438372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473813311,"filename":"image_12042025_15_41_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e616744bf9a9451b985da8d9fae5b644.jpg","text":"TemporaryFile(/tmp/multipartBody388358918132644427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473813311,"filename":"image_12042025_15_40_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e53daab2913dc955da5e3cf91766ac1e.jpg","text":"TemporaryFile(/tmp/multipartBody2756821256504948361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473813311,"filename":"image_12042025_15_41_05_9580.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ebdede271efc188c6930679c03e5b52.jpg","text":"TemporaryFile(/tmp/multipartBody673965597857553149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473813311,"filename":"image_12042025_15_40_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a16a4c8dbbdb11adf10f5d9c89e64696.jpg","text":"TemporaryFile(/tmp/multipartBody5956601642039464935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473813311,"filename":"image_12042025_15_40_26_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63a4e679b882516bb8fc6bdeace620d0.jpg","text":"TemporaryFile(/tmp/multipartBody6092006905488823624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473813311,"filename":"image_12042025_15_40_45_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261516","file1":"1352261489","file0":"1352261468","file4":"1352261579","file5":"1352261606","file3":"1352261547"},"map_files_photo_id_array":[{"photo_id":"1352261606","filename":"file5"},{"photo_id":"1352261516","filename":"file2"},{"photo_id":"1352261579","filename":"file4"},{"photo_id":"1352261489","filename":"file1"},{"photo_id":"1352261468","filename":"file0"},{"photo_id":"1352261547","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352261606":["hashtag1","hashtag2"]},{"1352261547":["hashtag1","hashtag2"]},{"1352261579":["hashtag1","hashtag2"]},{"1352261489":["hashtag1","hashtag2"]},{"1352261468":["hashtag1","hashtag2"]},{"1352261516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352261606, 1352261547, 1352261579, 1352261489, 1352261468, 1352261516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09264349937439 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:03:33.035286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_25_9415.jpg', '/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_36_10355.jpg', '/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_46_10459.jpg', '/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_55_9457.jpg', '/home/pi/Desktop/images/12042025/15/41/image_12042025_15_42_06_10362.jpg', '/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_16_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_25_9415.jpg
/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_36_10355.jpg
/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_46_10459.jpg
/home/pi/Desktop/images/12042025/15/41/image_12042025_15_41_55_9457.jpg
/home/pi/Desktop/images/12042025/15/41/image_12042025_15_42_06_10362.jpg
/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_16_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352261755","1352261871","1352261787","1352261895","1352261808","1352261834"],"photo_ids_order":["1352261755","1352261787","1352261808","1352261834","1352261871","1352261895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1efd23695085cae9ab36e640ce12652d.jpg","text":"TemporaryFile(/tmp/multipartBody7735570265704305674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473873505,"filename":"image_12042025_15_41_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ed0baa7d4031776da39be850c9e91cc.jpg","text":"TemporaryFile(/tmp/multipartBody6040493084494424944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473873505,"filename":"image_12042025_15_42_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d1e6053f084143e030741534d7dba3a.jpg","text":"TemporaryFile(/tmp/multipartBody8535358658226343759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473873505,"filename":"image_12042025_15_41_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d271b9fac08000bd997afe8670c64434.jpg","text":"TemporaryFile(/tmp/multipartBody4619197414482120963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473873505,"filename":"image_12042025_15_42_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e09ead8fc67ddfb4aa50cbc66aca9d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6405399689864299675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473873505,"filename":"image_12042025_15_41_46_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b18e0edad2264ae39f111132688566f6.jpg","text":"TemporaryFile(/tmp/multipartBody8564873917339341694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473873505,"filename":"image_12042025_15_41_55_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352261808","file1":"1352261787","file0":"1352261755","file4":"1352261871","file5":"1352261895","file3":"1352261834"},"map_files_photo_id_array":[{"photo_id":"1352261895","filename":"file5"},{"photo_id":"1352261808","filename":"file2"},{"photo_id":"1352261871","filename":"file4"},{"photo_id":"1352261787","filename":"file1"},{"photo_id":"1352261755","filename":"file0"},{"photo_id":"1352261834","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352261755":["hashtag1","hashtag2"]},{"1352261871":["hashtag1","hashtag2"]},{"1352261787":["hashtag1","hashtag2"]},{"1352261895":["hashtag1","hashtag2"]},{"1352261808":["hashtag1","hashtag2"]},{"1352261834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352261755, 1352261871, 1352261787, 1352261895, 1352261808, 1352261834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.956111431121826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:04:32.288567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_26_9365.jpg', '/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_36_10343.jpg', '/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_45_9398.jpg', '/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_56_10440.jpg', '/home/pi/Desktop/images/12042025/15/42/image_12042025_15_43_06_10414.jpg', '/home/pi/Desktop/images/12042025/15/43/image_12042025_15_43_26_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_26_9365.jpg
/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_36_10343.jpg
/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_45_9398.jpg
/home/pi/Desktop/images/12042025/15/42/image_12042025_15_42_56_10440.jpg
/home/pi/Desktop/images/12042025/15/42/image_12042025_15_43_06_10414.jpg
/home/pi/Desktop/images/12042025/15/43/image_12042025_15_43_26_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352262151","1352262160","1352262127","1352262576","1352262720","1352262440"],"photo_ids_order":["1352262127","1352262151","1352262160","1352262440","1352262576","1352262720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58bedc7da5ca781914bd54bffa75ba20.jpg","text":"TemporaryFile(/tmp/multipartBody533700280200693970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473932769,"filename":"image_12042025_15_42_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e05d2a5d9eff87fd0f912be6445a691.jpg","text":"TemporaryFile(/tmp/multipartBody1688210994934473992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473932769,"filename":"image_12042025_15_42_45_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a34b0ad86e809c1ce141f02a7880a35.jpg","text":"TemporaryFile(/tmp/multipartBody691025294244419239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473932769,"filename":"image_12042025_15_42_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f7b2522f09daf129455f270161b30bb.jpg","text":"TemporaryFile(/tmp/multipartBody4907928384515156890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473932769,"filename":"image_12042025_15_43_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/74245d547384b7b7700e2f7c0dd27e08.jpg","text":"TemporaryFile(/tmp/multipartBody3998753566999053817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473932769,"filename":"image_12042025_15_43_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a395672c18693a4ba41392071f49251c.jpg","text":"TemporaryFile(/tmp/multipartBody2551636947203904835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473932769,"filename":"image_12042025_15_42_56_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352262160","file1":"1352262151","file0":"1352262127","file4":"1352262576","file5":"1352262720","file3":"1352262440"},"map_files_photo_id_array":[{"photo_id":"1352262720","filename":"file5"},{"photo_id":"1352262160","filename":"file2"},{"photo_id":"1352262576","filename":"file4"},{"photo_id":"1352262151","filename":"file1"},{"photo_id":"1352262127","filename":"file0"},{"photo_id":"1352262440","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352262151":["hashtag1","hashtag2"]},{"1352262160":["hashtag1","hashtag2"]},{"1352262127":["hashtag1","hashtag2"]},{"1352262576":["hashtag1","hashtag2"]},{"1352262720":["hashtag1","hashtag2"]},{"1352262440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352262151, 1352262160, 1352262127, 1352262576, 1352262720, 1352262440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.30558753013611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:05:32.541575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/43/image_12042025_15_43_35_9340.jpg', '/home/pi/Desktop/images/12042025/15/43/image_12042025_15_43_46_10350.jpg', '/home/pi/Desktop/images/12042025/15/43/image_12042025_15_43_56_10359.jpg', '/home/pi/Desktop/images/12042025/15/43/image_12042025_15_44_05_9340.jpg', '/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_16_10440.jpg', '/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_26_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/43/image_12042025_15_43_35_9340.jpg
/home/pi/Desktop/images/12042025/15/43/image_12042025_15_43_46_10350.jpg
/home/pi/Desktop/images/12042025/15/43/image_12042025_15_43_56_10359.jpg
/home/pi/Desktop/images/12042025/15/43/image_12042025_15_44_05_9340.jpg
/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_16_10440.jpg
/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_26_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352263312","1352263141","1352263194","1352263248","1352263288","1352263090"],"photo_ids_order":["1352263090","1352263141","1352263194","1352263248","1352263288","1352263312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3cd32855230157c9141c0ddba901a56a.jpg","text":"TemporaryFile(/tmp/multipartBody4193973328616739178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473993015,"filename":"image_12042025_15_44_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe47948fdf8901dcab5dbe020e06199f.jpg","text":"TemporaryFile(/tmp/multipartBody9009542824815479046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473993015,"filename":"image_12042025_15_43_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c273e0af8450b5359b530e3ce4538bc.jpg","text":"TemporaryFile(/tmp/multipartBody6731472564357009830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473993015,"filename":"image_12042025_15_43_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c4143dc4829697fc749bee1b8e8d056.jpg","text":"TemporaryFile(/tmp/multipartBody3433984011355011874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473993015,"filename":"image_12042025_15_44_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/569bc047f8c2c26085d8865f1c150f36.jpg","text":"TemporaryFile(/tmp/multipartBody2638125854637439358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473993015,"filename":"image_12042025_15_44_16_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/277dbb67cf2055ad8909036aa4d8a982.jpg","text":"TemporaryFile(/tmp/multipartBody7700949913153556312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744473993015,"filename":"image_12042025_15_43_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352263194","file1":"1352263141","file0":"1352263090","file4":"1352263288","file5":"1352263312","file3":"1352263248"},"map_files_photo_id_array":[{"photo_id":"1352263312","filename":"file5"},{"photo_id":"1352263194","filename":"file2"},{"photo_id":"1352263288","filename":"file4"},{"photo_id":"1352263141","filename":"file1"},{"photo_id":"1352263090","filename":"file0"},{"photo_id":"1352263248","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352263312":["hashtag1","hashtag2"]},{"1352263141":["hashtag1","hashtag2"]},{"1352263194":["hashtag1","hashtag2"]},{"1352263248":["hashtag1","hashtag2"]},{"1352263288":["hashtag1","hashtag2"]},{"1352263090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352263312, 1352263141, 1352263194, 1352263248, 1352263288, 1352263090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40260696411133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:06:32.733939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_36_9414.jpg', '/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_46_10346.jpg', '/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_55_9363.jpg', '/home/pi/Desktop/images/12042025/15/44/image_12042025_15_45_06_10444.jpg', '/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_16_10352.jpg', '/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_25_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_36_9414.jpg
/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_46_10346.jpg
/home/pi/Desktop/images/12042025/15/44/image_12042025_15_44_55_9363.jpg
/home/pi/Desktop/images/12042025/15/44/image_12042025_15_45_06_10444.jpg
/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_16_10352.jpg
/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_25_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352264093","1352264004","1352263973","1352264062","1352263942","1352264035"],"photo_ids_order":["1352263942","1352263973","1352264004","1352264035","1352264062","1352264093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee0c420929eee5e659326947cc675203.jpg","text":"TemporaryFile(/tmp/multipartBody3649856032294845352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474053207,"filename":"image_12042025_15_45_25_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39f2b70cf73e08aee8e62402019f1983.jpg","text":"TemporaryFile(/tmp/multipartBody4431871816387352525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474053207,"filename":"image_12042025_15_44_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6fd445bad7fa9f3c0244d1c8bb5bb31.jpg","text":"TemporaryFile(/tmp/multipartBody6547622422024453279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474053207,"filename":"image_12042025_15_44_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfb691d0d3c3a6f712f52922abebdbed.jpg","text":"TemporaryFile(/tmp/multipartBody334413310871180569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474053207,"filename":"image_12042025_15_45_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19aa2f2a4a0e2bd11f3ecdf617378fec.jpg","text":"TemporaryFile(/tmp/multipartBody3116029921028470918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474053207,"filename":"image_12042025_15_44_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf2394bdc7c55ec578d21d297cb81e02.jpg","text":"TemporaryFile(/tmp/multipartBody3671449589025248732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474053207,"filename":"image_12042025_15_45_06_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352264004","file1":"1352263973","file0":"1352263942","file4":"1352264062","file5":"1352264093","file3":"1352264035"},"map_files_photo_id_array":[{"photo_id":"1352264093","filename":"file5"},{"photo_id":"1352264004","filename":"file2"},{"photo_id":"1352264062","filename":"file4"},{"photo_id":"1352263973","filename":"file1"},{"photo_id":"1352263942","filename":"file0"},{"photo_id":"1352264035","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352264093":["hashtag1","hashtag2"]},{"1352264004":["hashtag1","hashtag2"]},{"1352263973":["hashtag1","hashtag2"]},{"1352264062":["hashtag1","hashtag2"]},{"1352263942":["hashtag1","hashtag2"]},{"1352264035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352264093, 1352264004, 1352263973, 1352264062, 1352263942, 1352264035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79387021064758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:07:33.002683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_36_10357.jpg', '/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_45_9360.jpg', '/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_56_10356.jpg', '/home/pi/Desktop/images/12042025/15/45/image_12042025_15_46_06_10368.jpg', '/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_15_9346.jpg', '/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_26_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_36_10357.jpg
/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_45_9360.jpg
/home/pi/Desktop/images/12042025/15/45/image_12042025_15_45_56_10356.jpg
/home/pi/Desktop/images/12042025/15/45/image_12042025_15_46_06_10368.jpg
/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_15_9346.jpg
/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_26_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352264390","1352264585","1352264495","1352264537","1352264470","1352264449"],"photo_ids_order":["1352264390","1352264449","1352264470","1352264495","1352264537","1352264585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8781518e3687316e463244b15d1425b7.jpg","text":"TemporaryFile(/tmp/multipartBody6547930387950430980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474113467,"filename":"image_12042025_15_45_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbd16395cf67beeed8d184dd214df5aa.jpg","text":"TemporaryFile(/tmp/multipartBody1005333121584185177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474113467,"filename":"image_12042025_15_46_26_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13dd2ba00234fb49c7b1d466b36a757a.jpg","text":"TemporaryFile(/tmp/multipartBody2810459388223156526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474113467,"filename":"image_12042025_15_46_06_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/128278857c0d41e1e90568925220a0e3.jpg","text":"TemporaryFile(/tmp/multipartBody7468507614789398353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474113467,"filename":"image_12042025_15_46_15_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f1bd9699111222315bf3eafd6d37749.jpg","text":"TemporaryFile(/tmp/multipartBody975231609224843781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474113467,"filename":"image_12042025_15_45_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb5a1b8fb4b398a4d11efb7b108234ef.jpg","text":"TemporaryFile(/tmp/multipartBody2940658618336418186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474113467,"filename":"image_12042025_15_45_45_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352264470","file1":"1352264449","file0":"1352264390","file4":"1352264537","file5":"1352264585","file3":"1352264495"},"map_files_photo_id_array":[{"photo_id":"1352264585","filename":"file5"},{"photo_id":"1352264470","filename":"file2"},{"photo_id":"1352264537","filename":"file4"},{"photo_id":"1352264449","filename":"file1"},{"photo_id":"1352264390","filename":"file0"},{"photo_id":"1352264495","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352264390":["hashtag1","hashtag2"]},{"1352264585":["hashtag1","hashtag2"]},{"1352264495":["hashtag1","hashtag2"]},{"1352264537":["hashtag1","hashtag2"]},{"1352264470":["hashtag1","hashtag2"]},{"1352264449":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352264390, 1352264585, 1352264495, 1352264537, 1352264470, 1352264449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.327598571777344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:08:32.206339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_36_10354.jpg', '/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_46_9443.jpg', '/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_56_10354.jpg', '/home/pi/Desktop/images/12042025/15/46/image_12042025_15_47_05_9395.jpg', '/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_16_10338.jpg', '/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_26_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_36_10354.jpg
/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_46_9443.jpg
/home/pi/Desktop/images/12042025/15/46/image_12042025_15_46_56_10354.jpg
/home/pi/Desktop/images/12042025/15/46/image_12042025_15_47_05_9395.jpg
/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_16_10338.jpg
/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_26_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265021","1352264952","1352265067","1352264977","1352264866","1352264908"],"photo_ids_order":["1352264866","1352264908","1352264952","1352264977","1352265021","1352265067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1d2cdada16a2f22b79e83b9858db00d.jpg","text":"TemporaryFile(/tmp/multipartBody7155256307203082102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474172663,"filename":"image_12042025_15_47_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4fb1d77bde5e5de927e85164ff41911.jpg","text":"TemporaryFile(/tmp/multipartBody2442228899413692893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474172663,"filename":"image_12042025_15_46_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f314e1c4cc198ad9be93ecc6949bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody5684364633550180683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474172663,"filename":"image_12042025_15_47_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4fd2fbb46e1a66fa9da954bdd7799fe.jpg","text":"TemporaryFile(/tmp/multipartBody4732099173809171309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474172663,"filename":"image_12042025_15_47_05_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f97e355f9640858fd5cff2ba252297d2.jpg","text":"TemporaryFile(/tmp/multipartBody7854745123200617992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474172663,"filename":"image_12042025_15_46_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9f2811cad09c7c439461efeab152d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3737522987762834567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474172663,"filename":"image_12042025_15_46_46_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352264952","file1":"1352264908","file0":"1352264866","file4":"1352265021","file5":"1352265067","file3":"1352264977"},"map_files_photo_id_array":[{"photo_id":"1352265067","filename":"file5"},{"photo_id":"1352264952","filename":"file2"},{"photo_id":"1352265021","filename":"file4"},{"photo_id":"1352264908","filename":"file1"},{"photo_id":"1352264866","filename":"file0"},{"photo_id":"1352264977","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352265021":["hashtag1","hashtag2"]},{"1352264952":["hashtag1","hashtag2"]},{"1352265067":["hashtag1","hashtag2"]},{"1352264977":["hashtag1","hashtag2"]},{"1352264866":["hashtag1","hashtag2"]},{"1352264908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352265021, 1352264952, 1352265067, 1352264977, 1352264866, 1352264908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.36760401725769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:09:32.404705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_35_9360.jpg', '/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_46_10366.jpg', '/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_56_10354.jpg', '/home/pi/Desktop/images/12042025/15/47/image_12042025_15_48_06_9474.jpg', '/home/pi/Desktop/images/12042025/15/48/image_12042025_15_48_25_9360.jpg', '/home/pi/Desktop/images/12042025/15/48/image_12042025_15_48_36_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_35_9360.jpg
/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_46_10366.jpg
/home/pi/Desktop/images/12042025/15/47/image_12042025_15_47_56_10354.jpg
/home/pi/Desktop/images/12042025/15/47/image_12042025_15_48_06_9474.jpg
/home/pi/Desktop/images/12042025/15/48/image_12042025_15_48_25_9360.jpg
/home/pi/Desktop/images/12042025/15/48/image_12042025_15_48_36_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265306","1352265278","1352265350","1352265297","1352265330","1352265267"],"photo_ids_order":["1352265267","1352265278","1352265297","1352265306","1352265330","1352265350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/990fb13e04b00d7e6108fac73f00baf1.jpg","text":"TemporaryFile(/tmp/multipartBody1290375246303399920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474232870,"filename":"image_12042025_15_48_06_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ccc2b6c391265a6e64eda3455005b9b8.jpg","text":"TemporaryFile(/tmp/multipartBody7359954977983107384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474232870,"filename":"image_12042025_15_47_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6d64e02fe5520a9d210b429517ca73c.jpg","text":"TemporaryFile(/tmp/multipartBody7083062521796299090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474232870,"filename":"image_12042025_15_48_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04dfff27a2e5a1733eeab00b54f78985.jpg","text":"TemporaryFile(/tmp/multipartBody8796442245738655632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474232870,"filename":"image_12042025_15_47_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/475d35133b6f364fc0dd051784bea223.jpg","text":"TemporaryFile(/tmp/multipartBody4219283253376981455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474232870,"filename":"image_12042025_15_48_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb909a91192f6aecb304012e78c9613f.jpg","text":"TemporaryFile(/tmp/multipartBody5584942057199674989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474232870,"filename":"image_12042025_15_47_35_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265297","file1":"1352265278","file0":"1352265267","file4":"1352265330","file5":"1352265350","file3":"1352265306"},"map_files_photo_id_array":[{"photo_id":"1352265350","filename":"file5"},{"photo_id":"1352265297","filename":"file2"},{"photo_id":"1352265330","filename":"file4"},{"photo_id":"1352265278","filename":"file1"},{"photo_id":"1352265267","filename":"file0"},{"photo_id":"1352265306","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352265306":["hashtag1","hashtag2"]},{"1352265278":["hashtag1","hashtag2"]},{"1352265350":["hashtag1","hashtag2"]},{"1352265297":["hashtag1","hashtag2"]},{"1352265330":["hashtag1","hashtag2"]},{"1352265267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352265306, 1352265278, 1352265350, 1352265297, 1352265330, 1352265267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08413863182068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:10:32.596753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/48/image_12042025_15_48_45_9422.jpg', '/home/pi/Desktop/images/12042025/15/48/image_12042025_15_48_56_10458.jpg', '/home/pi/Desktop/images/12042025/15/48/image_12042025_15_49_06_10385.jpg', '/home/pi/Desktop/images/12042025/15/49/image_12042025_15_49_15_9448.jpg', '/home/pi/Desktop/images/12042025/15/49/image_12042025_15_49_26_10366.jpg', '/home/pi/Desktop/images/12042025/15/49/image_12042025_15_49_36_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/48/image_12042025_15_48_45_9422.jpg
/home/pi/Desktop/images/12042025/15/48/image_12042025_15_48_56_10458.jpg
/home/pi/Desktop/images/12042025/15/48/image_12042025_15_49_06_10385.jpg
/home/pi/Desktop/images/12042025/15/49/image_12042025_15_49_15_9448.jpg
/home/pi/Desktop/images/12042025/15/49/image_12042025_15_49_26_10366.jpg
/home/pi/Desktop/images/12042025/15/49/image_12042025_15_49_36_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265494","1352265467","1352265410","1352265523","1352265387","1352265438"],"photo_ids_order":["1352265387","1352265410","1352265438","1352265467","1352265494","1352265523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cd74f79e1268d7869caf3ba2df5906a.jpg","text":"TemporaryFile(/tmp/multipartBody6890714581310273866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474293113,"filename":"image_12042025_15_49_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/430cb83bdcff5f10127dd80b55905548.jpg","text":"TemporaryFile(/tmp/multipartBody9135278766328471709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474293113,"filename":"image_12042025_15_49_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/372e1cc9b770c6f032b4f552ef9b980f.jpg","text":"TemporaryFile(/tmp/multipartBody2277654088427126255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474293113,"filename":"image_12042025_15_48_56_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42c3fbe2294e1e4678a039e52a88e149.jpg","text":"TemporaryFile(/tmp/multipartBody3525786279992989006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474293113,"filename":"image_12042025_15_49_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b4a636251191e6070f09853297be6d5.jpg","text":"TemporaryFile(/tmp/multipartBody3307217801260421352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474293113,"filename":"image_12042025_15_48_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29f0dc79bcae70fb94ff56bfc806678b.jpg","text":"TemporaryFile(/tmp/multipartBody1307605142947285388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474293113,"filename":"image_12042025_15_49_06_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265438","file1":"1352265410","file0":"1352265387","file4":"1352265494","file5":"1352265523","file3":"1352265467"},"map_files_photo_id_array":[{"photo_id":"1352265523","filename":"file5"},{"photo_id":"1352265438","filename":"file2"},{"photo_id":"1352265494","filename":"file4"},{"photo_id":"1352265410","filename":"file1"},{"photo_id":"1352265387","filename":"file0"},{"photo_id":"1352265467","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352265494":["hashtag1","hashtag2"]},{"1352265467":["hashtag1","hashtag2"]},{"1352265410":["hashtag1","hashtag2"]},{"1352265523":["hashtag1","hashtag2"]},{"1352265387":["hashtag1","hashtag2"]},{"1352265438":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352265494, 1352265467, 1352265410, 1352265523, 1352265387, 1352265438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25149202346802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:11:32.838895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/49/image_12042025_15_49_46_9487.jpg', '/home/pi/Desktop/images/12042025/15/49/image_12042025_15_50_05_9445.jpg', '/home/pi/Desktop/images/12042025/15/50/image_12042025_15_50_16_10354.jpg', '/home/pi/Desktop/images/12042025/15/50/image_12042025_15_50_36_10448.jpg', '/home/pi/Desktop/images/12042025/15/50/image_12042025_15_50_46_10352.jpg', '/home/pi/Desktop/images/12042025/15/50/image_12042025_15_50_55_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/49/image_12042025_15_49_46_9487.jpg
/home/pi/Desktop/images/12042025/15/49/image_12042025_15_50_05_9445.jpg
/home/pi/Desktop/images/12042025/15/50/image_12042025_15_50_16_10354.jpg
/home/pi/Desktop/images/12042025/15/50/image_12042025_15_50_36_10448.jpg
/home/pi/Desktop/images/12042025/15/50/image_12042025_15_50_46_10352.jpg
/home/pi/Desktop/images/12042025/15/50/image_12042025_15_50_55_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265738","1352265740","1352265694","1352265718","1352265735","1352265729"],"photo_ids_order":["1352265694","1352265718","1352265729","1352265735","1352265738","1352265740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd0f5f6f2c45ec46f9d6ed32abba579c.jpg","text":"TemporaryFile(/tmp/multipartBody2430865602050606169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474353304,"filename":"image_12042025_15_50_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49caff00ac58beb31a3bf638613ca2e4.jpg","text":"TemporaryFile(/tmp/multipartBody1246033428638740296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474353304,"filename":"image_12042025_15_50_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a6cff131308e65fa9bd65c58029f577.jpg","text":"TemporaryFile(/tmp/multipartBody85895968181911357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474353304,"filename":"image_12042025_15_49_46_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad7ec2b0d1bcb18482007a13bf293b23.jpg","text":"TemporaryFile(/tmp/multipartBody8574116123304457718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474353304,"filename":"image_12042025_15_50_05_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e960a881274e83635066db404b82c24a.jpg","text":"TemporaryFile(/tmp/multipartBody6694966084215193272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474353304,"filename":"image_12042025_15_50_36_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb5e3e606414c80d7343868f82826b3f.jpg","text":"TemporaryFile(/tmp/multipartBody4561634373400826509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474353304,"filename":"image_12042025_15_50_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265729","file1":"1352265718","file0":"1352265694","file4":"1352265738","file5":"1352265740","file3":"1352265735"},"map_files_photo_id_array":[{"photo_id":"1352265740","filename":"file5"},{"photo_id":"1352265729","filename":"file2"},{"photo_id":"1352265738","filename":"file4"},{"photo_id":"1352265718","filename":"file1"},{"photo_id":"1352265694","filename":"file0"},{"photo_id":"1352265735","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352265738":["hashtag1","hashtag2"]},{"1352265740":["hashtag1","hashtag2"]},{"1352265694":["hashtag1","hashtag2"]},{"1352265718":["hashtag1","hashtag2"]},{"1352265735":["hashtag1","hashtag2"]},{"1352265729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352265738, 1352265740, 1352265694, 1352265718, 1352265735, 1352265729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.578370332717896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:12:33.055157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/50/image_12042025_15_51_06_10341.jpg', '/home/pi/Desktop/images/12042025/15/51/image_12042025_15_51_26_10365.jpg', '/home/pi/Desktop/images/12042025/15/51/image_12042025_15_51_36_10353.jpg', '/home/pi/Desktop/images/12042025/15/51/image_12042025_15_52_06_10356.jpg', '/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_16_9479.jpg', '/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_26_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/50/image_12042025_15_51_06_10341.jpg
/home/pi/Desktop/images/12042025/15/51/image_12042025_15_51_26_10365.jpg
/home/pi/Desktop/images/12042025/15/51/image_12042025_15_51_36_10353.jpg
/home/pi/Desktop/images/12042025/15/51/image_12042025_15_52_06_10356.jpg
/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_16_9479.jpg
/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_26_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265900","1352265887","1352265866","1352265818","1352265898","1352265843"],"photo_ids_order":["1352265818","1352265843","1352265866","1352265887","1352265898","1352265900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4fe17f156d2258a152067ab9134f7b7.jpg","text":"TemporaryFile(/tmp/multipartBody1183322080207167419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474413519,"filename":"image_12042025_15_52_26_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14d5d853fc3d3f4e5a07fc49f1c1d69b.jpg","text":"TemporaryFile(/tmp/multipartBody6232595249168891701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474413519,"filename":"image_12042025_15_52_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a5e236f5f1ad640d728c837e23db89c.jpg","text":"TemporaryFile(/tmp/multipartBody4459205385699948206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474413519,"filename":"image_12042025_15_51_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb1b6eb3d20a786554748ba2e17a722f.jpg","text":"TemporaryFile(/tmp/multipartBody4218950371173107645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474413519,"filename":"image_12042025_15_51_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eff70d6b47338ee10ad97a9c502d3134.jpg","text":"TemporaryFile(/tmp/multipartBody5805578008654307133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474413519,"filename":"image_12042025_15_52_16_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2b3683cc7a5be665abb25b827565649.jpg","text":"TemporaryFile(/tmp/multipartBody2535633655686693012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474413519,"filename":"image_12042025_15_51_26_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265866","file1":"1352265843","file0":"1352265818","file4":"1352265898","file5":"1352265900","file3":"1352265887"},"map_files_photo_id_array":[{"photo_id":"1352265900","filename":"file5"},{"photo_id":"1352265866","filename":"file2"},{"photo_id":"1352265898","filename":"file4"},{"photo_id":"1352265843","filename":"file1"},{"photo_id":"1352265818","filename":"file0"},{"photo_id":"1352265887","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352265900":["hashtag1","hashtag2"]},{"1352265887":["hashtag1","hashtag2"]},{"1352265866":["hashtag1","hashtag2"]},{"1352265818":["hashtag1","hashtag2"]},{"1352265898":["hashtag1","hashtag2"]},{"1352265843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352265900, 1352265887, 1352265866, 1352265818, 1352265898, 1352265843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.366907596588135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:13:32.252074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_35_9385.jpg', '/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_46_10417.jpg', '/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_55_9379.jpg', '/home/pi/Desktop/images/12042025/15/52/image_12042025_15_53_06_10430.jpg', '/home/pi/Desktop/images/12042025/15/53/image_12042025_15_53_16_10368.jpg', '/home/pi/Desktop/images/12042025/15/53/image_12042025_15_53_25_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_35_9385.jpg
/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_46_10417.jpg
/home/pi/Desktop/images/12042025/15/52/image_12042025_15_52_55_9379.jpg
/home/pi/Desktop/images/12042025/15/52/image_12042025_15_53_06_10430.jpg
/home/pi/Desktop/images/12042025/15/53/image_12042025_15_53_16_10368.jpg
/home/pi/Desktop/images/12042025/15/53/image_12042025_15_53_25_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265921","1352265915","1352265918","1352265917","1352265911","1352265913"],"photo_ids_order":["1352265911","1352265913","1352265915","1352265917","1352265918","1352265921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39c8ffd7c59e98f29952c5286d912293.jpg","text":"TemporaryFile(/tmp/multipartBody5933097047016346981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474472716,"filename":"image_12042025_15_53_25_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc076f4c19a5368c47801c9ca7adbca1.jpg","text":"TemporaryFile(/tmp/multipartBody1853715208265446869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474472716,"filename":"image_12042025_15_52_55_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b985737a85458f788a90d10ec62b158.jpg","text":"TemporaryFile(/tmp/multipartBody776090407617713447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474472716,"filename":"image_12042025_15_53_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fcbed0f8772451f7407bdfff106100a.jpg","text":"TemporaryFile(/tmp/multipartBody6731952298059000192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474472716,"filename":"image_12042025_15_53_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/959ee0d55f60be43c28427a3c67ed1df.jpg","text":"TemporaryFile(/tmp/multipartBody2569870759928241064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474472716,"filename":"image_12042025_15_52_35_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fa6718f1a4bcf4f784c91fe94ab5e19.jpg","text":"TemporaryFile(/tmp/multipartBody1839697360719706243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474472716,"filename":"image_12042025_15_52_46_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265915","file1":"1352265913","file0":"1352265911","file4":"1352265918","file5":"1352265921","file3":"1352265917"},"map_files_photo_id_array":[{"photo_id":"1352265921","filename":"file5"},{"photo_id":"1352265915","filename":"file2"},{"photo_id":"1352265918","filename":"file4"},{"photo_id":"1352265913","filename":"file1"},{"photo_id":"1352265911","filename":"file0"},{"photo_id":"1352265917","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352265921":["hashtag1","hashtag2"]},{"1352265915":["hashtag1","hashtag2"]},{"1352265918":["hashtag1","hashtag2"]},{"1352265917":["hashtag1","hashtag2"]},{"1352265911":["hashtag1","hashtag2"]},{"1352265913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352265921, 1352265915, 1352265918, 1352265917, 1352265911, 1352265913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.62046933174133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:14:32.561219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/53/image_12042025_15_53_45_9359.jpg', '/home/pi/Desktop/images/12042025/15/53/image_12042025_15_53_56_10479.jpg', '/home/pi/Desktop/images/12042025/15/53/image_12042025_15_54_06_10351.jpg', '/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_16_9463.jpg', '/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_26_10386.jpg', '/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_35_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/53/image_12042025_15_53_45_9359.jpg
/home/pi/Desktop/images/12042025/15/53/image_12042025_15_53_56_10479.jpg
/home/pi/Desktop/images/12042025/15/53/image_12042025_15_54_06_10351.jpg
/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_16_9463.jpg
/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_26_10386.jpg
/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_35_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265946","1352265931","1352265943","1352265937","1352265939","1352265933"],"photo_ids_order":["1352265931","1352265933","1352265937","1352265939","1352265943","1352265946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c28288f6be817324ebc817a52fd0751.jpg","text":"TemporaryFile(/tmp/multipartBody2663258059467958809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474533040,"filename":"image_12042025_15_54_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/546fe46c86f814d4ea86f13b7a3664bd.jpg","text":"TemporaryFile(/tmp/multipartBody6743672858299493593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474533040,"filename":"image_12042025_15_53_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a067b3cb624acd534d03a07a63ad7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8989854059257767641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474533040,"filename":"image_12042025_15_54_26_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a9864cc6b85b3733e6434fc2d23eee8.jpg","text":"TemporaryFile(/tmp/multipartBody5590064123294722414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474533040,"filename":"image_12042025_15_54_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ecc20e4b28fa6ba63faece0e0427e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody3265858739563808966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474533040,"filename":"image_12042025_15_54_16_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7465e656a7cf0410e5e1396e752161cf.jpg","text":"TemporaryFile(/tmp/multipartBody7764798991013344873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474533040,"filename":"image_12042025_15_53_56_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265937","file1":"1352265933","file0":"1352265931","file4":"1352265943","file5":"1352265946","file3":"1352265939"},"map_files_photo_id_array":[{"photo_id":"1352265946","filename":"file5"},{"photo_id":"1352265937","filename":"file2"},{"photo_id":"1352265943","filename":"file4"},{"photo_id":"1352265933","filename":"file1"},{"photo_id":"1352265931","filename":"file0"},{"photo_id":"1352265939","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352265946":["hashtag1","hashtag2"]},{"1352265931":["hashtag1","hashtag2"]},{"1352265943":["hashtag1","hashtag2"]},{"1352265937":["hashtag1","hashtag2"]},{"1352265939":["hashtag1","hashtag2"]},{"1352265933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352265946, 1352265931, 1352265943, 1352265937, 1352265939, 1352265933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.975600481033325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:15:32.914746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_46_10440.jpg', '/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_56_10348.jpg', '/home/pi/Desktop/images/12042025/15/54/image_12042025_15_55_05_9439.jpg', '/home/pi/Desktop/images/12042025/15/55/image_12042025_15_55_16_10330.jpg', '/home/pi/Desktop/images/12042025/15/55/image_12042025_15_55_25_9354.jpg', '/home/pi/Desktop/images/12042025/15/55/image_12042025_15_55_36_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_46_10440.jpg
/home/pi/Desktop/images/12042025/15/54/image_12042025_15_54_56_10348.jpg
/home/pi/Desktop/images/12042025/15/54/image_12042025_15_55_05_9439.jpg
/home/pi/Desktop/images/12042025/15/55/image_12042025_15_55_16_10330.jpg
/home/pi/Desktop/images/12042025/15/55/image_12042025_15_55_25_9354.jpg
/home/pi/Desktop/images/12042025/15/55/image_12042025_15_55_36_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352265971","1352265964","1352265958","1352265955","1352265978","1352265954"],"photo_ids_order":["1352265954","1352265955","1352265958","1352265964","1352265971","1352265978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58ac66e17edf20594426f916ead63dca.jpg","text":"TemporaryFile(/tmp/multipartBody7103650066958299638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474593378,"filename":"image_12042025_15_55_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a0f2ad2fd63f26b5fafccd9325cc3ef.jpg","text":"TemporaryFile(/tmp/multipartBody1295396631018265362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474593378,"filename":"image_12042025_15_55_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cafab4c0eb68fa3843cb8a033627240.jpg","text":"TemporaryFile(/tmp/multipartBody1344049355150811047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474593378,"filename":"image_12042025_15_55_05_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/333077dddf3d2980aa69c2720579d2ef.jpg","text":"TemporaryFile(/tmp/multipartBody5224066186385707351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474593378,"filename":"image_12042025_15_54_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a6fea274e95a78fb613e59dd6a57b66.jpg","text":"TemporaryFile(/tmp/multipartBody4788179703843408071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474593378,"filename":"image_12042025_15_55_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/263bc94f2eb0e41d5605d3b5a2facb98.jpg","text":"TemporaryFile(/tmp/multipartBody1954444315819178023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474593378,"filename":"image_12042025_15_54_46_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352265958","file1":"1352265955","file0":"1352265954","file4":"1352265971","file5":"1352265978","file3":"1352265964"},"map_files_photo_id_array":[{"photo_id":"1352265978","filename":"file5"},{"photo_id":"1352265958","filename":"file2"},{"photo_id":"1352265971","filename":"file4"},{"photo_id":"1352265955","filename":"file1"},{"photo_id":"1352265954","filename":"file0"},{"photo_id":"1352265964","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352265971":["hashtag1","hashtag2"]},{"1352265964":["hashtag1","hashtag2"]},{"1352265958":["hashtag1","hashtag2"]},{"1352265955":["hashtag1","hashtag2"]},{"1352265978":["hashtag1","hashtag2"]},{"1352265954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352265971, 1352265964, 1352265958, 1352265955, 1352265978, 1352265954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45091223716736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:16:35.526236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/55/image_12042025_15_55_55_9374.jpg', '/home/pi/Desktop/images/12042025/15/55/image_12042025_15_56_06_10372.jpg', '/home/pi/Desktop/images/12042025/15/56/image_12042025_15_56_16_10355.jpg', '/home/pi/Desktop/images/12042025/15/56/image_12042025_15_56_25_9441.jpg', '/home/pi/Desktop/images/12042025/15/56/image_12042025_15_56_36_10347.jpg', '/home/pi/Desktop/images/12042025/15/56/image_12042025_15_56_46_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/55/image_12042025_15_55_55_9374.jpg
/home/pi/Desktop/images/12042025/15/55/image_12042025_15_56_06_10372.jpg
/home/pi/Desktop/images/12042025/15/56/image_12042025_15_56_16_10355.jpg
/home/pi/Desktop/images/12042025/15/56/image_12042025_15_56_25_9441.jpg
/home/pi/Desktop/images/12042025/15/56/image_12042025_15_56_36_10347.jpg
/home/pi/Desktop/images/12042025/15/56/image_12042025_15_56_46_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266052","1352266046","1352266049","1352266037","1352266054","1352266044"],"photo_ids_order":["1352266037","1352266044","1352266046","1352266049","1352266052","1352266054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20ed544f2aef4a322498f053c9703a50.jpg","text":"TemporaryFile(/tmp/multipartBody7617236272334798359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474655997,"filename":"image_12042025_15_56_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1329d800f5b8e3329b8056bf135c1552.jpg","text":"TemporaryFile(/tmp/multipartBody4235900454720576278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474655997,"filename":"image_12042025_15_56_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abee6af2570a73406596943c55263a58.jpg","text":"TemporaryFile(/tmp/multipartBody2387159864734315228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474655997,"filename":"image_12042025_15_56_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/182a870e10df76f5423a20e305bf1633.jpg","text":"TemporaryFile(/tmp/multipartBody5206090345375403453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474655997,"filename":"image_12042025_15_55_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de40273f0de940b8028a56057d744ecb.jpg","text":"TemporaryFile(/tmp/multipartBody7255294021739302017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474655997,"filename":"image_12042025_15_56_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78d787aaac92e0aa872ee1253eca4640.jpg","text":"TemporaryFile(/tmp/multipartBody3313153566481038648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474655997,"filename":"image_12042025_15_56_06_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266046","file1":"1352266044","file0":"1352266037","file4":"1352266052","file5":"1352266054","file3":"1352266049"},"map_files_photo_id_array":[{"photo_id":"1352266054","filename":"file5"},{"photo_id":"1352266046","filename":"file2"},{"photo_id":"1352266052","filename":"file4"},{"photo_id":"1352266044","filename":"file1"},{"photo_id":"1352266037","filename":"file0"},{"photo_id":"1352266049","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266052":["hashtag1","hashtag2"]},{"1352266046":["hashtag1","hashtag2"]},{"1352266049":["hashtag1","hashtag2"]},{"1352266037":["hashtag1","hashtag2"]},{"1352266054":["hashtag1","hashtag2"]},{"1352266044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266052, 1352266046, 1352266049, 1352266037, 1352266054, 1352266044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.348233222961426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:17:32.292378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/56/image_12042025_15_57_06_10406.jpg', '/home/pi/Desktop/images/12042025/15/57/image_12042025_15_57_15_9469.jpg', '/home/pi/Desktop/images/12042025/15/57/image_12042025_15_57_26_10371.jpg', '/home/pi/Desktop/images/12042025/15/57/image_12042025_15_57_35_9350.jpg', '/home/pi/Desktop/images/12042025/15/57/image_12042025_15_57_46_10458.jpg', '/home/pi/Desktop/images/12042025/15/57/image_12042025_15_58_05_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/56/image_12042025_15_57_06_10406.jpg
/home/pi/Desktop/images/12042025/15/57/image_12042025_15_57_15_9469.jpg
/home/pi/Desktop/images/12042025/15/57/image_12042025_15_57_26_10371.jpg
/home/pi/Desktop/images/12042025/15/57/image_12042025_15_57_35_9350.jpg
/home/pi/Desktop/images/12042025/15/57/image_12042025_15_57_46_10458.jpg
/home/pi/Desktop/images/12042025/15/57/image_12042025_15_58_05_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266075","1352266066","1352266069","1352266062","1352266071","1352266059"],"photo_ids_order":["1352266059","1352266062","1352266066","1352266069","1352266071","1352266075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2f489709709e95dcca7eb3fd4f5ae8c.jpg","text":"TemporaryFile(/tmp/multipartBody6934347311160262478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474712767,"filename":"image_12042025_15_58_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28f48997ebb31fb201a5c66a695af945.jpg","text":"TemporaryFile(/tmp/multipartBody2367340406476971197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474712767,"filename":"image_12042025_15_57_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/83821419cdb11089f8faf5edd4607f68.jpg","text":"TemporaryFile(/tmp/multipartBody7631135554189755329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474712767,"filename":"image_12042025_15_57_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec972d9e17ad4da4f65b4024633c060a.jpg","text":"TemporaryFile(/tmp/multipartBody8022666840849215494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474712767,"filename":"image_12042025_15_57_15_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53c0584f5a1b678db753ef64f95fbe79.jpg","text":"TemporaryFile(/tmp/multipartBody2367758307199254153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474712767,"filename":"image_12042025_15_57_46_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de8d2dcbbaab178621bbb574ee9f3a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2449528137447266337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474712767,"filename":"image_12042025_15_57_06_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266066","file1":"1352266062","file0":"1352266059","file4":"1352266071","file5":"1352266075","file3":"1352266069"},"map_files_photo_id_array":[{"photo_id":"1352266075","filename":"file5"},{"photo_id":"1352266066","filename":"file2"},{"photo_id":"1352266071","filename":"file4"},{"photo_id":"1352266062","filename":"file1"},{"photo_id":"1352266059","filename":"file0"},{"photo_id":"1352266069","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266075":["hashtag1","hashtag2"]},{"1352266066":["hashtag1","hashtag2"]},{"1352266069":["hashtag1","hashtag2"]},{"1352266062":["hashtag1","hashtag2"]},{"1352266071":["hashtag1","hashtag2"]},{"1352266059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266075, 1352266066, 1352266069, 1352266062, 1352266071, 1352266059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23067545890808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:18:32.497777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/15/58/image_12042025_15_58_36_10457.jpg', '/home/pi/Desktop/images/12042025/15/58/image_12042025_15_58_46_10421.jpg', '/home/pi/Desktop/images/12042025/15/58/image_12042025_15_58_56_9488.jpg', '/home/pi/Desktop/images/12042025/15/59/image_12042025_15_59_16_9475.jpg', '/home/pi/Desktop/images/12042025/15/59/image_12042025_15_59_46_10439.jpg', '/home/pi/Desktop/images/12042025/15/59/image_12042025_15_59_56_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/15/58/image_12042025_15_58_36_10457.jpg
/home/pi/Desktop/images/12042025/15/58/image_12042025_15_58_46_10421.jpg
/home/pi/Desktop/images/12042025/15/58/image_12042025_15_58_56_9488.jpg
/home/pi/Desktop/images/12042025/15/59/image_12042025_15_59_16_9475.jpg
/home/pi/Desktop/images/12042025/15/59/image_12042025_15_59_46_10439.jpg
/home/pi/Desktop/images/12042025/15/59/image_12042025_15_59_56_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266093","1352266096","1352266099","1352266089","1352266097","1352266085"],"photo_ids_order":["1352266085","1352266089","1352266093","1352266096","1352266097","1352266099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd33d5158085d7f37bb9a7b7582f6f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3077572690616615420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474772968,"filename":"image_12042025_15_58_56_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62fac1a581734e756a41cc270b2a6052.jpg","text":"TemporaryFile(/tmp/multipartBody8968833636944008027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474772968,"filename":"image_12042025_15_59_16_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/605d12dd571c53ba09234e0b3b3bb195.jpg","text":"TemporaryFile(/tmp/multipartBody8456137455403209190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474772968,"filename":"image_12042025_15_59_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0002aed6ed5745c4133052e1f2cbce6.jpg","text":"TemporaryFile(/tmp/multipartBody7942798372758375190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474772968,"filename":"image_12042025_15_58_46_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de7ac6ed1d62a7c26d6489f07106f306.jpg","text":"TemporaryFile(/tmp/multipartBody9060057011936437687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474772968,"filename":"image_12042025_15_59_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/121ad5d26031803ef22b2c5a32d2f419.jpg","text":"TemporaryFile(/tmp/multipartBody5190772061262575909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474772968,"filename":"image_12042025_15_58_36_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266093","file1":"1352266089","file0":"1352266085","file4":"1352266097","file5":"1352266099","file3":"1352266096"},"map_files_photo_id_array":[{"photo_id":"1352266099","filename":"file5"},{"photo_id":"1352266093","filename":"file2"},{"photo_id":"1352266097","filename":"file4"},{"photo_id":"1352266089","filename":"file1"},{"photo_id":"1352266085","filename":"file0"},{"photo_id":"1352266096","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266093":["hashtag1","hashtag2"]},{"1352266096":["hashtag1","hashtag2"]},{"1352266099":["hashtag1","hashtag2"]},{"1352266089":["hashtag1","hashtag2"]},{"1352266097":["hashtag1","hashtag2"]},{"1352266085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266093, 1352266096, 1352266099, 1352266089, 1352266097, 1352266085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.390233755111694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:19:32.985168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_14_10072.jpg', '/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_25_10431.jpg', '/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_35_10348.jpg', '/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_44_9361.jpg', '/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_55_10479.jpg', '/home/pi/Desktop/images/12042025/16/01/image_12042025_16_02_04_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_14_10072.jpg
/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_25_10431.jpg
/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_35_10348.jpg
/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_44_9361.jpg
/home/pi/Desktop/images/12042025/16/01/image_12042025_16_01_55_10479.jpg
/home/pi/Desktop/images/12042025/16/01/image_12042025_16_02_04_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266109","1352266118","1352266111","1352266120","1352266107","1352266116"],"photo_ids_order":["1352266107","1352266109","1352266111","1352266116","1352266118","1352266120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc686342417c9896de472b94d4a1c7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1660355983542340855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474833450,"filename":"image_12042025_16_01_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7369aefcad14e4a7af1c8ce549cd6f0.jpg","text":"TemporaryFile(/tmp/multipartBody1135953414308373637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474833450,"filename":"image_12042025_16_01_55_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8bbcdc73658044a4a122b4e9a144b58f.jpg","text":"TemporaryFile(/tmp/multipartBody4744381060483408033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474833450,"filename":"image_12042025_16_01_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3241532e68905543345a706f16d855cb.jpg","text":"TemporaryFile(/tmp/multipartBody6959221361689327081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474833450,"filename":"image_12042025_16_02_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9af16bd87cd35854d666ac7801cd643c.jpg","text":"TemporaryFile(/tmp/multipartBody1029446614161277399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474833450,"filename":"image_12042025_16_01_14_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6eb13c544bec94431e70c9561e013c84.jpg","text":"TemporaryFile(/tmp/multipartBody3656415267247580701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474833450,"filename":"image_12042025_16_01_44_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266111","file1":"1352266109","file0":"1352266107","file4":"1352266118","file5":"1352266120","file3":"1352266116"},"map_files_photo_id_array":[{"photo_id":"1352266120","filename":"file5"},{"photo_id":"1352266111","filename":"file2"},{"photo_id":"1352266118","filename":"file4"},{"photo_id":"1352266109","filename":"file1"},{"photo_id":"1352266107","filename":"file0"},{"photo_id":"1352266116","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266109":["hashtag1","hashtag2"]},{"1352266118":["hashtag1","hashtag2"]},{"1352266111":["hashtag1","hashtag2"]},{"1352266120":["hashtag1","hashtag2"]},{"1352266107":["hashtag1","hashtag2"]},{"1352266116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266109, 1352266118, 1352266111, 1352266120, 1352266107, 1352266116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09422206878662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:20:33.008172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_15_10407.jpg', '/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_25_10358.jpg', '/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_34_9354.jpg', '/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_45_10465.jpg', '/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_55_10357.jpg', '/home/pi/Desktop/images/12042025/16/03/image_12042025_16_03_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_15_10407.jpg
/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_25_10358.jpg
/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_34_9354.jpg
/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_45_10465.jpg
/home/pi/Desktop/images/12042025/16/02/image_12042025_16_02_55_10357.jpg
/home/pi/Desktop/images/12042025/16/03/image_12042025_16_03_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266145","1352266142","1352266136","1352266139","1352266132","1352266128"],"photo_ids_order":["1352266128","1352266132","1352266136","1352266139","1352266142","1352266145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffa492d4922a5cc794e2943e5ba9b1f7.jpg","text":"TemporaryFile(/tmp/multipartBody7629139985100102776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474893466,"filename":"image_12042025_16_03_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d6068acb2376286322419ba8a51aa93.jpg","text":"TemporaryFile(/tmp/multipartBody3440740819680543399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474893466,"filename":"image_12042025_16_02_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebeab5948e01676d673f896ff4459f78.jpg","text":"TemporaryFile(/tmp/multipartBody2339844640770057083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474893466,"filename":"image_12042025_16_02_34_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92099e2d7c3fd6d5a73d3d8835549265.jpg","text":"TemporaryFile(/tmp/multipartBody6903424567528567334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474893466,"filename":"image_12042025_16_02_45_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b630dd1682060c2de981a7d05c0229ee.jpg","text":"TemporaryFile(/tmp/multipartBody1892630319288549682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474893466,"filename":"image_12042025_16_02_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e553ef8d9590f8c2c4cbf9479d5b3b94.jpg","text":"TemporaryFile(/tmp/multipartBody2422241562966212725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474893466,"filename":"image_12042025_16_02_15_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266136","file1":"1352266132","file0":"1352266128","file4":"1352266142","file5":"1352266145","file3":"1352266139"},"map_files_photo_id_array":[{"photo_id":"1352266145","filename":"file5"},{"photo_id":"1352266136","filename":"file2"},{"photo_id":"1352266142","filename":"file4"},{"photo_id":"1352266132","filename":"file1"},{"photo_id":"1352266128","filename":"file0"},{"photo_id":"1352266139","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266145":["hashtag1","hashtag2"]},{"1352266142":["hashtag1","hashtag2"]},{"1352266136":["hashtag1","hashtag2"]},{"1352266139":["hashtag1","hashtag2"]},{"1352266132":["hashtag1","hashtag2"]},{"1352266128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266145, 1352266142, 1352266136, 1352266139, 1352266132, 1352266128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42279314994812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:21:32.497218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/03/image_12042025_16_03_35_10438.jpg', '/home/pi/Desktop/images/12042025/16/03/image_12042025_16_03_45_10363.jpg', '/home/pi/Desktop/images/12042025/16/03/image_12042025_16_04_05_10367.jpg', '/home/pi/Desktop/images/12042025/16/04/image_12042025_16_04_14_9324.jpg', '/home/pi/Desktop/images/12042025/16/04/image_12042025_16_04_44_9355.jpg', '/home/pi/Desktop/images/12042025/16/04/image_12042025_16_04_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/03/image_12042025_16_03_35_10438.jpg
/home/pi/Desktop/images/12042025/16/03/image_12042025_16_03_45_10363.jpg
/home/pi/Desktop/images/12042025/16/03/image_12042025_16_04_05_10367.jpg
/home/pi/Desktop/images/12042025/16/04/image_12042025_16_04_14_9324.jpg
/home/pi/Desktop/images/12042025/16/04/image_12042025_16_04_44_9355.jpg
/home/pi/Desktop/images/12042025/16/04/image_12042025_16_04_55_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266241","1352266202","1352266205","1352266279","1352266218","1352266200"],"photo_ids_order":["1352266200","1352266202","1352266205","1352266218","1352266241","1352266279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49c15b12f080db789c942cb62905ca3f.jpg","text":"TemporaryFile(/tmp/multipartBody6937794160165962198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474952971,"filename":"image_12042025_16_04_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75372ecfa3fd7eb9dcda7af16b1ca471.jpg","text":"TemporaryFile(/tmp/multipartBody8940173032575531324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474952971,"filename":"image_12042025_16_03_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a35d93d13761a2114e820e513f9ac80.jpg","text":"TemporaryFile(/tmp/multipartBody2185252487490167558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474952971,"filename":"image_12042025_16_04_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51c078d66788caf3eb2edb652691cf60.jpg","text":"TemporaryFile(/tmp/multipartBody6036300522228544622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474952971,"filename":"image_12042025_16_04_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3c029ae6f1ac2d907b58f594cbc0d96.jpg","text":"TemporaryFile(/tmp/multipartBody3597842910318271215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474952971,"filename":"image_12042025_16_04_14_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/074d6d34e30ee1322aa96b842cb59643.jpg","text":"TemporaryFile(/tmp/multipartBody4739982065350418298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744474952971,"filename":"image_12042025_16_03_35_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266205","file1":"1352266202","file0":"1352266200","file4":"1352266241","file5":"1352266279","file3":"1352266218"},"map_files_photo_id_array":[{"photo_id":"1352266279","filename":"file5"},{"photo_id":"1352266205","filename":"file2"},{"photo_id":"1352266241","filename":"file4"},{"photo_id":"1352266202","filename":"file1"},{"photo_id":"1352266200","filename":"file0"},{"photo_id":"1352266218","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266241":["hashtag1","hashtag2"]},{"1352266202":["hashtag1","hashtag2"]},{"1352266205":["hashtag1","hashtag2"]},{"1352266279":["hashtag1","hashtag2"]},{"1352266218":["hashtag1","hashtag2"]},{"1352266200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266241, 1352266202, 1352266205, 1352266279, 1352266218, 1352266200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46141767501831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:22:32.664309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/05/image_12042025_16_05_14_9354.jpg', '/home/pi/Desktop/images/12042025/16/05/image_12042025_16_05_25_10380.jpg', '/home/pi/Desktop/images/12042025/16/05/image_12042025_16_05_44_9410.jpg', '/home/pi/Desktop/images/12042025/16/05/image_12042025_16_06_04_9342.jpg', '/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_15_10771.jpg', '/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_24_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/05/image_12042025_16_05_14_9354.jpg
/home/pi/Desktop/images/12042025/16/05/image_12042025_16_05_25_10380.jpg
/home/pi/Desktop/images/12042025/16/05/image_12042025_16_05_44_9410.jpg
/home/pi/Desktop/images/12042025/16/05/image_12042025_16_06_04_9342.jpg
/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_15_10771.jpg
/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_24_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266484","1352266459","1352266525","1352266432","1352266509","1352266407"],"photo_ids_order":["1352266407","1352266432","1352266459","1352266484","1352266509","1352266525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4703e458e5d6a4517d0d8c46245cec7.jpg","text":"TemporaryFile(/tmp/multipartBody5877684534744000654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475013152,"filename":"image_12042025_16_06_04_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3525af6dde29ea27a3d1e585d8e7d5da.jpg","text":"TemporaryFile(/tmp/multipartBody6148708243721839079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475013152,"filename":"image_12042025_16_05_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a02c66f87a78daa6f2ad9340aef9f6f.jpg","text":"TemporaryFile(/tmp/multipartBody2495243878527208016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475013152,"filename":"image_12042025_16_06_24_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fc0c6ef54851a0e83e76cf025bbda5b.jpg","text":"TemporaryFile(/tmp/multipartBody4782185135076299274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475013152,"filename":"image_12042025_16_05_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a5068da91403d9ac1cce3e454eee67f.jpg","text":"TemporaryFile(/tmp/multipartBody7789850040025415527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475013152,"filename":"image_12042025_16_06_15_10771.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa5dee16a02505c147e195cc4cec4eaa.jpg","text":"TemporaryFile(/tmp/multipartBody3989152832262715169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475013152,"filename":"image_12042025_16_05_14_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266459","file1":"1352266432","file0":"1352266407","file4":"1352266509","file5":"1352266525","file3":"1352266484"},"map_files_photo_id_array":[{"photo_id":"1352266525","filename":"file5"},{"photo_id":"1352266459","filename":"file2"},{"photo_id":"1352266509","filename":"file4"},{"photo_id":"1352266432","filename":"file1"},{"photo_id":"1352266407","filename":"file0"},{"photo_id":"1352266484","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266484":["hashtag1","hashtag2"]},{"1352266459":["hashtag1","hashtag2"]},{"1352266525":["hashtag1","hashtag2"]},{"1352266432":["hashtag1","hashtag2"]},{"1352266509":["hashtag1","hashtag2"]},{"1352266407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266484, 1352266459, 1352266525, 1352266432, 1352266509, 1352266407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94965672492981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:23:32.877924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_35_10355.jpg', '/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_44_9366.jpg', '/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_55_10484.jpg', '/home/pi/Desktop/images/12042025/16/06/image_12042025_16_07_05_10425.jpg', '/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_15_9461.jpg', '/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_25_10526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_35_10355.jpg
/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_44_9366.jpg
/home/pi/Desktop/images/12042025/16/06/image_12042025_16_06_55_10484.jpg
/home/pi/Desktop/images/12042025/16/06/image_12042025_16_07_05_10425.jpg
/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_15_9461.jpg
/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_25_10526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266577","1352266582","1352266579","1352266575","1352266572","1352266571"],"photo_ids_order":["1352266571","1352266572","1352266575","1352266577","1352266579","1352266582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef6e1da52d591c4433e833fbbd907036.jpg","text":"TemporaryFile(/tmp/multipartBody6987840249725730902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475073346,"filename":"image_12042025_16_07_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a177c00959c31fda484c07611c13b65.jpg","text":"TemporaryFile(/tmp/multipartBody2819740323092396040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475073346,"filename":"image_12042025_16_07_25_10526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0e9a4076882a550fbb5ff2d7f7e5c3a.jpg","text":"TemporaryFile(/tmp/multipartBody1666106828142856793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475073346,"filename":"image_12042025_16_07_15_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e479f430b6038fb5466a666661262eac.jpg","text":"TemporaryFile(/tmp/multipartBody3251243632681358726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475073346,"filename":"image_12042025_16_06_55_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03b677c22c529e0ea35bce52b49f8012.jpg","text":"TemporaryFile(/tmp/multipartBody8115630187823880607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475073346,"filename":"image_12042025_16_06_44_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e5115bd492f6b7c1ac68d0273b88862.jpg","text":"TemporaryFile(/tmp/multipartBody4557039831492490962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475073346,"filename":"image_12042025_16_06_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266575","file1":"1352266572","file0":"1352266571","file4":"1352266579","file5":"1352266582","file3":"1352266577"},"map_files_photo_id_array":[{"photo_id":"1352266582","filename":"file5"},{"photo_id":"1352266575","filename":"file2"},{"photo_id":"1352266579","filename":"file4"},{"photo_id":"1352266572","filename":"file1"},{"photo_id":"1352266571","filename":"file0"},{"photo_id":"1352266577","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266577":["hashtag1","hashtag2"]},{"1352266582":["hashtag1","hashtag2"]},{"1352266579":["hashtag1","hashtag2"]},{"1352266575":["hashtag1","hashtag2"]},{"1352266572":["hashtag1","hashtag2"]},{"1352266571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266577, 1352266582, 1352266579, 1352266575, 1352266572, 1352266571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.573259115219116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:24:33.082816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_34_9461.jpg', '/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_45_10358.jpg', '/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_54_9375.jpg', '/home/pi/Desktop/images/12042025/16/07/image_12042025_16_08_05_10477.jpg', '/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_15_10347.jpg', '/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_24_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_34_9461.jpg
/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_45_10358.jpg
/home/pi/Desktop/images/12042025/16/07/image_12042025_16_07_54_9375.jpg
/home/pi/Desktop/images/12042025/16/07/image_12042025_16_08_05_10477.jpg
/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_15_10347.jpg
/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_24_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266661","1352266663","1352266657","1352266665","1352266659","1352266667"],"photo_ids_order":["1352266657","1352266659","1352266661","1352266663","1352266665","1352266667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e58010c36e86390b7e9c9d77247e6d3.jpg","text":"TemporaryFile(/tmp/multipartBody4641465380231377779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475133542,"filename":"image_12042025_16_07_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/916d9053351678ca611bbb857f35692e.jpg","text":"TemporaryFile(/tmp/multipartBody3537423536069234879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475133542,"filename":"image_12042025_16_08_05_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf8762e9854564a751e47d775f9f9735.jpg","text":"TemporaryFile(/tmp/multipartBody2538290795873463536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475133542,"filename":"image_12042025_16_07_34_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23eef6437a3c3b4668425ee7969d40d7.jpg","text":"TemporaryFile(/tmp/multipartBody2185365560503388702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475133542,"filename":"image_12042025_16_08_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b650ab5a6caabbac4b688c9c103f9e1e.jpg","text":"TemporaryFile(/tmp/multipartBody8523118350902631996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475133542,"filename":"image_12042025_16_07_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc84328bd2657a7f00874469af0213d8.jpg","text":"TemporaryFile(/tmp/multipartBody2778061402495821319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475133542,"filename":"image_12042025_16_08_24_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266661","file1":"1352266659","file0":"1352266657","file4":"1352266665","file5":"1352266667","file3":"1352266663"},"map_files_photo_id_array":[{"photo_id":"1352266667","filename":"file5"},{"photo_id":"1352266661","filename":"file2"},{"photo_id":"1352266665","filename":"file4"},{"photo_id":"1352266659","filename":"file1"},{"photo_id":"1352266657","filename":"file0"},{"photo_id":"1352266663","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266661":["hashtag1","hashtag2"]},{"1352266663":["hashtag1","hashtag2"]},{"1352266657":["hashtag1","hashtag2"]},{"1352266665":["hashtag1","hashtag2"]},{"1352266659":["hashtag1","hashtag2"]},{"1352266667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266661, 1352266663, 1352266657, 1352266665, 1352266659, 1352266667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14657211303711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:25:32.281360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_35_10432.jpg', '/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_44_9355.jpg', '/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_55_10380.jpg', '/home/pi/Desktop/images/12042025/16/08/image_12042025_16_09_05_10346.jpg', '/home/pi/Desktop/images/12042025/16/09/image_12042025_16_09_14_9335.jpg', '/home/pi/Desktop/images/12042025/16/09/image_12042025_16_09_25_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_35_10432.jpg
/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_44_9355.jpg
/home/pi/Desktop/images/12042025/16/08/image_12042025_16_08_55_10380.jpg
/home/pi/Desktop/images/12042025/16/08/image_12042025_16_09_05_10346.jpg
/home/pi/Desktop/images/12042025/16/09/image_12042025_16_09_14_9335.jpg
/home/pi/Desktop/images/12042025/16/09/image_12042025_16_09_25_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352266802","1352266811","1352266805","1352266807","1352266803","1352266809"],"photo_ids_order":["1352266802","1352266803","1352266805","1352266807","1352266809","1352266811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0b65f1b1ce21675aba3543d2eafb903.jpg","text":"TemporaryFile(/tmp/multipartBody701942473664141334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475192751,"filename":"image_12042025_16_08_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf25de4a93381c416ddd999243a7db66.jpg","text":"TemporaryFile(/tmp/multipartBody3555689811157748393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475192751,"filename":"image_12042025_16_09_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ee32e04365cb6bfd5fbf32eac06db25.jpg","text":"TemporaryFile(/tmp/multipartBody493468706537495906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475192751,"filename":"image_12042025_16_08_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aff31dfc0cb969cd6f733e3f1cc00e58.jpg","text":"TemporaryFile(/tmp/multipartBody5086946494735369069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475192751,"filename":"image_12042025_16_09_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55c6ea7216fc5e7800c4462fdc819bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6351639495923571235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475192751,"filename":"image_12042025_16_08_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/433a3a67651cce952ae3eaab8573295f.jpg","text":"TemporaryFile(/tmp/multipartBody4616171058342773065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475192751,"filename":"image_12042025_16_09_14_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352266805","file1":"1352266803","file0":"1352266802","file4":"1352266809","file5":"1352266811","file3":"1352266807"},"map_files_photo_id_array":[{"photo_id":"1352266811","filename":"file5"},{"photo_id":"1352266805","filename":"file2"},{"photo_id":"1352266809","filename":"file4"},{"photo_id":"1352266803","filename":"file1"},{"photo_id":"1352266802","filename":"file0"},{"photo_id":"1352266807","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352266802":["hashtag1","hashtag2"]},{"1352266811":["hashtag1","hashtag2"]},{"1352266805":["hashtag1","hashtag2"]},{"1352266807":["hashtag1","hashtag2"]},{"1352266803":["hashtag1","hashtag2"]},{"1352266809":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352266802, 1352266811, 1352266805, 1352266807, 1352266803, 1352266809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12811899185181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:26:32.639712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/09/image_12042025_16_09_34_9350.jpg', '/home/pi/Desktop/images/12042025/16/09/image_12042025_16_09_45_10435.jpg', '/home/pi/Desktop/images/12042025/16/10/image_12042025_16_10_24_9385.jpg', '/home/pi/Desktop/images/12042025/16/10/image_12042025_16_10_54_9351.jpg', '/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_14_9346.jpg', '/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_25_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/09/image_12042025_16_09_34_9350.jpg
/home/pi/Desktop/images/12042025/16/09/image_12042025_16_09_45_10435.jpg
/home/pi/Desktop/images/12042025/16/10/image_12042025_16_10_24_9385.jpg
/home/pi/Desktop/images/12042025/16/10/image_12042025_16_10_54_9351.jpg
/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_14_9346.jpg
/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_25_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267129","1352267181","1352267172","1352267094","1352267157","1352267081"],"photo_ids_order":["1352267081","1352267094","1352267129","1352267157","1352267172","1352267181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76c0edcffe9d8120c85de93b9c49cd2d.jpg","text":"TemporaryFile(/tmp/multipartBody8485488251858013675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475253135,"filename":"image_12042025_16_10_24_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca6e1095ea552a8c82af632204e1414b.jpg","text":"TemporaryFile(/tmp/multipartBody3867067332181250460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475253135,"filename":"image_12042025_16_12_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ada91c8aadf554b71afc0e784b7ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody7500236648576223953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475253135,"filename":"image_12042025_16_12_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/440e4a6473375b0357dfbdd800b9044e.jpg","text":"TemporaryFile(/tmp/multipartBody5410861683893017229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475253135,"filename":"image_12042025_16_09_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/494a23e846e376af4e7f4e59095fec2e.jpg","text":"TemporaryFile(/tmp/multipartBody5395138976152981774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475253135,"filename":"image_12042025_16_10_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5177d0cb14b05350fac5e9f40783218.jpg","text":"TemporaryFile(/tmp/multipartBody2498331025097034313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475253135,"filename":"image_12042025_16_09_34_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267129","file1":"1352267094","file0":"1352267081","file4":"1352267172","file5":"1352267181","file3":"1352267157"},"map_files_photo_id_array":[{"photo_id":"1352267181","filename":"file5"},{"photo_id":"1352267129","filename":"file2"},{"photo_id":"1352267172","filename":"file4"},{"photo_id":"1352267094","filename":"file1"},{"photo_id":"1352267081","filename":"file0"},{"photo_id":"1352267157","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352267129":["hashtag1","hashtag2"]},{"1352267181":["hashtag1","hashtag2"]},{"1352267172":["hashtag1","hashtag2"]},{"1352267094":["hashtag1","hashtag2"]},{"1352267157":["hashtag1","hashtag2"]},{"1352267081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352267129, 1352267181, 1352267172, 1352267094, 1352267157, 1352267081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88554239273071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:27:32.941014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_35_10371.jpg', '/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_44_9410.jpg', '/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_55_10379.jpg', '/home/pi/Desktop/images/12042025/16/13/image_12042025_16_13_15_10363.jpg', '/home/pi/Desktop/images/12042025/16/13/image_12042025_16_13_34_9354.jpg', '/home/pi/Desktop/images/12042025/16/13/image_12042025_16_13_45_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_35_10371.jpg
/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_44_9410.jpg
/home/pi/Desktop/images/12042025/16/12/image_12042025_16_12_55_10379.jpg
/home/pi/Desktop/images/12042025/16/13/image_12042025_16_13_15_10363.jpg
/home/pi/Desktop/images/12042025/16/13/image_12042025_16_13_34_9354.jpg
/home/pi/Desktop/images/12042025/16/13/image_12042025_16_13_45_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267327","1352267329","1352267320","1352267323","1352267325","1352267321"],"photo_ids_order":["1352267320","1352267321","1352267323","1352267325","1352267327","1352267329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84ef3783d1210360b1de7ad62d5039d0.jpg","text":"TemporaryFile(/tmp/multipartBody2664215528200368336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475313401,"filename":"image_12042025_16_13_34_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a591be19875b8731b1e6c4dbb1267477.jpg","text":"TemporaryFile(/tmp/multipartBody7663237902136442442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475313401,"filename":"image_12042025_16_13_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d940badb19f6086967d500f39333807.jpg","text":"TemporaryFile(/tmp/multipartBody3108206532784572874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475313401,"filename":"image_12042025_16_12_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0942fe0b8f8b136c642a62f104bd9e67.jpg","text":"TemporaryFile(/tmp/multipartBody7505960464661929997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475313401,"filename":"image_12042025_16_12_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5716845e4faa1e3e19608e07ffa3aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2204476910347445032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475313401,"filename":"image_12042025_16_13_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b8043269611d35754d5b7eb871b2c1b.jpg","text":"TemporaryFile(/tmp/multipartBody1792767503344301440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475313401,"filename":"image_12042025_16_12_44_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267323","file1":"1352267321","file0":"1352267320","file4":"1352267327","file5":"1352267329","file3":"1352267325"},"map_files_photo_id_array":[{"photo_id":"1352267329","filename":"file5"},{"photo_id":"1352267323","filename":"file2"},{"photo_id":"1352267327","filename":"file4"},{"photo_id":"1352267321","filename":"file1"},{"photo_id":"1352267320","filename":"file0"},{"photo_id":"1352267325","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352267327":["hashtag1","hashtag2"]},{"1352267329":["hashtag1","hashtag2"]},{"1352267320":["hashtag1","hashtag2"]},{"1352267323":["hashtag1","hashtag2"]},{"1352267325":["hashtag1","hashtag2"]},{"1352267321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352267327, 1352267329, 1352267320, 1352267323, 1352267325, 1352267321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54047703742981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:28:33.069634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/13/image_12042025_16_13_54_9350.jpg', '/home/pi/Desktop/images/12042025/16/14/image_12042025_16_14_15_10343.jpg', '/home/pi/Desktop/images/12042025/16/14/image_12042025_16_14_44_9362.jpg', '/home/pi/Desktop/images/12042025/16/14/image_12042025_16_14_55_10671.jpg', '/home/pi/Desktop/images/12042025/16/14/image_12042025_16_15_04_9354.jpg', '/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_15_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/13/image_12042025_16_13_54_9350.jpg
/home/pi/Desktop/images/12042025/16/14/image_12042025_16_14_15_10343.jpg
/home/pi/Desktop/images/12042025/16/14/image_12042025_16_14_44_9362.jpg
/home/pi/Desktop/images/12042025/16/14/image_12042025_16_14_55_10671.jpg
/home/pi/Desktop/images/12042025/16/14/image_12042025_16_15_04_9354.jpg
/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_15_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267392","1352267425","1352267394","1352267399","1352267396","1352267423"],"photo_ids_order":["1352267392","1352267394","1352267396","1352267399","1352267423","1352267425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d01017a6943133c04eb4d9719188bd1.jpg","text":"TemporaryFile(/tmp/multipartBody4424147927274813663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475373549,"filename":"image_12042025_16_13_54_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9dbdaac3d6fcebb965cd1046cd33cb69.jpg","text":"TemporaryFile(/tmp/multipartBody5062351324885766246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475373549,"filename":"image_12042025_16_15_15_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/217f80236786768256395d7f86e1dc18.jpg","text":"TemporaryFile(/tmp/multipartBody468795253729961961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475373549,"filename":"image_12042025_16_14_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddd39041ddcc51aa8e59040d176d6e60.jpg","text":"TemporaryFile(/tmp/multipartBody7695997183939614323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475373549,"filename":"image_12042025_16_14_55_10671.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fae885dc8f715cf572a0e6197e00ef73.jpg","text":"TemporaryFile(/tmp/multipartBody1216183256920108134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475373549,"filename":"image_12042025_16_14_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea5a8646b7a9bf54cd8bea10c608ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody2028303703220875085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475373549,"filename":"image_12042025_16_15_04_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267396","file1":"1352267394","file0":"1352267392","file4":"1352267423","file5":"1352267425","file3":"1352267399"},"map_files_photo_id_array":[{"photo_id":"1352267425","filename":"file5"},{"photo_id":"1352267396","filename":"file2"},{"photo_id":"1352267423","filename":"file4"},{"photo_id":"1352267394","filename":"file1"},{"photo_id":"1352267392","filename":"file0"},{"photo_id":"1352267399","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352267392":["hashtag1","hashtag2"]},{"1352267425":["hashtag1","hashtag2"]},{"1352267394":["hashtag1","hashtag2"]},{"1352267399":["hashtag1","hashtag2"]},{"1352267396":["hashtag1","hashtag2"]},{"1352267423":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352267392, 1352267425, 1352267394, 1352267399, 1352267396, 1352267423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.894859075546265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:29:32.146199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_25_10369.jpg', '/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_34_9516.jpg', '/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_45_10375.jpg', '/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_54_9423.jpg', '/home/pi/Desktop/images/12042025/16/15/image_12042025_16_16_05_10400.jpg', '/home/pi/Desktop/images/12042025/16/16/image_12042025_16_16_24_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_25_10369.jpg
/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_34_9516.jpg
/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_45_10375.jpg
/home/pi/Desktop/images/12042025/16/15/image_12042025_16_15_54_9423.jpg
/home/pi/Desktop/images/12042025/16/15/image_12042025_16_16_05_10400.jpg
/home/pi/Desktop/images/12042025/16/16/image_12042025_16_16_24_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267476","1352267470","1352267478","1352267480","1352267474","1352267468"],"photo_ids_order":["1352267468","1352267470","1352267474","1352267476","1352267478","1352267480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2591ca78b9b172f0f4b3c27c1281b37.jpg","text":"TemporaryFile(/tmp/multipartBody3144464743627561107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475432622,"filename":"image_12042025_16_15_54_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ac3d1648c88cab4564d09236e722631.jpg","text":"TemporaryFile(/tmp/multipartBody2991621379777264809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475432622,"filename":"image_12042025_16_15_34_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b30a96a3f457c74576861125042451dc.jpg","text":"TemporaryFile(/tmp/multipartBody5319990540506489210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475432622,"filename":"image_12042025_16_16_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d963037d2092afb1f44ef8357b721047.jpg","text":"TemporaryFile(/tmp/multipartBody3260003257417338733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475432622,"filename":"image_12042025_16_16_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08b5721957ad8eb7374f16bc2ca7e5ba.jpg","text":"TemporaryFile(/tmp/multipartBody4417186471271915816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475432622,"filename":"image_12042025_16_15_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9471588f2ea9890abe0063664028334.jpg","text":"TemporaryFile(/tmp/multipartBody1178573696485628413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475432622,"filename":"image_12042025_16_15_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267474","file1":"1352267470","file0":"1352267468","file4":"1352267478","file5":"1352267480","file3":"1352267476"},"map_files_photo_id_array":[{"photo_id":"1352267480","filename":"file5"},{"photo_id":"1352267474","filename":"file2"},{"photo_id":"1352267478","filename":"file4"},{"photo_id":"1352267470","filename":"file1"},{"photo_id":"1352267468","filename":"file0"},{"photo_id":"1352267476","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352267476":["hashtag1","hashtag2"]},{"1352267470":["hashtag1","hashtag2"]},{"1352267478":["hashtag1","hashtag2"]},{"1352267480":["hashtag1","hashtag2"]},{"1352267474":["hashtag1","hashtag2"]},{"1352267468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352267476, 1352267470, 1352267478, 1352267480, 1352267474, 1352267468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78644943237305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:30:32.439300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/16/image_12042025_16_16_35_10375.jpg', '/home/pi/Desktop/images/12042025/16/16/image_12042025_16_16_44_9358.jpg', '/home/pi/Desktop/images/12042025/16/16/image_12042025_16_16_55_10412.jpg', '/home/pi/Desktop/images/12042025/16/16/image_12042025_16_17_05_10364.jpg', '/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_14_9343.jpg', '/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_25_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/16/image_12042025_16_16_35_10375.jpg
/home/pi/Desktop/images/12042025/16/16/image_12042025_16_16_44_9358.jpg
/home/pi/Desktop/images/12042025/16/16/image_12042025_16_16_55_10412.jpg
/home/pi/Desktop/images/12042025/16/16/image_12042025_16_17_05_10364.jpg
/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_14_9343.jpg
/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_25_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267494","1352267500","1352267496","1352267498","1352267502","1352267492"],"photo_ids_order":["1352267492","1352267494","1352267496","1352267498","1352267500","1352267502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69c1ce73501fe1d91123fa7f272203bb.jpg","text":"TemporaryFile(/tmp/multipartBody8400094607762743971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475492892,"filename":"image_12042025_16_16_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dadce6c46afc77b02eb508d035365e61.jpg","text":"TemporaryFile(/tmp/multipartBody5653436482450795037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475492892,"filename":"image_12042025_16_17_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d77e8b417653afd8f53145b25f8cb33d.jpg","text":"TemporaryFile(/tmp/multipartBody7470181048081422703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475492892,"filename":"image_12042025_16_16_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/964f00e5369befa2239f4aa4bf61a5c4.jpg","text":"TemporaryFile(/tmp/multipartBody3946004201952695518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475492892,"filename":"image_12042025_16_17_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3ef3bec17ecea585fc4facd48fc418bd.jpg","text":"TemporaryFile(/tmp/multipartBody154406324717976019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475492892,"filename":"image_12042025_16_17_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a87ba81ca9854439a1e94ad7896060d.jpg","text":"TemporaryFile(/tmp/multipartBody3204483897849197457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475492892,"filename":"image_12042025_16_16_35_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267496","file1":"1352267494","file0":"1352267492","file4":"1352267500","file5":"1352267502","file3":"1352267498"},"map_files_photo_id_array":[{"photo_id":"1352267502","filename":"file5"},{"photo_id":"1352267496","filename":"file2"},{"photo_id":"1352267500","filename":"file4"},{"photo_id":"1352267494","filename":"file1"},{"photo_id":"1352267492","filename":"file0"},{"photo_id":"1352267498","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352267494":["hashtag1","hashtag2"]},{"1352267500":["hashtag1","hashtag2"]},{"1352267496":["hashtag1","hashtag2"]},{"1352267498":["hashtag1","hashtag2"]},{"1352267502":["hashtag1","hashtag2"]},{"1352267492":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352267494, 1352267500, 1352267496, 1352267498, 1352267502, 1352267492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.888770818710327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:31:32.698401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_35_10359.jpg', '/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_44_9429.jpg', '/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_55_10455.jpg', '/home/pi/Desktop/images/12042025/16/17/image_12042025_16_18_04_9469.jpg', '/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_15_10361.jpg', '/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_24_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_35_10359.jpg
/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_44_9429.jpg
/home/pi/Desktop/images/12042025/16/17/image_12042025_16_17_55_10455.jpg
/home/pi/Desktop/images/12042025/16/17/image_12042025_16_18_04_9469.jpg
/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_15_10361.jpg
/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_24_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267512","1352267518","1352267511","1352267520","1352267514","1352267516"],"photo_ids_order":["1352267511","1352267512","1352267514","1352267516","1352267518","1352267520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/535eba2f7de8726b815434a3c822fe25.jpg","text":"TemporaryFile(/tmp/multipartBody8720933560496803400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475553167,"filename":"image_12042025_16_17_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ff3860fa30d6423d9ea56f341f1ed68.jpg","text":"TemporaryFile(/tmp/multipartBody8915357811046197730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475553167,"filename":"image_12042025_16_18_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6574969ae9aba39dd56196bd325895d5.jpg","text":"TemporaryFile(/tmp/multipartBody514251597518641941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475553167,"filename":"image_12042025_16_17_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a863a6276dc623ff9d9354be09f7c741.jpg","text":"TemporaryFile(/tmp/multipartBody2456198472525503627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475553167,"filename":"image_12042025_16_18_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b2742dcb685ea5d67fc065fde7c06a2.jpg","text":"TemporaryFile(/tmp/multipartBody2210070400939946414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475553167,"filename":"image_12042025_16_17_55_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fe7f5b46752562bc68a645ac99f2de25.jpg","text":"TemporaryFile(/tmp/multipartBody5936228927405319721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475553167,"filename":"image_12042025_16_18_04_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267514","file1":"1352267512","file0":"1352267511","file4":"1352267518","file5":"1352267520","file3":"1352267516"},"map_files_photo_id_array":[{"photo_id":"1352267520","filename":"file5"},{"photo_id":"1352267514","filename":"file2"},{"photo_id":"1352267518","filename":"file4"},{"photo_id":"1352267512","filename":"file1"},{"photo_id":"1352267511","filename":"file0"},{"photo_id":"1352267516","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352267512":["hashtag1","hashtag2"]},{"1352267518":["hashtag1","hashtag2"]},{"1352267511":["hashtag1","hashtag2"]},{"1352267520":["hashtag1","hashtag2"]},{"1352267514":["hashtag1","hashtag2"]},{"1352267516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352267512, 1352267518, 1352267511, 1352267520, 1352267514, 1352267516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.762784242630005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:32:33.002952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_35_10372.jpg', '/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_45_10360.jpg', '/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_54_9353.jpg', '/home/pi/Desktop/images/12042025/16/18/image_12042025_16_19_05_10358.jpg', '/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_15_10357.jpg', '/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_24_9503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_35_10372.jpg
/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_45_10360.jpg
/home/pi/Desktop/images/12042025/16/18/image_12042025_16_18_54_9353.jpg
/home/pi/Desktop/images/12042025/16/18/image_12042025_16_19_05_10358.jpg
/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_15_10357.jpg
/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_24_9503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267623","1352267629","1352267574","1352267634","1352267627","1352267657"],"photo_ids_order":["1352267574","1352267623","1352267627","1352267629","1352267634","1352267657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55e750adc2757da4de3e13174ec45166.jpg","text":"TemporaryFile(/tmp/multipartBody1517307677784918428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475613462,"filename":"image_12042025_16_18_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea0dcd293e021f672934874fa6d219b0.jpg","text":"TemporaryFile(/tmp/multipartBody2837533395117841651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475613462,"filename":"image_12042025_16_19_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/813e33797e5523ac5cc1a6389905025d.jpg","text":"TemporaryFile(/tmp/multipartBody2831393856166662239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475613462,"filename":"image_12042025_16_18_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4e751fdfad07a3959b04232924bbe44.jpg","text":"TemporaryFile(/tmp/multipartBody2606512720486568824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475613462,"filename":"image_12042025_16_19_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3bf3350918e69edcccf1661ac9e14468.jpg","text":"TemporaryFile(/tmp/multipartBody9127890803817760445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475613462,"filename":"image_12042025_16_18_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56eba95d9fd6868c8dbc6075bce879d7.jpg","text":"TemporaryFile(/tmp/multipartBody7892149386792304318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475613462,"filename":"image_12042025_16_19_24_9503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352267627","file1":"1352267623","file0":"1352267574","file4":"1352267634","file5":"1352267657","file3":"1352267629"},"map_files_photo_id_array":[{"photo_id":"1352267657","filename":"file5"},{"photo_id":"1352267627","filename":"file2"},{"photo_id":"1352267634","filename":"file4"},{"photo_id":"1352267623","filename":"file1"},{"photo_id":"1352267574","filename":"file0"},{"photo_id":"1352267629","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352267623":["hashtag1","hashtag2"]},{"1352267629":["hashtag1","hashtag2"]},{"1352267574":["hashtag1","hashtag2"]},{"1352267634":["hashtag1","hashtag2"]},{"1352267627":["hashtag1","hashtag2"]},{"1352267657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352267623, 1352267629, 1352267574, 1352267634, 1352267627, 1352267657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15697646141052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:33:33.086676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_35_10369.jpg', '/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_44_9363.jpg', '/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_55_10473.jpg', '/home/pi/Desktop/images/12042025/16/19/image_12042025_16_20_04_9446.jpg', '/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_15_10508.jpg', '/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_25_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_35_10369.jpg
/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_44_9363.jpg
/home/pi/Desktop/images/12042025/16/19/image_12042025_16_19_55_10473.jpg
/home/pi/Desktop/images/12042025/16/19/image_12042025_16_20_04_9446.jpg
/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_15_10508.jpg
/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_25_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352267997","1352268015","1352268140","1352268062","1352267969","1352268113"],"photo_ids_order":["1352267969","1352267997","1352268015","1352268062","1352268113","1352268140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13e665183e8cc70e02f491615e71d470.jpg","text":"TemporaryFile(/tmp/multipartBody4569552131826023641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475673548,"filename":"image_12042025_16_19_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/054c8f2605dd3c5b1c8a2fba6c137ed0.jpg","text":"TemporaryFile(/tmp/multipartBody3742946969168273540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475673548,"filename":"image_12042025_16_19_55_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ed73f452f34bc17fe891580828ddaaa.jpg","text":"TemporaryFile(/tmp/multipartBody529195885653086806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475673548,"filename":"image_12042025_16_20_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7c2feece0c607822247866ca181d505.jpg","text":"TemporaryFile(/tmp/multipartBody9028617195135112835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475673548,"filename":"image_12042025_16_20_04_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/360a078e4ae9c85f3dacb796fe02e70b.jpg","text":"TemporaryFile(/tmp/multipartBody1026197560630821557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475673548,"filename":"image_12042025_16_19_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7db4e80fa858241202d3807089747777.jpg","text":"TemporaryFile(/tmp/multipartBody1633181790590517390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475673548,"filename":"image_12042025_16_20_15_10508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268015","file1":"1352267997","file0":"1352267969","file4":"1352268113","file5":"1352268140","file3":"1352268062"},"map_files_photo_id_array":[{"photo_id":"1352268140","filename":"file5"},{"photo_id":"1352268015","filename":"file2"},{"photo_id":"1352268113","filename":"file4"},{"photo_id":"1352267997","filename":"file1"},{"photo_id":"1352267969","filename":"file0"},{"photo_id":"1352268062","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352267997":["hashtag1","hashtag2"]},{"1352268015":["hashtag1","hashtag2"]},{"1352268140":["hashtag1","hashtag2"]},{"1352268062":["hashtag1","hashtag2"]},{"1352267969":["hashtag1","hashtag2"]},{"1352268113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352267997, 1352268015, 1352268140, 1352268062, 1352267969, 1352268113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.855706453323364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:34:32.343955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_34_9357.jpg', '/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_45_10462.jpg', '/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_54_9349.jpg', '/home/pi/Desktop/images/12042025/16/20/image_12042025_16_21_05_10371.jpg', '/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_15_10356.jpg', '/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_24_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_34_9357.jpg
/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_45_10462.jpg
/home/pi/Desktop/images/12042025/16/20/image_12042025_16_20_54_9349.jpg
/home/pi/Desktop/images/12042025/16/20/image_12042025_16_21_05_10371.jpg
/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_15_10356.jpg
/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_24_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352268643","1352268756","1352268687","1352268531","1352268827","1352268592"],"photo_ids_order":["1352268531","1352268592","1352268643","1352268687","1352268756","1352268827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70514f7d603c3d030797cb48cf52c6d1.jpg","text":"TemporaryFile(/tmp/multipartBody3200852827661347812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475732809,"filename":"image_12042025_16_20_54_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5e17f1d332e061f80d92e9c246a1c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7079054838242298631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475732809,"filename":"image_12042025_16_21_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ae1497100c04f00f0c6bd4b75ac13b6.jpg","text":"TemporaryFile(/tmp/multipartBody6562253010567395041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475732809,"filename":"image_12042025_16_21_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f0ab371a553f4d2338d6d7b96985b70.jpg","text":"TemporaryFile(/tmp/multipartBody2504399121360325766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475732809,"filename":"image_12042025_16_20_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df1de77561e2ce30a0db2919895bc412.jpg","text":"TemporaryFile(/tmp/multipartBody9116817451703195255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475732809,"filename":"image_12042025_16_21_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95ed9e154009c7aee591eb16b31f67a8.jpg","text":"TemporaryFile(/tmp/multipartBody4427520864017998020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475732809,"filename":"image_12042025_16_20_45_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352268643","file1":"1352268592","file0":"1352268531","file4":"1352268756","file5":"1352268827","file3":"1352268687"},"map_files_photo_id_array":[{"photo_id":"1352268827","filename":"file5"},{"photo_id":"1352268643","filename":"file2"},{"photo_id":"1352268756","filename":"file4"},{"photo_id":"1352268592","filename":"file1"},{"photo_id":"1352268531","filename":"file0"},{"photo_id":"1352268687","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352268643":["hashtag1","hashtag2"]},{"1352268756":["hashtag1","hashtag2"]},{"1352268687":["hashtag1","hashtag2"]},{"1352268531":["hashtag1","hashtag2"]},{"1352268827":["hashtag1","hashtag2"]},{"1352268592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352268643, 1352268756, 1352268687, 1352268531, 1352268827, 1352268592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.760672092437744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:35:32.644803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_35_10465.jpg', '/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_44_9434.jpg', '/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_55_10474.jpg', '/home/pi/Desktop/images/12042025/16/21/image_12042025_16_22_05_10367.jpg', '/home/pi/Desktop/images/12042025/16/22/image_12042025_16_22_14_9344.jpg', '/home/pi/Desktop/images/12042025/16/22/image_12042025_16_22_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_35_10465.jpg
/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_44_9434.jpg
/home/pi/Desktop/images/12042025/16/21/image_12042025_16_21_55_10474.jpg
/home/pi/Desktop/images/12042025/16/21/image_12042025_16_22_05_10367.jpg
/home/pi/Desktop/images/12042025/16/22/image_12042025_16_22_14_9344.jpg
/home/pi/Desktop/images/12042025/16/22/image_12042025_16_22_35_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269299","1352269233","1352269209","1352269334","1352269270","1352269210"],"photo_ids_order":["1352269209","1352269210","1352269233","1352269270","1352269299","1352269334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/562758ee35101cc590cb28defb8dd741.jpg","text":"TemporaryFile(/tmp/multipartBody3568404120284333049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475793112,"filename":"image_12042025_16_22_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2aeed361e736881045572f5514015ddb.jpg","text":"TemporaryFile(/tmp/multipartBody8655969980108783268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475793112,"filename":"image_12042025_16_21_55_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/912fcd2075f1b520ca4baf2028a99786.jpg","text":"TemporaryFile(/tmp/multipartBody8417238441880232546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475793112,"filename":"image_12042025_16_21_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08965e1ab299c5bc13ebb7b7064bddfd.jpg","text":"TemporaryFile(/tmp/multipartBody6196430058675892688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475793112,"filename":"image_12042025_16_22_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7cd3f4d5e9a2e6550ec6b8a2909e40c.jpg","text":"TemporaryFile(/tmp/multipartBody7743714192619852822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475793112,"filename":"image_12042025_16_22_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fd832ced0682db70c64acc42b81ba80.jpg","text":"TemporaryFile(/tmp/multipartBody7874934286081879843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475793112,"filename":"image_12042025_16_21_44_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269233","file1":"1352269210","file0":"1352269209","file4":"1352269299","file5":"1352269334","file3":"1352269270"},"map_files_photo_id_array":[{"photo_id":"1352269334","filename":"file5"},{"photo_id":"1352269233","filename":"file2"},{"photo_id":"1352269299","filename":"file4"},{"photo_id":"1352269210","filename":"file1"},{"photo_id":"1352269209","filename":"file0"},{"photo_id":"1352269270","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352269299":["hashtag1","hashtag2"]},{"1352269233":["hashtag1","hashtag2"]},{"1352269209":["hashtag1","hashtag2"]},{"1352269334":["hashtag1","hashtag2"]},{"1352269270":["hashtag1","hashtag2"]},{"1352269210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352269299, 1352269233, 1352269209, 1352269334, 1352269270, 1352269210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16877603530884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:36:32.810684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/22/image_12042025_16_22_45_9468.jpg', '/home/pi/Desktop/images/12042025/16/22/image_12042025_16_22_55_10376.jpg', '/home/pi/Desktop/images/12042025/16/22/image_12042025_16_23_04_9351.jpg', '/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_15_10462.jpg', '/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_24_9355.jpg', '/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_35_10506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/22/image_12042025_16_22_45_9468.jpg
/home/pi/Desktop/images/12042025/16/22/image_12042025_16_22_55_10376.jpg
/home/pi/Desktop/images/12042025/16/22/image_12042025_16_23_04_9351.jpg
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_15_10462.jpg
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_24_9355.jpg
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_35_10506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352269902","1352269818","1352269994","1352269780","1352269936","1352269726"],"photo_ids_order":["1352269726","1352269780","1352269818","1352269902","1352269936","1352269994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8af794d6a5c48059fadf8e18ae1923e8.jpg","text":"TemporaryFile(/tmp/multipartBody2735287791428980408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475853290,"filename":"image_12042025_16_23_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5bf90cdad6a1872e76f3d825f6d9c368.jpg","text":"TemporaryFile(/tmp/multipartBody4937583510792406616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475853290,"filename":"image_12042025_16_23_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89d938be92fbf7b575f243abedf42d2c.jpg","text":"TemporaryFile(/tmp/multipartBody4714971211316426118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475853290,"filename":"image_12042025_16_23_35_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19969c9825ee7c6d51673a03d2e6e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody6460420877919471416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475853290,"filename":"image_12042025_16_22_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80a5e478d8b5d5d09f9fbf9ec037dd4c.jpg","text":"TemporaryFile(/tmp/multipartBody3871706276654211362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475853290,"filename":"image_12042025_16_23_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b6bacbe67ad6b5cddba5a9662cdd88b.jpg","text":"TemporaryFile(/tmp/multipartBody1929328078388594711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475853290,"filename":"image_12042025_16_22_45_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352269818","file1":"1352269780","file0":"1352269726","file4":"1352269936","file5":"1352269994","file3":"1352269902"},"map_files_photo_id_array":[{"photo_id":"1352269994","filename":"file5"},{"photo_id":"1352269818","filename":"file2"},{"photo_id":"1352269936","filename":"file4"},{"photo_id":"1352269780","filename":"file1"},{"photo_id":"1352269726","filename":"file0"},{"photo_id":"1352269902","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352269902":["hashtag1","hashtag2"]},{"1352269818":["hashtag1","hashtag2"]},{"1352269994":["hashtag1","hashtag2"]},{"1352269780":["hashtag1","hashtag2"]},{"1352269936":["hashtag1","hashtag2"]},{"1352269726":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352269902, 1352269818, 1352269994, 1352269780, 1352269936, 1352269726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.206748723983765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:37:33.050106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_45_10386.jpg', '/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_54_9362.jpg', '/home/pi/Desktop/images/12042025/16/23/image_12042025_16_24_05_10375.jpg', '/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_14_9363.jpg', '/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_25_10426.jpg', '/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_35_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_45_10386.jpg
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_54_9362.jpg
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_24_05_10375.jpg
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_14_9363.jpg
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_25_10426.jpg
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_35_10455.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3756530284881592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 18:37:43.153531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_45_10386.jpg', '/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_54_9362.jpg', '/home/pi/Desktop/images/12042025/16/23/image_12042025_16_24_05_10375.jpg', '/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_14_9363.jpg', '/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_25_10426.jpg', '/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_35_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_45_10386.jpg
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_23_54_9362.jpg
/home/pi/Desktop/images/12042025/16/23/image_12042025_16_24_05_10375.jpg
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_14_9363.jpg
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_25_10426.jpg
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_35_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270326","1352270174","1352270369","1352270234","1352270135","1352270278"],"photo_ids_order":["1352270135","1352270174","1352270234","1352270278","1352270326","1352270369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50c8eceb3e90045c94e9562c8afdd8bb.jpg","text":"TemporaryFile(/tmp/multipartBody7961977879630162168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475923611,"filename":"image_12042025_16_24_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09d592ae5eadcee0d2e10340333662d8.jpg","text":"TemporaryFile(/tmp/multipartBody1067013261742196860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475923611,"filename":"image_12042025_16_23_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2a450084f7e2ccffebb363e9917df69.jpg","text":"TemporaryFile(/tmp/multipartBody5452383944317106243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475923611,"filename":"image_12042025_16_24_35_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0cd2fc53cad7239f6cd47052b4c5801.jpg","text":"TemporaryFile(/tmp/multipartBody3842748259462392370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475923611,"filename":"image_12042025_16_24_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ab14ae2cbfd18662bfa6b4c0479e54a.jpg","text":"TemporaryFile(/tmp/multipartBody3996529595984121639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475923611,"filename":"image_12042025_16_23_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d4b92337c5a4ca01cbc2f787e7ee197.jpg","text":"TemporaryFile(/tmp/multipartBody7528092645407236261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475923611,"filename":"image_12042025_16_24_14_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270234","file1":"1352270174","file0":"1352270135","file4":"1352270326","file5":"1352270369","file3":"1352270278"},"map_files_photo_id_array":[{"photo_id":"1352270369","filename":"file5"},{"photo_id":"1352270234","filename":"file2"},{"photo_id":"1352270326","filename":"file4"},{"photo_id":"1352270174","filename":"file1"},{"photo_id":"1352270135","filename":"file0"},{"photo_id":"1352270278","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352270326":["hashtag1","hashtag2"]},{"1352270174":["hashtag1","hashtag2"]},{"1352270369":["hashtag1","hashtag2"]},{"1352270234":["hashtag1","hashtag2"]},{"1352270135":["hashtag1","hashtag2"]},{"1352270278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352270326, 1352270174, 1352270369, 1352270234, 1352270135, 1352270278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68353843688965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:38:32.156362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_44_9360.jpg', '/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_55_10481.jpg', '/home/pi/Desktop/images/12042025/16/24/image_12042025_16_25_04_9406.jpg', '/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_15_10381.jpg', '/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_25_10404.jpg', '/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_34_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_44_9360.jpg
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_24_55_10481.jpg
/home/pi/Desktop/images/12042025/16/24/image_12042025_16_25_04_9406.jpg
/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_15_10381.jpg
/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_25_10404.jpg
/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_34_9498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270560","1352270718","1352270696","1352270747","1352270609","1352270662"],"photo_ids_order":["1352270560","1352270609","1352270662","1352270696","1352270718","1352270747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07c03244d838de6d3df1a7a57aa83093.jpg","text":"TemporaryFile(/tmp/multipartBody3477254942153573226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475972622,"filename":"image_12042025_16_24_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f5c42afc29282502f05a12cd3815a26a.jpg","text":"TemporaryFile(/tmp/multipartBody3468263678584187481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475972622,"filename":"image_12042025_16_25_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a973754f5e1183a110952fd35bb8675.jpg","text":"TemporaryFile(/tmp/multipartBody3611502076496194619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475972622,"filename":"image_12042025_16_25_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32309c43232f15e8176a449d9dfd9ca3.jpg","text":"TemporaryFile(/tmp/multipartBody7824954736603987330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475972622,"filename":"image_12042025_16_25_34_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/034f07c8ecf39dce2ea9bb9f43480e4f.jpg","text":"TemporaryFile(/tmp/multipartBody3413646316572006080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475972622,"filename":"image_12042025_16_24_55_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ecdd0be13bb933794e4219a5556869f.jpg","text":"TemporaryFile(/tmp/multipartBody6771557017704559135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744475972622,"filename":"image_12042025_16_25_04_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352270662","file1":"1352270609","file0":"1352270560","file4":"1352270718","file5":"1352270747","file3":"1352270696"},"map_files_photo_id_array":[{"photo_id":"1352270747","filename":"file5"},{"photo_id":"1352270662","filename":"file2"},{"photo_id":"1352270718","filename":"file4"},{"photo_id":"1352270609","filename":"file1"},{"photo_id":"1352270560","filename":"file0"},{"photo_id":"1352270696","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352270560":["hashtag1","hashtag2"]},{"1352270718":["hashtag1","hashtag2"]},{"1352270696":["hashtag1","hashtag2"]},{"1352270747":["hashtag1","hashtag2"]},{"1352270609":["hashtag1","hashtag2"]},{"1352270662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352270560, 1352270718, 1352270696, 1352270747, 1352270609, 1352270662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.537718772888184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:39:32.497729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_45_10379.jpg', '/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_54_9355.jpg', '/home/pi/Desktop/images/12042025/16/25/image_12042025_16_26_05_10481.jpg', '/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_15_10348.jpg', '/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_24_9433.jpg', '/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_35_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_45_10379.jpg
/home/pi/Desktop/images/12042025/16/25/image_12042025_16_25_54_9355.jpg
/home/pi/Desktop/images/12042025/16/25/image_12042025_16_26_05_10481.jpg
/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_15_10348.jpg
/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_24_9433.jpg
/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_35_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352270911","1352271150","1352271537","1352271021","1352271458","1352271289"],"photo_ids_order":["1352270911","1352271021","1352271150","1352271289","1352271458","1352271537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c94ed4f3c3c0dac44d64f367f7edbfab.jpg","text":"TemporaryFile(/tmp/multipartBody4362796597727946218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476032963,"filename":"image_12042025_16_25_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/200241142238aa56d07ae59946bf8c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5377543167436037186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476032963,"filename":"image_12042025_16_26_05_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e2bc1d093b5b84d5672eaba83dcc1b0.jpg","text":"TemporaryFile(/tmp/multipartBody8855731577524012020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476032963,"filename":"image_12042025_16_26_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93c3af9479ee94ac78525258ee50fc50.jpg","text":"TemporaryFile(/tmp/multipartBody214121923534984916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476032963,"filename":"image_12042025_16_25_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aaa9ba8c5d2bf29ebc33b828b2c79a56.jpg","text":"TemporaryFile(/tmp/multipartBody8407274624221895322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476032963,"filename":"image_12042025_16_26_24_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff1e3ef9bfe5ee0dac2d8fbbe60f6ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1862482049981977123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476032963,"filename":"image_12042025_16_26_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271150","file1":"1352271021","file0":"1352270911","file4":"1352271458","file5":"1352271537","file3":"1352271289"},"map_files_photo_id_array":[{"photo_id":"1352271537","filename":"file5"},{"photo_id":"1352271150","filename":"file2"},{"photo_id":"1352271458","filename":"file4"},{"photo_id":"1352271021","filename":"file1"},{"photo_id":"1352270911","filename":"file0"},{"photo_id":"1352271289","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352270911":["hashtag1","hashtag2"]},{"1352271150":["hashtag1","hashtag2"]},{"1352271537":["hashtag1","hashtag2"]},{"1352271021":["hashtag1","hashtag2"]},{"1352271458":["hashtag1","hashtag2"]},{"1352271289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352270911, 1352271150, 1352271537, 1352271021, 1352271458, 1352271289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.855061531066895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:40:32.671961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_44_9423.jpg', '/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_55_10442.jpg', '/home/pi/Desktop/images/12042025/16/26/image_12042025_16_27_04_9416.jpg', '/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_15_10390.jpg', '/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_25_10378.jpg', '/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_34_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_44_9423.jpg
/home/pi/Desktop/images/12042025/16/26/image_12042025_16_26_55_10442.jpg
/home/pi/Desktop/images/12042025/16/26/image_12042025_16_27_04_9416.jpg
/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_15_10390.jpg
/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_25_10378.jpg
/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_34_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352271876","1352271936","1352271948","1352271860","1352271916","1352271901"],"photo_ids_order":["1352271860","1352271876","1352271901","1352271916","1352271936","1352271948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d92342a772db69067de85f7257dfa8b.jpg","text":"TemporaryFile(/tmp/multipartBody5825182294190474516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476093134,"filename":"image_12042025_16_26_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86d902951b6daf71d40799bbe4cb4d05.jpg","text":"TemporaryFile(/tmp/multipartBody4062704495087080218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476093134,"filename":"image_12042025_16_27_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/257c09b827994fc7c8b0799c3e6dd680.jpg","text":"TemporaryFile(/tmp/multipartBody5418550705804639990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476093134,"filename":"image_12042025_16_27_34_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6e66f3117dbc807968acd2a7d8d6dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6445565562911124526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476093134,"filename":"image_12042025_16_26_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5d3df8a152d8f25cabc3f864438c65d.jpg","text":"TemporaryFile(/tmp/multipartBody5498680563061836778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476093134,"filename":"image_12042025_16_27_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d93c8d24f6badea91d53ac08eb04db1.jpg","text":"TemporaryFile(/tmp/multipartBody1671832460305868485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476093134,"filename":"image_12042025_16_27_04_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352271901","file1":"1352271876","file0":"1352271860","file4":"1352271936","file5":"1352271948","file3":"1352271916"},"map_files_photo_id_array":[{"photo_id":"1352271948","filename":"file5"},{"photo_id":"1352271901","filename":"file2"},{"photo_id":"1352271936","filename":"file4"},{"photo_id":"1352271876","filename":"file1"},{"photo_id":"1352271860","filename":"file0"},{"photo_id":"1352271916","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352271876":["hashtag1","hashtag2"]},{"1352271936":["hashtag1","hashtag2"]},{"1352271948":["hashtag1","hashtag2"]},{"1352271860":["hashtag1","hashtag2"]},{"1352271916":["hashtag1","hashtag2"]},{"1352271901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352271876, 1352271936, 1352271948, 1352271860, 1352271916, 1352271901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.701109170913696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:41:32.881543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_45_10440.jpg', '/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_54_9431.jpg', '/home/pi/Desktop/images/12042025/16/27/image_12042025_16_28_05_10463.jpg', '/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_15_10358.jpg', '/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_25_9492.jpg', '/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_35_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_45_10440.jpg
/home/pi/Desktop/images/12042025/16/27/image_12042025_16_27_54_9431.jpg
/home/pi/Desktop/images/12042025/16/27/image_12042025_16_28_05_10463.jpg
/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_15_10358.jpg
/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_25_9492.jpg
/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_35_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352272566","1352272509","1352272404","1352272361","1352272583","1352272569"],"photo_ids_order":["1352272361","1352272404","1352272509","1352272566","1352272569","1352272583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88331e311ab49b48f9b4d720b23ac48a.jpg","text":"TemporaryFile(/tmp/multipartBody5591193218498611448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476153366,"filename":"image_12042025_16_28_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5f742c70fdd7785408f016c516c374e.jpg","text":"TemporaryFile(/tmp/multipartBody6788507603742524015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476153366,"filename":"image_12042025_16_28_05_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bb0f32b8723ac31b4468e1602e33c80.jpg","text":"TemporaryFile(/tmp/multipartBody8826175341104764386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476153366,"filename":"image_12042025_16_27_54_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc0fea7cb19b9c995b3163e011157cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3907247242416208068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476153366,"filename":"image_12042025_16_27_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a0487099c92a4c591671bd3d3a54f58.jpg","text":"TemporaryFile(/tmp/multipartBody2638475525554046670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476153366,"filename":"image_12042025_16_28_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/827ef2a1317bbded4672ae33511ba185.jpg","text":"TemporaryFile(/tmp/multipartBody2667561181173547337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476153366,"filename":"image_12042025_16_28_25_9492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352272509","file1":"1352272404","file0":"1352272361","file4":"1352272569","file5":"1352272583","file3":"1352272566"},"map_files_photo_id_array":[{"photo_id":"1352272583","filename":"file5"},{"photo_id":"1352272509","filename":"file2"},{"photo_id":"1352272569","filename":"file4"},{"photo_id":"1352272404","filename":"file1"},{"photo_id":"1352272361","filename":"file0"},{"photo_id":"1352272566","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352272566":["hashtag1","hashtag2"]},{"1352272509":["hashtag1","hashtag2"]},{"1352272404":["hashtag1","hashtag2"]},{"1352272361":["hashtag1","hashtag2"]},{"1352272583":["hashtag1","hashtag2"]},{"1352272569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352272566, 1352272509, 1352272404, 1352272361, 1352272583, 1352272569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.89556264877319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:42:33.091864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_44_9414.jpg', '/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_55_10498.jpg', '/home/pi/Desktop/images/12042025/16/28/image_12042025_16_29_04_9376.jpg', '/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_15_10443.jpg', '/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_25_10460.jpg', '/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_35_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_44_9414.jpg
/home/pi/Desktop/images/12042025/16/28/image_12042025_16_28_55_10498.jpg
/home/pi/Desktop/images/12042025/16/28/image_12042025_16_29_04_9376.jpg
/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_15_10443.jpg
/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_25_10460.jpg
/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_35_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352272812","1352272808","1352272795","1352272771","1352272744","1352272810"],"photo_ids_order":["1352272744","1352272771","1352272795","1352272808","1352272810","1352272812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cddbea2664a12de4365e9a3f126363c.jpg","text":"TemporaryFile(/tmp/multipartBody5368487352348829226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476213557,"filename":"image_12042025_16_29_35_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d8d0e207c30cef407508584612d9c72.jpg","text":"TemporaryFile(/tmp/multipartBody4588568021378740093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476213557,"filename":"image_12042025_16_29_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a13ca260cba9db5241d72d33cce4747c.jpg","text":"TemporaryFile(/tmp/multipartBody2320240932667902702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476213557,"filename":"image_12042025_16_29_04_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff1b814e04cd5c59c2b67db4fc25960d.jpg","text":"TemporaryFile(/tmp/multipartBody6065795259321010951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476213557,"filename":"image_12042025_16_28_55_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08931217dc9590adaf8faa2ba16f10ec.jpg","text":"TemporaryFile(/tmp/multipartBody816548340245270373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476213557,"filename":"image_12042025_16_28_44_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d61b4760209648159e57d718b93657d.jpg","text":"TemporaryFile(/tmp/multipartBody9048410708907624675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476213557,"filename":"image_12042025_16_29_25_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352272795","file1":"1352272771","file0":"1352272744","file4":"1352272810","file5":"1352272812","file3":"1352272808"},"map_files_photo_id_array":[{"photo_id":"1352272812","filename":"file5"},{"photo_id":"1352272795","filename":"file2"},{"photo_id":"1352272810","filename":"file4"},{"photo_id":"1352272771","filename":"file1"},{"photo_id":"1352272744","filename":"file0"},{"photo_id":"1352272808","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352272812":["hashtag1","hashtag2"]},{"1352272808":["hashtag1","hashtag2"]},{"1352272795":["hashtag1","hashtag2"]},{"1352272771":["hashtag1","hashtag2"]},{"1352272744":["hashtag1","hashtag2"]},{"1352272810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352272812, 1352272808, 1352272795, 1352272771, 1352272744, 1352272810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.016035079956055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:43:32.305543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_45_10430.jpg', '/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_54_9499.jpg', '/home/pi/Desktop/images/12042025/16/29/image_12042025_16_30_05_10379.jpg', '/home/pi/Desktop/images/12042025/16/30/image_12042025_16_30_25_10388.jpg', '/home/pi/Desktop/images/12042025/16/30/image_12042025_16_30_35_10366.jpg', '/home/pi/Desktop/images/12042025/16/30/image_12042025_16_30_44_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_45_10430.jpg
/home/pi/Desktop/images/12042025/16/29/image_12042025_16_29_54_9499.jpg
/home/pi/Desktop/images/12042025/16/29/image_12042025_16_30_05_10379.jpg
/home/pi/Desktop/images/12042025/16/30/image_12042025_16_30_25_10388.jpg
/home/pi/Desktop/images/12042025/16/30/image_12042025_16_30_35_10366.jpg
/home/pi/Desktop/images/12042025/16/30/image_12042025_16_30_44_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273087","1352273075","1352273077","1352273082","1352273085","1352273079"],"photo_ids_order":["1352273075","1352273077","1352273079","1352273082","1352273085","1352273087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb1df3dfd67cdf45b9a5f5ce252ed437.jpg","text":"TemporaryFile(/tmp/multipartBody7551137069533900632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476272761,"filename":"image_12042025_16_30_44_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a18ab0e961ffd3c722bc85325b83540c.jpg","text":"TemporaryFile(/tmp/multipartBody3996678869866534770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476272761,"filename":"image_12042025_16_29_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df34bbd079a0db2b7aa503177eab8152.jpg","text":"TemporaryFile(/tmp/multipartBody2757225251204909055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476272761,"filename":"image_12042025_16_29_54_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91470c30b82ebe65373eb258d7346f75.jpg","text":"TemporaryFile(/tmp/multipartBody4752866635221606566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476272761,"filename":"image_12042025_16_30_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b940fb9d4aae999c8027833319ea34f.jpg","text":"TemporaryFile(/tmp/multipartBody7513390863239901418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476272761,"filename":"image_12042025_16_30_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e498ea487f1483ff7944daf580929b40.jpg","text":"TemporaryFile(/tmp/multipartBody1331198614566439330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476272761,"filename":"image_12042025_16_30_05_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273079","file1":"1352273077","file0":"1352273075","file4":"1352273085","file5":"1352273087","file3":"1352273082"},"map_files_photo_id_array":[{"photo_id":"1352273087","filename":"file5"},{"photo_id":"1352273079","filename":"file2"},{"photo_id":"1352273085","filename":"file4"},{"photo_id":"1352273077","filename":"file1"},{"photo_id":"1352273075","filename":"file0"},{"photo_id":"1352273082","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273087":["hashtag1","hashtag2"]},{"1352273075":["hashtag1","hashtag2"]},{"1352273077":["hashtag1","hashtag2"]},{"1352273082":["hashtag1","hashtag2"]},{"1352273085":["hashtag1","hashtag2"]},{"1352273079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273087, 1352273075, 1352273077, 1352273082, 1352273085, 1352273079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15977239608765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:44:32.676820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/30/image_12042025_16_30_55_10419.jpg', '/home/pi/Desktop/images/12042025/16/30/image_12042025_16_31_04_9394.jpg', '/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_15_10349.jpg', '/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_25_10361.jpg', '/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_34_9474.jpg', '/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_45_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/30/image_12042025_16_30_55_10419.jpg
/home/pi/Desktop/images/12042025/16/30/image_12042025_16_31_04_9394.jpg
/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_15_10349.jpg
/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_25_10361.jpg
/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_34_9474.jpg
/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_45_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273112","1352273102","1352273104","1352273107","1352273101","1352273109"],"photo_ids_order":["1352273101","1352273102","1352273104","1352273107","1352273109","1352273112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9dcba26fcdf49f35c04d7e1a16b748f.jpg","text":"TemporaryFile(/tmp/multipartBody2902307483829790534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476333192,"filename":"image_12042025_16_31_45_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e3414caf10cf5070b5c2c4ec7fc6640.jpg","text":"TemporaryFile(/tmp/multipartBody7665140957300242902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476333192,"filename":"image_12042025_16_31_04_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/916bad98359d2838b5c6b96f11a156e6.jpg","text":"TemporaryFile(/tmp/multipartBody7713458948386112671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476333192,"filename":"image_12042025_16_31_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/051b134a4134af881f50572f92a2d88e.jpg","text":"TemporaryFile(/tmp/multipartBody2541616653504115830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476333192,"filename":"image_12042025_16_31_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6720edbcd43825be4b2303e00991cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody147695266809052907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476333192,"filename":"image_12042025_16_30_55_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f61fe4b0956cbba71361c5358b875f07.jpg","text":"TemporaryFile(/tmp/multipartBody7680793831165409925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476333192,"filename":"image_12042025_16_31_34_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273104","file1":"1352273102","file0":"1352273101","file4":"1352273109","file5":"1352273112","file3":"1352273107"},"map_files_photo_id_array":[{"photo_id":"1352273112","filename":"file5"},{"photo_id":"1352273104","filename":"file2"},{"photo_id":"1352273109","filename":"file4"},{"photo_id":"1352273102","filename":"file1"},{"photo_id":"1352273101","filename":"file0"},{"photo_id":"1352273107","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273112":["hashtag1","hashtag2"]},{"1352273102":["hashtag1","hashtag2"]},{"1352273104":["hashtag1","hashtag2"]},{"1352273107":["hashtag1","hashtag2"]},{"1352273101":["hashtag1","hashtag2"]},{"1352273109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273112, 1352273102, 1352273104, 1352273107, 1352273101, 1352273109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50884556770325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:45:33.015776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_54_9397.jpg', '/home/pi/Desktop/images/12042025/16/31/image_12042025_16_32_05_10399.jpg', '/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_15_10355.jpg', '/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_24_9517.jpg', '/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_35_10368.jpg', '/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_44_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/31/image_12042025_16_31_54_9397.jpg
/home/pi/Desktop/images/12042025/16/31/image_12042025_16_32_05_10399.jpg
/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_15_10355.jpg
/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_24_9517.jpg
/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_35_10368.jpg
/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_44_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273123","1352273129","1352273131","1352273125","1352273133","1352273127"],"photo_ids_order":["1352273123","1352273125","1352273127","1352273129","1352273131","1352273133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8daef2719c0dbaf57c1a5a8acb2a4792.jpg","text":"TemporaryFile(/tmp/multipartBody7734619628858006327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476393483,"filename":"image_12042025_16_31_54_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1549cf1b72c99420bc4587ec90819cf4.jpg","text":"TemporaryFile(/tmp/multipartBody7253104795521861270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476393483,"filename":"image_12042025_16_32_24_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97c662e148ae71dc2dac4c5bb32ae001.jpg","text":"TemporaryFile(/tmp/multipartBody1332222481288671030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476393483,"filename":"image_12042025_16_32_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d97f39934bed036f3213bedabb2e0ac7.jpg","text":"TemporaryFile(/tmp/multipartBody8219414628065570581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476393483,"filename":"image_12042025_16_32_05_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7ad0f1a563fc1130660cd361fe57044.jpg","text":"TemporaryFile(/tmp/multipartBody187675155951934110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476393483,"filename":"image_12042025_16_32_44_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8658f431c937ea710942bc742c561321.jpg","text":"TemporaryFile(/tmp/multipartBody1713317582687922372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476393483,"filename":"image_12042025_16_32_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273127","file1":"1352273125","file0":"1352273123","file4":"1352273131","file5":"1352273133","file3":"1352273129"},"map_files_photo_id_array":[{"photo_id":"1352273133","filename":"file5"},{"photo_id":"1352273127","filename":"file2"},{"photo_id":"1352273131","filename":"file4"},{"photo_id":"1352273125","filename":"file1"},{"photo_id":"1352273123","filename":"file0"},{"photo_id":"1352273129","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273123":["hashtag1","hashtag2"]},{"1352273129":["hashtag1","hashtag2"]},{"1352273131":["hashtag1","hashtag2"]},{"1352273125":["hashtag1","hashtag2"]},{"1352273133":["hashtag1","hashtag2"]},{"1352273127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273123, 1352273129, 1352273131, 1352273125, 1352273133, 1352273127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.731998443603516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:46:32.225316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_55_10423.jpg', '/home/pi/Desktop/images/12042025/16/32/image_12042025_16_33_05_10351.jpg', '/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_14_9412.jpg', '/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_25_10377.jpg', '/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_34_9449.jpg', '/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/32/image_12042025_16_32_55_10423.jpg
/home/pi/Desktop/images/12042025/16/32/image_12042025_16_33_05_10351.jpg
/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_14_9412.jpg
/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_25_10377.jpg
/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_34_9449.jpg
/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273210","1352273207","1352273149","1352273209","1352273203","1352273211"],"photo_ids_order":["1352273149","1352273203","1352273207","1352273209","1352273210","1352273211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11f065712a4e450dd4768419b1ed83e4.jpg","text":"TemporaryFile(/tmp/multipartBody5289998414424070768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476452680,"filename":"image_12042025_16_33_34_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2f4f99ed8b1eb24cd922d4b44dad71b.jpg","text":"TemporaryFile(/tmp/multipartBody2200767422260287642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476452680,"filename":"image_12042025_16_33_14_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9576e8bf52bf3a9eef431949f48b8e68.jpg","text":"TemporaryFile(/tmp/multipartBody7083335184779760043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476452680,"filename":"image_12042025_16_32_55_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89c29dbcdf3caf66cc6a7d9fdc9a586c.jpg","text":"TemporaryFile(/tmp/multipartBody8659958380934528125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476452680,"filename":"image_12042025_16_33_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6932e2a4bd41c2f40a94047ab4eda82.jpg","text":"TemporaryFile(/tmp/multipartBody5541604884955412468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476452680,"filename":"image_12042025_16_33_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b61150e77725be59a3fd0c3833234837.jpg","text":"TemporaryFile(/tmp/multipartBody1189850349352500736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476452680,"filename":"image_12042025_16_33_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273207","file1":"1352273203","file0":"1352273149","file4":"1352273210","file5":"1352273211","file3":"1352273209"},"map_files_photo_id_array":[{"photo_id":"1352273211","filename":"file5"},{"photo_id":"1352273207","filename":"file2"},{"photo_id":"1352273210","filename":"file4"},{"photo_id":"1352273203","filename":"file1"},{"photo_id":"1352273149","filename":"file0"},{"photo_id":"1352273209","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273210":["hashtag1","hashtag2"]},{"1352273207":["hashtag1","hashtag2"]},{"1352273149":["hashtag1","hashtag2"]},{"1352273209":["hashtag1","hashtag2"]},{"1352273203":["hashtag1","hashtag2"]},{"1352273211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273210, 1352273207, 1352273149, 1352273209, 1352273203, 1352273211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4982807636261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:47:32.430680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_55_10350.jpg', '/home/pi/Desktop/images/12042025/16/33/image_12042025_16_34_05_9469.jpg', '/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_15_10444.jpg', '/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_24_9489.jpg', '/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_35_10349.jpg', '/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_44_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/33/image_12042025_16_33_55_10350.jpg
/home/pi/Desktop/images/12042025/16/33/image_12042025_16_34_05_9469.jpg
/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_15_10444.jpg
/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_24_9489.jpg
/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_35_10349.jpg
/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_44_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273231","1352273225","1352273233","1352273227","1352273235","1352273229"],"photo_ids_order":["1352273225","1352273227","1352273229","1352273231","1352273233","1352273235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1982a3e960cc99691bc42ea88687e1a.jpg","text":"TemporaryFile(/tmp/multipartBody8005896877732368047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476512893,"filename":"image_12042025_16_34_24_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e04025b901cc5b20bb66f40cd10c976.jpg","text":"TemporaryFile(/tmp/multipartBody8321569948507706502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476512893,"filename":"image_12042025_16_33_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fbc748ab121b9d08ad5b9bf83bd5f65.jpg","text":"TemporaryFile(/tmp/multipartBody7960615281729555437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476512893,"filename":"image_12042025_16_34_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8a7b9dc18ec09c6a162031a322fbf59.jpg","text":"TemporaryFile(/tmp/multipartBody3975952656682356079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476512893,"filename":"image_12042025_16_34_05_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da12e5da500aea222b868035375ec3b8.jpg","text":"TemporaryFile(/tmp/multipartBody8649742219607183305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476512893,"filename":"image_12042025_16_34_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b12c22ecc427a6e53df5df0787f545d.jpg","text":"TemporaryFile(/tmp/multipartBody3731293579558435187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476512893,"filename":"image_12042025_16_34_15_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273229","file1":"1352273227","file0":"1352273225","file4":"1352273233","file5":"1352273235","file3":"1352273231"},"map_files_photo_id_array":[{"photo_id":"1352273235","filename":"file5"},{"photo_id":"1352273229","filename":"file2"},{"photo_id":"1352273233","filename":"file4"},{"photo_id":"1352273227","filename":"file1"},{"photo_id":"1352273225","filename":"file0"},{"photo_id":"1352273231","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273231":["hashtag1","hashtag2"]},{"1352273225":["hashtag1","hashtag2"]},{"1352273233":["hashtag1","hashtag2"]},{"1352273227":["hashtag1","hashtag2"]},{"1352273235":["hashtag1","hashtag2"]},{"1352273229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273231, 1352273225, 1352273233, 1352273227, 1352273235, 1352273229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18394184112549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:48:32.564739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_54_10355.jpg', '/home/pi/Desktop/images/12042025/16/34/image_12042025_16_35_05_10366.jpg', '/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_14_9342.jpg', '/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_25_10468.jpg', '/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_35_10364.jpg', '/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_44_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/34/image_12042025_16_34_54_10355.jpg
/home/pi/Desktop/images/12042025/16/34/image_12042025_16_35_05_10366.jpg
/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_14_9342.jpg
/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_25_10468.jpg
/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_35_10364.jpg
/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_44_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273254","1352273248","1352273262","1352273256","1352273259","1352273250"],"photo_ids_order":["1352273248","1352273250","1352273254","1352273256","1352273259","1352273262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa38207f1937e90e09f2d3be61e37601.jpg","text":"TemporaryFile(/tmp/multipartBody837654102819012748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476573064,"filename":"image_12042025_16_35_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dacb1dd410bf0ba498d960ac8ad596ca.jpg","text":"TemporaryFile(/tmp/multipartBody3310687848945822078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476573064,"filename":"image_12042025_16_34_54_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bd818efd0d3df97a72339e1f3580eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8818618805059164016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476573064,"filename":"image_12042025_16_35_44_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0de6a16c2ad16bec011f1022ca590b74.jpg","text":"TemporaryFile(/tmp/multipartBody8361106500932581977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476573064,"filename":"image_12042025_16_35_25_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/672ba6f194073c4b153da9a572810b43.jpg","text":"TemporaryFile(/tmp/multipartBody1185311294334754012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476573064,"filename":"image_12042025_16_35_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2471a5a062b85fb5ce0e7680756cb02c.jpg","text":"TemporaryFile(/tmp/multipartBody1317323482953311212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476573064,"filename":"image_12042025_16_35_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273254","file1":"1352273250","file0":"1352273248","file4":"1352273259","file5":"1352273262","file3":"1352273256"},"map_files_photo_id_array":[{"photo_id":"1352273262","filename":"file5"},{"photo_id":"1352273254","filename":"file2"},{"photo_id":"1352273259","filename":"file4"},{"photo_id":"1352273250","filename":"file1"},{"photo_id":"1352273248","filename":"file0"},{"photo_id":"1352273256","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273254":["hashtag1","hashtag2"]},{"1352273248":["hashtag1","hashtag2"]},{"1352273262":["hashtag1","hashtag2"]},{"1352273256":["hashtag1","hashtag2"]},{"1352273259":["hashtag1","hashtag2"]},{"1352273250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273254, 1352273248, 1352273262, 1352273256, 1352273259, 1352273250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85803151130676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:49:32.911907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_55_10378.jpg', '/home/pi/Desktop/images/12042025/16/35/image_12042025_16_36_04_9441.jpg', '/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_15_10343.jpg', '/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_25_10401.jpg', '/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_34_9488.jpg', '/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_45_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/35/image_12042025_16_35_55_10378.jpg
/home/pi/Desktop/images/12042025/16/35/image_12042025_16_36_04_9441.jpg
/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_15_10343.jpg
/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_25_10401.jpg
/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_34_9488.jpg
/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_45_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273409","1352273456","1352273417","1352273503","1352273427","1352273412"],"photo_ids_order":["1352273409","1352273412","1352273417","1352273427","1352273456","1352273503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce542280f2ae4f48e795f5ddc4efd8e0.jpg","text":"TemporaryFile(/tmp/multipartBody4507586080953920334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476633377,"filename":"image_12042025_16_35_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfa3f477efc7bf072aa7921ca30e069c.jpg","text":"TemporaryFile(/tmp/multipartBody6793150003993325116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476633377,"filename":"image_12042025_16_36_34_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75882a81e81fc679486d4d53c260b739.jpg","text":"TemporaryFile(/tmp/multipartBody1787914943147444971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476633377,"filename":"image_12042025_16_36_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d79a7327861b0c5e99c7a6d6447ada0.jpg","text":"TemporaryFile(/tmp/multipartBody1516949243130742057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476633377,"filename":"image_12042025_16_36_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31f548327bc3cc2ee4a6b892dc24a451.jpg","text":"TemporaryFile(/tmp/multipartBody8699035696301214181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476633377,"filename":"image_12042025_16_36_25_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f0be4c846cbc1678f769d2330df70c8.jpg","text":"TemporaryFile(/tmp/multipartBody1007125568005636032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476633377,"filename":"image_12042025_16_36_04_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273417","file1":"1352273412","file0":"1352273409","file4":"1352273456","file5":"1352273503","file3":"1352273427"},"map_files_photo_id_array":[{"photo_id":"1352273503","filename":"file5"},{"photo_id":"1352273417","filename":"file2"},{"photo_id":"1352273456","filename":"file4"},{"photo_id":"1352273412","filename":"file1"},{"photo_id":"1352273409","filename":"file0"},{"photo_id":"1352273427","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273409":["hashtag1","hashtag2"]},{"1352273456":["hashtag1","hashtag2"]},{"1352273417":["hashtag1","hashtag2"]},{"1352273503":["hashtag1","hashtag2"]},{"1352273427":["hashtag1","hashtag2"]},{"1352273412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273409, 1352273456, 1352273417, 1352273503, 1352273427, 1352273412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26852631568909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:50:33.024993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_54_9358.jpg', '/home/pi/Desktop/images/12042025/16/36/image_12042025_16_37_05_10372.jpg', '/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_15_10351.jpg', '/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_24_9264.jpg', '/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_35_10486.jpg', '/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_45_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/36/image_12042025_16_36_54_9358.jpg
/home/pi/Desktop/images/12042025/16/36/image_12042025_16_37_05_10372.jpg
/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_15_10351.jpg
/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_24_9264.jpg
/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_35_10486.jpg
/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_45_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273529","1352273531","1352273522","1352273525","1352273527","1352273523"],"photo_ids_order":["1352273522","1352273523","1352273525","1352273527","1352273529","1352273531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a2f967329622cf0b04dfcdbfaa631a7.jpg","text":"TemporaryFile(/tmp/multipartBody7517081028908652996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476693490,"filename":"image_12042025_16_37_35_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4fae73cab79e766a5f375c30ea0e473.jpg","text":"TemporaryFile(/tmp/multipartBody3922107544220486416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476693490,"filename":"image_12042025_16_37_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bec1d7b06fdbe217f31ac74e4aac72da.jpg","text":"TemporaryFile(/tmp/multipartBody2527426742269281716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476693490,"filename":"image_12042025_16_36_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee6a1d0baba19a9f043c8b96254f9fd0.jpg","text":"TemporaryFile(/tmp/multipartBody8222302218197136419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476693490,"filename":"image_12042025_16_37_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a16572f842d1f1f9a84c609b7570ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7845670175883077600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476693490,"filename":"image_12042025_16_37_24_9264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc7db250aebdb44c83893f9159c0c095.jpg","text":"TemporaryFile(/tmp/multipartBody2828498458512668986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476693490,"filename":"image_12042025_16_37_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273525","file1":"1352273523","file0":"1352273522","file4":"1352273529","file5":"1352273531","file3":"1352273527"},"map_files_photo_id_array":[{"photo_id":"1352273531","filename":"file5"},{"photo_id":"1352273525","filename":"file2"},{"photo_id":"1352273529","filename":"file4"},{"photo_id":"1352273523","filename":"file1"},{"photo_id":"1352273522","filename":"file0"},{"photo_id":"1352273527","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273529":["hashtag1","hashtag2"]},{"1352273531":["hashtag1","hashtag2"]},{"1352273522":["hashtag1","hashtag2"]},{"1352273525":["hashtag1","hashtag2"]},{"1352273527":["hashtag1","hashtag2"]},{"1352273523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273529, 1352273531, 1352273522, 1352273525, 1352273527, 1352273523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.175570487976074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:51:32.517948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_55_9441.jpg', '/home/pi/Desktop/images/12042025/16/37/image_12042025_16_38_05_10373.jpg', '/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_14_9379.jpg', '/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_25_10452.jpg', '/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_35_10360.jpg', '/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_45_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/37/image_12042025_16_37_55_9441.jpg
/home/pi/Desktop/images/12042025/16/37/image_12042025_16_38_05_10373.jpg
/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_14_9379.jpg
/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_25_10452.jpg
/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_35_10360.jpg
/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_45_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273561","1352273621","1352273615","1352273603","1352273623","1352273620"],"photo_ids_order":["1352273561","1352273603","1352273615","1352273620","1352273621","1352273623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2ffb543002517707c6e81d89749eec6.jpg","text":"TemporaryFile(/tmp/multipartBody6060904210462745920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476752984,"filename":"image_12042025_16_37_55_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d80551d34bf9ed6c06de3e9394eb0e45.jpg","text":"TemporaryFile(/tmp/multipartBody8442618625557491736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476752984,"filename":"image_12042025_16_38_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23208f2a93607d6c8c1be402374f748d.jpg","text":"TemporaryFile(/tmp/multipartBody4817536039692204480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476752984,"filename":"image_12042025_16_38_14_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8224ea340b1a6c052a4d475a9c563244.jpg","text":"TemporaryFile(/tmp/multipartBody756367327549483725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476752984,"filename":"image_12042025_16_38_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c9ae2e5ba7831c5a07deb745dec1ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4591549314990709896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476752984,"filename":"image_12042025_16_38_45_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13c20e020677121ec8dbb59f364b6170.jpg","text":"TemporaryFile(/tmp/multipartBody7214723806940129872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476752984,"filename":"image_12042025_16_38_25_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273615","file1":"1352273603","file0":"1352273561","file4":"1352273621","file5":"1352273623","file3":"1352273620"},"map_files_photo_id_array":[{"photo_id":"1352273623","filename":"file5"},{"photo_id":"1352273615","filename":"file2"},{"photo_id":"1352273621","filename":"file4"},{"photo_id":"1352273603","filename":"file1"},{"photo_id":"1352273561","filename":"file0"},{"photo_id":"1352273620","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273561":["hashtag1","hashtag2"]},{"1352273621":["hashtag1","hashtag2"]},{"1352273615":["hashtag1","hashtag2"]},{"1352273603":["hashtag1","hashtag2"]},{"1352273623":["hashtag1","hashtag2"]},{"1352273620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273561, 1352273621, 1352273615, 1352273603, 1352273623, 1352273620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78625202178955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:52:32.529436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_55_10438.jpg', '/home/pi/Desktop/images/12042025/16/38/image_12042025_16_39_04_9344.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_15_10361.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_24_9371.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_34_10133.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_55_10438.jpg
/home/pi/Desktop/images/12042025/16/38/image_12042025_16_39_04_9344.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_15_10361.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_24_9371.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_34_10133.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_45_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38532209396362305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 18:52:42.565387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_55_10438.jpg', '/home/pi/Desktop/images/12042025/16/38/image_12042025_16_39_04_9344.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_15_10361.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_24_9371.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_34_10133.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/38/image_12042025_16_38_55_10438.jpg
/home/pi/Desktop/images/12042025/16/38/image_12042025_16_39_04_9344.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_15_10361.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_24_9371.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_34_10133.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273726","1352273723","1352273719","1352273713","1352273716","1352273724"],"photo_ids_order":["1352273713","1352273716","1352273719","1352273723","1352273724","1352273726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4e7a0f2f13b9b0f5c823c00ce7562a8.jpg","text":"TemporaryFile(/tmp/multipartBody7606507327843558785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476823022,"filename":"image_12042025_16_39_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7ce09ca64cc8179f5c7a471d03c79d2.jpg","text":"TemporaryFile(/tmp/multipartBody3753565633291197267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476823022,"filename":"image_12042025_16_39_24_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6e5dfdfd17261ed8b9af0fb8e4b3135.jpg","text":"TemporaryFile(/tmp/multipartBody2961375491295835161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476823022,"filename":"image_12042025_16_39_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/123e8edc01ed6aca2c995ba4bf65994f.jpg","text":"TemporaryFile(/tmp/multipartBody1103673465142398670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476823022,"filename":"image_12042025_16_38_55_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf474f14f9cfdac7d351345f8ad8554f.jpg","text":"TemporaryFile(/tmp/multipartBody5049102559721845017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476823022,"filename":"image_12042025_16_39_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf3f4f185fa2d76ce48c9a6999c4ceb2.jpg","text":"TemporaryFile(/tmp/multipartBody3182569531717289928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476823022,"filename":"image_12042025_16_39_34_10133.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273719","file1":"1352273716","file0":"1352273713","file4":"1352273724","file5":"1352273726","file3":"1352273723"},"map_files_photo_id_array":[{"photo_id":"1352273726","filename":"file5"},{"photo_id":"1352273719","filename":"file2"},{"photo_id":"1352273724","filename":"file4"},{"photo_id":"1352273716","filename":"file1"},{"photo_id":"1352273713","filename":"file0"},{"photo_id":"1352273723","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273726":["hashtag1","hashtag2"]},{"1352273723":["hashtag1","hashtag2"]},{"1352273719":["hashtag1","hashtag2"]},{"1352273713":["hashtag1","hashtag2"]},{"1352273716":["hashtag1","hashtag2"]},{"1352273724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273726, 1352273723, 1352273719, 1352273713, 1352273716, 1352273724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81986141204834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:53:32.895869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_55_10462.jpg', '/home/pi/Desktop/images/12042025/16/39/image_12042025_16_40_04_9386.jpg', '/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_15_10366.jpg', '/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_24_9365.jpg', '/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_35_10387.jpg', '/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_45_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_39_55_10462.jpg
/home/pi/Desktop/images/12042025/16/39/image_12042025_16_40_04_9386.jpg
/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_15_10366.jpg
/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_24_9365.jpg
/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_35_10387.jpg
/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_45_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273783","1352273756","1352273824","1352273806","1352273760","1352273817"],"photo_ids_order":["1352273756","1352273760","1352273783","1352273806","1352273817","1352273824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79a35bf34314a7184262550c145316b3.jpg","text":"TemporaryFile(/tmp/multipartBody5706065026151514624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476873380,"filename":"image_12042025_16_40_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d10aa7ae9ec1db051533837781c691d.jpg","text":"TemporaryFile(/tmp/multipartBody377356191188216387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476873380,"filename":"image_12042025_16_39_55_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba7eb7154f0ec5102316d26f681479bc.jpg","text":"TemporaryFile(/tmp/multipartBody8443744063895046989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476873380,"filename":"image_12042025_16_40_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39ff08db7cd28d46bc570d17be3b3caf.jpg","text":"TemporaryFile(/tmp/multipartBody4582009759046670032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476873380,"filename":"image_12042025_16_40_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66ebf8dfffe6fd9079d15d4202b97887.jpg","text":"TemporaryFile(/tmp/multipartBody7130395203287072546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476873380,"filename":"image_12042025_16_40_04_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbb81c1034e8ad4858767700a6578213.jpg","text":"TemporaryFile(/tmp/multipartBody8706244645834967876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476873380,"filename":"image_12042025_16_40_35_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273783","file1":"1352273760","file0":"1352273756","file4":"1352273817","file5":"1352273824","file3":"1352273806"},"map_files_photo_id_array":[{"photo_id":"1352273824","filename":"file5"},{"photo_id":"1352273783","filename":"file2"},{"photo_id":"1352273817","filename":"file4"},{"photo_id":"1352273760","filename":"file1"},{"photo_id":"1352273756","filename":"file0"},{"photo_id":"1352273806","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273783":["hashtag1","hashtag2"]},{"1352273756":["hashtag1","hashtag2"]},{"1352273824":["hashtag1","hashtag2"]},{"1352273806":["hashtag1","hashtag2"]},{"1352273760":["hashtag1","hashtag2"]},{"1352273817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273783, 1352273756, 1352273824, 1352273806, 1352273760, 1352273817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.03726768493652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:54:33.088900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_54_9355.jpg', '/home/pi/Desktop/images/12042025/16/40/image_12042025_16_41_05_10368.jpg', '/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_15_10349.jpg', '/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_24_9442.jpg', '/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_35_10387.jpg', '/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_44_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/40/image_12042025_16_40_54_9355.jpg
/home/pi/Desktop/images/12042025/16/40/image_12042025_16_41_05_10368.jpg
/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_15_10349.jpg
/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_24_9442.jpg
/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_35_10387.jpg
/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_44_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273957","1352273939","1352273959","1352273952","1352273955","1352273934"],"photo_ids_order":["1352273934","1352273939","1352273952","1352273955","1352273957","1352273959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6268f1aaa063568534e0b1b4bcf3e527.jpg","text":"TemporaryFile(/tmp/multipartBody8226679373514009204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476933616,"filename":"image_12042025_16_41_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e4425f63ebaa84c58fefafcd335bc6d.jpg","text":"TemporaryFile(/tmp/multipartBody8581045149961834949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476933616,"filename":"image_12042025_16_41_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a93a7a67f82002c88eadb53d8034cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4248185857446004158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476933616,"filename":"image_12042025_16_41_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/322d88eb3cd84c014abd04a8a4515812.jpg","text":"TemporaryFile(/tmp/multipartBody5123172754938849731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476933616,"filename":"image_12042025_16_41_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f79d1065067050512da6d892994bcc0.jpg","text":"TemporaryFile(/tmp/multipartBody4647620693512920638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476933616,"filename":"image_12042025_16_41_24_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11d1f94cc2c21c4ac416fed67f9faea0.jpg","text":"TemporaryFile(/tmp/multipartBody6578995035613002440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476933616,"filename":"image_12042025_16_40_54_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273952","file1":"1352273939","file0":"1352273934","file4":"1352273957","file5":"1352273959","file3":"1352273955"},"map_files_photo_id_array":[{"photo_id":"1352273959","filename":"file5"},{"photo_id":"1352273952","filename":"file2"},{"photo_id":"1352273957","filename":"file4"},{"photo_id":"1352273939","filename":"file1"},{"photo_id":"1352273934","filename":"file0"},{"photo_id":"1352273955","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273957":["hashtag1","hashtag2"]},{"1352273939":["hashtag1","hashtag2"]},{"1352273959":["hashtag1","hashtag2"]},{"1352273952":["hashtag1","hashtag2"]},{"1352273955":["hashtag1","hashtag2"]},{"1352273934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273957, 1352273939, 1352273959, 1352273952, 1352273955, 1352273934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.847416639328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:55:32.266586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_55_10473.jpg', '/home/pi/Desktop/images/12042025/16/41/image_12042025_16_42_05_10369.jpg', '/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_14_9431.jpg', '/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_25_10435.jpg', '/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_34_9422.jpg', '/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_45_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/41/image_12042025_16_41_55_10473.jpg
/home/pi/Desktop/images/12042025/16/41/image_12042025_16_42_05_10369.jpg
/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_14_9431.jpg
/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_25_10435.jpg
/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_34_9422.jpg
/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_45_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352273996","1352273995","1352273998","1352273997","1352274000","1352273999"],"photo_ids_order":["1352273995","1352273996","1352273997","1352273998","1352273999","1352274000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40266eb71983e4ee5d613884126acc3e.jpg","text":"TemporaryFile(/tmp/multipartBody8746447810827210433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476992727,"filename":"image_12042025_16_42_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c77cc443ab9df4be5b5d58782e95fab7.jpg","text":"TemporaryFile(/tmp/multipartBody6895977622776534408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476992727,"filename":"image_12042025_16_41_55_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e05a7b5db29c3ef485c76ce795560362.jpg","text":"TemporaryFile(/tmp/multipartBody3495319699251696788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476992727,"filename":"image_12042025_16_42_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4d0f3e1b0887f0e72b9f777583c5684.jpg","text":"TemporaryFile(/tmp/multipartBody8109969235467118743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476992727,"filename":"image_12042025_16_42_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5100c7c0af3c89e80773ceee656e9627.jpg","text":"TemporaryFile(/tmp/multipartBody3932711234586630294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476992727,"filename":"image_12042025_16_42_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f05aaaeaba8bb136d93383d4832d6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3777940419583271623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744476992727,"filename":"image_12042025_16_42_34_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352273997","file1":"1352273996","file0":"1352273995","file4":"1352273999","file5":"1352274000","file3":"1352273998"},"map_files_photo_id_array":[{"photo_id":"1352274000","filename":"file5"},{"photo_id":"1352273997","filename":"file2"},{"photo_id":"1352273999","filename":"file4"},{"photo_id":"1352273996","filename":"file1"},{"photo_id":"1352273995","filename":"file0"},{"photo_id":"1352273998","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352273996":["hashtag1","hashtag2"]},{"1352273995":["hashtag1","hashtag2"]},{"1352273998":["hashtag1","hashtag2"]},{"1352273997":["hashtag1","hashtag2"]},{"1352274000":["hashtag1","hashtag2"]},{"1352273999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352273996, 1352273995, 1352273998, 1352273997, 1352274000, 1352273999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14946460723877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:56:35.111974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_54_9381.jpg', '/home/pi/Desktop/images/12042025/16/42/image_12042025_16_43_05_10483.jpg', '/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_15_10400.jpg', '/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_25_9487.jpg', '/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_35_10492.jpg', '/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_44_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/42/image_12042025_16_42_54_9381.jpg
/home/pi/Desktop/images/12042025/16/42/image_12042025_16_43_05_10483.jpg
/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_15_10400.jpg
/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_25_9487.jpg
/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_35_10492.jpg
/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_44_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352274275","1352274286","1352274268","1352274322","1352274324","1352274204"],"photo_ids_order":["1352274204","1352274268","1352274275","1352274286","1352274322","1352274324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fcfdc2311fdafdfa91ee3849003cf66.jpg","text":"TemporaryFile(/tmp/multipartBody1244019014539683387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477055574,"filename":"image_12042025_16_43_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20be0e203ed81fa348675431d10def21.jpg","text":"TemporaryFile(/tmp/multipartBody4900262713562926182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477055574,"filename":"image_12042025_16_43_25_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a98dffdedcfea211303a91887f8f5cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2540563557435719043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477055574,"filename":"image_12042025_16_43_05_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf9a27ffaa9ed44747cb156fd11f8862.jpg","text":"TemporaryFile(/tmp/multipartBody1674167019672800126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477055574,"filename":"image_12042025_16_43_35_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf6125078203990db2a14e65cd0fc4e1.jpg","text":"TemporaryFile(/tmp/multipartBody7458013447645990515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477055574,"filename":"image_12042025_16_43_44_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fe3ac9cdf44404caa486544027c086e.jpg","text":"TemporaryFile(/tmp/multipartBody3054805506054966229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477055574,"filename":"image_12042025_16_42_54_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352274275","file1":"1352274268","file0":"1352274204","file4":"1352274322","file5":"1352274324","file3":"1352274286"},"map_files_photo_id_array":[{"photo_id":"1352274324","filename":"file5"},{"photo_id":"1352274275","filename":"file2"},{"photo_id":"1352274322","filename":"file4"},{"photo_id":"1352274268","filename":"file1"},{"photo_id":"1352274204","filename":"file0"},{"photo_id":"1352274286","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352274275":["hashtag1","hashtag2"]},{"1352274286":["hashtag1","hashtag2"]},{"1352274268":["hashtag1","hashtag2"]},{"1352274322":["hashtag1","hashtag2"]},{"1352274324":["hashtag1","hashtag2"]},{"1352274204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352274275, 1352274286, 1352274268, 1352274322, 1352274324, 1352274204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21237373352051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 18:57:35.502312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_55_10367.jpg', '/home/pi/Desktop/images/12042025/16/43/image_12042025_16_44_04_9342.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_15_10359.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_25_10380.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_34_9410.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_45_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_55_10367.jpg
/home/pi/Desktop/images/12042025/16/43/image_12042025_16_44_04_9342.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_15_10359.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_25_10380.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_34_9410.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_45_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 18:59:04.306217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_55_10367.jpg', '/home/pi/Desktop/images/12042025/16/43/image_12042025_16_44_04_9342.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_15_10359.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_25_10380.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_34_9410.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_45_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/43/image_12042025_16_43_55_10367.jpg
/home/pi/Desktop/images/12042025/16/43/image_12042025_16_44_04_9342.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_15_10359.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_25_10380.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_34_9410.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_45_10464.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352274524","1352274536","1352274541","1352274538","1352274532","1352274528"],"photo_ids_order":["1352274524","1352274528","1352274532","1352274536","1352274538","1352274541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2188ca8da076163519c392940f71997e.jpg","text":"TemporaryFile(/tmp/multipartBody1361985348044287662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477204882,"filename":"image_12042025_16_43_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa08e13d15fe693094a99f2fcfed8d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6994386506541952449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477204882,"filename":"image_12042025_16_44_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ecc922936e382f112a7bdd1390d4f8ad.jpg","text":"TemporaryFile(/tmp/multipartBody8182669130369954871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477204882,"filename":"image_12042025_16_44_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5fe2dcc797a5e09dba08c45c67c4c04.jpg","text":"TemporaryFile(/tmp/multipartBody3310708170579838493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477204882,"filename":"image_12042025_16_44_34_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6e3df09f3a8633affb1cd5e2ce05c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3668486306320751230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477204882,"filename":"image_12042025_16_44_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e1b9b9087b7f1adf77e24d70236c905.jpg","text":"TemporaryFile(/tmp/multipartBody913650021296620118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477204882,"filename":"image_12042025_16_44_04_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352274532","file1":"1352274528","file0":"1352274524","file4":"1352274538","file5":"1352274541","file3":"1352274536"},"map_files_photo_id_array":[{"photo_id":"1352274541","filename":"file5"},{"photo_id":"1352274532","filename":"file2"},{"photo_id":"1352274538","filename":"file4"},{"photo_id":"1352274528","filename":"file1"},{"photo_id":"1352274524","filename":"file0"},{"photo_id":"1352274536","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352274524":["hashtag1","hashtag2"]},{"1352274536":["hashtag1","hashtag2"]},{"1352274541":["hashtag1","hashtag2"]},{"1352274538":["hashtag1","hashtag2"]},{"1352274532":["hashtag1","hashtag2"]},{"1352274528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352274524, 1352274536, 1352274541, 1352274538, 1352274532, 1352274528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31249022483826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 18:59:42.900381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_54_9366.jpg', '/home/pi/Desktop/images/12042025/16/44/image_12042025_16_45_05_10442.jpg', '/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_15_10348.jpg', '/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_24_9357.jpg', '/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_35_10429.jpg', '/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_44_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_44_54_9366.jpg
/home/pi/Desktop/images/12042025/16/44/image_12042025_16_45_05_10442.jpg
/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_15_10348.jpg
/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_24_9357.jpg
/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_35_10429.jpg
/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_44_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352274551","1352274548","1352274550","1352274552","1352274546","1352274549"],"photo_ids_order":["1352274546","1352274548","1352274549","1352274550","1352274551","1352274552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4009381f0b6947f7609c845d975b6337.jpg","text":"TemporaryFile(/tmp/multipartBody3940396207580230644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477243361,"filename":"image_12042025_16_45_35_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2a83434d1a49feed2eb3c4c869d3ffb.jpg","text":"TemporaryFile(/tmp/multipartBody1890139107657412250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477243361,"filename":"image_12042025_16_45_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08e2b55bbfe5c2c94ef96a91186b9e66.jpg","text":"TemporaryFile(/tmp/multipartBody572955063938227029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477243361,"filename":"image_12042025_16_45_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9666d57cccb2594c5320dc69bb594cf.jpg","text":"TemporaryFile(/tmp/multipartBody2082297845232638482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477243361,"filename":"image_12042025_16_45_44_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3824f901ad83e6b493fe62a1d3313bc4.jpg","text":"TemporaryFile(/tmp/multipartBody1503620664110650379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477243361,"filename":"image_12042025_16_44_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c65e91c2054e12c7ba193ff0e91bc30e.jpg","text":"TemporaryFile(/tmp/multipartBody300875047190815822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477243361,"filename":"image_12042025_16_45_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352274549","file1":"1352274548","file0":"1352274546","file4":"1352274551","file5":"1352274552","file3":"1352274550"},"map_files_photo_id_array":[{"photo_id":"1352274552","filename":"file5"},{"photo_id":"1352274549","filename":"file2"},{"photo_id":"1352274551","filename":"file4"},{"photo_id":"1352274548","filename":"file1"},{"photo_id":"1352274546","filename":"file0"},{"photo_id":"1352274550","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352274551":["hashtag1","hashtag2"]},{"1352274548":["hashtag1","hashtag2"]},{"1352274550":["hashtag1","hashtag2"]},{"1352274552":["hashtag1","hashtag2"]},{"1352274546":["hashtag1","hashtag2"]},{"1352274549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352274551, 1352274548, 1352274550, 1352274552, 1352274546, 1352274549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.332239627838135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:00:33.272344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_55_10440.jpg', '/home/pi/Desktop/images/12042025/16/45/image_12042025_16_46_05_10394.jpg', '/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_14_9354.jpg', '/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_25_10417.jpg', '/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_34_9351.jpg', '/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_45_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/45/image_12042025_16_45_55_10440.jpg
/home/pi/Desktop/images/12042025/16/45/image_12042025_16_46_05_10394.jpg
/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_14_9354.jpg
/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_25_10417.jpg
/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_34_9351.jpg
/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_45_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352274571","1352274565","1352274574","1352274577","1352274569","1352274563"],"photo_ids_order":["1352274563","1352274565","1352274569","1352274571","1352274574","1352274577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfaaad7577124884304e8cf1aaecf381.jpg","text":"TemporaryFile(/tmp/multipartBody984854725118676173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477293738,"filename":"image_12042025_16_46_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77480714ddf0cb597078e52c639956cd.jpg","text":"TemporaryFile(/tmp/multipartBody6226307366981701294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477293738,"filename":"image_12042025_16_46_05_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87222f8f001f4a8ebdbdd8f3d7c96065.jpg","text":"TemporaryFile(/tmp/multipartBody3660491657962651429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477293738,"filename":"image_12042025_16_46_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a778fa38e640e98dd670b0bc72f3760.jpg","text":"TemporaryFile(/tmp/multipartBody2512374163862685856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477293738,"filename":"image_12042025_16_46_45_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ea9bbf11632e90a77fd5ae15bb2fa6f.jpg","text":"TemporaryFile(/tmp/multipartBody2389376434362363853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477293738,"filename":"image_12042025_16_46_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/133d40fe2538e8f74a07270ac12fb25d.jpg","text":"TemporaryFile(/tmp/multipartBody4533552878230906007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477293738,"filename":"image_12042025_16_45_55_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352274569","file1":"1352274565","file0":"1352274563","file4":"1352274574","file5":"1352274577","file3":"1352274571"},"map_files_photo_id_array":[{"photo_id":"1352274577","filename":"file5"},{"photo_id":"1352274569","filename":"file2"},{"photo_id":"1352274574","filename":"file4"},{"photo_id":"1352274565","filename":"file1"},{"photo_id":"1352274563","filename":"file0"},{"photo_id":"1352274571","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352274571":["hashtag1","hashtag2"]},{"1352274565":["hashtag1","hashtag2"]},{"1352274574":["hashtag1","hashtag2"]},{"1352274577":["hashtag1","hashtag2"]},{"1352274569":["hashtag1","hashtag2"]},{"1352274563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352274571, 1352274565, 1352274574, 1352274577, 1352274569, 1352274563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29223370552063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:01:32.473243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_55_10365.jpg', '/home/pi/Desktop/images/12042025/16/46/image_12042025_16_47_04_9340.jpg', '/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_15_10463.jpg', '/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_24_9378.jpg', '/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_35_10441.jpg', '/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_45_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/46/image_12042025_16_46_55_10365.jpg
/home/pi/Desktop/images/12042025/16/46/image_12042025_16_47_04_9340.jpg
/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_15_10463.jpg
/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_24_9378.jpg
/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_35_10441.jpg
/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_45_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352274594","1352274597","1352274591","1352274600","1352274603","1352274606"],"photo_ids_order":["1352274591","1352274594","1352274597","1352274600","1352274603","1352274606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0201a341b8f49ec13f06e2ac8a449445.jpg","text":"TemporaryFile(/tmp/multipartBody5448083519875191434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477352962,"filename":"image_12042025_16_47_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb7b7744957cab598c3f2dedbd40e62a.jpg","text":"TemporaryFile(/tmp/multipartBody1180185042331434348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477352962,"filename":"image_12042025_16_47_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61de3ab1966ffcc4da681ce813fb8dd3.jpg","text":"TemporaryFile(/tmp/multipartBody527902155869462620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477352962,"filename":"image_12042025_16_46_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3f781ee1f68af426ceed1498aa67e84.jpg","text":"TemporaryFile(/tmp/multipartBody4469845869965639807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477352962,"filename":"image_12042025_16_47_24_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5420d605c05b4920de777ec8e1f4696.jpg","text":"TemporaryFile(/tmp/multipartBody4927973068072610806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477352962,"filename":"image_12042025_16_47_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38b44569ba5497836c4e838425037811.jpg","text":"TemporaryFile(/tmp/multipartBody6104823859523147891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477352962,"filename":"image_12042025_16_47_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352274597","file1":"1352274594","file0":"1352274591","file4":"1352274603","file5":"1352274606","file3":"1352274600"},"map_files_photo_id_array":[{"photo_id":"1352274606","filename":"file5"},{"photo_id":"1352274597","filename":"file2"},{"photo_id":"1352274603","filename":"file4"},{"photo_id":"1352274594","filename":"file1"},{"photo_id":"1352274591","filename":"file0"},{"photo_id":"1352274600","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352274594":["hashtag1","hashtag2"]},{"1352274597":["hashtag1","hashtag2"]},{"1352274591":["hashtag1","hashtag2"]},{"1352274600":["hashtag1","hashtag2"]},{"1352274603":["hashtag1","hashtag2"]},{"1352274606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352274594, 1352274597, 1352274591, 1352274600, 1352274603, 1352274606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.917739629745483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:02:32.567533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_54_9355.jpg', '/home/pi/Desktop/images/12042025/16/47/image_12042025_16_48_05_10352.jpg', '/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_15_10370.jpg', '/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_24_9426.jpg', '/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_35_10415.jpg', '/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_44_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/47/image_12042025_16_47_54_9355.jpg
/home/pi/Desktop/images/12042025/16/47/image_12042025_16_48_05_10352.jpg
/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_15_10370.jpg
/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_24_9426.jpg
/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_35_10415.jpg
/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_44_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352274905","1352274982","1352274745","1352274946","1352274823","1352274870"],"photo_ids_order":["1352274745","1352274823","1352274870","1352274905","1352274946","1352274982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fac55944defce7c7c0df824a4600e252.jpg","text":"TemporaryFile(/tmp/multipartBody3620026701967901448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477413044,"filename":"image_12042025_16_48_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b3c0b2f6cd7c2d7b7671017a59de1cc.jpg","text":"TemporaryFile(/tmp/multipartBody3468880337864778193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477413044,"filename":"image_12042025_16_48_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd9035f3e5bdfd7c2067ab425b1e5d32.jpg","text":"TemporaryFile(/tmp/multipartBody4062557123882851355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477413044,"filename":"image_12042025_16_47_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c468e13bc1ae49ba1db66bd29498372.jpg","text":"TemporaryFile(/tmp/multipartBody4684621341676334117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477413044,"filename":"image_12042025_16_48_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e650d15ae8dc49f71b07cb311b8d002.jpg","text":"TemporaryFile(/tmp/multipartBody5361925878069136298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477413044,"filename":"image_12042025_16_48_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1d03f4428fcab95f0fcb859d8ba5224.jpg","text":"TemporaryFile(/tmp/multipartBody5761065338285322073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477413044,"filename":"image_12042025_16_48_15_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352274870","file1":"1352274823","file0":"1352274745","file4":"1352274946","file5":"1352274982","file3":"1352274905"},"map_files_photo_id_array":[{"photo_id":"1352274982","filename":"file5"},{"photo_id":"1352274870","filename":"file2"},{"photo_id":"1352274946","filename":"file4"},{"photo_id":"1352274823","filename":"file1"},{"photo_id":"1352274745","filename":"file0"},{"photo_id":"1352274905","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352274905":["hashtag1","hashtag2"]},{"1352274982":["hashtag1","hashtag2"]},{"1352274745":["hashtag1","hashtag2"]},{"1352274946":["hashtag1","hashtag2"]},{"1352274823":["hashtag1","hashtag2"]},{"1352274870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352274905, 1352274982, 1352274745, 1352274946, 1352274823, 1352274870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60076451301575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:03:32.844192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_55_10467.jpg', '/home/pi/Desktop/images/12042025/16/48/image_12042025_16_49_04_9465.jpg', '/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_15_10356.jpg', '/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_25_10372.jpg', '/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_34_9358.jpg', '/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_45_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/48/image_12042025_16_48_55_10467.jpg
/home/pi/Desktop/images/12042025/16/48/image_12042025_16_49_04_9465.jpg
/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_15_10356.jpg
/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_25_10372.jpg
/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_34_9358.jpg
/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_45_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352275522","1352275542","1352275386","1352275577","1352275451","1352275346"],"photo_ids_order":["1352275346","1352275386","1352275451","1352275522","1352275542","1352275577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eaae4ae60554d0b6209f93ca58b255af.jpg","text":"TemporaryFile(/tmp/multipartBody4989870405598849813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477473318,"filename":"image_12042025_16_49_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a95b05947bc0a394bad64bff775f9b26.jpg","text":"TemporaryFile(/tmp/multipartBody7512128766103702540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477473318,"filename":"image_12042025_16_49_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b87bac39132ce0b06d1ead806cf51b2.jpg","text":"TemporaryFile(/tmp/multipartBody4964408958089499823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477473318,"filename":"image_12042025_16_49_04_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/824bc16bd13c83e9cff95fca25872a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4412135874020075617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477473318,"filename":"image_12042025_16_49_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6900a950fec6c2610959adfb1545d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody5246175723113044512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477473318,"filename":"image_12042025_16_49_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9437b59d8c2a03114c50b8738dfdd28.jpg","text":"TemporaryFile(/tmp/multipartBody3415543902199810383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477473318,"filename":"image_12042025_16_48_55_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352275451","file1":"1352275386","file0":"1352275346","file4":"1352275542","file5":"1352275577","file3":"1352275522"},"map_files_photo_id_array":[{"photo_id":"1352275577","filename":"file5"},{"photo_id":"1352275451","filename":"file2"},{"photo_id":"1352275542","filename":"file4"},{"photo_id":"1352275386","filename":"file1"},{"photo_id":"1352275346","filename":"file0"},{"photo_id":"1352275522","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352275522":["hashtag1","hashtag2"]},{"1352275542":["hashtag1","hashtag2"]},{"1352275386":["hashtag1","hashtag2"]},{"1352275577":["hashtag1","hashtag2"]},{"1352275451":["hashtag1","hashtag2"]},{"1352275346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352275522, 1352275542, 1352275386, 1352275577, 1352275451, 1352275346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80207920074463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:04:33.110368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_54_9372.jpg', '/home/pi/Desktop/images/12042025/16/49/image_12042025_16_50_05_10392.jpg', '/home/pi/Desktop/images/12042025/16/50/image_12042025_16_50_15_10365.jpg', '/home/pi/Desktop/images/12042025/16/50/image_12042025_16_50_24_9368.jpg', '/home/pi/Desktop/images/12042025/16/50/image_12042025_16_50_35_10484.jpg', '/home/pi/Desktop/images/12042025/16/50/image_12042025_16_50_44_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/49/image_12042025_16_49_54_9372.jpg
/home/pi/Desktop/images/12042025/16/49/image_12042025_16_50_05_10392.jpg
/home/pi/Desktop/images/12042025/16/50/image_12042025_16_50_15_10365.jpg
/home/pi/Desktop/images/12042025/16/50/image_12042025_16_50_24_9368.jpg
/home/pi/Desktop/images/12042025/16/50/image_12042025_16_50_35_10484.jpg
/home/pi/Desktop/images/12042025/16/50/image_12042025_16_50_44_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352276143","1352275897","1352276042","1352276009","1352275967","1352276188"],"photo_ids_order":["1352275897","1352275967","1352276009","1352276042","1352276143","1352276188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f8984763396e40c3a7a88eb94f46ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1693839943550934034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477533577,"filename":"image_12042025_16_50_35_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c430c74bba6dd51ce3bbcc77a7468bd.jpg","text":"TemporaryFile(/tmp/multipartBody5447954532363444379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477533577,"filename":"image_12042025_16_49_54_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a8b467317793b9a79ae265165ae2045.jpg","text":"TemporaryFile(/tmp/multipartBody8407572679690603527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477533577,"filename":"image_12042025_16_50_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7bd773d140580aaab47fa33cb8573d0.jpg","text":"TemporaryFile(/tmp/multipartBody586865102399225980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477533577,"filename":"image_12042025_16_50_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0e154998daa9c1bd0ffde835117a131.jpg","text":"TemporaryFile(/tmp/multipartBody7886304742510444972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477533577,"filename":"image_12042025_16_50_05_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b29adefa7f751de35d3c19e56240cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6624798062278375747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477533577,"filename":"image_12042025_16_50_44_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352276009","file1":"1352275967","file0":"1352275897","file4":"1352276143","file5":"1352276188","file3":"1352276042"},"map_files_photo_id_array":[{"photo_id":"1352276188","filename":"file5"},{"photo_id":"1352276009","filename":"file2"},{"photo_id":"1352276143","filename":"file4"},{"photo_id":"1352275967","filename":"file1"},{"photo_id":"1352275897","filename":"file0"},{"photo_id":"1352276042","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352276143":["hashtag1","hashtag2"]},{"1352275897":["hashtag1","hashtag2"]},{"1352276042":["hashtag1","hashtag2"]},{"1352276009":["hashtag1","hashtag2"]},{"1352275967":["hashtag1","hashtag2"]},{"1352276188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352276143, 1352275897, 1352276042, 1352276009, 1352275967, 1352276188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84822392463684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:05:32.284941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/50/image_12042025_16_51_05_10385.jpg', '/home/pi/Desktop/images/12042025/16/51/image_12042025_16_51_14_9365.jpg', '/home/pi/Desktop/images/12042025/16/51/image_12042025_16_51_25_10398.jpg', '/home/pi/Desktop/images/12042025/16/51/image_12042025_16_51_34_9370.jpg', '/home/pi/Desktop/images/12042025/16/51/image_12042025_16_51_45_10473.jpg', '/home/pi/Desktop/images/12042025/16/51/image_12042025_16_52_04_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/50/image_12042025_16_51_05_10385.jpg
/home/pi/Desktop/images/12042025/16/51/image_12042025_16_51_14_9365.jpg
/home/pi/Desktop/images/12042025/16/51/image_12042025_16_51_25_10398.jpg
/home/pi/Desktop/images/12042025/16/51/image_12042025_16_51_34_9370.jpg
/home/pi/Desktop/images/12042025/16/51/image_12042025_16_51_45_10473.jpg
/home/pi/Desktop/images/12042025/16/51/image_12042025_16_52_04_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352276506","1352276484","1352276393","1352276552","1352276441","1352276599"],"photo_ids_order":["1352276393","1352276441","1352276484","1352276506","1352276552","1352276599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba67b2f12285555dcbd5672b0a3977be.jpg","text":"TemporaryFile(/tmp/multipartBody6593411833079380179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477592747,"filename":"image_12042025_16_51_34_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/042ea24e07d13c2601f014dfea161806.jpg","text":"TemporaryFile(/tmp/multipartBody6698231224324899672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477592747,"filename":"image_12042025_16_51_25_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddc6628deb226e6851994726c4a92bfe.jpg","text":"TemporaryFile(/tmp/multipartBody7084606405386400474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477592747,"filename":"image_12042025_16_51_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71a031bdd490751383411fa2771bdab1.jpg","text":"TemporaryFile(/tmp/multipartBody3501698208620951918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477592747,"filename":"image_12042025_16_51_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29858bdbea62c107d497f73b2540f529.jpg","text":"TemporaryFile(/tmp/multipartBody7718926512836057546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477592747,"filename":"image_12042025_16_51_14_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32a67a7623292b07c070bae54d08cba8.jpg","text":"TemporaryFile(/tmp/multipartBody1882534241750667682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477592747,"filename":"image_12042025_16_52_04_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352276484","file1":"1352276441","file0":"1352276393","file4":"1352276552","file5":"1352276599","file3":"1352276506"},"map_files_photo_id_array":[{"photo_id":"1352276599","filename":"file5"},{"photo_id":"1352276484","filename":"file2"},{"photo_id":"1352276552","filename":"file4"},{"photo_id":"1352276441","filename":"file1"},{"photo_id":"1352276393","filename":"file0"},{"photo_id":"1352276506","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352276506":["hashtag1","hashtag2"]},{"1352276484":["hashtag1","hashtag2"]},{"1352276393":["hashtag1","hashtag2"]},{"1352276552":["hashtag1","hashtag2"]},{"1352276441":["hashtag1","hashtag2"]},{"1352276599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352276506, 1352276484, 1352276393, 1352276552, 1352276441, 1352276599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68300437927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:06:32.479095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_15_10354.jpg', '/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_24_9351.jpg', '/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_35_10439.jpg', '/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_45_10335.jpg', '/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_54_9407.jpg', '/home/pi/Desktop/images/12042025/16/52/image_12042025_16_53_05_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_15_10354.jpg
/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_24_9351.jpg
/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_35_10439.jpg
/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_45_10335.jpg
/home/pi/Desktop/images/12042025/16/52/image_12042025_16_52_54_9407.jpg
/home/pi/Desktop/images/12042025/16/52/image_12042025_16_53_05_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352276874","1352276997","1352276961","1352276908","1352276847","1352277040"],"photo_ids_order":["1352276847","1352276874","1352276908","1352276961","1352276997","1352277040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bb45ac24d8bd5b5c57323895485ee84.jpg","text":"TemporaryFile(/tmp/multipartBody3684480451319159461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477652971,"filename":"image_12042025_16_52_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f39072aaa4f55d5c09f932a25631df5.jpg","text":"TemporaryFile(/tmp/multipartBody3025109040981839452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477652971,"filename":"image_12042025_16_52_54_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2581075c5ddc9e5392d4bd58947232f.jpg","text":"TemporaryFile(/tmp/multipartBody6650501948245542680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477652971,"filename":"image_12042025_16_52_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5f480e3f569cf63fed269b05b0a937b.jpg","text":"TemporaryFile(/tmp/multipartBody5674705007765192407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477652971,"filename":"image_12042025_16_52_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0cae6c5c629b8dcdb077aaa5acedadd.jpg","text":"TemporaryFile(/tmp/multipartBody5109780372719503257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477652971,"filename":"image_12042025_16_52_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc2452f466e3222d848fde4671115707.jpg","text":"TemporaryFile(/tmp/multipartBody777362339901938088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477652971,"filename":"image_12042025_16_53_05_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352276908","file1":"1352276874","file0":"1352276847","file4":"1352276997","file5":"1352277040","file3":"1352276961"},"map_files_photo_id_array":[{"photo_id":"1352277040","filename":"file5"},{"photo_id":"1352276908","filename":"file2"},{"photo_id":"1352276997","filename":"file4"},{"photo_id":"1352276874","filename":"file1"},{"photo_id":"1352276847","filename":"file0"},{"photo_id":"1352276961","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352276874":["hashtag1","hashtag2"]},{"1352276997":["hashtag1","hashtag2"]},{"1352276961":["hashtag1","hashtag2"]},{"1352276908":["hashtag1","hashtag2"]},{"1352276847":["hashtag1","hashtag2"]},{"1352277040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352276874, 1352276997, 1352276961, 1352276908, 1352276847, 1352277040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.406888246536255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:07:32.796657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_14_9437.jpg', '/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_25_10381.jpg', '/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_35_10380.jpg', '/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_44_9371.jpg', '/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_55_10363.jpg', '/home/pi/Desktop/images/12042025/16/53/image_12042025_16_54_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_14_9437.jpg
/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_25_10381.jpg
/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_35_10380.jpg
/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_44_9371.jpg
/home/pi/Desktop/images/12042025/16/53/image_12042025_16_53_55_10363.jpg
/home/pi/Desktop/images/12042025/16/53/image_12042025_16_54_05_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352277294","1352277639","1352277249","1352277350","1352277589","1352277403"],"photo_ids_order":["1352277249","1352277294","1352277350","1352277403","1352277589","1352277639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e63eeea99c081a400ed3f29d3fa83809.jpg","text":"TemporaryFile(/tmp/multipartBody4041035190828309973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477713274,"filename":"image_12042025_16_53_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/718686b1464e6a30cfa18388f0ae14fc.jpg","text":"TemporaryFile(/tmp/multipartBody5082979106077566686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477713274,"filename":"image_12042025_16_54_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69e03ee723ca6126a51dde937bdba76f.jpg","text":"TemporaryFile(/tmp/multipartBody4276457797876456756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477713274,"filename":"image_12042025_16_53_14_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44a4b7b26bc34eb0c5a26b87996662f1.jpg","text":"TemporaryFile(/tmp/multipartBody2271808672650771191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477713274,"filename":"image_12042025_16_53_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42201830cb7f5128e9ac34ff7026553e.jpg","text":"TemporaryFile(/tmp/multipartBody7919053352932776613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477713274,"filename":"image_12042025_16_53_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fe53d4ad6e857383941763e6b9a3884.jpg","text":"TemporaryFile(/tmp/multipartBody4816640995004778654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477713274,"filename":"image_12042025_16_53_44_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352277350","file1":"1352277294","file0":"1352277249","file4":"1352277589","file5":"1352277639","file3":"1352277403"},"map_files_photo_id_array":[{"photo_id":"1352277639","filename":"file5"},{"photo_id":"1352277350","filename":"file2"},{"photo_id":"1352277589","filename":"file4"},{"photo_id":"1352277294","filename":"file1"},{"photo_id":"1352277249","filename":"file0"},{"photo_id":"1352277403","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352277294":["hashtag1","hashtag2"]},{"1352277639":["hashtag1","hashtag2"]},{"1352277249":["hashtag1","hashtag2"]},{"1352277350":["hashtag1","hashtag2"]},{"1352277589":["hashtag1","hashtag2"]},{"1352277403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352277294, 1352277639, 1352277249, 1352277350, 1352277589, 1352277403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.50046730041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:08:32.971001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_14_9452.jpg', '/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_25_10432.jpg', '/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_34_9376.jpg', '/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_45_10380.jpg', '/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_55_10346.jpg', '/home/pi/Desktop/images/12042025/16/54/image_12042025_16_55_04_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_14_9452.jpg
/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_25_10432.jpg
/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_34_9376.jpg
/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_45_10380.jpg
/home/pi/Desktop/images/12042025/16/54/image_12042025_16_54_55_10346.jpg
/home/pi/Desktop/images/12042025/16/54/image_12042025_16_55_04_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352277963","1352277899","1352277809","1352277839","1352277784","1352277763"],"photo_ids_order":["1352277763","1352277784","1352277809","1352277839","1352277899","1352277963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7becff94eb8b8517e09496e3abb846d7.jpg","text":"TemporaryFile(/tmp/multipartBody7878315229223670477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477773442,"filename":"image_12042025_16_55_04_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6f627408594104ad9c087fab043f6a0.jpg","text":"TemporaryFile(/tmp/multipartBody1561320229811333468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477773442,"filename":"image_12042025_16_54_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65013febb5cb15a6612f0bcb354a05a4.jpg","text":"TemporaryFile(/tmp/multipartBody8277994848705431898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477773442,"filename":"image_12042025_16_54_34_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/225492f09462f12725027fd1b7ab009b.jpg","text":"TemporaryFile(/tmp/multipartBody3078320719732960001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477773442,"filename":"image_12042025_16_54_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5bd5dd66c953fc6fea0796e3810f246.jpg","text":"TemporaryFile(/tmp/multipartBody3997716625151439078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477773442,"filename":"image_12042025_16_54_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a31700c7da57f7e3f09efa0b681bc22c.jpg","text":"TemporaryFile(/tmp/multipartBody6178971467706174457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477773442,"filename":"image_12042025_16_54_14_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352277809","file1":"1352277784","file0":"1352277763","file4":"1352277899","file5":"1352277963","file3":"1352277839"},"map_files_photo_id_array":[{"photo_id":"1352277963","filename":"file5"},{"photo_id":"1352277809","filename":"file2"},{"photo_id":"1352277899","filename":"file4"},{"photo_id":"1352277784","filename":"file1"},{"photo_id":"1352277763","filename":"file0"},{"photo_id":"1352277839","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352277963":["hashtag1","hashtag2"]},{"1352277899":["hashtag1","hashtag2"]},{"1352277809":["hashtag1","hashtag2"]},{"1352277839":["hashtag1","hashtag2"]},{"1352277784":["hashtag1","hashtag2"]},{"1352277763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352277963, 1352277899, 1352277809, 1352277839, 1352277784, 1352277763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.623183012008667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:09:33.282581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_15_10472.jpg', '/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_24_9372.jpg', '/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_35_10479.jpg', '/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_44_9387.jpg', '/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_55_10372.jpg', '/home/pi/Desktop/images/12042025/16/55/image_12042025_16_56_05_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_15_10472.jpg
/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_24_9372.jpg
/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_35_10479.jpg
/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_44_9387.jpg
/home/pi/Desktop/images/12042025/16/55/image_12042025_16_55_55_10372.jpg
/home/pi/Desktop/images/12042025/16/55/image_12042025_16_56_05_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352278583","1352278730","1352278655","1352278625","1352278690","1352278720"],"photo_ids_order":["1352278583","1352278625","1352278655","1352278690","1352278720","1352278730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbe988f98c050d4d543679efc02468fe.jpg","text":"TemporaryFile(/tmp/multipartBody6479686009340677638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477833759,"filename":"image_12042025_16_55_15_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a11473fe001d1afb36df121183d1ead7.jpg","text":"TemporaryFile(/tmp/multipartBody5746102496224601683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477833759,"filename":"image_12042025_16_56_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4486ff92c9f739ca00b7c615e7e7d0f9.jpg","text":"TemporaryFile(/tmp/multipartBody8901356206748166371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477833759,"filename":"image_12042025_16_55_35_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b273fedb3e90097576604a1edc618e55.jpg","text":"TemporaryFile(/tmp/multipartBody7234852020615549225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477833759,"filename":"image_12042025_16_55_24_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f93f6c88ce37e9c3a15889408cc38539.jpg","text":"TemporaryFile(/tmp/multipartBody8371371433388643837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477833759,"filename":"image_12042025_16_55_44_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b6bd4740d77e5f0c8efde328f9358cb.jpg","text":"TemporaryFile(/tmp/multipartBody4545199531716338943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477833759,"filename":"image_12042025_16_55_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352278655","file1":"1352278625","file0":"1352278583","file4":"1352278720","file5":"1352278730","file3":"1352278690"},"map_files_photo_id_array":[{"photo_id":"1352278730","filename":"file5"},{"photo_id":"1352278655","filename":"file2"},{"photo_id":"1352278720","filename":"file4"},{"photo_id":"1352278625","filename":"file1"},{"photo_id":"1352278583","filename":"file0"},{"photo_id":"1352278690","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352278583":["hashtag1","hashtag2"]},{"1352278730":["hashtag1","hashtag2"]},{"1352278655":["hashtag1","hashtag2"]},{"1352278625":["hashtag1","hashtag2"]},{"1352278690":["hashtag1","hashtag2"]},{"1352278720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352278583, 1352278730, 1352278655, 1352278625, 1352278690, 1352278720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.37350273132324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:10:32.446118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_14_9339.jpg', '/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_25_10436.jpg', '/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_34_9362.jpg', '/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_45_10460.jpg', '/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_55_10470.jpg', '/home/pi/Desktop/images/12042025/16/56/image_12042025_16_57_04_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_14_9339.jpg
/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_25_10436.jpg
/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_34_9362.jpg
/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_45_10460.jpg
/home/pi/Desktop/images/12042025/16/56/image_12042025_16_56_55_10470.jpg
/home/pi/Desktop/images/12042025/16/56/image_12042025_16_57_04_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352278892","1352279057","1352279009","1352278921","1352278962","1352278854"],"photo_ids_order":["1352278854","1352278892","1352278921","1352278962","1352279009","1352279057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1421d03903ca087ad7e3f8a049c29e8.jpg","text":"TemporaryFile(/tmp/multipartBody9008321339181520987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477892921,"filename":"image_12042025_16_56_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f36b24457281270a4c072e1acf36419.jpg","text":"TemporaryFile(/tmp/multipartBody6298133615070481009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477892921,"filename":"image_12042025_16_57_04_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db894f0a2479511b0dccabfb7b0d5403.jpg","text":"TemporaryFile(/tmp/multipartBody8548827988395585127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477892921,"filename":"image_12042025_16_56_55_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0875836726f029ce1770e04b9bcc6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6707146591329747613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477892921,"filename":"image_12042025_16_56_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c50e462f56dc5ccdf0e93aafccdc72b.jpg","text":"TemporaryFile(/tmp/multipartBody5646600805202744109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477892921,"filename":"image_12042025_16_56_45_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a979a9024339c1d8199ac8daff1d7f0.jpg","text":"TemporaryFile(/tmp/multipartBody3413860099272352546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477892921,"filename":"image_12042025_16_56_14_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352278921","file1":"1352278892","file0":"1352278854","file4":"1352279009","file5":"1352279057","file3":"1352278962"},"map_files_photo_id_array":[{"photo_id":"1352279057","filename":"file5"},{"photo_id":"1352278921","filename":"file2"},{"photo_id":"1352279009","filename":"file4"},{"photo_id":"1352278892","filename":"file1"},{"photo_id":"1352278854","filename":"file0"},{"photo_id":"1352278962","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352278892":["hashtag1","hashtag2"]},{"1352279057":["hashtag1","hashtag2"]},{"1352279009":["hashtag1","hashtag2"]},{"1352278921":["hashtag1","hashtag2"]},{"1352278962":["hashtag1","hashtag2"]},{"1352278854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352278892, 1352279057, 1352279009, 1352278921, 1352278962, 1352278854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.547478675842285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:11:32.788301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_15_10366.jpg', '/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_24_9376.jpg', '/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_35_10359.jpg', '/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_45_10365.jpg', '/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_54_9371.jpg', '/home/pi/Desktop/images/12042025/16/57/image_12042025_16_58_05_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_15_10366.jpg
/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_24_9376.jpg
/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_35_10359.jpg
/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_45_10365.jpg
/home/pi/Desktop/images/12042025/16/57/image_12042025_16_57_54_9371.jpg
/home/pi/Desktop/images/12042025/16/57/image_12042025_16_58_05_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352279202","1352279195","1352279204","1352279200","1352279196","1352279198"],"photo_ids_order":["1352279195","1352279196","1352279198","1352279200","1352279202","1352279204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3378f2da0087f078c4111c235b752eba.jpg","text":"TemporaryFile(/tmp/multipartBody6871020763484857094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477953263,"filename":"image_12042025_16_57_54_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b895fd30c3bfaf70bf484daff0017be1.jpg","text":"TemporaryFile(/tmp/multipartBody4594545478981936314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477953263,"filename":"image_12042025_16_57_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d28fd832ea839d188a91ab0301692631.jpg","text":"TemporaryFile(/tmp/multipartBody1340193222270762295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477953263,"filename":"image_12042025_16_58_05_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77c7529784c59f241e1e61d18cd4ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody7368916297636407042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477953263,"filename":"image_12042025_16_57_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fabc848393a5f5e10d0ef1210ee4c5e.jpg","text":"TemporaryFile(/tmp/multipartBody945786240002061944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477953263,"filename":"image_12042025_16_57_24_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e6ba515c39c2d11dfc8071c1b8a88ad.jpg","text":"TemporaryFile(/tmp/multipartBody2372370543169143419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744477953263,"filename":"image_12042025_16_57_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352279198","file1":"1352279196","file0":"1352279195","file4":"1352279202","file5":"1352279204","file3":"1352279200"},"map_files_photo_id_array":[{"photo_id":"1352279204","filename":"file5"},{"photo_id":"1352279198","filename":"file2"},{"photo_id":"1352279202","filename":"file4"},{"photo_id":"1352279196","filename":"file1"},{"photo_id":"1352279195","filename":"file0"},{"photo_id":"1352279200","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352279202":["hashtag1","hashtag2"]},{"1352279195":["hashtag1","hashtag2"]},{"1352279204":["hashtag1","hashtag2"]},{"1352279200":["hashtag1","hashtag2"]},{"1352279196":["hashtag1","hashtag2"]},{"1352279198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352279202, 1352279195, 1352279204, 1352279200, 1352279196, 1352279198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.514785051345825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:12:33.019139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/58/image_12042025_16_58_14_9341.jpg', '/home/pi/Desktop/images/12042025/16/58/image_12042025_16_58_44_9370.jpg', '/home/pi/Desktop/images/12042025/16/58/image_12042025_16_58_55_10379.jpg', '/home/pi/Desktop/images/12042025/16/58/image_12042025_16_59_05_10364.jpg', '/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_15_9436.jpg', '/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_25_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/58/image_12042025_16_58_14_9341.jpg
/home/pi/Desktop/images/12042025/16/58/image_12042025_16_58_44_9370.jpg
/home/pi/Desktop/images/12042025/16/58/image_12042025_16_58_55_10379.jpg
/home/pi/Desktop/images/12042025/16/58/image_12042025_16_59_05_10364.jpg
/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_15_9436.jpg
/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_25_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352279316","1352279279","1352279255","1352279365","1352279340","1352279396"],"photo_ids_order":["1352279255","1352279279","1352279316","1352279340","1352279365","1352279396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b25a518289af23d3c51392418f8d7962.jpg","text":"TemporaryFile(/tmp/multipartBody4949605037964179097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478013490,"filename":"image_12042025_16_58_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e9a3d4390548c1dec80d9c42e6e6975.jpg","text":"TemporaryFile(/tmp/multipartBody2649525246496888771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478013490,"filename":"image_12042025_16_58_44_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/465d204d70f8ade3ce080f7a397aabf7.jpg","text":"TemporaryFile(/tmp/multipartBody7691478011903715733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478013490,"filename":"image_12042025_16_58_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09a8caaf5dcc6d12a3835e56d6dda282.jpg","text":"TemporaryFile(/tmp/multipartBody2471639876608790467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478013490,"filename":"image_12042025_16_59_15_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70f828ad9085497b1d4bce724ec4ff54.jpg","text":"TemporaryFile(/tmp/multipartBody8908614582311633379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478013490,"filename":"image_12042025_16_59_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa88529ecc2bd76685aaa01f6d049957.jpg","text":"TemporaryFile(/tmp/multipartBody5613838951036459700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478013490,"filename":"image_12042025_16_59_25_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352279316","file1":"1352279279","file0":"1352279255","file4":"1352279365","file5":"1352279396","file3":"1352279340"},"map_files_photo_id_array":[{"photo_id":"1352279396","filename":"file5"},{"photo_id":"1352279316","filename":"file2"},{"photo_id":"1352279365","filename":"file4"},{"photo_id":"1352279279","filename":"file1"},{"photo_id":"1352279255","filename":"file0"},{"photo_id":"1352279340","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352279316":["hashtag1","hashtag2"]},{"1352279279":["hashtag1","hashtag2"]},{"1352279255":["hashtag1","hashtag2"]},{"1352279365":["hashtag1","hashtag2"]},{"1352279340":["hashtag1","hashtag2"]},{"1352279396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352279316, 1352279279, 1352279255, 1352279365, 1352279340, 1352279396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.085546255111694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:13:32.247515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_34_9369.jpg', '/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_45_10412.jpg', '/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_55_10373.jpg', '/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_16_10069.jpg', '/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_27_10500.jpg', '/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_36_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_34_9369.jpg
/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_45_10412.jpg
/home/pi/Desktop/images/12042025/16/59/image_12042025_16_59_55_10373.jpg
/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_16_10069.jpg
/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_27_10500.jpg
/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_36_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352279564","1352279612","1352279539","1352279514","1352279625","1352279588"],"photo_ids_order":["1352279514","1352279539","1352279564","1352279588","1352279612","1352279625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39cc7912986538b105cf6f73856859bb.jpg","text":"TemporaryFile(/tmp/multipartBody3991129423956782229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478072714,"filename":"image_12042025_16_59_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f5ca004930dcc374b77e96d0316e66e0.jpg","text":"TemporaryFile(/tmp/multipartBody3187624589110087542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478072714,"filename":"image_12042025_17_00_27_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/039d0c65acd0ad6b3d2efe01cbcbf17e.jpg","text":"TemporaryFile(/tmp/multipartBody3680343081567762744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478072714,"filename":"image_12042025_16_59_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4586f1c6d7ef3181d1372b167a7dba91.jpg","text":"TemporaryFile(/tmp/multipartBody1291280618308803441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478072714,"filename":"image_12042025_16_59_34_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2ccc5bc351c837ca7f2401370ee573a.jpg","text":"TemporaryFile(/tmp/multipartBody5140960871336093269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478072714,"filename":"image_12042025_17_00_36_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69864307dfb025dd8441e30f5463a405.jpg","text":"TemporaryFile(/tmp/multipartBody5066543502996378229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478072714,"filename":"image_12042025_17_00_16_10069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352279564","file1":"1352279539","file0":"1352279514","file4":"1352279612","file5":"1352279625","file3":"1352279588"},"map_files_photo_id_array":[{"photo_id":"1352279625","filename":"file5"},{"photo_id":"1352279564","filename":"file2"},{"photo_id":"1352279612","filename":"file4"},{"photo_id":"1352279539","filename":"file1"},{"photo_id":"1352279514","filename":"file0"},{"photo_id":"1352279588","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352279564":["hashtag1","hashtag2"]},{"1352279612":["hashtag1","hashtag2"]},{"1352279539":["hashtag1","hashtag2"]},{"1352279514":["hashtag1","hashtag2"]},{"1352279625":["hashtag1","hashtag2"]},{"1352279588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352279564, 1352279612, 1352279539, 1352279514, 1352279625, 1352279588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.072717905044556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:14:32.399481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_47_10483.jpg', '/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_57_10449.jpg', '/home/pi/Desktop/images/12042025/17/00/image_12042025_17_01_07_9523.jpg', '/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_17_10367.jpg', '/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_26_9411.jpg', '/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_37_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_47_10483.jpg
/home/pi/Desktop/images/12042025/17/00/image_12042025_17_00_57_10449.jpg
/home/pi/Desktop/images/12042025/17/00/image_12042025_17_01_07_9523.jpg
/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_17_10367.jpg
/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_26_9411.jpg
/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_37_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280033","1352280129","1352280114","1352280074","1352280091","1352280016"],"photo_ids_order":["1352280016","1352280033","1352280074","1352280091","1352280114","1352280129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3b2b0b3f62537a623fe8f7ccaf8ddbf.jpg","text":"TemporaryFile(/tmp/multipartBody5697992363777653657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478132885,"filename":"image_12042025_17_00_57_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fea44167126f4b93b8267ebd39069eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8707926979813179098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478132885,"filename":"image_12042025_17_01_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/956610ff1277d384cc1617607ccb390a.jpg","text":"TemporaryFile(/tmp/multipartBody8740618091600227043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478132885,"filename":"image_12042025_17_01_26_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47f8227d6074db3f1c2a74fb118f6b56.jpg","text":"TemporaryFile(/tmp/multipartBody7154349967031302488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478132885,"filename":"image_12042025_17_01_07_9523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b55aab138766545aa600b19bcce77e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6689940572314752971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478132885,"filename":"image_12042025_17_01_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce54a251f4465387c2ea523c0d37c44c.jpg","text":"TemporaryFile(/tmp/multipartBody3556073190532035801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478132885,"filename":"image_12042025_17_00_47_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280074","file1":"1352280033","file0":"1352280016","file4":"1352280114","file5":"1352280129","file3":"1352280091"},"map_files_photo_id_array":[{"photo_id":"1352280129","filename":"file5"},{"photo_id":"1352280074","filename":"file2"},{"photo_id":"1352280114","filename":"file4"},{"photo_id":"1352280033","filename":"file1"},{"photo_id":"1352280016","filename":"file0"},{"photo_id":"1352280091","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280033":["hashtag1","hashtag2"]},{"1352280129":["hashtag1","hashtag2"]},{"1352280114":["hashtag1","hashtag2"]},{"1352280074":["hashtag1","hashtag2"]},{"1352280091":["hashtag1","hashtag2"]},{"1352280016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280033, 1352280129, 1352280114, 1352280074, 1352280091, 1352280016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70836877822876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:15:32.655773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_47_10357.jpg', '/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_57_9361.jpg', '/home/pi/Desktop/images/12042025/17/01/image_12042025_17_02_07_10387.jpg', '/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_16_9360.jpg', '/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_27_10442.jpg', '/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_36_9542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_47_10357.jpg
/home/pi/Desktop/images/12042025/17/01/image_12042025_17_01_57_9361.jpg
/home/pi/Desktop/images/12042025/17/01/image_12042025_17_02_07_10387.jpg
/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_16_9360.jpg
/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_27_10442.jpg
/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_36_9542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280159","1352280150","1352280160","1352280153","1352280162","1352280156"],"photo_ids_order":["1352280150","1352280153","1352280156","1352280159","1352280160","1352280162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/202c5607c830e8dcf562f16ff0a086b6.jpg","text":"TemporaryFile(/tmp/multipartBody6998108859959226957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478193213,"filename":"image_12042025_17_02_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb03e65ac2b8fb06fca6a5b3be9cf7d8.jpg","text":"TemporaryFile(/tmp/multipartBody8345648720577401781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478193213,"filename":"image_12042025_17_01_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31bf945e08b4af6fc49e02a27bc4352e.jpg","text":"TemporaryFile(/tmp/multipartBody4913487152482953229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478193213,"filename":"image_12042025_17_02_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eec1635319997baa7cd53c98e00c1998.jpg","text":"TemporaryFile(/tmp/multipartBody3289237691465566658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478193213,"filename":"image_12042025_17_01_57_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db6cd834d331fd8d079d5341da010c98.jpg","text":"TemporaryFile(/tmp/multipartBody4101948746386021897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478193213,"filename":"image_12042025_17_02_36_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b75754d49ae0fcf36ea60f07c649e15d.jpg","text":"TemporaryFile(/tmp/multipartBody1103496919678869001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478193213,"filename":"image_12042025_17_02_07_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280156","file1":"1352280153","file0":"1352280150","file4":"1352280160","file5":"1352280162","file3":"1352280159"},"map_files_photo_id_array":[{"photo_id":"1352280162","filename":"file5"},{"photo_id":"1352280156","filename":"file2"},{"photo_id":"1352280160","filename":"file4"},{"photo_id":"1352280153","filename":"file1"},{"photo_id":"1352280150","filename":"file0"},{"photo_id":"1352280159","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280159":["hashtag1","hashtag2"]},{"1352280150":["hashtag1","hashtag2"]},{"1352280160":["hashtag1","hashtag2"]},{"1352280153":["hashtag1","hashtag2"]},{"1352280162":["hashtag1","hashtag2"]},{"1352280156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280159, 1352280150, 1352280160, 1352280153, 1352280162, 1352280156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.833861827850342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:16:32.943348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_46_10062.jpg', '/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_57_10469.jpg', '/home/pi/Desktop/images/12042025/17/02/image_12042025_17_03_06_9615.jpg', '/home/pi/Desktop/images/12042025/17/03/image_12042025_17_03_17_10453.jpg', '/home/pi/Desktop/images/12042025/17/03/image_12042025_17_03_37_10484.jpg', '/home/pi/Desktop/images/12042025/17/03/image_12042025_17_03_47_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_46_10062.jpg
/home/pi/Desktop/images/12042025/17/02/image_12042025_17_02_57_10469.jpg
/home/pi/Desktop/images/12042025/17/02/image_12042025_17_03_06_9615.jpg
/home/pi/Desktop/images/12042025/17/03/image_12042025_17_03_17_10453.jpg
/home/pi/Desktop/images/12042025/17/03/image_12042025_17_03_37_10484.jpg
/home/pi/Desktop/images/12042025/17/03/image_12042025_17_03_47_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280179","1352280176","1352280181","1352280178","1352280180","1352280174"],"photo_ids_order":["1352280174","1352280176","1352280178","1352280179","1352280180","1352280181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/784821cf49a9ae6b66b41d3fe262d7d0.jpg","text":"TemporaryFile(/tmp/multipartBody3247847414419510599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478253428,"filename":"image_12042025_17_03_17_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/771a54617b87943edb0ea96162fed7ad.jpg","text":"TemporaryFile(/tmp/multipartBody8343940446478347214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478253428,"filename":"image_12042025_17_02_57_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b82277614a92e4258d9526c3385dce07.jpg","text":"TemporaryFile(/tmp/multipartBody7510693844565438830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478253428,"filename":"image_12042025_17_03_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e4cee352db0fc16803ba4050be61fac.jpg","text":"TemporaryFile(/tmp/multipartBody7076033651765115041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478253428,"filename":"image_12042025_17_03_06_9615.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b23eb2dbc983ba23ceb5e4c09a23959.jpg","text":"TemporaryFile(/tmp/multipartBody5675039761285620346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478253428,"filename":"image_12042025_17_03_37_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5f20170b1a89ca231d941a03da9a5e1.jpg","text":"TemporaryFile(/tmp/multipartBody3189481787490218528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478253428,"filename":"image_12042025_17_02_46_10062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280178","file1":"1352280176","file0":"1352280174","file4":"1352280180","file5":"1352280181","file3":"1352280179"},"map_files_photo_id_array":[{"photo_id":"1352280181","filename":"file5"},{"photo_id":"1352280178","filename":"file2"},{"photo_id":"1352280180","filename":"file4"},{"photo_id":"1352280176","filename":"file1"},{"photo_id":"1352280174","filename":"file0"},{"photo_id":"1352280179","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280179":["hashtag1","hashtag2"]},{"1352280176":["hashtag1","hashtag2"]},{"1352280181":["hashtag1","hashtag2"]},{"1352280178":["hashtag1","hashtag2"]},{"1352280180":["hashtag1","hashtag2"]},{"1352280174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280179, 1352280176, 1352280181, 1352280178, 1352280180, 1352280174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5254762172699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:17:32.203891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/03/image_12042025_17_03_56_9396.jpg', '/home/pi/Desktop/images/12042025/17/03/image_12042025_17_04_07_10362.jpg', '/home/pi/Desktop/images/12042025/17/04/image_12042025_17_04_16_9423.jpg', '/home/pi/Desktop/images/12042025/17/04/image_12042025_17_04_27_10451.jpg', '/home/pi/Desktop/images/12042025/17/04/image_12042025_17_04_37_10372.jpg', '/home/pi/Desktop/images/12042025/17/04/image_12042025_17_04_57_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/03/image_12042025_17_03_56_9396.jpg
/home/pi/Desktop/images/12042025/17/03/image_12042025_17_04_07_10362.jpg
/home/pi/Desktop/images/12042025/17/04/image_12042025_17_04_16_9423.jpg
/home/pi/Desktop/images/12042025/17/04/image_12042025_17_04_27_10451.jpg
/home/pi/Desktop/images/12042025/17/04/image_12042025_17_04_37_10372.jpg
/home/pi/Desktop/images/12042025/17/04/image_12042025_17_04_57_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280197","1352280201","1352280191","1352280193","1352280199","1352280195"],"photo_ids_order":["1352280191","1352280193","1352280195","1352280197","1352280199","1352280201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5729dc161a5d84cb124c9e01bd3e6bc2.jpg","text":"TemporaryFile(/tmp/multipartBody3232778339323522574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478312670,"filename":"image_12042025_17_04_27_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f762368bbcb6b4a366c458b047a1daff.jpg","text":"TemporaryFile(/tmp/multipartBody1573474869974534553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478312670,"filename":"image_12042025_17_04_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa6e8c43d81d5eeb21052c3581214c73.jpg","text":"TemporaryFile(/tmp/multipartBody3418271482477713734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478312670,"filename":"image_12042025_17_03_56_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fa00f86e8e65225abc36c21f3b486307.jpg","text":"TemporaryFile(/tmp/multipartBody9137291568793300763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478312670,"filename":"image_12042025_17_04_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fafc39a033a51b8d0f7ed77fa0d3bdc1.jpg","text":"TemporaryFile(/tmp/multipartBody6871571872606256294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478312670,"filename":"image_12042025_17_04_37_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3638ffcd36623b3ba1377ad9f268a2f0.jpg","text":"TemporaryFile(/tmp/multipartBody9174812030959311073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478312670,"filename":"image_12042025_17_04_16_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280195","file1":"1352280193","file0":"1352280191","file4":"1352280199","file5":"1352280201","file3":"1352280197"},"map_files_photo_id_array":[{"photo_id":"1352280201","filename":"file5"},{"photo_id":"1352280195","filename":"file2"},{"photo_id":"1352280199","filename":"file4"},{"photo_id":"1352280193","filename":"file1"},{"photo_id":"1352280191","filename":"file0"},{"photo_id":"1352280197","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280197":["hashtag1","hashtag2"]},{"1352280201":["hashtag1","hashtag2"]},{"1352280191":["hashtag1","hashtag2"]},{"1352280193":["hashtag1","hashtag2"]},{"1352280199":["hashtag1","hashtag2"]},{"1352280195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280197, 1352280201, 1352280191, 1352280193, 1352280199, 1352280195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.424694776535034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:18:32.598896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/04/image_12042025_17_05_06_9411.jpg', '/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_17_10355.jpg', '/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_27_10418.jpg', '/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_37_9481.jpg', '/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_47_10484.jpg', '/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_57_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/04/image_12042025_17_05_06_9411.jpg
/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_17_10355.jpg
/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_27_10418.jpg
/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_37_9481.jpg
/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_47_10484.jpg
/home/pi/Desktop/images/12042025/17/05/image_12042025_17_05_57_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280345","1352280299","1352280350","1352280274","1352280349","1352280322"],"photo_ids_order":["1352280274","1352280299","1352280322","1352280345","1352280349","1352280350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82d320c6569c3cd0eb5c2719f5bd729b.jpg","text":"TemporaryFile(/tmp/multipartBody645780602903447389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478373072,"filename":"image_12042025_17_05_37_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c90179d6ffa6579d621fad538736a310.jpg","text":"TemporaryFile(/tmp/multipartBody7377741961984386520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478373072,"filename":"image_12042025_17_05_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddae9dd3d02008d6f7da6da7073fb56f.jpg","text":"TemporaryFile(/tmp/multipartBody2572009448224662303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478373072,"filename":"image_12042025_17_05_57_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2473046f8b41a29e106d49b767b405d.jpg","text":"TemporaryFile(/tmp/multipartBody8534555405555114023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478373072,"filename":"image_12042025_17_05_06_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fd4bf5570fdde734368b313912ad736.jpg","text":"TemporaryFile(/tmp/multipartBody480443114446720656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478373072,"filename":"image_12042025_17_05_47_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5e6fd7b73af3428fe3296c29c58975c.jpg","text":"TemporaryFile(/tmp/multipartBody5296689441119967179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478373072,"filename":"image_12042025_17_05_27_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280322","file1":"1352280299","file0":"1352280274","file4":"1352280349","file5":"1352280350","file3":"1352280345"},"map_files_photo_id_array":[{"photo_id":"1352280350","filename":"file5"},{"photo_id":"1352280322","filename":"file2"},{"photo_id":"1352280349","filename":"file4"},{"photo_id":"1352280299","filename":"file1"},{"photo_id":"1352280274","filename":"file0"},{"photo_id":"1352280345","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280345":["hashtag1","hashtag2"]},{"1352280299":["hashtag1","hashtag2"]},{"1352280350":["hashtag1","hashtag2"]},{"1352280274":["hashtag1","hashtag2"]},{"1352280349":["hashtag1","hashtag2"]},{"1352280322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280345, 1352280299, 1352280350, 1352280274, 1352280349, 1352280322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49786686897278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:19:32.704128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/05/image_12042025_17_06_07_10370.jpg', '/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_16_9389.jpg', '/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_27_10400.jpg', '/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_37_10470.jpg', '/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_47_9358.jpg', '/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_57_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/05/image_12042025_17_06_07_10370.jpg
/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_16_9389.jpg
/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_27_10400.jpg
/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_37_10470.jpg
/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_47_9358.jpg
/home/pi/Desktop/images/12042025/17/06/image_12042025_17_06_57_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280462","1352280464","1352280443","1352280448","1352280463","1352280418"],"photo_ids_order":["1352280418","1352280443","1352280448","1352280462","1352280463","1352280464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd1deec2d45dd728314862757ee9be80.jpg","text":"TemporaryFile(/tmp/multipartBody2069321203695309633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478433235,"filename":"image_12042025_17_06_37_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38822c3cd3f705077f44663f3124817a.jpg","text":"TemporaryFile(/tmp/multipartBody6815885617071607396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478433235,"filename":"image_12042025_17_06_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/986c9a1f9ee8b2bdea75fb54f7d868bf.jpg","text":"TemporaryFile(/tmp/multipartBody5188752913698090028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478433235,"filename":"image_12042025_17_06_16_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d9e08d9ada4a4de398e123bda6872cf.jpg","text":"TemporaryFile(/tmp/multipartBody2634472236758200982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478433235,"filename":"image_12042025_17_06_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61004bf6a4a0c0cbaa99e44b5e3d47bb.jpg","text":"TemporaryFile(/tmp/multipartBody4426817429713818920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478433235,"filename":"image_12042025_17_06_47_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d480b831c3b52ff9b4ad024ca9dd805.jpg","text":"TemporaryFile(/tmp/multipartBody5018626592282392539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478433235,"filename":"image_12042025_17_06_07_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280448","file1":"1352280443","file0":"1352280418","file4":"1352280463","file5":"1352280464","file3":"1352280462"},"map_files_photo_id_array":[{"photo_id":"1352280464","filename":"file5"},{"photo_id":"1352280448","filename":"file2"},{"photo_id":"1352280463","filename":"file4"},{"photo_id":"1352280443","filename":"file1"},{"photo_id":"1352280418","filename":"file0"},{"photo_id":"1352280462","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280462":["hashtag1","hashtag2"]},{"1352280464":["hashtag1","hashtag2"]},{"1352280443":["hashtag1","hashtag2"]},{"1352280448":["hashtag1","hashtag2"]},{"1352280463":["hashtag1","hashtag2"]},{"1352280418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280462, 1352280464, 1352280443, 1352280448, 1352280463, 1352280418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99399709701538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:20:33.132202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/06/image_12042025_17_07_06_9350.jpg', '/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_17_10414.jpg', '/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_27_10453.jpg', '/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_37_9456.jpg', '/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_47_10375.jpg', '/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_56_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/06/image_12042025_17_07_06_9350.jpg
/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_17_10414.jpg
/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_27_10453.jpg
/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_37_9456.jpg
/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_47_10375.jpg
/home/pi/Desktop/images/12042025/17/07/image_12042025_17_07_56_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280618","1352280605","1352280592","1352280574","1352280582","1352280558"],"photo_ids_order":["1352280558","1352280574","1352280582","1352280592","1352280605","1352280618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d8623bf83b2e2991c14831a42908555.jpg","text":"TemporaryFile(/tmp/multipartBody143560657541144899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478493600,"filename":"image_12042025_17_07_56_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4d524d5bae99127d5ee973d5fe22ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8638764509288697077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478493600,"filename":"image_12042025_17_07_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bab6d8bcc8c40111c15a19b5d90eb292.jpg","text":"TemporaryFile(/tmp/multipartBody5669518150146600863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478493600,"filename":"image_12042025_17_07_37_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b84645cf8535b4fdd2204471c6f8f42.jpg","text":"TemporaryFile(/tmp/multipartBody8436713251724382424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478493600,"filename":"image_12042025_17_07_17_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ef4bcd98ec7fcf2bb21faaf52112aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6039572151809992367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478493600,"filename":"image_12042025_17_07_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/449c66c5302ad463cf490d212f81d7c9.jpg","text":"TemporaryFile(/tmp/multipartBody8361838712771689615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478493600,"filename":"image_12042025_17_07_06_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280582","file1":"1352280574","file0":"1352280558","file4":"1352280605","file5":"1352280618","file3":"1352280592"},"map_files_photo_id_array":[{"photo_id":"1352280618","filename":"file5"},{"photo_id":"1352280582","filename":"file2"},{"photo_id":"1352280605","filename":"file4"},{"photo_id":"1352280574","filename":"file1"},{"photo_id":"1352280558","filename":"file0"},{"photo_id":"1352280592","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280618":["hashtag1","hashtag2"]},{"1352280605":["hashtag1","hashtag2"]},{"1352280592":["hashtag1","hashtag2"]},{"1352280574":["hashtag1","hashtag2"]},{"1352280582":["hashtag1","hashtag2"]},{"1352280558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280618, 1352280605, 1352280592, 1352280574, 1352280582, 1352280558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.397664070129395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:21:32.466751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/07/image_12042025_17_08_07_10410.jpg', '/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_17_10373.jpg', '/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_27_9486.jpg', '/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_37_10476.jpg', '/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_47_9484.jpg', '/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_57_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/07/image_12042025_17_08_07_10410.jpg
/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_17_10373.jpg
/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_27_9486.jpg
/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_37_10476.jpg
/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_47_9484.jpg
/home/pi/Desktop/images/12042025/17/08/image_12042025_17_08_57_10481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280686","1352280662","1352280688","1352280673","1352280684","1352280663"],"photo_ids_order":["1352280662","1352280663","1352280673","1352280684","1352280686","1352280688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c320b4be69058420b7c0c37df772df8d.jpg","text":"TemporaryFile(/tmp/multipartBody1111820679080527637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478552949,"filename":"image_12042025_17_08_47_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88ab31e7f6d7ae5e7cfe667975cecfdc.jpg","text":"TemporaryFile(/tmp/multipartBody8523443795380987838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478552949,"filename":"image_12042025_17_08_07_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12210f4ffe626f91f08b1360b5c0d946.jpg","text":"TemporaryFile(/tmp/multipartBody2605968516472037633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478552949,"filename":"image_12042025_17_08_57_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea9f8bf464bae2adc4f54b510291415a.jpg","text":"TemporaryFile(/tmp/multipartBody8019688639914352189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478552949,"filename":"image_12042025_17_08_27_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ce6d83380a47739175cc5b8580803b1.jpg","text":"TemporaryFile(/tmp/multipartBody6405987970013795180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478552949,"filename":"image_12042025_17_08_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfd08130ba6cb0f8a6d71d087fa0059c.jpg","text":"TemporaryFile(/tmp/multipartBody5901236420987234343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478552949,"filename":"image_12042025_17_08_17_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280673","file1":"1352280663","file0":"1352280662","file4":"1352280686","file5":"1352280688","file3":"1352280684"},"map_files_photo_id_array":[{"photo_id":"1352280688","filename":"file5"},{"photo_id":"1352280673","filename":"file2"},{"photo_id":"1352280686","filename":"file4"},{"photo_id":"1352280663","filename":"file1"},{"photo_id":"1352280662","filename":"file0"},{"photo_id":"1352280684","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280686":["hashtag1","hashtag2"]},{"1352280662":["hashtag1","hashtag2"]},{"1352280688":["hashtag1","hashtag2"]},{"1352280673":["hashtag1","hashtag2"]},{"1352280684":["hashtag1","hashtag2"]},{"1352280663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280686, 1352280662, 1352280688, 1352280673, 1352280684, 1352280663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25640082359314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:22:32.562139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/08/image_12042025_17_09_06_9419.jpg', '/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_17_10359.jpg', '/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_26_9424.jpg', '/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_37_10353.jpg', '/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_47_10470.jpg', '/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_57_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/08/image_12042025_17_09_06_9419.jpg
/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_17_10359.jpg
/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_26_9424.jpg
/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_37_10353.jpg
/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_47_10470.jpg
/home/pi/Desktop/images/12042025/17/09/image_12042025_17_09_57_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280711","1352280705","1352280707","1352280709","1352280700","1352280703"],"photo_ids_order":["1352280700","1352280703","1352280705","1352280707","1352280709","1352280711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93d5503d376650775209b41476f37699.jpg","text":"TemporaryFile(/tmp/multipartBody2212809075997050533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478613028,"filename":"image_12042025_17_09_57_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/644ec1afb1663f84d1a20da1a18e49d8.jpg","text":"TemporaryFile(/tmp/multipartBody4666294700863943282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478613028,"filename":"image_12042025_17_09_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e767c1c0f23302bb170fbe8f072aafe1.jpg","text":"TemporaryFile(/tmp/multipartBody615794081121125536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478613028,"filename":"image_12042025_17_09_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5bd5182be91c5dd0386135b2480b6a5.jpg","text":"TemporaryFile(/tmp/multipartBody7656903802360277684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478613028,"filename":"image_12042025_17_09_47_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52a80f3387234d4732bc36ccc112c47f.jpg","text":"TemporaryFile(/tmp/multipartBody555249134282398363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478613028,"filename":"image_12042025_17_09_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3fd08182a036b951701de9c89e3a4d0.jpg","text":"TemporaryFile(/tmp/multipartBody4981971504478456748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478613028,"filename":"image_12042025_17_09_17_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280705","file1":"1352280703","file0":"1352280700","file4":"1352280709","file5":"1352280711","file3":"1352280707"},"map_files_photo_id_array":[{"photo_id":"1352280711","filename":"file5"},{"photo_id":"1352280705","filename":"file2"},{"photo_id":"1352280709","filename":"file4"},{"photo_id":"1352280703","filename":"file1"},{"photo_id":"1352280700","filename":"file0"},{"photo_id":"1352280707","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280711":["hashtag1","hashtag2"]},{"1352280705":["hashtag1","hashtag2"]},{"1352280707":["hashtag1","hashtag2"]},{"1352280709":["hashtag1","hashtag2"]},{"1352280700":["hashtag1","hashtag2"]},{"1352280703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280711, 1352280705, 1352280707, 1352280709, 1352280700, 1352280703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46520185470581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:23:32.799029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/09/image_12042025_17_10_07_10347.jpg', '/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_16_9332.jpg', '/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_27_10468.jpg', '/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_37_10474.jpg', '/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_47_9345.jpg', '/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_57_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/09/image_12042025_17_10_07_10347.jpg
/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_16_9332.jpg
/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_27_10468.jpg
/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_37_10474.jpg
/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_47_9345.jpg
/home/pi/Desktop/images/12042025/17/10/image_12042025_17_10_57_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280729","1352280722","1352280731","1352280725","1352280727","1352280723"],"photo_ids_order":["1352280722","1352280723","1352280725","1352280727","1352280729","1352280731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52658dc3bf4040c961f3e3c85ceb4c47.jpg","text":"TemporaryFile(/tmp/multipartBody598008344553607429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478673269,"filename":"image_12042025_17_10_47_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b9fdb5e71ec70e5bc651bd4a696217e.jpg","text":"TemporaryFile(/tmp/multipartBody7207885829546277691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478673269,"filename":"image_12042025_17_10_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b81003e6a03a89a60d6e178551fbae0b.jpg","text":"TemporaryFile(/tmp/multipartBody8036626583507016381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478673269,"filename":"image_12042025_17_10_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/752e10c5bf60b8a3e9143cfaa2fda951.jpg","text":"TemporaryFile(/tmp/multipartBody8213267676437108794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478673269,"filename":"image_12042025_17_10_27_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05359372d3a95d11f1b0eb095ee010ae.jpg","text":"TemporaryFile(/tmp/multipartBody2070649025369337622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478673269,"filename":"image_12042025_17_10_37_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dae3d79bf95090c4a4954050aef3bb64.jpg","text":"TemporaryFile(/tmp/multipartBody6055499601389099780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478673269,"filename":"image_12042025_17_10_16_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280725","file1":"1352280723","file0":"1352280722","file4":"1352280729","file5":"1352280731","file3":"1352280727"},"map_files_photo_id_array":[{"photo_id":"1352280731","filename":"file5"},{"photo_id":"1352280725","filename":"file2"},{"photo_id":"1352280729","filename":"file4"},{"photo_id":"1352280723","filename":"file1"},{"photo_id":"1352280722","filename":"file0"},{"photo_id":"1352280727","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280729":["hashtag1","hashtag2"]},{"1352280722":["hashtag1","hashtag2"]},{"1352280731":["hashtag1","hashtag2"]},{"1352280725":["hashtag1","hashtag2"]},{"1352280727":["hashtag1","hashtag2"]},{"1352280723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280729, 1352280722, 1352280731, 1352280725, 1352280727, 1352280723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.987780332565308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:24:33.125727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/10/image_12042025_17_11_06_9340.jpg', '/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_17_10457.jpg', '/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_27_10373.jpg', '/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_36_9396.jpg', '/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_47_10370.jpg', '/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_57_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/10/image_12042025_17_11_06_9340.jpg
/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_17_10457.jpg
/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_27_10373.jpg
/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_36_9396.jpg
/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_47_10370.jpg
/home/pi/Desktop/images/12042025/17/11/image_12042025_17_11_57_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280813","1352280761","1352280815","1352280811","1352280780","1352280771"],"photo_ids_order":["1352280761","1352280771","1352280780","1352280811","1352280813","1352280815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b8286be170cae8078bdc78b0cba500f.jpg","text":"TemporaryFile(/tmp/multipartBody2972971124364745360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478733607,"filename":"image_12042025_17_11_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/603056e1240e79b2285a5b5784037a38.jpg","text":"TemporaryFile(/tmp/multipartBody576452057502465687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478733607,"filename":"image_12042025_17_11_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1329103ccfecddb46f6d1f0237f7b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody8114334660182821007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478733607,"filename":"image_12042025_17_11_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/83d929e6c9ff65842ae2cab036f69884.jpg","text":"TemporaryFile(/tmp/multipartBody5422487021389479031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478733607,"filename":"image_12042025_17_11_36_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbcb4104448e89bd9eca61f08fc61c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7404931361405896381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478733607,"filename":"image_12042025_17_11_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ada8b84be752dda5e74686a5c8f68f12.jpg","text":"TemporaryFile(/tmp/multipartBody6274020315661834686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478733607,"filename":"image_12042025_17_11_17_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280780","file1":"1352280771","file0":"1352280761","file4":"1352280813","file5":"1352280815","file3":"1352280811"},"map_files_photo_id_array":[{"photo_id":"1352280815","filename":"file5"},{"photo_id":"1352280780","filename":"file2"},{"photo_id":"1352280813","filename":"file4"},{"photo_id":"1352280771","filename":"file1"},{"photo_id":"1352280761","filename":"file0"},{"photo_id":"1352280811","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280813":["hashtag1","hashtag2"]},{"1352280761":["hashtag1","hashtag2"]},{"1352280815":["hashtag1","hashtag2"]},{"1352280811":["hashtag1","hashtag2"]},{"1352280780":["hashtag1","hashtag2"]},{"1352280771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280813, 1352280761, 1352280815, 1352280811, 1352280780, 1352280771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.161808490753174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:25:32.228375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/11/image_12042025_17_12_07_9477.jpg', '/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_17_10350.jpg', '/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_26_9464.jpg', '/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_37_10449.jpg', '/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_46_9349.jpg', '/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_57_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/11/image_12042025_17_12_07_9477.jpg
/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_17_10350.jpg
/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_26_9464.jpg
/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_37_10449.jpg
/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_46_9349.jpg
/home/pi/Desktop/images/12042025/17/12/image_12042025_17_12_57_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280834","1352280836","1352280830","1352280827","1352280832","1352280826"],"photo_ids_order":["1352280826","1352280827","1352280830","1352280832","1352280834","1352280836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6cabaef5c57dd8f64146a9a8a7c37c53.jpg","text":"TemporaryFile(/tmp/multipartBody5152688293840313565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478792687,"filename":"image_12042025_17_12_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e5cef8bcb2b372af98a4e4d075c2885.jpg","text":"TemporaryFile(/tmp/multipartBody103761733446593426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478792687,"filename":"image_12042025_17_12_57_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/daa89527d58259a5a454aed073699174.jpg","text":"TemporaryFile(/tmp/multipartBody4632002679064862809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478792687,"filename":"image_12042025_17_12_26_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d021d69ebe4c81105a5bd39d6d30a57d.jpg","text":"TemporaryFile(/tmp/multipartBody5471144196622262236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478792687,"filename":"image_12042025_17_12_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/745c7e6484655b870e73989af822d604.jpg","text":"TemporaryFile(/tmp/multipartBody5084947799174613046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478792687,"filename":"image_12042025_17_12_37_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77dabdf05a6c30f2f5d2969cf094ad63.jpg","text":"TemporaryFile(/tmp/multipartBody4740904776737317171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478792687,"filename":"image_12042025_17_12_07_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280830","file1":"1352280827","file0":"1352280826","file4":"1352280834","file5":"1352280836","file3":"1352280832"},"map_files_photo_id_array":[{"photo_id":"1352280836","filename":"file5"},{"photo_id":"1352280830","filename":"file2"},{"photo_id":"1352280834","filename":"file4"},{"photo_id":"1352280827","filename":"file1"},{"photo_id":"1352280826","filename":"file0"},{"photo_id":"1352280832","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280834":["hashtag1","hashtag2"]},{"1352280836":["hashtag1","hashtag2"]},{"1352280830":["hashtag1","hashtag2"]},{"1352280827":["hashtag1","hashtag2"]},{"1352280832":["hashtag1","hashtag2"]},{"1352280826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280834, 1352280836, 1352280830, 1352280827, 1352280832, 1352280826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21906137466431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:26:32.446989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/12/image_12042025_17_13_07_10348.jpg', '/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_16_9420.jpg', '/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_27_10352.jpg', '/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_36_9407.jpg', '/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_47_10374.jpg', '/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_57_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/12/image_12042025_17_13_07_10348.jpg
/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_16_9420.jpg
/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_27_10352.jpg
/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_36_9407.jpg
/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_47_10374.jpg
/home/pi/Desktop/images/12042025/17/13/image_12042025_17_13_57_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352280851","1352280848","1352280862","1352280853","1352280873","1352280849"],"photo_ids_order":["1352280848","1352280849","1352280851","1352280853","1352280862","1352280873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1a12e4ad54f31fdb7938a2a075ef1b4.jpg","text":"TemporaryFile(/tmp/multipartBody2529073931161002364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478852942,"filename":"image_12042025_17_13_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a72689c1db231894d8d5eb697245da6d.jpg","text":"TemporaryFile(/tmp/multipartBody4776059789143553989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478852942,"filename":"image_12042025_17_13_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7dee4039366bfd6ef93c5d3081472d57.jpg","text":"TemporaryFile(/tmp/multipartBody3246455923687658168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478852942,"filename":"image_12042025_17_13_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a178c60d05ad8979b6fd189b1bcc3c31.jpg","text":"TemporaryFile(/tmp/multipartBody714222788280162388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478852942,"filename":"image_12042025_17_13_36_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a14a6fe258a95e0e11c5518a952a0428.jpg","text":"TemporaryFile(/tmp/multipartBody9107765305284187210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478852942,"filename":"image_12042025_17_13_57_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab0e071d8ced772ae155b60ccc1410bb.jpg","text":"TemporaryFile(/tmp/multipartBody9166532108968824745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478852942,"filename":"image_12042025_17_13_16_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352280851","file1":"1352280849","file0":"1352280848","file4":"1352280862","file5":"1352280873","file3":"1352280853"},"map_files_photo_id_array":[{"photo_id":"1352280873","filename":"file5"},{"photo_id":"1352280851","filename":"file2"},{"photo_id":"1352280862","filename":"file4"},{"photo_id":"1352280849","filename":"file1"},{"photo_id":"1352280848","filename":"file0"},{"photo_id":"1352280853","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352280851":["hashtag1","hashtag2"]},{"1352280848":["hashtag1","hashtag2"]},{"1352280862":["hashtag1","hashtag2"]},{"1352280853":["hashtag1","hashtag2"]},{"1352280873":["hashtag1","hashtag2"]},{"1352280849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352280851, 1352280848, 1352280862, 1352280853, 1352280873, 1352280849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90152192115784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:27:32.806106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/13/image_12042025_17_14_06_9441.jpg', '/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_17_10468.jpg', '/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_26_9400.jpg', '/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_37_10430.jpg', '/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_47_10445.jpg', '/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_57_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/13/image_12042025_17_14_06_9441.jpg
/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_17_10468.jpg
/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_26_9400.jpg
/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_37_10430.jpg
/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_47_10445.jpg
/home/pi/Desktop/images/12042025/17/14/image_12042025_17_14_57_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352281112","1352281103","1352281084","1352281114","1352281116","1352281094"],"photo_ids_order":["1352281084","1352281094","1352281103","1352281112","1352281114","1352281116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d383c4259b2c743f9d16346fb76c07e.jpg","text":"TemporaryFile(/tmp/multipartBody6033554183466757242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478913278,"filename":"image_12042025_17_14_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fcfe7f0a45ddb42e7402572d9c5a8a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3903724263723660137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478913278,"filename":"image_12042025_17_14_26_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c740c86c7a51d9dcfb58f3855c6f39f.jpg","text":"TemporaryFile(/tmp/multipartBody6549806717981914452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478913278,"filename":"image_12042025_17_14_06_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/000b8ba11544adab2562eb6277edf424.jpg","text":"TemporaryFile(/tmp/multipartBody3220899371858382715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478913278,"filename":"image_12042025_17_14_47_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac38afa1edee6ff270b378ac5eca8700.jpg","text":"TemporaryFile(/tmp/multipartBody8222199354241539027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478913278,"filename":"image_12042025_17_14_57_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c554a4fd0051681f9226d5a7ad8a6045.jpg","text":"TemporaryFile(/tmp/multipartBody6360998052533548710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478913278,"filename":"image_12042025_17_14_17_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352281103","file1":"1352281094","file0":"1352281084","file4":"1352281114","file5":"1352281116","file3":"1352281112"},"map_files_photo_id_array":[{"photo_id":"1352281116","filename":"file5"},{"photo_id":"1352281103","filename":"file2"},{"photo_id":"1352281114","filename":"file4"},{"photo_id":"1352281094","filename":"file1"},{"photo_id":"1352281084","filename":"file0"},{"photo_id":"1352281112","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352281112":["hashtag1","hashtag2"]},{"1352281103":["hashtag1","hashtag2"]},{"1352281084":["hashtag1","hashtag2"]},{"1352281114":["hashtag1","hashtag2"]},{"1352281116":["hashtag1","hashtag2"]},{"1352281094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352281112, 1352281103, 1352281084, 1352281114, 1352281116, 1352281094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.476157426834106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:28:33.136704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/14/image_12042025_17_15_07_10353.jpg', '/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_16_9330.jpg', '/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_27_10387.jpg', '/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_37_10355.jpg', '/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_46_9420.jpg', '/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_57_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/14/image_12042025_17_15_07_10353.jpg
/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_16_9330.jpg
/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_27_10387.jpg
/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_37_10355.jpg
/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_46_9420.jpg
/home/pi/Desktop/images/12042025/17/15/image_12042025_17_15_57_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352281163","1352281148","1352281150","1352281144","1352281146","1352281143"],"photo_ids_order":["1352281143","1352281144","1352281146","1352281148","1352281150","1352281163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c99c0c7ee31d713772d7d7434addea00.jpg","text":"TemporaryFile(/tmp/multipartBody470386243463007189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478973613,"filename":"image_12042025_17_15_57_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4bba42f2dd1c8894639e219acf20bbb.jpg","text":"TemporaryFile(/tmp/multipartBody6980430638988985187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478973613,"filename":"image_12042025_17_15_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/660b682d047fb9584d72d0fc58c8af5d.jpg","text":"TemporaryFile(/tmp/multipartBody6556405073809630689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478973613,"filename":"image_12042025_17_15_46_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b4646d2037571fa72581af8fcf3dd6b.jpg","text":"TemporaryFile(/tmp/multipartBody7100701833119326545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478973613,"filename":"image_12042025_17_15_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a722902f727847e5e4a6aefbb2960dc.jpg","text":"TemporaryFile(/tmp/multipartBody2963854682652460415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478973613,"filename":"image_12042025_17_15_27_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d89c6a2e6907114c881ee3566d28638.jpg","text":"TemporaryFile(/tmp/multipartBody3034876444418992250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744478973613,"filename":"image_12042025_17_15_07_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352281146","file1":"1352281144","file0":"1352281143","file4":"1352281150","file5":"1352281163","file3":"1352281148"},"map_files_photo_id_array":[{"photo_id":"1352281163","filename":"file5"},{"photo_id":"1352281146","filename":"file2"},{"photo_id":"1352281150","filename":"file4"},{"photo_id":"1352281144","filename":"file1"},{"photo_id":"1352281143","filename":"file0"},{"photo_id":"1352281148","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352281163":["hashtag1","hashtag2"]},{"1352281148":["hashtag1","hashtag2"]},{"1352281150":["hashtag1","hashtag2"]},{"1352281144":["hashtag1","hashtag2"]},{"1352281146":["hashtag1","hashtag2"]},{"1352281143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352281163, 1352281148, 1352281150, 1352281144, 1352281146, 1352281143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.208959341049194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:29:32.324751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/15/image_12042025_17_16_06_9340.jpg', '/home/pi/Desktop/images/12042025/17/16/image_12042025_17_16_17_10349.jpg', '/home/pi/Desktop/images/12042025/17/16/image_12042025_17_16_27_10437.jpg', '/home/pi/Desktop/images/12042025/17/16/image_12042025_17_16_37_9464.jpg', '/home/pi/Desktop/images/12042025/17/16/image_12042025_17_16_47_10363.jpg', '/home/pi/Desktop/images/12042025/17/16/image_12042025_17_17_07_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/15/image_12042025_17_16_06_9340.jpg
/home/pi/Desktop/images/12042025/17/16/image_12042025_17_16_17_10349.jpg
/home/pi/Desktop/images/12042025/17/16/image_12042025_17_16_27_10437.jpg
/home/pi/Desktop/images/12042025/17/16/image_12042025_17_16_37_9464.jpg
/home/pi/Desktop/images/12042025/17/16/image_12042025_17_16_47_10363.jpg
/home/pi/Desktop/images/12042025/17/16/image_12042025_17_17_07_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352281487","1352281667","1352281553","1352281427","1352281648","1352281590"],"photo_ids_order":["1352281427","1352281487","1352281553","1352281590","1352281648","1352281667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/418cfd547c96a9124f56db0f096ad44c.jpg","text":"TemporaryFile(/tmp/multipartBody1017547863158841176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479032791,"filename":"image_12042025_17_16_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd40062aa766573368afca94dcf54ed1.jpg","text":"TemporaryFile(/tmp/multipartBody513767537619056419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479032791,"filename":"image_12042025_17_17_07_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/846b63432c71cfb80723c2ac95851639.jpg","text":"TemporaryFile(/tmp/multipartBody8446821865811221522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479032791,"filename":"image_12042025_17_16_27_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcca12971ef28842dd76046fd9a9d920.jpg","text":"TemporaryFile(/tmp/multipartBody4668912285459665680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479032791,"filename":"image_12042025_17_16_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/367d3291855d13dcacb46fd48158b324.jpg","text":"TemporaryFile(/tmp/multipartBody2473362704454080183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479032791,"filename":"image_12042025_17_16_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44b92e67bc89937aa18a5a6bb00fac3c.jpg","text":"TemporaryFile(/tmp/multipartBody1897253671983205230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479032791,"filename":"image_12042025_17_16_37_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352281553","file1":"1352281487","file0":"1352281427","file4":"1352281648","file5":"1352281667","file3":"1352281590"},"map_files_photo_id_array":[{"photo_id":"1352281667","filename":"file5"},{"photo_id":"1352281553","filename":"file2"},{"photo_id":"1352281648","filename":"file4"},{"photo_id":"1352281487","filename":"file1"},{"photo_id":"1352281427","filename":"file0"},{"photo_id":"1352281590","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352281487":["hashtag1","hashtag2"]},{"1352281667":["hashtag1","hashtag2"]},{"1352281553":["hashtag1","hashtag2"]},{"1352281427":["hashtag1","hashtag2"]},{"1352281648":["hashtag1","hashtag2"]},{"1352281590":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352281487, 1352281667, 1352281553, 1352281427, 1352281648, 1352281590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.057639837265015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:30:32.651183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_17_10450.jpg', '/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_27_9451.jpg', '/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_37_10373.jpg', '/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_46_9513.jpg', '/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_57_10362.jpg', '/home/pi/Desktop/images/12042025/17/17/image_12042025_17_18_07_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_17_10450.jpg
/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_27_9451.jpg
/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_37_10373.jpg
/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_46_9513.jpg
/home/pi/Desktop/images/12042025/17/17/image_12042025_17_17_57_10362.jpg
/home/pi/Desktop/images/12042025/17/17/image_12042025_17_18_07_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352281739","1352281733","1352281741","1352281735","1352281743","1352281737"],"photo_ids_order":["1352281733","1352281735","1352281737","1352281739","1352281741","1352281743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2832346212cfa3848d126baa51b4d90.jpg","text":"TemporaryFile(/tmp/multipartBody2365733038853380981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479093195,"filename":"image_12042025_17_17_46_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4774e726fadfc655a5cea048f1e3e039.jpg","text":"TemporaryFile(/tmp/multipartBody7035278452843811456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479093195,"filename":"image_12042025_17_17_17_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af3346b932e3292ad01b7c7e737c4afa.jpg","text":"TemporaryFile(/tmp/multipartBody6239056238792597809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479093195,"filename":"image_12042025_17_17_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/296c2fac174bfed03ac053f3c85a91dc.jpg","text":"TemporaryFile(/tmp/multipartBody1487660043560846961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479093195,"filename":"image_12042025_17_17_27_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93f82a7085c724979156f309440beeed.jpg","text":"TemporaryFile(/tmp/multipartBody755112107467358324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479093195,"filename":"image_12042025_17_18_07_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2626c24c43d500637910207f7893819.jpg","text":"TemporaryFile(/tmp/multipartBody91280320776215844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479093195,"filename":"image_12042025_17_17_37_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352281737","file1":"1352281735","file0":"1352281733","file4":"1352281741","file5":"1352281743","file3":"1352281739"},"map_files_photo_id_array":[{"photo_id":"1352281743","filename":"file5"},{"photo_id":"1352281737","filename":"file2"},{"photo_id":"1352281741","filename":"file4"},{"photo_id":"1352281735","filename":"file1"},{"photo_id":"1352281733","filename":"file0"},{"photo_id":"1352281739","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352281739":["hashtag1","hashtag2"]},{"1352281733":["hashtag1","hashtag2"]},{"1352281741":["hashtag1","hashtag2"]},{"1352281735":["hashtag1","hashtag2"]},{"1352281743":["hashtag1","hashtag2"]},{"1352281737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352281739, 1352281733, 1352281741, 1352281735, 1352281743, 1352281737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.185843229293823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:31:32.841537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_17_9344.jpg', '/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_27_10441.jpg', '/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_36_9360.jpg', '/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_47_10427.jpg', '/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_57_10366.jpg', '/home/pi/Desktop/images/12042025/17/18/image_12042025_17_19_06_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_17_9344.jpg
/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_27_10441.jpg
/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_36_9360.jpg
/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_47_10427.jpg
/home/pi/Desktop/images/12042025/17/18/image_12042025_17_18_57_10366.jpg
/home/pi/Desktop/images/12042025/17/18/image_12042025_17_19_06_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352281898","1352281949","1352281897","1352281835","1352281933","1352281899"],"photo_ids_order":["1352281835","1352281897","1352281898","1352281899","1352281933","1352281949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76d111ea40445c679769a2425a55d7dc.jpg","text":"TemporaryFile(/tmp/multipartBody9067697458293929507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479153309,"filename":"image_12042025_17_18_36_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca1936815b43f864dc765c234e972412.jpg","text":"TemporaryFile(/tmp/multipartBody6786510087578589231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479153309,"filename":"image_12042025_17_19_06_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b59cd2128e622b930372c2390c363215.jpg","text":"TemporaryFile(/tmp/multipartBody7211194846008779562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479153309,"filename":"image_12042025_17_18_27_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/468178d01714693832b97de8c8048ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8218525001628132778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479153309,"filename":"image_12042025_17_18_17_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5492f7f2e4ef6b23065d4eeb95712f1.jpg","text":"TemporaryFile(/tmp/multipartBody2571275349951235082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479153309,"filename":"image_12042025_17_18_57_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2db2761caafdbdb5b53a769868ecde9.jpg","text":"TemporaryFile(/tmp/multipartBody3162250405321142843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479153309,"filename":"image_12042025_17_18_47_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352281898","file1":"1352281897","file0":"1352281835","file4":"1352281933","file5":"1352281949","file3":"1352281899"},"map_files_photo_id_array":[{"photo_id":"1352281949","filename":"file5"},{"photo_id":"1352281898","filename":"file2"},{"photo_id":"1352281933","filename":"file4"},{"photo_id":"1352281897","filename":"file1"},{"photo_id":"1352281835","filename":"file0"},{"photo_id":"1352281899","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352281898":["hashtag1","hashtag2"]},{"1352281949":["hashtag1","hashtag2"]},{"1352281897":["hashtag1","hashtag2"]},{"1352281835":["hashtag1","hashtag2"]},{"1352281933":["hashtag1","hashtag2"]},{"1352281899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352281898, 1352281949, 1352281897, 1352281835, 1352281933, 1352281899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.38672852516174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:32:33.211624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_17_10358.jpg', '/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_26_9352.jpg', '/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_37_10353.jpg', '/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_47_10350.jpg', '/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_56_9336.jpg', '/home/pi/Desktop/images/12042025/17/19/image_12042025_17_20_07_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_17_10358.jpg
/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_26_9352.jpg
/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_37_10353.jpg
/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_47_10350.jpg
/home/pi/Desktop/images/12042025/17/19/image_12042025_17_19_56_9336.jpg
/home/pi/Desktop/images/12042025/17/19/image_12042025_17_20_07_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352282161","1352282088","1352282070","1352282112","1352282136","1352282174"],"photo_ids_order":["1352282070","1352282088","1352282112","1352282136","1352282161","1352282174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14365e0c711a1ad3cbc67b83433f281d.jpg","text":"TemporaryFile(/tmp/multipartBody8692381834629934150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479213658,"filename":"image_12042025_17_19_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea71e0d2bb0aabb07ad1c1756e564e23.jpg","text":"TemporaryFile(/tmp/multipartBody7567203375693814952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479213658,"filename":"image_12042025_17_19_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0da2d4d3df9dbfce862d34a23871f1af.jpg","text":"TemporaryFile(/tmp/multipartBody875242131699165583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479213658,"filename":"image_12042025_17_19_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/18ae375f6870248f43532efa21de90d6.jpg","text":"TemporaryFile(/tmp/multipartBody1255270515784791918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479213658,"filename":"image_12042025_17_19_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49520dae0e524b77d32807ecb1059b4c.jpg","text":"TemporaryFile(/tmp/multipartBody977994075195053472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479213658,"filename":"image_12042025_17_19_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6bb466aa030782f32f0e86f3fd9611e.jpg","text":"TemporaryFile(/tmp/multipartBody1711353858345740322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479213658,"filename":"image_12042025_17_20_07_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352282112","file1":"1352282088","file0":"1352282070","file4":"1352282161","file5":"1352282174","file3":"1352282136"},"map_files_photo_id_array":[{"photo_id":"1352282174","filename":"file5"},{"photo_id":"1352282112","filename":"file2"},{"photo_id":"1352282161","filename":"file4"},{"photo_id":"1352282088","filename":"file1"},{"photo_id":"1352282070","filename":"file0"},{"photo_id":"1352282136","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352282161":["hashtag1","hashtag2"]},{"1352282088":["hashtag1","hashtag2"]},{"1352282070":["hashtag1","hashtag2"]},{"1352282112":["hashtag1","hashtag2"]},{"1352282136":["hashtag1","hashtag2"]},{"1352282174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352282161, 1352282088, 1352282070, 1352282112, 1352282136, 1352282174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80433988571167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:33:32.306144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_17_10485.jpg', '/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_26_9412.jpg', '/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_37_10349.jpg', '/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_46_9389.jpg', '/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_57_10336.jpg', '/home/pi/Desktop/images/12042025/17/20/image_12042025_17_21_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_17_10485.jpg
/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_26_9412.jpg
/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_37_10349.jpg
/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_46_9389.jpg
/home/pi/Desktop/images/12042025/17/20/image_12042025_17_20_57_10336.jpg
/home/pi/Desktop/images/12042025/17/20/image_12042025_17_21_07_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352282243","1352282318","1352282299","1352282230","1352282349","1352282270"],"photo_ids_order":["1352282230","1352282243","1352282270","1352282299","1352282318","1352282349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d08d73a3cbd3b42a0fce3af2f5221fa.jpg","text":"TemporaryFile(/tmp/multipartBody492375577441509064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479272755,"filename":"image_12042025_17_20_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfb2096f067d708d4fba463ab9bcb1ad.jpg","text":"TemporaryFile(/tmp/multipartBody2173008474402178998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479272755,"filename":"image_12042025_17_20_57_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4804c18f2554b9a4824beb4116722165.jpg","text":"TemporaryFile(/tmp/multipartBody178943128803532442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479272755,"filename":"image_12042025_17_20_46_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af237c34e55792458dddda00adaa3668.jpg","text":"TemporaryFile(/tmp/multipartBody5772713543696398300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479272755,"filename":"image_12042025_17_20_17_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b15afd6123646ac0aa4067f86049840.jpg","text":"TemporaryFile(/tmp/multipartBody743091381587135675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479272755,"filename":"image_12042025_17_21_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6439b7abbe96a33791be2d1cea3ea444.jpg","text":"TemporaryFile(/tmp/multipartBody6650512228373268353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479272755,"filename":"image_12042025_17_20_37_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352282270","file1":"1352282243","file0":"1352282230","file4":"1352282318","file5":"1352282349","file3":"1352282299"},"map_files_photo_id_array":[{"photo_id":"1352282349","filename":"file5"},{"photo_id":"1352282270","filename":"file2"},{"photo_id":"1352282318","filename":"file4"},{"photo_id":"1352282243","filename":"file1"},{"photo_id":"1352282230","filename":"file0"},{"photo_id":"1352282299","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352282243":["hashtag1","hashtag2"]},{"1352282318":["hashtag1","hashtag2"]},{"1352282299":["hashtag1","hashtag2"]},{"1352282230":["hashtag1","hashtag2"]},{"1352282349":["hashtag1","hashtag2"]},{"1352282270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352282243, 1352282318, 1352282299, 1352282230, 1352282349, 1352282270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81800413131714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:34:32.519993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/21/image_12042025_17_21_27_10444.jpg', '/home/pi/Desktop/images/12042025/17/21/image_12042025_17_21_37_10358.jpg', '/home/pi/Desktop/images/12042025/17/21/image_12042025_17_21_47_9488.jpg', '/home/pi/Desktop/images/12042025/17/21/image_12042025_17_22_06_9414.jpg', '/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_17_10451.jpg', '/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_27_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/21/image_12042025_17_21_27_10444.jpg
/home/pi/Desktop/images/12042025/17/21/image_12042025_17_21_37_10358.jpg
/home/pi/Desktop/images/12042025/17/21/image_12042025_17_21_47_9488.jpg
/home/pi/Desktop/images/12042025/17/21/image_12042025_17_22_06_9414.jpg
/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_17_10451.jpg
/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_27_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352282513","1352282482","1352282557","1352282586","1352282622","1352282531"],"photo_ids_order":["1352282482","1352282513","1352282531","1352282557","1352282586","1352282622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb6ebbd35e75e9652f405e73b9368e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7482940892950050514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479332993,"filename":"image_12042025_17_21_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23c9d3181b0ce6535bcbd0d1c2eefff8.jpg","text":"TemporaryFile(/tmp/multipartBody6610463048332388522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479332993,"filename":"image_12042025_17_21_27_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbb6773d43ba554378ae6b211bae58c5.jpg","text":"TemporaryFile(/tmp/multipartBody3912539421856093962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479332993,"filename":"image_12042025_17_22_06_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f0e00eca3781747fda56e470c85eef6.jpg","text":"TemporaryFile(/tmp/multipartBody3429338202742668429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479332993,"filename":"image_12042025_17_22_17_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e889db3799036283ed870856b901bc51.jpg","text":"TemporaryFile(/tmp/multipartBody6678902282054178521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479332993,"filename":"image_12042025_17_22_27_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7dfe00022997d6437f1e83fdf57a3f61.jpg","text":"TemporaryFile(/tmp/multipartBody6372135664398006155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479332993,"filename":"image_12042025_17_21_47_9488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352282531","file1":"1352282513","file0":"1352282482","file4":"1352282586","file5":"1352282622","file3":"1352282557"},"map_files_photo_id_array":[{"photo_id":"1352282622","filename":"file5"},{"photo_id":"1352282531","filename":"file2"},{"photo_id":"1352282586","filename":"file4"},{"photo_id":"1352282513","filename":"file1"},{"photo_id":"1352282482","filename":"file0"},{"photo_id":"1352282557","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352282513":["hashtag1","hashtag2"]},{"1352282482":["hashtag1","hashtag2"]},{"1352282557":["hashtag1","hashtag2"]},{"1352282586":["hashtag1","hashtag2"]},{"1352282622":["hashtag1","hashtag2"]},{"1352282531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352282513, 1352282482, 1352282557, 1352282586, 1352282622, 1352282531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.087592124938965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:35:32.740029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_37_9454.jpg', '/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_47_10343.jpg', '/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_56_9351.jpg', '/home/pi/Desktop/images/12042025/17/22/image_12042025_17_23_07_10441.jpg', '/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_17_10358.jpg', '/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_26_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_37_9454.jpg
/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_47_10343.jpg
/home/pi/Desktop/images/12042025/17/22/image_12042025_17_22_56_9351.jpg
/home/pi/Desktop/images/12042025/17/22/image_12042025_17_23_07_10441.jpg
/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_17_10358.jpg
/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_26_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352282950","1352283003","1352282907","1352282867","1352282882","1352282864"],"photo_ids_order":["1352282864","1352282867","1352282882","1352282907","1352282950","1352283003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/295ea2f17279d13a609f2851b928f563.jpg","text":"TemporaryFile(/tmp/multipartBody3594866832160464714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479393204,"filename":"image_12042025_17_23_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c980614531d4f6f161ca31b60dd86655.jpg","text":"TemporaryFile(/tmp/multipartBody7397623557033973108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479393204,"filename":"image_12042025_17_23_26_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ceb56482366818d0175fc7ad4d929791.jpg","text":"TemporaryFile(/tmp/multipartBody1918347332341098349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479393204,"filename":"image_12042025_17_23_07_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4223826a507236a2ed46c268a73ce197.jpg","text":"TemporaryFile(/tmp/multipartBody2792672614975920346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479393204,"filename":"image_12042025_17_22_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f5c4c3950f117fe38ed55098ae05fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6819462242817059112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479393204,"filename":"image_12042025_17_22_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c61bf00a25bb5e4c8ccabbabd5b245c.jpg","text":"TemporaryFile(/tmp/multipartBody9071288247907297468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479393204,"filename":"image_12042025_17_22_37_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352282882","file1":"1352282867","file0":"1352282864","file4":"1352282950","file5":"1352283003","file3":"1352282907"},"map_files_photo_id_array":[{"photo_id":"1352283003","filename":"file5"},{"photo_id":"1352282882","filename":"file2"},{"photo_id":"1352282950","filename":"file4"},{"photo_id":"1352282867","filename":"file1"},{"photo_id":"1352282864","filename":"file0"},{"photo_id":"1352282907","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352282950":["hashtag1","hashtag2"]},{"1352283003":["hashtag1","hashtag2"]},{"1352282907":["hashtag1","hashtag2"]},{"1352282867":["hashtag1","hashtag2"]},{"1352282882":["hashtag1","hashtag2"]},{"1352282864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352282950, 1352283003, 1352282907, 1352282867, 1352282882, 1352282864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.43446755409241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:36:33.093127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_37_10354.jpg', '/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_47_10347.jpg', '/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_57_9449.jpg', '/home/pi/Desktop/images/12042025/17/23/image_12042025_17_24_07_10363.jpg', '/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_16_9338.jpg', '/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_27_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_37_10354.jpg
/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_47_10347.jpg
/home/pi/Desktop/images/12042025/17/23/image_12042025_17_23_57_9449.jpg
/home/pi/Desktop/images/12042025/17/23/image_12042025_17_24_07_10363.jpg
/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_16_9338.jpg
/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_27_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352283169","1352283145","1352283247","1352283154","1352283225","1352283204"],"photo_ids_order":["1352283145","1352283154","1352283169","1352283204","1352283225","1352283247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a5211ade9649f702e316339f66d6c6c.jpg","text":"TemporaryFile(/tmp/multipartBody1499746897260856257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479453560,"filename":"image_12042025_17_23_57_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ec7970b7a32197e290872ad232e56c8.jpg","text":"TemporaryFile(/tmp/multipartBody4651264977069688792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479453560,"filename":"image_12042025_17_23_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfb70807d6f451840bf5888f23bf7797.jpg","text":"TemporaryFile(/tmp/multipartBody5640990866776671838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479453560,"filename":"image_12042025_17_24_27_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a753300962ee90e64af6d5a01d8878c8.jpg","text":"TemporaryFile(/tmp/multipartBody1090503918387334056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479453560,"filename":"image_12042025_17_23_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da932c883db391e2888586d19685b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody115722892982689350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479453560,"filename":"image_12042025_17_24_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b28e0a2737a0d6c277ef1c7fb84aa13.jpg","text":"TemporaryFile(/tmp/multipartBody8107305317900868879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479453560,"filename":"image_12042025_17_24_07_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352283169","file1":"1352283154","file0":"1352283145","file4":"1352283225","file5":"1352283247","file3":"1352283204"},"map_files_photo_id_array":[{"photo_id":"1352283247","filename":"file5"},{"photo_id":"1352283169","filename":"file2"},{"photo_id":"1352283225","filename":"file4"},{"photo_id":"1352283154","filename":"file1"},{"photo_id":"1352283145","filename":"file0"},{"photo_id":"1352283204","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352283169":["hashtag1","hashtag2"]},{"1352283145":["hashtag1","hashtag2"]},{"1352283247":["hashtag1","hashtag2"]},{"1352283154":["hashtag1","hashtag2"]},{"1352283225":["hashtag1","hashtag2"]},{"1352283204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352283169, 1352283145, 1352283247, 1352283154, 1352283225, 1352283204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20768165588379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:37:32.310424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_37_10363.jpg', '/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_47_9420.jpg', '/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_57_10373.jpg', '/home/pi/Desktop/images/12042025/17/24/image_12042025_17_25_06_9496.jpg', '/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_17_10346.jpg', '/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_27_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_37_10363.jpg
/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_47_9420.jpg
/home/pi/Desktop/images/12042025/17/24/image_12042025_17_24_57_10373.jpg
/home/pi/Desktop/images/12042025/17/24/image_12042025_17_25_06_9496.jpg
/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_17_10346.jpg
/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_27_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352283348","1352283330","1352283356","1352283458","1352283359","1352283341"],"photo_ids_order":["1352283330","1352283341","1352283348","1352283356","1352283359","1352283458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c6bbc29b65a5a67fb9370ff7a8757d6.jpg","text":"TemporaryFile(/tmp/multipartBody5710845460144405044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479512759,"filename":"image_12042025_17_24_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64bc0a285f653b08bd0095e174792f47.jpg","text":"TemporaryFile(/tmp/multipartBody7075615467598053064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479512759,"filename":"image_12042025_17_24_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e182dedc2e5dfa5b439fdf1486b065e7.jpg","text":"TemporaryFile(/tmp/multipartBody9160710358579554060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479512759,"filename":"image_12042025_17_25_06_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8dcd0c1d1e09a2ac7319847c567ad2e.jpg","text":"TemporaryFile(/tmp/multipartBody6897188734505265202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479512759,"filename":"image_12042025_17_25_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42d630f9a2c35e5e08556e061314090e.jpg","text":"TemporaryFile(/tmp/multipartBody5055426623198067333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479512759,"filename":"image_12042025_17_25_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4215626089eba181a7222600d67c4da2.jpg","text":"TemporaryFile(/tmp/multipartBody1079335901134623126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479512759,"filename":"image_12042025_17_24_47_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352283348","file1":"1352283341","file0":"1352283330","file4":"1352283359","file5":"1352283458","file3":"1352283356"},"map_files_photo_id_array":[{"photo_id":"1352283458","filename":"file5"},{"photo_id":"1352283348","filename":"file2"},{"photo_id":"1352283359","filename":"file4"},{"photo_id":"1352283341","filename":"file1"},{"photo_id":"1352283330","filename":"file0"},{"photo_id":"1352283356","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352283348":["hashtag1","hashtag2"]},{"1352283330":["hashtag1","hashtag2"]},{"1352283356":["hashtag1","hashtag2"]},{"1352283458":["hashtag1","hashtag2"]},{"1352283359":["hashtag1","hashtag2"]},{"1352283341":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352283348, 1352283330, 1352283356, 1352283458, 1352283359, 1352283341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.31602954864502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:38:32.496487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_37_9458.jpg', '/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_47_10409.jpg', '/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_56_9348.jpg', '/home/pi/Desktop/images/12042025/17/25/image_12042025_17_26_07_10370.jpg', '/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_17_10364.jpg', '/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_27_9511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_37_9458.jpg
/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_47_10409.jpg
/home/pi/Desktop/images/12042025/17/25/image_12042025_17_25_56_9348.jpg
/home/pi/Desktop/images/12042025/17/25/image_12042025_17_26_07_10370.jpg
/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_17_10364.jpg
/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_27_9511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352283900","1352283878","1352283863","1352283893","1352283872","1352283875"],"photo_ids_order":["1352283863","1352283872","1352283875","1352283878","1352283893","1352283900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd60f976f9793751787d2713b8521c09.jpg","text":"TemporaryFile(/tmp/multipartBody979375987202398841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479572957,"filename":"image_12042025_17_26_27_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4e2f342807f3bdf085c787e2ae06da0.jpg","text":"TemporaryFile(/tmp/multipartBody5745157257247578955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479572957,"filename":"image_12042025_17_26_07_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/01592c3e684353aac1a30f6523a496d0.jpg","text":"TemporaryFile(/tmp/multipartBody6014047198385079717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479572957,"filename":"image_12042025_17_25_37_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00ec89043e51efb64703af3ac4786edb.jpg","text":"TemporaryFile(/tmp/multipartBody2468361991172305895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479572957,"filename":"image_12042025_17_26_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b632a733e6f2a88d37848565f713445e.jpg","text":"TemporaryFile(/tmp/multipartBody4175759582939767457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479572957,"filename":"image_12042025_17_25_47_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e97e8fe3b368a94a6dcb668e42f8b88b.jpg","text":"TemporaryFile(/tmp/multipartBody5269280856379072183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479572957,"filename":"image_12042025_17_25_56_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352283875","file1":"1352283872","file0":"1352283863","file4":"1352283893","file5":"1352283900","file3":"1352283878"},"map_files_photo_id_array":[{"photo_id":"1352283900","filename":"file5"},{"photo_id":"1352283875","filename":"file2"},{"photo_id":"1352283893","filename":"file4"},{"photo_id":"1352283872","filename":"file1"},{"photo_id":"1352283863","filename":"file0"},{"photo_id":"1352283878","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352283900":["hashtag1","hashtag2"]},{"1352283878":["hashtag1","hashtag2"]},{"1352283863":["hashtag1","hashtag2"]},{"1352283893":["hashtag1","hashtag2"]},{"1352283872":["hashtag1","hashtag2"]},{"1352283875":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352283900, 1352283878, 1352283863, 1352283893, 1352283872, 1352283875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.770472764968872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:39:32.827533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_37_10464.jpg', '/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_46_9414.jpg', '/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_57_10362.jpg', '/home/pi/Desktop/images/12042025/17/26/image_12042025_17_27_07_10355.jpg', '/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_17_9458.jpg', '/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_27_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_37_10464.jpg
/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_46_9414.jpg
/home/pi/Desktop/images/12042025/17/26/image_12042025_17_26_57_10362.jpg
/home/pi/Desktop/images/12042025/17/26/image_12042025_17_27_07_10355.jpg
/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_17_9458.jpg
/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_27_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284210","1352284213","1352284207","1352284215","1352284203","1352284205"],"photo_ids_order":["1352284203","1352284205","1352284207","1352284210","1352284213","1352284215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3d6471e06b5b14037a4b3d0c93f85ec.jpg","text":"TemporaryFile(/tmp/multipartBody8936242303366472583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479633290,"filename":"image_12042025_17_27_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33860f260d8cfeb7e21b469730e2aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody8130307891106553993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479633290,"filename":"image_12042025_17_27_17_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c2663455e3ed658cc0e3d3cc85e851e.jpg","text":"TemporaryFile(/tmp/multipartBody1010370191874824699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479633290,"filename":"image_12042025_17_26_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c7fd2d2ef81294d8ffc9159cb17b09e.jpg","text":"TemporaryFile(/tmp/multipartBody2354622840345302406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479633290,"filename":"image_12042025_17_27_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffa097bc915fb8171df4133dad4d9c55.jpg","text":"TemporaryFile(/tmp/multipartBody8130208644784795375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479633290,"filename":"image_12042025_17_26_37_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf4b7a74e36888771ecfb13bfb0667c7.jpg","text":"TemporaryFile(/tmp/multipartBody8448113247255318815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479633290,"filename":"image_12042025_17_26_46_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284207","file1":"1352284205","file0":"1352284203","file4":"1352284213","file5":"1352284215","file3":"1352284210"},"map_files_photo_id_array":[{"photo_id":"1352284215","filename":"file5"},{"photo_id":"1352284207","filename":"file2"},{"photo_id":"1352284213","filename":"file4"},{"photo_id":"1352284205","filename":"file1"},{"photo_id":"1352284203","filename":"file0"},{"photo_id":"1352284210","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284210":["hashtag1","hashtag2"]},{"1352284213":["hashtag1","hashtag2"]},{"1352284207":["hashtag1","hashtag2"]},{"1352284215":["hashtag1","hashtag2"]},{"1352284203":["hashtag1","hashtag2"]},{"1352284205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284210, 1352284213, 1352284207, 1352284215, 1352284203, 1352284205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2614324092865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:40:33.008346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_36_9401.jpg', '/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_47_10443.jpg', '/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_57_10339.jpg', '/home/pi/Desktop/images/12042025/17/27/image_12042025_17_28_07_9361.jpg', '/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_17_10375.jpg', '/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_26_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_36_9401.jpg
/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_47_10443.jpg
/home/pi/Desktop/images/12042025/17/27/image_12042025_17_27_57_10339.jpg
/home/pi/Desktop/images/12042025/17/27/image_12042025_17_28_07_9361.jpg
/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_17_10375.jpg
/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_26_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284410","1352284413","1352284416","1352284406","1352284387","1352284426"],"photo_ids_order":["1352284387","1352284406","1352284410","1352284413","1352284416","1352284426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be8202f2c31d0aab75a173cbb94c9f4f.jpg","text":"TemporaryFile(/tmp/multipartBody117143179369162316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479693533,"filename":"image_12042025_17_27_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06a40098f74c84c5444106a7366f7dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7591130745768232057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479693533,"filename":"image_12042025_17_28_07_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ca63c412e219572e3881d70f1fe37db.jpg","text":"TemporaryFile(/tmp/multipartBody5907640640523716150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479693533,"filename":"image_12042025_17_28_17_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c0a1b224b9af9a5cce2cb4e973474eb.jpg","text":"TemporaryFile(/tmp/multipartBody1458894630646432124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479693533,"filename":"image_12042025_17_27_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc2dbc41d8225674a12f49afc79afaef.jpg","text":"TemporaryFile(/tmp/multipartBody1272885979760181357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479693533,"filename":"image_12042025_17_27_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/428b36f15f74ec7089881b44f1bdd84e.jpg","text":"TemporaryFile(/tmp/multipartBody5226346175784480328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479693533,"filename":"image_12042025_17_28_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284410","file1":"1352284406","file0":"1352284387","file4":"1352284416","file5":"1352284426","file3":"1352284413"},"map_files_photo_id_array":[{"photo_id":"1352284426","filename":"file5"},{"photo_id":"1352284410","filename":"file2"},{"photo_id":"1352284416","filename":"file4"},{"photo_id":"1352284406","filename":"file1"},{"photo_id":"1352284387","filename":"file0"},{"photo_id":"1352284413","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284410":["hashtag1","hashtag2"]},{"1352284413":["hashtag1","hashtag2"]},{"1352284416":["hashtag1","hashtag2"]},{"1352284406":["hashtag1","hashtag2"]},{"1352284387":["hashtag1","hashtag2"]},{"1352284426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284410, 1352284413, 1352284416, 1352284406, 1352284387, 1352284426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.438371419906616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:41:32.196645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_37_10365.jpg', '/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_47_10354.jpg', '/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_56_9370.jpg', '/home/pi/Desktop/images/12042025/17/28/image_12042025_17_29_07_10345.jpg', '/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_17_10364.jpg', '/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_26_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_37_10365.jpg
/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_47_10354.jpg
/home/pi/Desktop/images/12042025/17/28/image_12042025_17_28_56_9370.jpg
/home/pi/Desktop/images/12042025/17/28/image_12042025_17_29_07_10345.jpg
/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_17_10364.jpg
/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_26_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284449","1352284451","1352284454","1352284474","1352284453","1352284447"],"photo_ids_order":["1352284447","1352284449","1352284451","1352284453","1352284454","1352284474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a97a2cf273a50fb601a092134e3253c.jpg","text":"TemporaryFile(/tmp/multipartBody8834526279741335567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479752654,"filename":"image_12042025_17_28_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f61f11c34ad0c635f635d45191fe3e2.jpg","text":"TemporaryFile(/tmp/multipartBody3715084353790961759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479752654,"filename":"image_12042025_17_28_56_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c4d1e460eba529a3ee03544e24c4171.jpg","text":"TemporaryFile(/tmp/multipartBody302609832868918462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479752654,"filename":"image_12042025_17_29_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0896e67926575b2af8e6ba70bf30e197.jpg","text":"TemporaryFile(/tmp/multipartBody1157778123987013830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479752654,"filename":"image_12042025_17_29_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a3dbd0c4e7796af4c5658fa8c2f3ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3122580666661398443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479752654,"filename":"image_12042025_17_29_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3eaa20baa5dd91d45370ce6841868661.jpg","text":"TemporaryFile(/tmp/multipartBody9089286386207758616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479752654,"filename":"image_12042025_17_28_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284451","file1":"1352284449","file0":"1352284447","file4":"1352284454","file5":"1352284474","file3":"1352284453"},"map_files_photo_id_array":[{"photo_id":"1352284474","filename":"file5"},{"photo_id":"1352284451","filename":"file2"},{"photo_id":"1352284454","filename":"file4"},{"photo_id":"1352284449","filename":"file1"},{"photo_id":"1352284447","filename":"file0"},{"photo_id":"1352284453","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284449":["hashtag1","hashtag2"]},{"1352284451":["hashtag1","hashtag2"]},{"1352284454":["hashtag1","hashtag2"]},{"1352284474":["hashtag1","hashtag2"]},{"1352284453":["hashtag1","hashtag2"]},{"1352284447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284449, 1352284451, 1352284454, 1352284474, 1352284453, 1352284447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.068933963775635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:42:32.464671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_37_10440.jpg', '/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_46_9375.jpg', '/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_57_10459.jpg', '/home/pi/Desktop/images/12042025/17/29/image_12042025_17_30_07_10136.jpg', '/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_16_9334.jpg', '/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_27_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_37_10440.jpg
/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_46_9375.jpg
/home/pi/Desktop/images/12042025/17/29/image_12042025_17_29_57_10459.jpg
/home/pi/Desktop/images/12042025/17/29/image_12042025_17_30_07_10136.jpg
/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_16_9334.jpg
/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_27_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284572","1352284575","1352284548","1352284577","1352284579","1352284567"],"photo_ids_order":["1352284548","1352284567","1352284572","1352284575","1352284577","1352284579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dac1fcd45bc70fd3e7fdcc0b7e916710.jpg","text":"TemporaryFile(/tmp/multipartBody1512256489208826582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479812927,"filename":"image_12042025_17_29_57_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/245243c8cd69df95b020ddd219809d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5417027925667179077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479812927,"filename":"image_12042025_17_30_07_10136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78242b97702aee6e137d0dd228748726.jpg","text":"TemporaryFile(/tmp/multipartBody5303594348618652939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479812927,"filename":"image_12042025_17_29_37_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40529f62ab945890565a4c437a39a1b9.jpg","text":"TemporaryFile(/tmp/multipartBody1414055210597401177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479812927,"filename":"image_12042025_17_30_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5b5be3beac2ff6253bc111ac0d57b24.jpg","text":"TemporaryFile(/tmp/multipartBody6363760198244377948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479812927,"filename":"image_12042025_17_30_27_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9acbbc4b69e08dbac0f565efda9ebd2.jpg","text":"TemporaryFile(/tmp/multipartBody4545338519363980097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479812927,"filename":"image_12042025_17_29_46_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284572","file1":"1352284567","file0":"1352284548","file4":"1352284577","file5":"1352284579","file3":"1352284575"},"map_files_photo_id_array":[{"photo_id":"1352284579","filename":"file5"},{"photo_id":"1352284572","filename":"file2"},{"photo_id":"1352284577","filename":"file4"},{"photo_id":"1352284567","filename":"file1"},{"photo_id":"1352284548","filename":"file0"},{"photo_id":"1352284575","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284572":["hashtag1","hashtag2"]},{"1352284575":["hashtag1","hashtag2"]},{"1352284548":["hashtag1","hashtag2"]},{"1352284577":["hashtag1","hashtag2"]},{"1352284579":["hashtag1","hashtag2"]},{"1352284567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284572, 1352284575, 1352284548, 1352284577, 1352284579, 1352284567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16362500190735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:43:32.699290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_37_10353.jpg', '/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_46_9433.jpg', '/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_57_10393.jpg', '/home/pi/Desktop/images/12042025/17/30/image_12042025_17_31_06_9347.jpg', '/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_17_10361.jpg', '/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_27_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_37_10353.jpg
/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_46_9433.jpg
/home/pi/Desktop/images/12042025/17/30/image_12042025_17_30_57_10393.jpg
/home/pi/Desktop/images/12042025/17/30/image_12042025_17_31_06_9347.jpg
/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_17_10361.jpg
/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_27_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284668","1352284662","1352284664","1352284660","1352284657","1352284666"],"photo_ids_order":["1352284657","1352284660","1352284662","1352284664","1352284666","1352284668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5edddc72f2e29a11a7592b8c6ad9f49.jpg","text":"TemporaryFile(/tmp/multipartBody3114889402738969088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479873168,"filename":"image_12042025_17_31_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f13ea4e44c9b879cd36ec7284dad339.jpg","text":"TemporaryFile(/tmp/multipartBody1024655456494671553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479873168,"filename":"image_12042025_17_30_57_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a87eaa064d244232e3b624a88c6b829.jpg","text":"TemporaryFile(/tmp/multipartBody4503386856664250823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479873168,"filename":"image_12042025_17_31_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/315f8914e6c466e44617fc4226ee92e2.jpg","text":"TemporaryFile(/tmp/multipartBody1656904931056226862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479873168,"filename":"image_12042025_17_30_46_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/813be8040048cdbc75bbbe74ee2d6d25.jpg","text":"TemporaryFile(/tmp/multipartBody6477970505246460605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479873168,"filename":"image_12042025_17_30_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29e2eefb1f750a2076d3c4b4ddb9ec53.jpg","text":"TemporaryFile(/tmp/multipartBody8023900955264910754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479873168,"filename":"image_12042025_17_31_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284662","file1":"1352284660","file0":"1352284657","file4":"1352284666","file5":"1352284668","file3":"1352284664"},"map_files_photo_id_array":[{"photo_id":"1352284668","filename":"file5"},{"photo_id":"1352284662","filename":"file2"},{"photo_id":"1352284666","filename":"file4"},{"photo_id":"1352284660","filename":"file1"},{"photo_id":"1352284657","filename":"file0"},{"photo_id":"1352284664","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284668":["hashtag1","hashtag2"]},{"1352284662":["hashtag1","hashtag2"]},{"1352284664":["hashtag1","hashtag2"]},{"1352284660":["hashtag1","hashtag2"]},{"1352284657":["hashtag1","hashtag2"]},{"1352284666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284668, 1352284662, 1352284664, 1352284660, 1352284657, 1352284666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.975104093551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:44:32.988697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_36_9469.jpg', '/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_47_10453.jpg', '/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_56_9405.jpg', '/home/pi/Desktop/images/12042025/17/31/image_12042025_17_32_07_10352.jpg', '/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_17_10360.jpg', '/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_26_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_36_9469.jpg
/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_47_10453.jpg
/home/pi/Desktop/images/12042025/17/31/image_12042025_17_31_56_9405.jpg
/home/pi/Desktop/images/12042025/17/31/image_12042025_17_32_07_10352.jpg
/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_17_10360.jpg
/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_26_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284683","1352284692","1352284686","1352284694","1352284688","1352284679"],"photo_ids_order":["1352284679","1352284683","1352284686","1352284688","1352284692","1352284694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e9f8d545839ec5574318bd27d3c3e79.jpg","text":"TemporaryFile(/tmp/multipartBody4466509238818914591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479933445,"filename":"image_12042025_17_31_47_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2c0b617787f8f38bbac983a00d11ee1.jpg","text":"TemporaryFile(/tmp/multipartBody5118590917880817885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479933445,"filename":"image_12042025_17_32_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36bc9ba8334d531bb485872bab4327ad.jpg","text":"TemporaryFile(/tmp/multipartBody1280694306517113292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479933445,"filename":"image_12042025_17_31_56_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a0d560c1ce5d67c3db4cee1188c593e.jpg","text":"TemporaryFile(/tmp/multipartBody7407424075523911187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479933445,"filename":"image_12042025_17_32_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/12319fa370769b565536998dac28a314.jpg","text":"TemporaryFile(/tmp/multipartBody649244179738760361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479933445,"filename":"image_12042025_17_32_07_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1657d28eeabdd3539dd094b378cf8560.jpg","text":"TemporaryFile(/tmp/multipartBody7508500642462512612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479933445,"filename":"image_12042025_17_31_36_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284686","file1":"1352284683","file0":"1352284679","file4":"1352284692","file5":"1352284694","file3":"1352284688"},"map_files_photo_id_array":[{"photo_id":"1352284694","filename":"file5"},{"photo_id":"1352284686","filename":"file2"},{"photo_id":"1352284692","filename":"file4"},{"photo_id":"1352284683","filename":"file1"},{"photo_id":"1352284679","filename":"file0"},{"photo_id":"1352284688","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284683":["hashtag1","hashtag2"]},{"1352284692":["hashtag1","hashtag2"]},{"1352284686":["hashtag1","hashtag2"]},{"1352284694":["hashtag1","hashtag2"]},{"1352284688":["hashtag1","hashtag2"]},{"1352284679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284683, 1352284692, 1352284686, 1352284694, 1352284688, 1352284679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.492790937423706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:45:33.236419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_37_10456.jpg', '/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_47_10354.jpg', '/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_57_9356.jpg', '/home/pi/Desktop/images/12042025/17/32/image_12042025_17_33_07_10356.jpg', '/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_16_9368.jpg', '/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_27_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_37_10456.jpg
/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_47_10354.jpg
/home/pi/Desktop/images/12042025/17/32/image_12042025_17_32_57_9356.jpg
/home/pi/Desktop/images/12042025/17/32/image_12042025_17_33_07_10356.jpg
/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_16_9368.jpg
/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_27_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284720","1352284722","1352284725","1352284713","1352284727","1352284717"],"photo_ids_order":["1352284713","1352284717","1352284720","1352284722","1352284725","1352284727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7177e1a34dd811d43f5d60bf758ed0f.jpg","text":"TemporaryFile(/tmp/multipartBody4661403396262449134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479993705,"filename":"image_12042025_17_32_57_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0d9dedcdfc88467b86e4f70e95e8c61.jpg","text":"TemporaryFile(/tmp/multipartBody2773024432891573740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479993705,"filename":"image_12042025_17_33_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf0d7d6f0ad7ac9150ee17896e033c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7082910285924846237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479993705,"filename":"image_12042025_17_33_16_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb6cd6ad28df31532a6e5a409bd1a8d0.jpg","text":"TemporaryFile(/tmp/multipartBody1377384213539791780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479993705,"filename":"image_12042025_17_32_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1c20153cafff19d6065a6d4e08cf4c0.jpg","text":"TemporaryFile(/tmp/multipartBody1846396981778479589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479993705,"filename":"image_12042025_17_33_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dba461e80d2ec529d62f9201effa4805.jpg","text":"TemporaryFile(/tmp/multipartBody2847996336621998111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744479993705,"filename":"image_12042025_17_32_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284720","file1":"1352284717","file0":"1352284713","file4":"1352284725","file5":"1352284727","file3":"1352284722"},"map_files_photo_id_array":[{"photo_id":"1352284727","filename":"file5"},{"photo_id":"1352284720","filename":"file2"},{"photo_id":"1352284725","filename":"file4"},{"photo_id":"1352284717","filename":"file1"},{"photo_id":"1352284713","filename":"file0"},{"photo_id":"1352284722","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284720":["hashtag1","hashtag2"]},{"1352284722":["hashtag1","hashtag2"]},{"1352284725":["hashtag1","hashtag2"]},{"1352284713":["hashtag1","hashtag2"]},{"1352284727":["hashtag1","hashtag2"]},{"1352284717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284720, 1352284722, 1352284725, 1352284713, 1352284727, 1352284717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85055065155029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:46:32.263732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_37_10350.jpg', '/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_46_9359.jpg', '/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_57_10350.jpg', '/home/pi/Desktop/images/12042025/17/33/image_12042025_17_34_07_10405.jpg', '/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_17_9441.jpg', '/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_27_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_37_10350.jpg
/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_46_9359.jpg
/home/pi/Desktop/images/12042025/17/33/image_12042025_17_33_57_10350.jpg
/home/pi/Desktop/images/12042025/17/33/image_12042025_17_34_07_10405.jpg
/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_17_9441.jpg
/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_27_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284737","1352284745","1352284739","1352284733","1352284742","1352284735"],"photo_ids_order":["1352284733","1352284735","1352284737","1352284739","1352284742","1352284745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e5629481d493b3a21cc7d08fb8b80fe.jpg","text":"TemporaryFile(/tmp/multipartBody2391835609378070612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480052735,"filename":"image_12042025_17_33_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63e4e03a120650c0182afbf7512eebc6.jpg","text":"TemporaryFile(/tmp/multipartBody7726407237275283042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480052735,"filename":"image_12042025_17_34_27_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2b8caec4a3787780fd16c55ee579422.jpg","text":"TemporaryFile(/tmp/multipartBody6571828530702268575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480052735,"filename":"image_12042025_17_34_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c865050c8e0a3eba4a194035f667a9c9.jpg","text":"TemporaryFile(/tmp/multipartBody4436899112457128300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480052735,"filename":"image_12042025_17_33_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a2a1cebf7446ec4635eaaf6e01ff0ad.jpg","text":"TemporaryFile(/tmp/multipartBody8835540011643038179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480052735,"filename":"image_12042025_17_34_17_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39dc9096e20cdda84877f8aca2722233.jpg","text":"TemporaryFile(/tmp/multipartBody9039367869433260717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480052735,"filename":"image_12042025_17_33_46_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284737","file1":"1352284735","file0":"1352284733","file4":"1352284742","file5":"1352284745","file3":"1352284739"},"map_files_photo_id_array":[{"photo_id":"1352284745","filename":"file5"},{"photo_id":"1352284737","filename":"file2"},{"photo_id":"1352284742","filename":"file4"},{"photo_id":"1352284735","filename":"file1"},{"photo_id":"1352284733","filename":"file0"},{"photo_id":"1352284739","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284737":["hashtag1","hashtag2"]},{"1352284745":["hashtag1","hashtag2"]},{"1352284739":["hashtag1","hashtag2"]},{"1352284733":["hashtag1","hashtag2"]},{"1352284742":["hashtag1","hashtag2"]},{"1352284735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284737, 1352284745, 1352284739, 1352284733, 1352284742, 1352284735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.434316873550415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:47:32.469685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_36_9409.jpg', '/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_47_10455.jpg', '/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_57_10348.jpg', '/home/pi/Desktop/images/12042025/17/34/image_12042025_17_35_07_9496.jpg', '/home/pi/Desktop/images/12042025/17/35/image_12042025_17_35_17_10434.jpg', '/home/pi/Desktop/images/12042025/17/35/image_12042025_17_35_26_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_36_9409.jpg
/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_47_10455.jpg
/home/pi/Desktop/images/12042025/17/34/image_12042025_17_34_57_10348.jpg
/home/pi/Desktop/images/12042025/17/34/image_12042025_17_35_07_9496.jpg
/home/pi/Desktop/images/12042025/17/35/image_12042025_17_35_17_10434.jpg
/home/pi/Desktop/images/12042025/17/35/image_12042025_17_35_26_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284747","1352284752","1352284761","1352284755","1352284749","1352284758"],"photo_ids_order":["1352284747","1352284749","1352284752","1352284755","1352284758","1352284761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40a5cebc886cba329f113a2ce4a3c61e.jpg","text":"TemporaryFile(/tmp/multipartBody6252486434644152770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480112929,"filename":"image_12042025_17_34_36_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c85a9f59e5d003791544fc55c4013efc.jpg","text":"TemporaryFile(/tmp/multipartBody8218533566306957693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480112929,"filename":"image_12042025_17_34_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a966823d2ae8ed3aefcf0bfd75edbba5.jpg","text":"TemporaryFile(/tmp/multipartBody3314515384263481084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480112929,"filename":"image_12042025_17_35_26_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fba322bdd09afd651ec4f5fccb28f32.jpg","text":"TemporaryFile(/tmp/multipartBody3583531176404132582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480112929,"filename":"image_12042025_17_35_07_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b1c4bee7140b1009ce985f85fda10a1.jpg","text":"TemporaryFile(/tmp/multipartBody4581302965147884345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480112929,"filename":"image_12042025_17_34_47_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c79d5870efaff3dbf3d6b23e94f2014.jpg","text":"TemporaryFile(/tmp/multipartBody943083346436692576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480112929,"filename":"image_12042025_17_35_17_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284752","file1":"1352284749","file0":"1352284747","file4":"1352284758","file5":"1352284761","file3":"1352284755"},"map_files_photo_id_array":[{"photo_id":"1352284761","filename":"file5"},{"photo_id":"1352284752","filename":"file2"},{"photo_id":"1352284758","filename":"file4"},{"photo_id":"1352284749","filename":"file1"},{"photo_id":"1352284747","filename":"file0"},{"photo_id":"1352284755","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284747":["hashtag1","hashtag2"]},{"1352284752":["hashtag1","hashtag2"]},{"1352284761":["hashtag1","hashtag2"]},{"1352284755":["hashtag1","hashtag2"]},{"1352284749":["hashtag1","hashtag2"]},{"1352284758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284747, 1352284752, 1352284761, 1352284755, 1352284749, 1352284758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48701500892639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:48:32.737674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/35/image_12042025_17_35_37_10443.jpg', '/home/pi/Desktop/images/12042025/17/35/image_12042025_17_35_46_9338.jpg', '/home/pi/Desktop/images/12042025/17/35/image_12042025_17_36_07_10421.jpg', '/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_17_9451.jpg', '/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_27_10354.jpg', '/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_36_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/35/image_12042025_17_35_37_10443.jpg
/home/pi/Desktop/images/12042025/17/35/image_12042025_17_35_46_9338.jpg
/home/pi/Desktop/images/12042025/17/35/image_12042025_17_36_07_10421.jpg
/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_17_9451.jpg
/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_27_10354.jpg
/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_36_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284773","1352284767","1352284781","1352284775","1352284778","1352284768"],"photo_ids_order":["1352284767","1352284768","1352284773","1352284775","1352284778","1352284781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6600eca138856d0d3a251ae78d21a956.jpg","text":"TemporaryFile(/tmp/multipartBody2539108793587300723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480173211,"filename":"image_12042025_17_36_07_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e5101f1b5515e6a03afb157cc8d1a43.jpg","text":"TemporaryFile(/tmp/multipartBody7915584038488032984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480173211,"filename":"image_12042025_17_35_37_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44afcb19809798cf0c408e4bfa67066e.jpg","text":"TemporaryFile(/tmp/multipartBody8328100386390983099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480173211,"filename":"image_12042025_17_36_36_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29afb7aecc3d99efc0c1590f7fd9b70e.jpg","text":"TemporaryFile(/tmp/multipartBody7285605403128869225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480173211,"filename":"image_12042025_17_36_17_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f85bc07581ab7c47fe55ce17c42474f.jpg","text":"TemporaryFile(/tmp/multipartBody330860456223003794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480173211,"filename":"image_12042025_17_36_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de0a74bf49eab945ce7bb4473c66f0e9.jpg","text":"TemporaryFile(/tmp/multipartBody6859620271454797859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480173211,"filename":"image_12042025_17_35_46_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284773","file1":"1352284768","file0":"1352284767","file4":"1352284778","file5":"1352284781","file3":"1352284775"},"map_files_photo_id_array":[{"photo_id":"1352284781","filename":"file5"},{"photo_id":"1352284773","filename":"file2"},{"photo_id":"1352284778","filename":"file4"},{"photo_id":"1352284768","filename":"file1"},{"photo_id":"1352284767","filename":"file0"},{"photo_id":"1352284775","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284773":["hashtag1","hashtag2"]},{"1352284767":["hashtag1","hashtag2"]},{"1352284781":["hashtag1","hashtag2"]},{"1352284775":["hashtag1","hashtag2"]},{"1352284778":["hashtag1","hashtag2"]},{"1352284768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284773, 1352284767, 1352284781, 1352284775, 1352284778, 1352284768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71417188644409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:49:33.001075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_47_10346.jpg', '/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_57_10357.jpg', '/home/pi/Desktop/images/12042025/17/36/image_12042025_17_37_06_9341.jpg', '/home/pi/Desktop/images/12042025/17/37/image_12042025_17_37_17_10420.jpg', '/home/pi/Desktop/images/12042025/17/37/image_12042025_17_37_27_10356.jpg', '/home/pi/Desktop/images/12042025/17/37/image_12042025_17_37_47_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_47_10346.jpg
/home/pi/Desktop/images/12042025/17/36/image_12042025_17_36_57_10357.jpg
/home/pi/Desktop/images/12042025/17/36/image_12042025_17_37_06_9341.jpg
/home/pi/Desktop/images/12042025/17/37/image_12042025_17_37_17_10420.jpg
/home/pi/Desktop/images/12042025/17/37/image_12042025_17_37_27_10356.jpg
/home/pi/Desktop/images/12042025/17/37/image_12042025_17_37_47_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284791","1352284785","1352284794","1352284793","1352284787","1352284789"],"photo_ids_order":["1352284785","1352284787","1352284789","1352284791","1352284793","1352284794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc984ff2323dab82675f3d5c6240f5a1.jpg","text":"TemporaryFile(/tmp/multipartBody1777815383117777279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480233470,"filename":"image_12042025_17_37_17_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a329e6a1df3ebbe16ac1bc744447b3e5.jpg","text":"TemporaryFile(/tmp/multipartBody4736479470262151033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480233470,"filename":"image_12042025_17_36_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bf4d598e7c12ff6255e81df9c247d8a.jpg","text":"TemporaryFile(/tmp/multipartBody5668034794086366382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480233470,"filename":"image_12042025_17_37_47_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80e83a3dcaa887e08bdf7c764656e1fe.jpg","text":"TemporaryFile(/tmp/multipartBody1421468788806582652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480233470,"filename":"image_12042025_17_37_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/467bffa18a69567c62631b4a531fd9b0.jpg","text":"TemporaryFile(/tmp/multipartBody381978726007568443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480233470,"filename":"image_12042025_17_36_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4656f147b223873bf06b185dffeb4b69.jpg","text":"TemporaryFile(/tmp/multipartBody5525171015030924709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480233470,"filename":"image_12042025_17_37_06_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284789","file1":"1352284787","file0":"1352284785","file4":"1352284793","file5":"1352284794","file3":"1352284791"},"map_files_photo_id_array":[{"photo_id":"1352284794","filename":"file5"},{"photo_id":"1352284789","filename":"file2"},{"photo_id":"1352284793","filename":"file4"},{"photo_id":"1352284787","filename":"file1"},{"photo_id":"1352284785","filename":"file0"},{"photo_id":"1352284791","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284791":["hashtag1","hashtag2"]},{"1352284785":["hashtag1","hashtag2"]},{"1352284794":["hashtag1","hashtag2"]},{"1352284793":["hashtag1","hashtag2"]},{"1352284787":["hashtag1","hashtag2"]},{"1352284789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284791, 1352284785, 1352284794, 1352284793, 1352284787, 1352284789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.170592069625854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:50:32.199461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/37/image_12042025_17_37_56_9468.jpg', '/home/pi/Desktop/images/12042025/17/37/image_12042025_17_38_07_10356.jpg', '/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_17_10448.jpg', '/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_27_9445.jpg', '/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_37_10347.jpg', '/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_46_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/37/image_12042025_17_37_56_9468.jpg
/home/pi/Desktop/images/12042025/17/37/image_12042025_17_38_07_10356.jpg
/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_17_10448.jpg
/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_27_9445.jpg
/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_37_10347.jpg
/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_46_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352284912","1352284845","1352284842","1352284895","1352284871","1352284849"],"photo_ids_order":["1352284842","1352284845","1352284849","1352284871","1352284895","1352284912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0dcbfe6e7f39114eff0d43c4ac44cc8.jpg","text":"TemporaryFile(/tmp/multipartBody884053062801091044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480292667,"filename":"image_12042025_17_38_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd109af08f385d66cd0ce4186abaa0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1502873742263487048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480292667,"filename":"image_12042025_17_38_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c663226580d6f85dd19c37ee8e0efd9.jpg","text":"TemporaryFile(/tmp/multipartBody8989433352536628585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480292667,"filename":"image_12042025_17_37_56_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bf0867a3956bce019411a746eff53f7.jpg","text":"TemporaryFile(/tmp/multipartBody133221578983655581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480292667,"filename":"image_12042025_17_38_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29c897658a81d714446de25adcfbfe11.jpg","text":"TemporaryFile(/tmp/multipartBody677159987533060667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480292667,"filename":"image_12042025_17_38_27_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52da046bd4394fffaec7633dbc5d5623.jpg","text":"TemporaryFile(/tmp/multipartBody8083715062538358108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480292667,"filename":"image_12042025_17_38_17_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352284849","file1":"1352284845","file0":"1352284842","file4":"1352284895","file5":"1352284912","file3":"1352284871"},"map_files_photo_id_array":[{"photo_id":"1352284912","filename":"file5"},{"photo_id":"1352284849","filename":"file2"},{"photo_id":"1352284895","filename":"file4"},{"photo_id":"1352284845","filename":"file1"},{"photo_id":"1352284842","filename":"file0"},{"photo_id":"1352284871","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352284912":["hashtag1","hashtag2"]},{"1352284845":["hashtag1","hashtag2"]},{"1352284842":["hashtag1","hashtag2"]},{"1352284895":["hashtag1","hashtag2"]},{"1352284871":["hashtag1","hashtag2"]},{"1352284849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352284912, 1352284845, 1352284842, 1352284895, 1352284871, 1352284849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04544448852539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:51:32.478996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_57_10456.jpg', '/home/pi/Desktop/images/12042025/17/39/image_12042025_17_39_17_9476.jpg', '/home/pi/Desktop/images/12042025/17/39/image_12042025_17_39_57_10363.jpg', '/home/pi/Desktop/images/12042025/17/39/image_12042025_17_40_07_9359.jpg', '/home/pi/Desktop/images/12042025/17/41/image_12042025_17_42_06_9462.jpg', '/home/pi/Desktop/images/12042025/17/42/image_12042025_17_42_37_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/38/image_12042025_17_38_57_10456.jpg
/home/pi/Desktop/images/12042025/17/39/image_12042025_17_39_17_9476.jpg
/home/pi/Desktop/images/12042025/17/39/image_12042025_17_39_57_10363.jpg
/home/pi/Desktop/images/12042025/17/39/image_12042025_17_40_07_9359.jpg
/home/pi/Desktop/images/12042025/17/41/image_12042025_17_42_06_9462.jpg
/home/pi/Desktop/images/12042025/17/42/image_12042025_17_42_37_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285061","1352285085","1352284995","1352285025","1352285102","1352285002"],"photo_ids_order":["1352284995","1352285002","1352285025","1352285061","1352285085","1352285102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/425ee00e0628ed83d7857b04f648feb1.jpg","text":"TemporaryFile(/tmp/multipartBody6124265447945259720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480352941,"filename":"image_12042025_17_40_07_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07059ce7f25ab4b86d5009ecabb30872.jpg","text":"TemporaryFile(/tmp/multipartBody1025453300051883425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480352941,"filename":"image_12042025_17_42_06_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2693e3d6b6cc1e43372d94fef6875659.jpg","text":"TemporaryFile(/tmp/multipartBody799832614884801642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480352941,"filename":"image_12042025_17_38_57_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03d4b424ecf290fc5b27b79eb614c758.jpg","text":"TemporaryFile(/tmp/multipartBody5185243764462053438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480352941,"filename":"image_12042025_17_39_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43b526d15fb4535463dacc7c4f88e86c.jpg","text":"TemporaryFile(/tmp/multipartBody4680362161948511774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480352941,"filename":"image_12042025_17_42_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/670f8f0fbc55bfc9f534f21347be0c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5088620657285898577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480352941,"filename":"image_12042025_17_39_17_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285025","file1":"1352285002","file0":"1352284995","file4":"1352285085","file5":"1352285102","file3":"1352285061"},"map_files_photo_id_array":[{"photo_id":"1352285102","filename":"file5"},{"photo_id":"1352285025","filename":"file2"},{"photo_id":"1352285085","filename":"file4"},{"photo_id":"1352285002","filename":"file1"},{"photo_id":"1352284995","filename":"file0"},{"photo_id":"1352285061","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285061":["hashtag1","hashtag2"]},{"1352285085":["hashtag1","hashtag2"]},{"1352284995":["hashtag1","hashtag2"]},{"1352285025":["hashtag1","hashtag2"]},{"1352285102":["hashtag1","hashtag2"]},{"1352285002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285061, 1352285085, 1352284995, 1352285025, 1352285102, 1352285002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80498480796814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:52:32.585692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/42/image_12042025_17_42_47_10425.jpg', '/home/pi/Desktop/images/12042025/17/43/image_12042025_17_43_16_9435.jpg', '/home/pi/Desktop/images/12042025/17/43/image_12042025_17_43_27_10433.jpg', '/home/pi/Desktop/images/12042025/17/43/image_12042025_17_44_06_9343.jpg', '/home/pi/Desktop/images/12042025/17/44/image_12042025_17_44_17_10446.jpg', '/home/pi/Desktop/images/12042025/17/44/image_12042025_17_44_27_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/42/image_12042025_17_42_47_10425.jpg
/home/pi/Desktop/images/12042025/17/43/image_12042025_17_43_16_9435.jpg
/home/pi/Desktop/images/12042025/17/43/image_12042025_17_43_27_10433.jpg
/home/pi/Desktop/images/12042025/17/43/image_12042025_17_44_06_9343.jpg
/home/pi/Desktop/images/12042025/17/44/image_12042025_17_44_17_10446.jpg
/home/pi/Desktop/images/12042025/17/44/image_12042025_17_44_27_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285163","1352285157","1352285165","1352285156","1352285159","1352285161"],"photo_ids_order":["1352285156","1352285157","1352285159","1352285161","1352285163","1352285165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53d0e520124b932e876586c4ca52e941.jpg","text":"TemporaryFile(/tmp/multipartBody1934265465884793912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480413072,"filename":"image_12042025_17_44_17_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38a42ed0736e0a5035afc62e065e539c.jpg","text":"TemporaryFile(/tmp/multipartBody8127510012630120340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480413072,"filename":"image_12042025_17_43_16_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0291cbc97f130146c26d0a6e6ebde44.jpg","text":"TemporaryFile(/tmp/multipartBody8447207559465437833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480413072,"filename":"image_12042025_17_44_27_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56e4bcfcba4ac90c7832963ba648db78.jpg","text":"TemporaryFile(/tmp/multipartBody681851066392268767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480413072,"filename":"image_12042025_17_42_47_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3aceeb728ab4686a12b6a69a7f56a434.jpg","text":"TemporaryFile(/tmp/multipartBody3397522948491988081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480413072,"filename":"image_12042025_17_43_27_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ff6ef76808448bd0cf773367206ea45.jpg","text":"TemporaryFile(/tmp/multipartBody5885179334359557694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480413072,"filename":"image_12042025_17_44_06_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285159","file1":"1352285157","file0":"1352285156","file4":"1352285163","file5":"1352285165","file3":"1352285161"},"map_files_photo_id_array":[{"photo_id":"1352285165","filename":"file5"},{"photo_id":"1352285159","filename":"file2"},{"photo_id":"1352285163","filename":"file4"},{"photo_id":"1352285157","filename":"file1"},{"photo_id":"1352285156","filename":"file0"},{"photo_id":"1352285161","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285163":["hashtag1","hashtag2"]},{"1352285157":["hashtag1","hashtag2"]},{"1352285165":["hashtag1","hashtag2"]},{"1352285156":["hashtag1","hashtag2"]},{"1352285159":["hashtag1","hashtag2"]},{"1352285161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285163, 1352285157, 1352285165, 1352285156, 1352285159, 1352285161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.442710876464844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:53:32.674008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/44/image_12042025_17_44_37_9458.jpg', '/home/pi/Desktop/images/12042025/17/44/image_12042025_17_45_07_10404.jpg', '/home/pi/Desktop/images/12042025/17/45/image_12042025_17_45_37_10403.jpg', '/home/pi/Desktop/images/12042025/17/45/image_12042025_17_46_06_9352.jpg', '/home/pi/Desktop/images/12042025/17/46/image_12042025_17_46_17_10451.jpg', '/home/pi/Desktop/images/12042025/17/46/image_12042025_17_46_27_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/44/image_12042025_17_44_37_9458.jpg
/home/pi/Desktop/images/12042025/17/44/image_12042025_17_45_07_10404.jpg
/home/pi/Desktop/images/12042025/17/45/image_12042025_17_45_37_10403.jpg
/home/pi/Desktop/images/12042025/17/45/image_12042025_17_46_06_9352.jpg
/home/pi/Desktop/images/12042025/17/46/image_12042025_17_46_17_10451.jpg
/home/pi/Desktop/images/12042025/17/46/image_12042025_17_46_27_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285184","1352285186","1352285180","1352285188","1352285182","1352285179"],"photo_ids_order":["1352285179","1352285180","1352285182","1352285184","1352285186","1352285188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dac9e5fadfacbc1c82c7d8dd512a0a6f.jpg","text":"TemporaryFile(/tmp/multipartBody1197280723918493009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480473141,"filename":"image_12042025_17_46_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/526030e45a956efccf81845e47b34420.jpg","text":"TemporaryFile(/tmp/multipartBody2022725231275565068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480473141,"filename":"image_12042025_17_46_17_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/03a8609530a569ae071d487c797c0128.jpg","text":"TemporaryFile(/tmp/multipartBody3231213506326314812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480473141,"filename":"image_12042025_17_45_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/346020804d8bd8dc32447b0309ef8333.jpg","text":"TemporaryFile(/tmp/multipartBody6812072035315370266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480473141,"filename":"image_12042025_17_46_27_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec58e64713ba44bbd9062ac5c9239f19.jpg","text":"TemporaryFile(/tmp/multipartBody1517623293658044077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480473141,"filename":"image_12042025_17_45_37_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7bb057590e37a7ed2de60695f4cf947.jpg","text":"TemporaryFile(/tmp/multipartBody5257449886748239694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480473141,"filename":"image_12042025_17_44_37_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285182","file1":"1352285180","file0":"1352285179","file4":"1352285186","file5":"1352285188","file3":"1352285184"},"map_files_photo_id_array":[{"photo_id":"1352285188","filename":"file5"},{"photo_id":"1352285182","filename":"file2"},{"photo_id":"1352285186","filename":"file4"},{"photo_id":"1352285180","filename":"file1"},{"photo_id":"1352285179","filename":"file0"},{"photo_id":"1352285184","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285184":["hashtag1","hashtag2"]},{"1352285186":["hashtag1","hashtag2"]},{"1352285180":["hashtag1","hashtag2"]},{"1352285188":["hashtag1","hashtag2"]},{"1352285182":["hashtag1","hashtag2"]},{"1352285179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285184, 1352285186, 1352285180, 1352285188, 1352285182, 1352285179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21842098236084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:54:32.916230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/46/image_12042025_17_46_37_9445.jpg', '/home/pi/Desktop/images/12042025/17/46/image_12042025_17_46_56_9406.jpg', '/home/pi/Desktop/images/12042025/17/46/image_12042025_17_47_07_10357.jpg', '/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_16_9421.jpg', '/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_27_10363.jpg', '/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_37_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/46/image_12042025_17_46_37_9445.jpg
/home/pi/Desktop/images/12042025/17/46/image_12042025_17_46_56_9406.jpg
/home/pi/Desktop/images/12042025/17/46/image_12042025_17_47_07_10357.jpg
/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_16_9421.jpg
/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_27_10363.jpg
/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_37_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285206","1352285202","1352285204","1352285197","1352285200","1352285199"],"photo_ids_order":["1352285197","1352285199","1352285200","1352285202","1352285204","1352285206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e1dfaa23d023c8805d0c0be10438d68.jpg","text":"TemporaryFile(/tmp/multipartBody5468869251850542585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480533391,"filename":"image_12042025_17_47_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/529d4e63d1822ae63255290543d9a0b0.jpg","text":"TemporaryFile(/tmp/multipartBody8068970748538176417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480533391,"filename":"image_12042025_17_47_16_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25fcc4d8df4f3bf9cf28482d65c4dcab.jpg","text":"TemporaryFile(/tmp/multipartBody1503521305040700164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480533391,"filename":"image_12042025_17_47_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e454c988ba8290e5b1bee6aae774de8e.jpg","text":"TemporaryFile(/tmp/multipartBody8000294167787035763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480533391,"filename":"image_12042025_17_46_37_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70cdc0595d465d6ca8d25faa783082e9.jpg","text":"TemporaryFile(/tmp/multipartBody1758386724252454530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480533391,"filename":"image_12042025_17_47_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba020b4469e39b5c72941fa5942475d5.jpg","text":"TemporaryFile(/tmp/multipartBody3459814800959530070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480533391,"filename":"image_12042025_17_46_56_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285200","file1":"1352285199","file0":"1352285197","file4":"1352285204","file5":"1352285206","file3":"1352285202"},"map_files_photo_id_array":[{"photo_id":"1352285206","filename":"file5"},{"photo_id":"1352285200","filename":"file2"},{"photo_id":"1352285204","filename":"file4"},{"photo_id":"1352285199","filename":"file1"},{"photo_id":"1352285197","filename":"file0"},{"photo_id":"1352285202","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285206":["hashtag1","hashtag2"]},{"1352285202":["hashtag1","hashtag2"]},{"1352285204":["hashtag1","hashtag2"]},{"1352285197":["hashtag1","hashtag2"]},{"1352285200":["hashtag1","hashtag2"]},{"1352285199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285206, 1352285202, 1352285204, 1352285197, 1352285200, 1352285199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.787104845047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:55:33.334673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_46_9424.jpg', '/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_57_10360.jpg', '/home/pi/Desktop/images/12042025/17/47/image_12042025_17_48_06_9474.jpg', '/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_17_10457.jpg', '/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_27_10357.jpg', '/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_36_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_46_9424.jpg
/home/pi/Desktop/images/12042025/17/47/image_12042025_17_47_57_10360.jpg
/home/pi/Desktop/images/12042025/17/47/image_12042025_17_48_06_9474.jpg
/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_17_10457.jpg
/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_27_10357.jpg
/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_36_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285247","1352285249","1352285222","1352285219","1352285245","1352285227"],"photo_ids_order":["1352285219","1352285222","1352285227","1352285245","1352285247","1352285249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4826496bb50103fa7e4bbdca15e1a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7447847535959562761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480593791,"filename":"image_12042025_17_48_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f3423eedf18b5ee2ca7a2d73290090f.jpg","text":"TemporaryFile(/tmp/multipartBody5139572146953501854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480593791,"filename":"image_12042025_17_48_36_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9b25c19f15d40ee782bac9e237601e6d.jpg","text":"TemporaryFile(/tmp/multipartBody1159156136126044083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480593791,"filename":"image_12042025_17_47_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fa79e80753b2bcb93052ddef4cc7dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6224842843523306834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480593791,"filename":"image_12042025_17_47_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60d87a163b787fda3a47690811d85f96.jpg","text":"TemporaryFile(/tmp/multipartBody530958409753693408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480593791,"filename":"image_12042025_17_48_17_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eac9e5bcee320f6b79ad88a89ccd711c.jpg","text":"TemporaryFile(/tmp/multipartBody6874824257163383939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480593791,"filename":"image_12042025_17_48_06_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285227","file1":"1352285222","file0":"1352285219","file4":"1352285247","file5":"1352285249","file3":"1352285245"},"map_files_photo_id_array":[{"photo_id":"1352285249","filename":"file5"},{"photo_id":"1352285227","filename":"file2"},{"photo_id":"1352285247","filename":"file4"},{"photo_id":"1352285222","filename":"file1"},{"photo_id":"1352285219","filename":"file0"},{"photo_id":"1352285245","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285247":["hashtag1","hashtag2"]},{"1352285249":["hashtag1","hashtag2"]},{"1352285222":["hashtag1","hashtag2"]},{"1352285219":["hashtag1","hashtag2"]},{"1352285245":["hashtag1","hashtag2"]},{"1352285227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285247, 1352285249, 1352285222, 1352285219, 1352285245, 1352285227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.5765860080719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:56:32.464240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_47_10431.jpg', '/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_56_9341.jpg', '/home/pi/Desktop/images/12042025/17/48/image_12042025_17_49_07_10379.jpg', '/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_17_10406.jpg', '/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_26_9347.jpg', '/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_37_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_47_10431.jpg
/home/pi/Desktop/images/12042025/17/48/image_12042025_17_48_56_9341.jpg
/home/pi/Desktop/images/12042025/17/48/image_12042025_17_49_07_10379.jpg
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_17_10406.jpg
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_26_9347.jpg
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_37_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285451","1352285418","1352285427","1352285462","1352285447","1352285428"],"photo_ids_order":["1352285418","1352285427","1352285428","1352285447","1352285451","1352285462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/311c1b8bd5b1ffdbd159283fe0e0813e.jpg","text":"TemporaryFile(/tmp/multipartBody3384387030297190900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480652912,"filename":"image_12042025_17_49_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11d73cf52d6e8eafcd35fffade5b5003.jpg","text":"TemporaryFile(/tmp/multipartBody3948922534769017131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480652912,"filename":"image_12042025_17_48_47_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/999e9fca86346eb7d585ee5df0498ece.jpg","text":"TemporaryFile(/tmp/multipartBody5617413084639443974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480652912,"filename":"image_12042025_17_48_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/344558becf73bbac52fd20afe242aab1.jpg","text":"TemporaryFile(/tmp/multipartBody7947535568084245823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480652912,"filename":"image_12042025_17_49_37_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb78fc202f1935adc69381c8a2163835.jpg","text":"TemporaryFile(/tmp/multipartBody2962551950607808434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480652912,"filename":"image_12042025_17_49_17_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b56719d4d17b7b7d6729f0af6f4eb45.jpg","text":"TemporaryFile(/tmp/multipartBody3628005473920776967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480652912,"filename":"image_12042025_17_49_07_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285428","file1":"1352285427","file0":"1352285418","file4":"1352285451","file5":"1352285462","file3":"1352285447"},"map_files_photo_id_array":[{"photo_id":"1352285462","filename":"file5"},{"photo_id":"1352285428","filename":"file2"},{"photo_id":"1352285451","filename":"file4"},{"photo_id":"1352285427","filename":"file1"},{"photo_id":"1352285418","filename":"file0"},{"photo_id":"1352285447","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285451":["hashtag1","hashtag2"]},{"1352285418":["hashtag1","hashtag2"]},{"1352285427":["hashtag1","hashtag2"]},{"1352285462":["hashtag1","hashtag2"]},{"1352285447":["hashtag1","hashtag2"]},{"1352285428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285451, 1352285418, 1352285427, 1352285462, 1352285447, 1352285428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.600018739700317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 19:57:32.633072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_47_10374.jpg', '/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_57_9452.jpg', '/home/pi/Desktop/images/12042025/17/49/image_12042025_17_50_07_10350.jpg', '/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_16_9321.jpg', '/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_27_10355.jpg', '/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_37_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_47_10374.jpg
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_57_9452.jpg
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_50_07_10350.jpg
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_16_9321.jpg
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_27_10355.jpg
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_37_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 19:59:03.636649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_47_10374.jpg', '/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_57_9452.jpg', '/home/pi/Desktop/images/12042025/17/49/image_12042025_17_50_07_10350.jpg', '/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_16_9321.jpg', '/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_27_10355.jpg', '/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_37_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_47_10374.jpg
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_49_57_9452.jpg
/home/pi/Desktop/images/12042025/17/49/image_12042025_17_50_07_10350.jpg
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_16_9321.jpg
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_27_10355.jpg
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_37_10339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285643","1352285592","1352285616","1352285672","1352285696","1352285722"],"photo_ids_order":["1352285592","1352285616","1352285643","1352285672","1352285696","1352285722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/20b62e2d46ac9f7ab5ee0b63d8166f4c.jpg","text":"TemporaryFile(/tmp/multipartBody6359557521099342288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480804167,"filename":"image_12042025_17_50_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/461825ebe4261631885074567612ab26.jpg","text":"TemporaryFile(/tmp/multipartBody1733925723459019228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480804167,"filename":"image_12042025_17_49_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59cbe59d046d88bf79570adf8d3d0b95.jpg","text":"TemporaryFile(/tmp/multipartBody6091236649010554344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480804167,"filename":"image_12042025_17_49_57_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95eef871f6c096d6bd478477bc66e0fb.jpg","text":"TemporaryFile(/tmp/multipartBody9154649043428999396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480804167,"filename":"image_12042025_17_50_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06cdfadf3c86675f3f9dde28dbb03529.jpg","text":"TemporaryFile(/tmp/multipartBody5229382894966587478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480804167,"filename":"image_12042025_17_50_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b2c32585e73cd11b67dec13b622b1469.jpg","text":"TemporaryFile(/tmp/multipartBody1344695711987673184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480804167,"filename":"image_12042025_17_50_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285643","file1":"1352285616","file0":"1352285592","file4":"1352285696","file5":"1352285722","file3":"1352285672"},"map_files_photo_id_array":[{"photo_id":"1352285722","filename":"file5"},{"photo_id":"1352285643","filename":"file2"},{"photo_id":"1352285696","filename":"file4"},{"photo_id":"1352285616","filename":"file1"},{"photo_id":"1352285592","filename":"file0"},{"photo_id":"1352285672","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285643":["hashtag1","hashtag2"]},{"1352285592":["hashtag1","hashtag2"]},{"1352285616":["hashtag1","hashtag2"]},{"1352285672":["hashtag1","hashtag2"]},{"1352285696":["hashtag1","hashtag2"]},{"1352285722":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285643, 1352285592, 1352285616, 1352285672, 1352285696, 1352285722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.474610805511475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 19:59:42.314272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_46_9370.jpg', '/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_57_10423.jpg', '/home/pi/Desktop/images/12042025/17/50/image_12042025_17_51_07_10381.jpg', '/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_17_9474.jpg', '/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_27_10351.jpg', '/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_36_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_46_9370.jpg
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_50_57_10423.jpg
/home/pi/Desktop/images/12042025/17/50/image_12042025_17_51_07_10381.jpg
/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_17_9474.jpg
/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_27_10351.jpg
/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_36_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285925","1352285847","1352285901","1352285879","1352285828","1352285923"],"photo_ids_order":["1352285828","1352285847","1352285879","1352285901","1352285923","1352285925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6de215f1e52fa72702566f3f86b8d7ea.jpg","text":"TemporaryFile(/tmp/multipartBody56683629280115369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480842785,"filename":"image_12042025_17_51_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6af5cd57fe80edaa9cf8ff08e72e042.jpg","text":"TemporaryFile(/tmp/multipartBody6879468281598554147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480842785,"filename":"image_12042025_17_50_57_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6794a71ca6b5be4bbd43395613aede1c.jpg","text":"TemporaryFile(/tmp/multipartBody1047149721056434220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480842785,"filename":"image_12042025_17_51_17_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15665f026ad541bca9a56a187a6638ac.jpg","text":"TemporaryFile(/tmp/multipartBody5925397053805811468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480842785,"filename":"image_12042025_17_51_07_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce50c6abf3600c65d60653d7b3533a96.jpg","text":"TemporaryFile(/tmp/multipartBody4906594576278756828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480842785,"filename":"image_12042025_17_50_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8eb2cd0963d1e71b571c4504ab38166.jpg","text":"TemporaryFile(/tmp/multipartBody9055728605011400937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480842785,"filename":"image_12042025_17_51_27_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285879","file1":"1352285847","file0":"1352285828","file4":"1352285923","file5":"1352285925","file3":"1352285901"},"map_files_photo_id_array":[{"photo_id":"1352285925","filename":"file5"},{"photo_id":"1352285879","filename":"file2"},{"photo_id":"1352285923","filename":"file4"},{"photo_id":"1352285847","filename":"file1"},{"photo_id":"1352285828","filename":"file0"},{"photo_id":"1352285901","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285925":["hashtag1","hashtag2"]},{"1352285847":["hashtag1","hashtag2"]},{"1352285901":["hashtag1","hashtag2"]},{"1352285879":["hashtag1","hashtag2"]},{"1352285828":["hashtag1","hashtag2"]},{"1352285923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285925, 1352285847, 1352285901, 1352285879, 1352285828, 1352285923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18563771247864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:00:32.633343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_47_10456.jpg', '/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_57_10337.jpg', '/home/pi/Desktop/images/12042025/17/51/image_12042025_17_52_06_9404.jpg', '/home/pi/Desktop/images/12042025/17/52/image_12042025_17_52_27_10366.jpg', '/home/pi/Desktop/images/12042025/17/52/image_12042025_17_52_37_9354.jpg', '/home/pi/Desktop/images/12042025/17/52/image_12042025_17_52_47_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_47_10456.jpg
/home/pi/Desktop/images/12042025/17/51/image_12042025_17_51_57_10337.jpg
/home/pi/Desktop/images/12042025/17/51/image_12042025_17_52_06_9404.jpg
/home/pi/Desktop/images/12042025/17/52/image_12042025_17_52_27_10366.jpg
/home/pi/Desktop/images/12042025/17/52/image_12042025_17_52_37_9354.jpg
/home/pi/Desktop/images/12042025/17/52/image_12042025_17_52_47_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352285934","1352286038","1352285933","1352285936","1352285932","1352286063"],"photo_ids_order":["1352285932","1352285933","1352285934","1352285936","1352286038","1352286063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/813d86b2356317d1ee05faf55b9f8c82.jpg","text":"TemporaryFile(/tmp/multipartBody5412798531922090342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480893107,"filename":"image_12042025_17_52_06_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/273ff72858adbd5c9a6a798321f51cd0.jpg","text":"TemporaryFile(/tmp/multipartBody5621974163798658126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480893107,"filename":"image_12042025_17_52_37_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1accaf851d2cd4f66eb0008f011e614.jpg","text":"TemporaryFile(/tmp/multipartBody822535391518958757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480893107,"filename":"image_12042025_17_51_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1cd57a2ac4fff49df5e7b6958136ed3.jpg","text":"TemporaryFile(/tmp/multipartBody3905200245142418742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480893107,"filename":"image_12042025_17_52_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e6ba4ff846c7d6812496642beb103a8.jpg","text":"TemporaryFile(/tmp/multipartBody1765537130289291358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480893107,"filename":"image_12042025_17_51_47_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d80682680f1b4426f7e65cc2725ff69.jpg","text":"TemporaryFile(/tmp/multipartBody8216449958278099390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480893107,"filename":"image_12042025_17_52_47_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352285934","file1":"1352285933","file0":"1352285932","file4":"1352286038","file5":"1352286063","file3":"1352285936"},"map_files_photo_id_array":[{"photo_id":"1352286063","filename":"file5"},{"photo_id":"1352285934","filename":"file2"},{"photo_id":"1352286038","filename":"file4"},{"photo_id":"1352285933","filename":"file1"},{"photo_id":"1352285932","filename":"file0"},{"photo_id":"1352285936","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352285934":["hashtag1","hashtag2"]},{"1352286038":["hashtag1","hashtag2"]},{"1352285933":["hashtag1","hashtag2"]},{"1352285936":["hashtag1","hashtag2"]},{"1352285932":["hashtag1","hashtag2"]},{"1352286063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352285934, 1352286038, 1352285933, 1352285936, 1352285932, 1352286063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.35419750213623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:01:32.841303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/52/image_12042025_17_52_56_9529.jpg', '/home/pi/Desktop/images/12042025/17/52/image_12042025_17_53_07_10457.jpg', '/home/pi/Desktop/images/12042025/17/53/image_12042025_17_53_16_9409.jpg', '/home/pi/Desktop/images/12042025/17/53/image_12042025_17_53_27_10464.jpg', '/home/pi/Desktop/images/12042025/17/53/image_12042025_17_53_47_9412.jpg', '/home/pi/Desktop/images/12042025/17/53/image_12042025_17_53_57_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/52/image_12042025_17_52_56_9529.jpg
/home/pi/Desktop/images/12042025/17/52/image_12042025_17_53_07_10457.jpg
/home/pi/Desktop/images/12042025/17/53/image_12042025_17_53_16_9409.jpg
/home/pi/Desktop/images/12042025/17/53/image_12042025_17_53_27_10464.jpg
/home/pi/Desktop/images/12042025/17/53/image_12042025_17_53_47_9412.jpg
/home/pi/Desktop/images/12042025/17/53/image_12042025_17_53_57_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352286290","1352286425","1352286215","1352286262","1352286462","1352286531"],"photo_ids_order":["1352286215","1352286262","1352286290","1352286425","1352286462","1352286531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f98e170f3e48db51d2c7e7c4d2657db.jpg","text":"TemporaryFile(/tmp/multipartBody5564837132949527653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480953308,"filename":"image_12042025_17_53_16_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/255efee0df61712b0e6237b93815daf8.jpg","text":"TemporaryFile(/tmp/multipartBody3746342086945562765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480953308,"filename":"image_12042025_17_53_27_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0af24c22bb58a3f247a29e5c1e2d1650.jpg","text":"TemporaryFile(/tmp/multipartBody8807421819262250212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480953308,"filename":"image_12042025_17_52_56_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4958c70c48bb844c1ecfe2501883329b.jpg","text":"TemporaryFile(/tmp/multipartBody1293949908031388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480953308,"filename":"image_12042025_17_53_07_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40c518e1e95dad2fe5f226a1659250e9.jpg","text":"TemporaryFile(/tmp/multipartBody5346742629100574620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480953308,"filename":"image_12042025_17_53_47_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42379a85061c9063090fc166b2be6768.jpg","text":"TemporaryFile(/tmp/multipartBody7448000360219518626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744480953308,"filename":"image_12042025_17_53_57_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352286290","file1":"1352286262","file0":"1352286215","file4":"1352286462","file5":"1352286531","file3":"1352286425"},"map_files_photo_id_array":[{"photo_id":"1352286531","filename":"file5"},{"photo_id":"1352286290","filename":"file2"},{"photo_id":"1352286462","filename":"file4"},{"photo_id":"1352286262","filename":"file1"},{"photo_id":"1352286215","filename":"file0"},{"photo_id":"1352286425","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352286290":["hashtag1","hashtag2"]},{"1352286425":["hashtag1","hashtag2"]},{"1352286215":["hashtag1","hashtag2"]},{"1352286262":["hashtag1","hashtag2"]},{"1352286462":["hashtag1","hashtag2"]},{"1352286531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352286290, 1352286425, 1352286215, 1352286262, 1352286462, 1352286531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.21182894706726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:02:33.192701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/53/image_12042025_17_54_06_9346.jpg', '/home/pi/Desktop/images/12042025/17/54/image_12042025_17_54_17_10359.jpg', '/home/pi/Desktop/images/12042025/17/54/image_12042025_17_54_27_10377.jpg', '/home/pi/Desktop/images/12042025/17/54/image_12042025_17_54_47_10463.jpg', '/home/pi/Desktop/images/12042025/17/54/image_12042025_17_55_07_10426.jpg', '/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_17_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/53/image_12042025_17_54_06_9346.jpg
/home/pi/Desktop/images/12042025/17/54/image_12042025_17_54_17_10359.jpg
/home/pi/Desktop/images/12042025/17/54/image_12042025_17_54_27_10377.jpg
/home/pi/Desktop/images/12042025/17/54/image_12042025_17_54_47_10463.jpg
/home/pi/Desktop/images/12042025/17/54/image_12042025_17_55_07_10426.jpg
/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_17_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352286911","1352286796","1352286769","1352286976","1352286844","1352286936"],"photo_ids_order":["1352286769","1352286796","1352286844","1352286911","1352286936","1352286976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef75b51651169f04ad9ea3e903aefb81.jpg","text":"TemporaryFile(/tmp/multipartBody6406963866923385424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481013664,"filename":"image_12042025_17_54_47_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56a328d58f6fcbab63950935a1e962ed.jpg","text":"TemporaryFile(/tmp/multipartBody6526083573896869140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481013664,"filename":"image_12042025_17_54_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0c15357bf8a65719b6120ef041a1041.jpg","text":"TemporaryFile(/tmp/multipartBody1370531293845005266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481013664,"filename":"image_12042025_17_54_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8bb48fdc9455f03bba382c53b189edb1.jpg","text":"TemporaryFile(/tmp/multipartBody6691294264345732096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481013664,"filename":"image_12042025_17_55_17_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dcd89cd5fb2224fd426cdc4f9704ba65.jpg","text":"TemporaryFile(/tmp/multipartBody1390004423508536722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481013664,"filename":"image_12042025_17_54_27_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb349d517efc6db4bbfe977139a9252b.jpg","text":"TemporaryFile(/tmp/multipartBody7434623244655707062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481013664,"filename":"image_12042025_17_55_07_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352286844","file1":"1352286796","file0":"1352286769","file4":"1352286936","file5":"1352286976","file3":"1352286911"},"map_files_photo_id_array":[{"photo_id":"1352286976","filename":"file5"},{"photo_id":"1352286844","filename":"file2"},{"photo_id":"1352286936","filename":"file4"},{"photo_id":"1352286796","filename":"file1"},{"photo_id":"1352286769","filename":"file0"},{"photo_id":"1352286911","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352286911":["hashtag1","hashtag2"]},{"1352286796":["hashtag1","hashtag2"]},{"1352286769":["hashtag1","hashtag2"]},{"1352286976":["hashtag1","hashtag2"]},{"1352286844":["hashtag1","hashtag2"]},{"1352286936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352286911, 1352286796, 1352286769, 1352286976, 1352286844, 1352286936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69223475456238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:03:32.226672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_27_9484.jpg', '/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_37_10414.jpg', '/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_46_9492.jpg', '/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_57_10419.jpg', '/home/pi/Desktop/images/12042025/17/56/image_12042025_17_56_17_10336.jpg', '/home/pi/Desktop/images/12042025/17/56/image_12042025_17_56_27_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_27_9484.jpg
/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_37_10414.jpg
/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_46_9492.jpg
/home/pi/Desktop/images/12042025/17/55/image_12042025_17_55_57_10419.jpg
/home/pi/Desktop/images/12042025/17/56/image_12042025_17_56_17_10336.jpg
/home/pi/Desktop/images/12042025/17/56/image_12042025_17_56_27_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352287355","1352287279","1352287315","1352287389","1352287266","1352287379"],"photo_ids_order":["1352287266","1352287279","1352287315","1352287355","1352287379","1352287389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d3167126a5bbc817d705128591eebf0.jpg","text":"TemporaryFile(/tmp/multipartBody8087026062844145026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481072683,"filename":"image_12042025_17_55_57_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/251a6be49bd92c6d21668cfce1fd5bad.jpg","text":"TemporaryFile(/tmp/multipartBody8978540512004154068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481072683,"filename":"image_12042025_17_55_37_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc34a611134a4707c71680939ccfd7f4.jpg","text":"TemporaryFile(/tmp/multipartBody3379288636436105569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481072683,"filename":"image_12042025_17_55_46_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf8c571c41c9d6f17e629045a81c45e8.jpg","text":"TemporaryFile(/tmp/multipartBody7205758933398822358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481072683,"filename":"image_12042025_17_56_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b2aca5fec92c84a474733dcbc9a29e6.jpg","text":"TemporaryFile(/tmp/multipartBody633408232687055511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481072683,"filename":"image_12042025_17_55_27_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f3fd434cacf4c6ed04dc6843aafd0ce.jpg","text":"TemporaryFile(/tmp/multipartBody8533122389785209039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481072683,"filename":"image_12042025_17_56_17_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352287315","file1":"1352287279","file0":"1352287266","file4":"1352287379","file5":"1352287389","file3":"1352287355"},"map_files_photo_id_array":[{"photo_id":"1352287389","filename":"file5"},{"photo_id":"1352287315","filename":"file2"},{"photo_id":"1352287379","filename":"file4"},{"photo_id":"1352287279","filename":"file1"},{"photo_id":"1352287266","filename":"file0"},{"photo_id":"1352287355","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352287355":["hashtag1","hashtag2"]},{"1352287279":["hashtag1","hashtag2"]},{"1352287315":["hashtag1","hashtag2"]},{"1352287389":["hashtag1","hashtag2"]},{"1352287266":["hashtag1","hashtag2"]},{"1352287379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352287355, 1352287279, 1352287315, 1352287389, 1352287266, 1352287379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26940584182739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:04:32.506281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/56/image_12042025_17_56_56_9394.jpg', '/home/pi/Desktop/images/12042025/17/57/image_12042025_17_57_26_9346.jpg', '/home/pi/Desktop/images/12042025/17/57/image_12042025_17_57_37_10362.jpg', '/home/pi/Desktop/images/12042025/17/57/image_12042025_17_57_57_9386.jpg', '/home/pi/Desktop/images/12042025/17/57/image_12042025_17_58_07_10356.jpg', '/home/pi/Desktop/images/12042025/17/58/image_12042025_17_58_27_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/56/image_12042025_17_56_56_9394.jpg
/home/pi/Desktop/images/12042025/17/57/image_12042025_17_57_26_9346.jpg
/home/pi/Desktop/images/12042025/17/57/image_12042025_17_57_37_10362.jpg
/home/pi/Desktop/images/12042025/17/57/image_12042025_17_57_57_9386.jpg
/home/pi/Desktop/images/12042025/17/57/image_12042025_17_58_07_10356.jpg
/home/pi/Desktop/images/12042025/17/58/image_12042025_17_58_27_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352287457","1352287447","1352287435","1352287440","1352287443","1352287437"],"photo_ids_order":["1352287435","1352287437","1352287440","1352287443","1352287447","1352287457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e7ed824f89637f736e3013dda644fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7342457070702735377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481132978,"filename":"image_12042025_17_58_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e303d60183a825c3cf723ae575266106.jpg","text":"TemporaryFile(/tmp/multipartBody4941980793294972551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481132978,"filename":"image_12042025_17_58_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d0ef01660c3d1d952eb6c0221d8977c.jpg","text":"TemporaryFile(/tmp/multipartBody837149291906879184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481132978,"filename":"image_12042025_17_56_56_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c5c4b5f4dc3cc587da7a06df721e498.jpg","text":"TemporaryFile(/tmp/multipartBody5562458942677652053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481132978,"filename":"image_12042025_17_57_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3f3f5c5a532daa8fa481ee0e61a7e8b.jpg","text":"TemporaryFile(/tmp/multipartBody4307164185194907865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481132978,"filename":"image_12042025_17_57_57_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97269ddf99bcaea1533b2a62dea0bf48.jpg","text":"TemporaryFile(/tmp/multipartBody3988985610121732387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481132978,"filename":"image_12042025_17_57_26_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352287440","file1":"1352287437","file0":"1352287435","file4":"1352287447","file5":"1352287457","file3":"1352287443"},"map_files_photo_id_array":[{"photo_id":"1352287457","filename":"file5"},{"photo_id":"1352287440","filename":"file2"},{"photo_id":"1352287447","filename":"file4"},{"photo_id":"1352287437","filename":"file1"},{"photo_id":"1352287435","filename":"file0"},{"photo_id":"1352287443","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352287457":["hashtag1","hashtag2"]},{"1352287447":["hashtag1","hashtag2"]},{"1352287435":["hashtag1","hashtag2"]},{"1352287440":["hashtag1","hashtag2"]},{"1352287443":["hashtag1","hashtag2"]},{"1352287437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352287457, 1352287447, 1352287435, 1352287440, 1352287443, 1352287437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11366415023804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:05:32.698868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/17/58/image_12042025_17_59_06_9407.jpg', '/home/pi/Desktop/images/12042025/17/59/image_12042025_17_59_17_10450.jpg', '/home/pi/Desktop/images/12042025/17/59/image_12042025_17_59_27_10369.jpg', '/home/pi/Desktop/images/12042025/17/59/image_12042025_17_59_47_10373.jpg', '/home/pi/Desktop/images/12042025/18/00/image_12042025_18_00_16_10075.jpg', '/home/pi/Desktop/images/12042025/18/00/image_12042025_18_00_27_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/17/58/image_12042025_17_59_06_9407.jpg
/home/pi/Desktop/images/12042025/17/59/image_12042025_17_59_17_10450.jpg
/home/pi/Desktop/images/12042025/17/59/image_12042025_17_59_27_10369.jpg
/home/pi/Desktop/images/12042025/17/59/image_12042025_17_59_47_10373.jpg
/home/pi/Desktop/images/12042025/18/00/image_12042025_18_00_16_10075.jpg
/home/pi/Desktop/images/12042025/18/00/image_12042025_18_00_27_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352287856","1352287790","1352287846","1352287735","1352287705","1352287760"],"photo_ids_order":["1352287705","1352287735","1352287760","1352287790","1352287846","1352287856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eaa69c80325d3a81ef37e28c43f43a18.jpg","text":"TemporaryFile(/tmp/multipartBody6265093445367254394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481193191,"filename":"image_12042025_18_00_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8864d949b8f3eed5b154869725514dd.jpg","text":"TemporaryFile(/tmp/multipartBody5601271204380851322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481193191,"filename":"image_12042025_17_59_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/329c8187e59af55e135618f98602994d.jpg","text":"TemporaryFile(/tmp/multipartBody5874694921721594059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481193191,"filename":"image_12042025_18_00_16_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd233fa48aefd8efcbd754cbcf5df313.jpg","text":"TemporaryFile(/tmp/multipartBody1341339254389989804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481193191,"filename":"image_12042025_17_59_17_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0efd9f06f70d90abe37d998c1810152.jpg","text":"TemporaryFile(/tmp/multipartBody6457856581105140564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481193191,"filename":"image_12042025_17_59_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/200e51b5b7ebc56e35de2322d14ce9e6.jpg","text":"TemporaryFile(/tmp/multipartBody7390241266017278025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481193191,"filename":"image_12042025_17_59_27_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352287760","file1":"1352287735","file0":"1352287705","file4":"1352287846","file5":"1352287856","file3":"1352287790"},"map_files_photo_id_array":[{"photo_id":"1352287856","filename":"file5"},{"photo_id":"1352287760","filename":"file2"},{"photo_id":"1352287846","filename":"file4"},{"photo_id":"1352287735","filename":"file1"},{"photo_id":"1352287705","filename":"file0"},{"photo_id":"1352287790","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352287856":["hashtag1","hashtag2"]},{"1352287790":["hashtag1","hashtag2"]},{"1352287846":["hashtag1","hashtag2"]},{"1352287735":["hashtag1","hashtag2"]},{"1352287705":["hashtag1","hashtag2"]},{"1352287760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352287856, 1352287790, 1352287846, 1352287735, 1352287705, 1352287760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78095984458923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:06:33.031894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/00/image_12042025_18_00_46_9506.jpg', '/home/pi/Desktop/images/12042025/18/01/image_12042025_18_01_27_10426.jpg', '/home/pi/Desktop/images/12042025/18/01/image_12042025_18_01_36_9417.jpg', '/home/pi/Desktop/images/12042025/18/01/image_12042025_18_01_47_10478.jpg', '/home/pi/Desktop/images/12042025/18/01/image_12042025_18_02_07_10460.jpg', '/home/pi/Desktop/images/12042025/18/02/image_12042025_18_02_27_9486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/00/image_12042025_18_00_46_9506.jpg
/home/pi/Desktop/images/12042025/18/01/image_12042025_18_01_27_10426.jpg
/home/pi/Desktop/images/12042025/18/01/image_12042025_18_01_36_9417.jpg
/home/pi/Desktop/images/12042025/18/01/image_12042025_18_01_47_10478.jpg
/home/pi/Desktop/images/12042025/18/01/image_12042025_18_02_07_10460.jpg
/home/pi/Desktop/images/12042025/18/02/image_12042025_18_02_27_9486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352288506","1352288407","1352288457","1352288192","1352288186","1352288354"],"photo_ids_order":["1352288186","1352288192","1352288354","1352288407","1352288457","1352288506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/def68c0de6c51834506623b252fef9f7.jpg","text":"TemporaryFile(/tmp/multipartBody1534018737749696781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481253497,"filename":"image_12042025_18_02_27_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e7b3f1e63bf0bfe7a1d7fb664486703.jpg","text":"TemporaryFile(/tmp/multipartBody7169853767051516082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481253497,"filename":"image_12042025_18_01_47_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/395f4395cd0fc1faf622d43df098330c.jpg","text":"TemporaryFile(/tmp/multipartBody117192394863922985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481253497,"filename":"image_12042025_18_02_07_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d7cd430efe92c59c640331d9a176baa.jpg","text":"TemporaryFile(/tmp/multipartBody7423357605493963157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481253497,"filename":"image_12042025_18_01_27_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f53eb1ede83c3d99eedf9232b7bb6e00.jpg","text":"TemporaryFile(/tmp/multipartBody6346680848328553029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481253497,"filename":"image_12042025_18_00_46_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fc98b528167c017b5ab06b43349fcc2.jpg","text":"TemporaryFile(/tmp/multipartBody1495457549481663561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481253497,"filename":"image_12042025_18_01_36_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352288354","file1":"1352288192","file0":"1352288186","file4":"1352288457","file5":"1352288506","file3":"1352288407"},"map_files_photo_id_array":[{"photo_id":"1352288506","filename":"file5"},{"photo_id":"1352288354","filename":"file2"},{"photo_id":"1352288457","filename":"file4"},{"photo_id":"1352288192","filename":"file1"},{"photo_id":"1352288186","filename":"file0"},{"photo_id":"1352288407","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352288506":["hashtag1","hashtag2"]},{"1352288407":["hashtag1","hashtag2"]},{"1352288457":["hashtag1","hashtag2"]},{"1352288192":["hashtag1","hashtag2"]},{"1352288186":["hashtag1","hashtag2"]},{"1352288354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352288506, 1352288407, 1352288457, 1352288192, 1352288186, 1352288354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29812431335449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:07:33.110855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/02/image_12042025_18_02_37_10541.jpg', '/home/pi/Desktop/images/12042025/18/02/image_12042025_18_02_57_10402.jpg', '/home/pi/Desktop/images/12042025/18/03/image_12042025_18_03_17_10467.jpg', '/home/pi/Desktop/images/12042025/18/03/image_12042025_18_03_37_10441.jpg', '/home/pi/Desktop/images/12042025/18/03/image_12042025_18_03_47_10379.jpg', '/home/pi/Desktop/images/12042025/18/03/image_12042025_18_03_56_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/02/image_12042025_18_02_37_10541.jpg
/home/pi/Desktop/images/12042025/18/02/image_12042025_18_02_57_10402.jpg
/home/pi/Desktop/images/12042025/18/03/image_12042025_18_03_17_10467.jpg
/home/pi/Desktop/images/12042025/18/03/image_12042025_18_03_37_10441.jpg
/home/pi/Desktop/images/12042025/18/03/image_12042025_18_03_47_10379.jpg
/home/pi/Desktop/images/12042025/18/03/image_12042025_18_03_56_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352288728","1352288787","1352288856","1352288964","1352288922","1352288748"],"photo_ids_order":["1352288728","1352288748","1352288787","1352288856","1352288922","1352288964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac81acdb6f315de6d11a88b7ba21add8.jpg","text":"TemporaryFile(/tmp/multipartBody2292954666674229811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481313572,"filename":"image_12042025_18_02_37_10541.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed74db7725d10fa260aead6b5e0850da.jpg","text":"TemporaryFile(/tmp/multipartBody7697300077018242343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481313572,"filename":"image_12042025_18_03_17_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c11fc40f70bd4e298256f294fe5f67af.jpg","text":"TemporaryFile(/tmp/multipartBody7599845868156894519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481313572,"filename":"image_12042025_18_03_37_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65d9f1be5c4f98f5066aab9b201d3ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7544066278792578177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481313572,"filename":"image_12042025_18_03_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aacd1e92a9b540c656c10e7fae9c254e.jpg","text":"TemporaryFile(/tmp/multipartBody5010472146674164787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481313572,"filename":"image_12042025_18_03_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfe3603cc93a3366a150880a946c2c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7774540052481709047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481313572,"filename":"image_12042025_18_02_57_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352288787","file1":"1352288748","file0":"1352288728","file4":"1352288922","file5":"1352288964","file3":"1352288856"},"map_files_photo_id_array":[{"photo_id":"1352288964","filename":"file5"},{"photo_id":"1352288787","filename":"file2"},{"photo_id":"1352288922","filename":"file4"},{"photo_id":"1352288748","filename":"file1"},{"photo_id":"1352288728","filename":"file0"},{"photo_id":"1352288856","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352288728":["hashtag1","hashtag2"]},{"1352288787":["hashtag1","hashtag2"]},{"1352288856":["hashtag1","hashtag2"]},{"1352288964":["hashtag1","hashtag2"]},{"1352288922":["hashtag1","hashtag2"]},{"1352288748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352288728, 1352288787, 1352288856, 1352288964, 1352288922, 1352288748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88697075843811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:08:32.389834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/04/image_12042025_18_04_16_9439.jpg', '/home/pi/Desktop/images/12042025/18/04/image_12042025_18_04_37_10380.jpg', '/home/pi/Desktop/images/12042025/18/04/image_12042025_18_04_46_9349.jpg', '/home/pi/Desktop/images/12042025/18/04/image_12042025_18_04_57_10358.jpg', '/home/pi/Desktop/images/12042025/18/04/image_12042025_18_05_07_10398.jpg', '/home/pi/Desktop/images/12042025/18/05/image_12042025_18_05_16_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/04/image_12042025_18_04_16_9439.jpg
/home/pi/Desktop/images/12042025/18/04/image_12042025_18_04_37_10380.jpg
/home/pi/Desktop/images/12042025/18/04/image_12042025_18_04_46_9349.jpg
/home/pi/Desktop/images/12042025/18/04/image_12042025_18_04_57_10358.jpg
/home/pi/Desktop/images/12042025/18/04/image_12042025_18_05_07_10398.jpg
/home/pi/Desktop/images/12042025/18/05/image_12042025_18_05_16_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352289571","1352289415","1352289498","1352289390","1352289453","1352289359"],"photo_ids_order":["1352289359","1352289390","1352289415","1352289453","1352289498","1352289571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/627acb72775bd0f5d3508503f3165a88.jpg","text":"TemporaryFile(/tmp/multipartBody6873939359545338480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481372870,"filename":"image_12042025_18_05_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04aaaa618181b153ec8ac842c409f708.jpg","text":"TemporaryFile(/tmp/multipartBody3756096400325329846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481372870,"filename":"image_12042025_18_04_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c83f41843cabb788a14ef12d18210d4.jpg","text":"TemporaryFile(/tmp/multipartBody8864848739869669617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481372870,"filename":"image_12042025_18_05_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a5f59b32c6a6c5899c04d8b3731997e.jpg","text":"TemporaryFile(/tmp/multipartBody5832991131569580947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481372870,"filename":"image_12042025_18_04_37_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0bfbe6369f01594ab841a4a60865184.jpg","text":"TemporaryFile(/tmp/multipartBody8638438511418161644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481372870,"filename":"image_12042025_18_04_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd2fbe523453e2b22c3da238fc9c3aaf.jpg","text":"TemporaryFile(/tmp/multipartBody3483588441013986820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481372870,"filename":"image_12042025_18_04_16_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352289415","file1":"1352289390","file0":"1352289359","file4":"1352289498","file5":"1352289571","file3":"1352289453"},"map_files_photo_id_array":[{"photo_id":"1352289571","filename":"file5"},{"photo_id":"1352289415","filename":"file2"},{"photo_id":"1352289498","filename":"file4"},{"photo_id":"1352289390","filename":"file1"},{"photo_id":"1352289359","filename":"file0"},{"photo_id":"1352289453","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352289571":["hashtag1","hashtag2"]},{"1352289415":["hashtag1","hashtag2"]},{"1352289498":["hashtag1","hashtag2"]},{"1352289390":["hashtag1","hashtag2"]},{"1352289453":["hashtag1","hashtag2"]},{"1352289359":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352289571, 1352289415, 1352289498, 1352289390, 1352289453, 1352289359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.960275411605835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:09:32.625769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/05/image_12042025_18_05_27_10452.jpg', '/home/pi/Desktop/images/12042025/18/05/image_12042025_18_05_47_10471.jpg', '/home/pi/Desktop/images/12042025/18/05/image_12042025_18_05_57_10376.jpg', '/home/pi/Desktop/images/12042025/18/05/image_12042025_18_06_07_9455.jpg', '/home/pi/Desktop/images/12042025/18/06/image_12042025_18_06_26_9359.jpg', '/home/pi/Desktop/images/12042025/18/06/image_12042025_18_06_47_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/05/image_12042025_18_05_27_10452.jpg
/home/pi/Desktop/images/12042025/18/05/image_12042025_18_05_47_10471.jpg
/home/pi/Desktop/images/12042025/18/05/image_12042025_18_05_57_10376.jpg
/home/pi/Desktop/images/12042025/18/05/image_12042025_18_06_07_9455.jpg
/home/pi/Desktop/images/12042025/18/06/image_12042025_18_06_26_9359.jpg
/home/pi/Desktop/images/12042025/18/06/image_12042025_18_06_47_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352289942","1352289992","1352289887","1352289906","1352289872","1352290046"],"photo_ids_order":["1352289872","1352289887","1352289906","1352289942","1352289992","1352290046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1a628235a0aba6a6f24b7138bc4738f.jpg","text":"TemporaryFile(/tmp/multipartBody4812685639535851228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481433095,"filename":"image_12042025_18_06_07_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64d30efb6db3b149b7bfffd62241ad88.jpg","text":"TemporaryFile(/tmp/multipartBody9026341216014570746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481433095,"filename":"image_12042025_18_06_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a40465725566a08e91fbcfad4257687.jpg","text":"TemporaryFile(/tmp/multipartBody4079985612337518807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481433095,"filename":"image_12042025_18_05_47_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9a39b282c279f7146a3306fce90deeb.jpg","text":"TemporaryFile(/tmp/multipartBody2134177676220248847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481433095,"filename":"image_12042025_18_05_57_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ea5fcae8f29904aa640d9fa61354b6f.jpg","text":"TemporaryFile(/tmp/multipartBody5318385346220808180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481433095,"filename":"image_12042025_18_05_27_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6101882acb2a39df1b82c175936c3a4a.jpg","text":"TemporaryFile(/tmp/multipartBody2329378299076059755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481433095,"filename":"image_12042025_18_06_47_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352289906","file1":"1352289887","file0":"1352289872","file4":"1352289992","file5":"1352290046","file3":"1352289942"},"map_files_photo_id_array":[{"photo_id":"1352290046","filename":"file5"},{"photo_id":"1352289906","filename":"file2"},{"photo_id":"1352289992","filename":"file4"},{"photo_id":"1352289887","filename":"file1"},{"photo_id":"1352289872","filename":"file0"},{"photo_id":"1352289942","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352289942":["hashtag1","hashtag2"]},{"1352289992":["hashtag1","hashtag2"]},{"1352289887":["hashtag1","hashtag2"]},{"1352289906":["hashtag1","hashtag2"]},{"1352289872":["hashtag1","hashtag2"]},{"1352290046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352289942, 1352289992, 1352289887, 1352289906, 1352289872, 1352290046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83150339126587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:10:32.725826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/06/image_12042025_18_07_07_10419.jpg', '/home/pi/Desktop/images/12042025/18/08/image_12042025_18_08_16_9404.jpg', '/home/pi/Desktop/images/12042025/18/09/image_12042025_18_09_47_10373.jpg', '/home/pi/Desktop/images/12042025/18/09/image_12042025_18_09_57_9449.jpg', '/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_16_9351.jpg', '/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_27_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/06/image_12042025_18_07_07_10419.jpg
/home/pi/Desktop/images/12042025/18/08/image_12042025_18_08_16_9404.jpg
/home/pi/Desktop/images/12042025/18/09/image_12042025_18_09_47_10373.jpg
/home/pi/Desktop/images/12042025/18/09/image_12042025_18_09_57_9449.jpg
/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_16_9351.jpg
/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_27_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352290654","1352290462","1352290585","1352290552","1352290494","1352290710"],"photo_ids_order":["1352290462","1352290494","1352290552","1352290585","1352290654","1352290710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1788f3d39a3dd3a6f9f8772b62077b17.jpg","text":"TemporaryFile(/tmp/multipartBody8028462846974694490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481493209,"filename":"image_12042025_18_10_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd9d945225e23d5868b9ea54a9245d02.jpg","text":"TemporaryFile(/tmp/multipartBody7081304238096329601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481493209,"filename":"image_12042025_18_07_07_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aaff546241a1bc036e45fd87702984ed.jpg","text":"TemporaryFile(/tmp/multipartBody275571993592393486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481493209,"filename":"image_12042025_18_09_57_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7316a4857f5ae7d772e352620a2c2e58.jpg","text":"TemporaryFile(/tmp/multipartBody3028048109077582330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481493209,"filename":"image_12042025_18_09_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/32e1274802189bbdf6bf047197f3555d.jpg","text":"TemporaryFile(/tmp/multipartBody3454908251480517894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481493209,"filename":"image_12042025_18_08_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5797abaa1941d390bfdc6f444f5352e1.jpg","text":"TemporaryFile(/tmp/multipartBody4119495610673890164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481493209,"filename":"image_12042025_18_10_27_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352290552","file1":"1352290494","file0":"1352290462","file4":"1352290654","file5":"1352290710","file3":"1352290585"},"map_files_photo_id_array":[{"photo_id":"1352290710","filename":"file5"},{"photo_id":"1352290552","filename":"file2"},{"photo_id":"1352290654","filename":"file4"},{"photo_id":"1352290494","filename":"file1"},{"photo_id":"1352290462","filename":"file0"},{"photo_id":"1352290585","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352290654":["hashtag1","hashtag2"]},{"1352290462":["hashtag1","hashtag2"]},{"1352290585":["hashtag1","hashtag2"]},{"1352290552":["hashtag1","hashtag2"]},{"1352290494":["hashtag1","hashtag2"]},{"1352290710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352290654, 1352290462, 1352290585, 1352290552, 1352290494, 1352290710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40620231628418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:11:33.216627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_36_9407.jpg', '/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_47_10482.jpg', '/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_57_10378.jpg', '/home/pi/Desktop/images/12042025/18/11/image_12042025_18_11_17_10361.jpg', '/home/pi/Desktop/images/12042025/18/11/image_12042025_18_11_56_9444.jpg', '/home/pi/Desktop/images/12042025/18/11/image_12042025_18_12_07_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_36_9407.jpg
/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_47_10482.jpg
/home/pi/Desktop/images/12042025/18/10/image_12042025_18_10_57_10378.jpg
/home/pi/Desktop/images/12042025/18/11/image_12042025_18_11_17_10361.jpg
/home/pi/Desktop/images/12042025/18/11/image_12042025_18_11_56_9444.jpg
/home/pi/Desktop/images/12042025/18/11/image_12042025_18_12_07_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352291158","1352290972","1352291043","1352291232","1352291297","1352291098"],"photo_ids_order":["1352290972","1352291043","1352291098","1352291158","1352291232","1352291297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68e396cc1e54b58a34e6a3b189d9fec0.jpg","text":"TemporaryFile(/tmp/multipartBody3293433832038997446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481553691,"filename":"image_12042025_18_11_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09207f19a6d079bf4d8820543e94878a.jpg","text":"TemporaryFile(/tmp/multipartBody7025630406270971303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481553691,"filename":"image_12042025_18_10_36_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f608b90169603b8dce31848a8c17aafc.jpg","text":"TemporaryFile(/tmp/multipartBody1327926642771712695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481553691,"filename":"image_12042025_18_10_47_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9bc61f24cd510a2a20a8b940d2b3fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8241869450006768398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481553691,"filename":"image_12042025_18_11_56_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/618ff883982e00adb81ac10496b857b3.jpg","text":"TemporaryFile(/tmp/multipartBody3404229404866484880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481553691,"filename":"image_12042025_18_12_07_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1248f7e8248ef745718a12231eed6eb1.jpg","text":"TemporaryFile(/tmp/multipartBody3329392796740046274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481553691,"filename":"image_12042025_18_10_57_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352291098","file1":"1352291043","file0":"1352290972","file4":"1352291232","file5":"1352291297","file3":"1352291158"},"map_files_photo_id_array":[{"photo_id":"1352291297","filename":"file5"},{"photo_id":"1352291098","filename":"file2"},{"photo_id":"1352291232","filename":"file4"},{"photo_id":"1352291043","filename":"file1"},{"photo_id":"1352290972","filename":"file0"},{"photo_id":"1352291158","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352291158":["hashtag1","hashtag2"]},{"1352290972":["hashtag1","hashtag2"]},{"1352291043":["hashtag1","hashtag2"]},{"1352291232":["hashtag1","hashtag2"]},{"1352291297":["hashtag1","hashtag2"]},{"1352291098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352291158, 1352290972, 1352291043, 1352291232, 1352291297, 1352291098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29393243789673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:12:32.313389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_27_10380.jpg', '/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_36_9475.jpg', '/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_47_10392.jpg', '/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_17_10468.jpg', '/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_27_9436.jpg', '/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_37_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_27_10380.jpg
/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_36_9475.jpg
/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_47_10392.jpg
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_17_10468.jpg
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_27_9436.jpg
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_37_10361.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4376215934753418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 20:12:42.307824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_27_10380.jpg', '/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_36_9475.jpg', '/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_47_10392.jpg', '/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_17_10468.jpg', '/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_27_9436.jpg', '/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_37_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_27_10380.jpg
/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_36_9475.jpg
/home/pi/Desktop/images/12042025/18/12/image_12042025_18_12_47_10392.jpg
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_17_10468.jpg
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_27_9436.jpg
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_37_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352291734","1352291685","1352291649","1352291601","1352291573","1352291711"],"photo_ids_order":["1352291573","1352291601","1352291649","1352291685","1352291711","1352291734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14be7262b29f5c94a6e6327f2ca4ea57.jpg","text":"TemporaryFile(/tmp/multipartBody8244955915052750499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481622775,"filename":"image_12042025_18_14_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6999a5782ee04bad3c0c7e30f9b8391.jpg","text":"TemporaryFile(/tmp/multipartBody2696783521466726077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481622775,"filename":"image_12042025_18_14_17_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea156e7cd3db50ded185e5a78e4896f3.jpg","text":"TemporaryFile(/tmp/multipartBody10104474959947540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481622775,"filename":"image_12042025_18_12_47_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48bad56deef14afbd0b3e9893ff43cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2622779831238653001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481622775,"filename":"image_12042025_18_12_36_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b6147368484e10d204efc2631fcd417.jpg","text":"TemporaryFile(/tmp/multipartBody1448547513806219514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481622775,"filename":"image_12042025_18_12_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9310946154b5c60695e8d4b9678cdf4e.jpg","text":"TemporaryFile(/tmp/multipartBody3300655834844294224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481622775,"filename":"image_12042025_18_14_27_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352291649","file1":"1352291601","file0":"1352291573","file4":"1352291711","file5":"1352291734","file3":"1352291685"},"map_files_photo_id_array":[{"photo_id":"1352291734","filename":"file5"},{"photo_id":"1352291649","filename":"file2"},{"photo_id":"1352291711","filename":"file4"},{"photo_id":"1352291601","filename":"file1"},{"photo_id":"1352291573","filename":"file0"},{"photo_id":"1352291685","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352291734":["hashtag1","hashtag2"]},{"1352291685":["hashtag1","hashtag2"]},{"1352291649":["hashtag1","hashtag2"]},{"1352291601":["hashtag1","hashtag2"]},{"1352291573":["hashtag1","hashtag2"]},{"1352291711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352291734, 1352291685, 1352291649, 1352291601, 1352291573, 1352291711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.372411489486694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:13:32.556426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_46_9372.jpg', '/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_57_10366.jpg', '/home/pi/Desktop/images/12042025/18/14/image_12042025_18_15_07_10347.jpg', '/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_16_9353.jpg', '/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_27_10379.jpg', '/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_37_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_46_9372.jpg
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_14_57_10366.jpg
/home/pi/Desktop/images/12042025/18/14/image_12042025_18_15_07_10347.jpg
/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_16_9353.jpg
/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_27_10379.jpg
/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_37_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352291842","1352291868","1352291790","1352291795","1352291819","1352291791"],"photo_ids_order":["1352291790","1352291791","1352291795","1352291819","1352291842","1352291868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6b2be2888c2abcc6ef6861012285557.jpg","text":"TemporaryFile(/tmp/multipartBody1499286242324544554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481673026,"filename":"image_12042025_18_15_27_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38530911dd633cf6d72c5e7cd09d6a15.jpg","text":"TemporaryFile(/tmp/multipartBody8796656023697570980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481673026,"filename":"image_12042025_18_15_37_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/290e5b33066d775f60576f8fd85e6fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4798701364987421468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481673026,"filename":"image_12042025_18_14_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c0f964e321b7d393dd00b4d6e452bb9.jpg","text":"TemporaryFile(/tmp/multipartBody8124008256431207279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481673026,"filename":"image_12042025_18_15_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9f5c40aeb54a109b76302a169a87d20.jpg","text":"TemporaryFile(/tmp/multipartBody3372561236443454369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481673026,"filename":"image_12042025_18_15_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6ce097f86704f2ebd77d7b09506b5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4115601629216770889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481673026,"filename":"image_12042025_18_14_57_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352291795","file1":"1352291791","file0":"1352291790","file4":"1352291842","file5":"1352291868","file3":"1352291819"},"map_files_photo_id_array":[{"photo_id":"1352291868","filename":"file5"},{"photo_id":"1352291795","filename":"file2"},{"photo_id":"1352291842","filename":"file4"},{"photo_id":"1352291791","filename":"file1"},{"photo_id":"1352291790","filename":"file0"},{"photo_id":"1352291819","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352291842":["hashtag1","hashtag2"]},{"1352291868":["hashtag1","hashtag2"]},{"1352291790":["hashtag1","hashtag2"]},{"1352291795":["hashtag1","hashtag2"]},{"1352291819":["hashtag1","hashtag2"]},{"1352291791":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352291842, 1352291868, 1352291790, 1352291795, 1352291819, 1352291791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66914892196655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:14:32.850292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_47_9413.jpg', '/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_57_10456.jpg', '/home/pi/Desktop/images/12042025/18/15/image_12042025_18_16_06_9366.jpg', '/home/pi/Desktop/images/12042025/18/16/image_12042025_18_16_17_10459.jpg', '/home/pi/Desktop/images/12042025/18/16/image_12042025_18_16_26_9355.jpg', '/home/pi/Desktop/images/12042025/18/16/image_12042025_18_16_37_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_47_9413.jpg
/home/pi/Desktop/images/12042025/18/15/image_12042025_18_15_57_10456.jpg
/home/pi/Desktop/images/12042025/18/15/image_12042025_18_16_06_9366.jpg
/home/pi/Desktop/images/12042025/18/16/image_12042025_18_16_17_10459.jpg
/home/pi/Desktop/images/12042025/18/16/image_12042025_18_16_26_9355.jpg
/home/pi/Desktop/images/12042025/18/16/image_12042025_18_16_37_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352292013","1352292174","1352292135","1352292057","1352292219","1352292098"],"photo_ids_order":["1352292013","1352292057","1352292098","1352292135","1352292174","1352292219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/263f558f2031c1a2cf8fc2a0543d23bf.jpg","text":"TemporaryFile(/tmp/multipartBody621531109443628080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481733322,"filename":"image_12042025_18_15_47_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a4486669331420b9e49d2ecff301e20.jpg","text":"TemporaryFile(/tmp/multipartBody2758588672180965568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481733322,"filename":"image_12042025_18_16_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/997c5b3450f6b550bdc933ffd3424b01.jpg","text":"TemporaryFile(/tmp/multipartBody9095855358250877769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481733322,"filename":"image_12042025_18_16_17_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d08580c3488ddd5f74580e7ad4ac7730.jpg","text":"TemporaryFile(/tmp/multipartBody8177416187721129828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481733322,"filename":"image_12042025_18_15_57_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ca9cdef11e04e12cd127d1bf545753a.jpg","text":"TemporaryFile(/tmp/multipartBody5373305466073216179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481733322,"filename":"image_12042025_18_16_37_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f3351a5939ed03717131a89cf07906cf.jpg","text":"TemporaryFile(/tmp/multipartBody1706913557338155239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481733322,"filename":"image_12042025_18_16_06_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352292098","file1":"1352292057","file0":"1352292013","file4":"1352292174","file5":"1352292219","file3":"1352292135"},"map_files_photo_id_array":[{"photo_id":"1352292219","filename":"file5"},{"photo_id":"1352292098","filename":"file2"},{"photo_id":"1352292174","filename":"file4"},{"photo_id":"1352292057","filename":"file1"},{"photo_id":"1352292013","filename":"file0"},{"photo_id":"1352292135","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352292013":["hashtag1","hashtag2"]},{"1352292174":["hashtag1","hashtag2"]},{"1352292135":["hashtag1","hashtag2"]},{"1352292057":["hashtag1","hashtag2"]},{"1352292219":["hashtag1","hashtag2"]},{"1352292098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352292013, 1352292174, 1352292135, 1352292057, 1352292219, 1352292098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51630139350891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:15:32.939494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/16/image_12042025_18_16_47_10378.jpg', '/home/pi/Desktop/images/12042025/18/16/image_12042025_18_17_07_10466.jpg', '/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_16_9362.jpg', '/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_27_10397.jpg', '/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_37_10365.jpg', '/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_47_9904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/16/image_12042025_18_16_47_10378.jpg
/home/pi/Desktop/images/12042025/18/16/image_12042025_18_17_07_10466.jpg
/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_16_9362.jpg
/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_27_10397.jpg
/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_37_10365.jpg
/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_47_9904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352292480","1352292456","1352292507","1352292461","1352292536","1352292472"],"photo_ids_order":["1352292456","1352292461","1352292472","1352292480","1352292507","1352292536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47545c242151d397992f728a3a8fc538.jpg","text":"TemporaryFile(/tmp/multipartBody337766656502163097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481793420,"filename":"image_12042025_18_17_27_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61289d324354492cc85bbe8740784136.jpg","text":"TemporaryFile(/tmp/multipartBody4278305753707114518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481793420,"filename":"image_12042025_18_16_47_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41fb3e73b5a87251cc35b5ac8fbe1fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6972043554292401834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481793420,"filename":"image_12042025_18_17_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/876fcd11734eb5db5cdbf848444259dd.jpg","text":"TemporaryFile(/tmp/multipartBody4159800792375810805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481793420,"filename":"image_12042025_18_17_07_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1319f4a444ac3a9294f0c99a1f42c961.jpg","text":"TemporaryFile(/tmp/multipartBody619249357426067956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481793420,"filename":"image_12042025_18_17_47_9904.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbc2d222a228397cd8ba6d3b23d52450.jpg","text":"TemporaryFile(/tmp/multipartBody7848878419030616724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481793420,"filename":"image_12042025_18_17_16_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352292472","file1":"1352292461","file0":"1352292456","file4":"1352292507","file5":"1352292536","file3":"1352292480"},"map_files_photo_id_array":[{"photo_id":"1352292536","filename":"file5"},{"photo_id":"1352292472","filename":"file2"},{"photo_id":"1352292507","filename":"file4"},{"photo_id":"1352292461","filename":"file1"},{"photo_id":"1352292456","filename":"file0"},{"photo_id":"1352292480","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352292480":["hashtag1","hashtag2"]},{"1352292456":["hashtag1","hashtag2"]},{"1352292507":["hashtag1","hashtag2"]},{"1352292461":["hashtag1","hashtag2"]},{"1352292536":["hashtag1","hashtag2"]},{"1352292472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352292480, 1352292456, 1352292507, 1352292461, 1352292536, 1352292472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.418636083602905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:16:33.280871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_56_9358.jpg', '/home/pi/Desktop/images/12042025/18/17/image_12042025_18_18_07_10374.jpg', '/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_17_10400.jpg', '/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_26_9329.jpg', '/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_37_10465.jpg', '/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_46_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/17/image_12042025_18_17_56_9358.jpg
/home/pi/Desktop/images/12042025/18/17/image_12042025_18_18_07_10374.jpg
/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_17_10400.jpg
/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_26_9329.jpg
/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_37_10465.jpg
/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_46_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352292636","1352292656","1352292722","1352292701","1352292704","1352292682"],"photo_ids_order":["1352292636","1352292656","1352292682","1352292701","1352292704","1352292722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d95cd9b9d6b00b8719c8d48d404ee05.jpg","text":"TemporaryFile(/tmp/multipartBody835097479189688075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481853745,"filename":"image_12042025_18_17_56_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a99bd97e85a6fc80b1e37178d0b9dc0.jpg","text":"TemporaryFile(/tmp/multipartBody7539499866252074694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481853745,"filename":"image_12042025_18_18_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da1105738b3e9c9d2fdbb3f7d440418b.jpg","text":"TemporaryFile(/tmp/multipartBody5708114302155496490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481853745,"filename":"image_12042025_18_18_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/69be4f0e029b7720415e46637654fde6.jpg","text":"TemporaryFile(/tmp/multipartBody4109012930191070798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481853745,"filename":"image_12042025_18_18_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f3c158295d0517f580576690228d87a.jpg","text":"TemporaryFile(/tmp/multipartBody3535006640660301795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481853745,"filename":"image_12042025_18_18_37_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88d4cdf5477bb678cd8b27ff8acdf31c.jpg","text":"TemporaryFile(/tmp/multipartBody2438258869861308580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481853745,"filename":"image_12042025_18_18_17_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352292682","file1":"1352292656","file0":"1352292636","file4":"1352292704","file5":"1352292722","file3":"1352292701"},"map_files_photo_id_array":[{"photo_id":"1352292722","filename":"file5"},{"photo_id":"1352292682","filename":"file2"},{"photo_id":"1352292704","filename":"file4"},{"photo_id":"1352292656","filename":"file1"},{"photo_id":"1352292636","filename":"file0"},{"photo_id":"1352292701","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352292636":["hashtag1","hashtag2"]},{"1352292656":["hashtag1","hashtag2"]},{"1352292722":["hashtag1","hashtag2"]},{"1352292701":["hashtag1","hashtag2"]},{"1352292704":["hashtag1","hashtag2"]},{"1352292682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352292636, 1352292656, 1352292722, 1352292701, 1352292704, 1352292682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.653975248336792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:17:32.428416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_57_10423.jpg', '/home/pi/Desktop/images/12042025/18/18/image_12042025_18_19_07_10351.jpg', '/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_16_9353.jpg', '/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_27_10377.jpg', '/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_37_10372.jpg', '/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_46_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/18/image_12042025_18_18_57_10423.jpg
/home/pi/Desktop/images/12042025/18/18/image_12042025_18_19_07_10351.jpg
/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_16_9353.jpg
/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_27_10377.jpg
/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_37_10372.jpg
/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_46_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352292750","1352292758","1352292781","1352292784","1352292766","1352292748"],"photo_ids_order":["1352292748","1352292750","1352292758","1352292766","1352292781","1352292784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c89e76087957bb028a148497cde9922.jpg","text":"TemporaryFile(/tmp/multipartBody7425150755458997743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481912921,"filename":"image_12042025_18_19_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9409e83738a5e3ac49edd583c335190e.jpg","text":"TemporaryFile(/tmp/multipartBody885463232798796168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481912921,"filename":"image_12042025_18_19_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4569fc421139838299e7d0741459ce35.jpg","text":"TemporaryFile(/tmp/multipartBody3698816604963614860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481912921,"filename":"image_12042025_18_19_37_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/08492506c37e9bfe12578060db0d7bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6216707186397564916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481912921,"filename":"image_12042025_18_19_46_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3580e3b625ef97a2e848996fe396c327.jpg","text":"TemporaryFile(/tmp/multipartBody2430510906293252048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481912921,"filename":"image_12042025_18_19_27_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52cb9774679d928200bf2d5e81b158c1.jpg","text":"TemporaryFile(/tmp/multipartBody2048685892241928540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481912921,"filename":"image_12042025_18_18_57_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352292758","file1":"1352292750","file0":"1352292748","file4":"1352292781","file5":"1352292784","file3":"1352292766"},"map_files_photo_id_array":[{"photo_id":"1352292784","filename":"file5"},{"photo_id":"1352292758","filename":"file2"},{"photo_id":"1352292781","filename":"file4"},{"photo_id":"1352292750","filename":"file1"},{"photo_id":"1352292748","filename":"file0"},{"photo_id":"1352292766","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352292750":["hashtag1","hashtag2"]},{"1352292758":["hashtag1","hashtag2"]},{"1352292781":["hashtag1","hashtag2"]},{"1352292784":["hashtag1","hashtag2"]},{"1352292766":["hashtag1","hashtag2"]},{"1352292748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352292750, 1352292758, 1352292781, 1352292784, 1352292766, 1352292748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.92900514602661 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:18:32.734459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_57_10450.jpg', '/home/pi/Desktop/images/12042025/18/19/image_12042025_18_20_06_9347.jpg', '/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_17_10434.jpg', '/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_27_10376.jpg', '/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_36_9358.jpg', '/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_47_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/19/image_12042025_18_19_57_10450.jpg
/home/pi/Desktop/images/12042025/18/19/image_12042025_18_20_06_9347.jpg
/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_17_10434.jpg
/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_27_10376.jpg
/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_36_9358.jpg
/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_47_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352292864","1352292914","1352292917","1352292922","1352292925","1352292919"],"photo_ids_order":["1352292864","1352292914","1352292917","1352292919","1352292922","1352292925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dcc20671459af82f4fa4e86bbe188606.jpg","text":"TemporaryFile(/tmp/multipartBody5000965652692907263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481973209,"filename":"image_12042025_18_19_57_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9528ff48cbaaa30629e96d7b0be1ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3257736341389389592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481973209,"filename":"image_12042025_18_20_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7661adbbbd85f732719e094c545cd2ff.jpg","text":"TemporaryFile(/tmp/multipartBody4238655747032232306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481973209,"filename":"image_12042025_18_20_17_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c41dc6a8e1ad805f422d88b8d9dfbf6d.jpg","text":"TemporaryFile(/tmp/multipartBody7136299236221485629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481973209,"filename":"image_12042025_18_20_36_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6cfc5910f1528c4acd1be95992422d85.jpg","text":"TemporaryFile(/tmp/multipartBody42871818005995307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481973209,"filename":"image_12042025_18_20_47_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a58aaa3079f75a437360460be338dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1260872750747890723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744481973209,"filename":"image_12042025_18_20_27_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352292917","file1":"1352292914","file0":"1352292864","file4":"1352292922","file5":"1352292925","file3":"1352292919"},"map_files_photo_id_array":[{"photo_id":"1352292925","filename":"file5"},{"photo_id":"1352292917","filename":"file2"},{"photo_id":"1352292922","filename":"file4"},{"photo_id":"1352292914","filename":"file1"},{"photo_id":"1352292864","filename":"file0"},{"photo_id":"1352292919","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352292864":["hashtag1","hashtag2"]},{"1352292914":["hashtag1","hashtag2"]},{"1352292917":["hashtag1","hashtag2"]},{"1352292922":["hashtag1","hashtag2"]},{"1352292925":["hashtag1","hashtag2"]},{"1352292919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352292864, 1352292914, 1352292917, 1352292922, 1352292925, 1352292919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.01152992248535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:19:33.056159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_56_9352.jpg', '/home/pi/Desktop/images/12042025/18/20/image_12042025_18_21_07_10439.jpg', '/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_17_10371.jpg', '/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_26_9353.jpg', '/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_37_10470.jpg', '/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/20/image_12042025_18_20_56_9352.jpg
/home/pi/Desktop/images/12042025/18/20/image_12042025_18_21_07_10439.jpg
/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_17_10371.jpg
/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_26_9353.jpg
/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_37_10470.jpg
/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_46_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352292933","1352292942","1352292930","1352292938","1352292935","1352292940"],"photo_ids_order":["1352292930","1352292933","1352292935","1352292938","1352292940","1352292942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/244f1997b2f42662bfa0f67ca303028a.jpg","text":"TemporaryFile(/tmp/multipartBody2034987062180257760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482033519,"filename":"image_12042025_18_21_07_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf2a9798ed7b8e23052c2b3a189c9e7f.jpg","text":"TemporaryFile(/tmp/multipartBody26551549281604327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482033519,"filename":"image_12042025_18_21_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9147fe4b08ef2487aa4412b3ad5733f4.jpg","text":"TemporaryFile(/tmp/multipartBody4496223908128274429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482033519,"filename":"image_12042025_18_20_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/987b451c826deeef0c6f681fa9c07a7e.jpg","text":"TemporaryFile(/tmp/multipartBody89269521360944753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482033519,"filename":"image_12042025_18_21_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/055d30c4565fce741fb9c781bede398d.jpg","text":"TemporaryFile(/tmp/multipartBody7453386673103149603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482033519,"filename":"image_12042025_18_21_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f2dc494bacb459b40f4eb69f82f1c63.jpg","text":"TemporaryFile(/tmp/multipartBody681579625662194594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482033519,"filename":"image_12042025_18_21_37_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352292935","file1":"1352292933","file0":"1352292930","file4":"1352292940","file5":"1352292942","file3":"1352292938"},"map_files_photo_id_array":[{"photo_id":"1352292942","filename":"file5"},{"photo_id":"1352292935","filename":"file2"},{"photo_id":"1352292940","filename":"file4"},{"photo_id":"1352292933","filename":"file1"},{"photo_id":"1352292930","filename":"file0"},{"photo_id":"1352292938","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352292933":["hashtag1","hashtag2"]},{"1352292942":["hashtag1","hashtag2"]},{"1352292930":["hashtag1","hashtag2"]},{"1352292938":["hashtag1","hashtag2"]},{"1352292935":["hashtag1","hashtag2"]},{"1352292940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352292933, 1352292942, 1352292930, 1352292938, 1352292935, 1352292940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78923225402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:20:33.201589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_57_10416.jpg', '/home/pi/Desktop/images/12042025/18/21/image_12042025_18_22_07_10363.jpg', '/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_16_9431.jpg', '/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_27_10472.jpg', '/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_36_9364.jpg', '/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_47_10506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/21/image_12042025_18_21_57_10416.jpg
/home/pi/Desktop/images/12042025/18/21/image_12042025_18_22_07_10363.jpg
/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_16_9431.jpg
/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_27_10472.jpg
/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_36_9364.jpg
/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_47_10506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293140","1352293292","1352293187","1352293345","1352293339","1352293252"],"photo_ids_order":["1352293140","1352293187","1352293252","1352293292","1352293339","1352293345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa275e9473bb702609fb8a1a2575a1d8.jpg","text":"TemporaryFile(/tmp/multipartBody3209519087135222341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482093666,"filename":"image_12042025_18_21_57_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d5abbe7c25bd6c7a1ed9393052c842b.jpg","text":"TemporaryFile(/tmp/multipartBody9056623579812542402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482093666,"filename":"image_12042025_18_22_27_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e914a12b4d940896adb994f77fa70d75.jpg","text":"TemporaryFile(/tmp/multipartBody5112116451117540752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482093666,"filename":"image_12042025_18_22_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d769ead4b64066e78921e4096451d67.jpg","text":"TemporaryFile(/tmp/multipartBody2714579751327046000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482093666,"filename":"image_12042025_18_22_47_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2780173c895c1e378a3838375f0b450b.jpg","text":"TemporaryFile(/tmp/multipartBody2464666402894155866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482093666,"filename":"image_12042025_18_22_36_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/359590fc84308b39f7fd922e83b9e421.jpg","text":"TemporaryFile(/tmp/multipartBody1167503812963002364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482093666,"filename":"image_12042025_18_22_16_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293252","file1":"1352293187","file0":"1352293140","file4":"1352293339","file5":"1352293345","file3":"1352293292"},"map_files_photo_id_array":[{"photo_id":"1352293345","filename":"file5"},{"photo_id":"1352293252","filename":"file2"},{"photo_id":"1352293339","filename":"file4"},{"photo_id":"1352293187","filename":"file1"},{"photo_id":"1352293140","filename":"file0"},{"photo_id":"1352293292","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352293140":["hashtag1","hashtag2"]},{"1352293292":["hashtag1","hashtag2"]},{"1352293187":["hashtag1","hashtag2"]},{"1352293345":["hashtag1","hashtag2"]},{"1352293339":["hashtag1","hashtag2"]},{"1352293252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352293140, 1352293292, 1352293187, 1352293345, 1352293339, 1352293252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34184265136719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:21:32.439352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_57_10365.jpg', '/home/pi/Desktop/images/12042025/18/22/image_12042025_18_23_07_9489.jpg', '/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_17_10373.jpg', '/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_26_9346.jpg', '/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_37_10354.jpg', '/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_47_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/22/image_12042025_18_22_57_10365.jpg
/home/pi/Desktop/images/12042025/18/22/image_12042025_18_23_07_9489.jpg
/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_17_10373.jpg
/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_26_9346.jpg
/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_37_10354.jpg
/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_47_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293518","1352293480","1352293438","1352293510","1352293513","1352293516"],"photo_ids_order":["1352293438","1352293480","1352293510","1352293513","1352293516","1352293518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3c16ff2030ecd260fca74147c9a4d8a.jpg","text":"TemporaryFile(/tmp/multipartBody708773080056795290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482152901,"filename":"image_12042025_18_23_47_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ba287b74be4ab9ed68824df61a00ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5818831280354129303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482152901,"filename":"image_12042025_18_23_07_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbb2447962904167af9fb5e3498d4fc6.jpg","text":"TemporaryFile(/tmp/multipartBody7367800023221023766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482152901,"filename":"image_12042025_18_22_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de486c5c3dc56450efaea8b532f2a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6908288933477106170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482152901,"filename":"image_12042025_18_23_17_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e36d40f42d68f2a9a1372bfbccd6edf1.jpg","text":"TemporaryFile(/tmp/multipartBody1240773844356060328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482152901,"filename":"image_12042025_18_23_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c3c10906011d92446e722e094b2bf37.jpg","text":"TemporaryFile(/tmp/multipartBody8388588665945580645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482152901,"filename":"image_12042025_18_23_37_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293510","file1":"1352293480","file0":"1352293438","file4":"1352293516","file5":"1352293518","file3":"1352293513"},"map_files_photo_id_array":[{"photo_id":"1352293518","filename":"file5"},{"photo_id":"1352293510","filename":"file2"},{"photo_id":"1352293516","filename":"file4"},{"photo_id":"1352293480","filename":"file1"},{"photo_id":"1352293438","filename":"file0"},{"photo_id":"1352293513","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352293518":["hashtag1","hashtag2"]},{"1352293480":["hashtag1","hashtag2"]},{"1352293438":["hashtag1","hashtag2"]},{"1352293510":["hashtag1","hashtag2"]},{"1352293513":["hashtag1","hashtag2"]},{"1352293516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352293518, 1352293480, 1352293438, 1352293510, 1352293513, 1352293516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39908504486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:22:32.763495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_57_9423.jpg', '/home/pi/Desktop/images/12042025/18/23/image_12042025_18_24_07_10400.jpg', '/home/pi/Desktop/images/12042025/18/24/image_12042025_18_24_16_9359.jpg', '/home/pi/Desktop/images/12042025/18/24/image_12042025_18_24_37_10361.jpg', '/home/pi/Desktop/images/12042025/18/24/image_12042025_18_24_46_9437.jpg', '/home/pi/Desktop/images/12042025/18/24/image_12042025_18_24_57_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/23/image_12042025_18_23_57_9423.jpg
/home/pi/Desktop/images/12042025/18/23/image_12042025_18_24_07_10400.jpg
/home/pi/Desktop/images/12042025/18/24/image_12042025_18_24_16_9359.jpg
/home/pi/Desktop/images/12042025/18/24/image_12042025_18_24_37_10361.jpg
/home/pi/Desktop/images/12042025/18/24/image_12042025_18_24_46_9437.jpg
/home/pi/Desktop/images/12042025/18/24/image_12042025_18_24_57_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293589","1352293591","1352293594","1352293582","1352293584","1352293587"],"photo_ids_order":["1352293582","1352293584","1352293587","1352293589","1352293591","1352293594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a15e5755b0eff3363b9e102e456ccc89.jpg","text":"TemporaryFile(/tmp/multipartBody5936417053608627389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482213234,"filename":"image_12042025_18_24_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79fa9ba604a87751952bce73f872d6c1.jpg","text":"TemporaryFile(/tmp/multipartBody5174446038766156517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482213234,"filename":"image_12042025_18_24_46_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/650a0649ff045024c61356c75ec69f90.jpg","text":"TemporaryFile(/tmp/multipartBody342279349204538593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482213234,"filename":"image_12042025_18_24_57_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc315cfd3b5b74e78995d840f46083d7.jpg","text":"TemporaryFile(/tmp/multipartBody1816863132267619619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482213234,"filename":"image_12042025_18_23_57_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4243196ae0be16baf262e50006e35eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7217927139571859683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482213234,"filename":"image_12042025_18_24_07_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd01ee7b430a5a6e55273054862e2f2b.jpg","text":"TemporaryFile(/tmp/multipartBody6875258122078000766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482213234,"filename":"image_12042025_18_24_16_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293587","file1":"1352293584","file0":"1352293582","file4":"1352293591","file5":"1352293594","file3":"1352293589"},"map_files_photo_id_array":[{"photo_id":"1352293594","filename":"file5"},{"photo_id":"1352293587","filename":"file2"},{"photo_id":"1352293591","filename":"file4"},{"photo_id":"1352293584","filename":"file1"},{"photo_id":"1352293582","filename":"file0"},{"photo_id":"1352293589","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352293589":["hashtag1","hashtag2"]},{"1352293591":["hashtag1","hashtag2"]},{"1352293594":["hashtag1","hashtag2"]},{"1352293582":["hashtag1","hashtag2"]},{"1352293584":["hashtag1","hashtag2"]},{"1352293587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352293589, 1352293591, 1352293594, 1352293582, 1352293584, 1352293587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53106212615967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:23:32.947603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/25/image_12042025_18_25_17_10430.jpg', '/home/pi/Desktop/images/12042025/18/25/image_12042025_18_25_37_10425.jpg', '/home/pi/Desktop/images/12042025/18/25/image_12042025_18_25_47_10382.jpg', '/home/pi/Desktop/images/12042025/18/25/image_12042025_18_25_56_9351.jpg', '/home/pi/Desktop/images/12042025/18/25/image_12042025_18_26_07_10429.jpg', '/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_16_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/25/image_12042025_18_25_17_10430.jpg
/home/pi/Desktop/images/12042025/18/25/image_12042025_18_25_37_10425.jpg
/home/pi/Desktop/images/12042025/18/25/image_12042025_18_25_47_10382.jpg
/home/pi/Desktop/images/12042025/18/25/image_12042025_18_25_56_9351.jpg
/home/pi/Desktop/images/12042025/18/25/image_12042025_18_26_07_10429.jpg
/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_16_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293611","1352293607","1352293604","1352293621","1352293618","1352293615"],"photo_ids_order":["1352293604","1352293607","1352293611","1352293615","1352293618","1352293621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/362185244806878b4cf18bb2e3f0295d.jpg","text":"TemporaryFile(/tmp/multipartBody599807824509894185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482273430,"filename":"image_12042025_18_25_47_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b18c6ccb7a7cc4199032bceaa485982.jpg","text":"TemporaryFile(/tmp/multipartBody2035049436869689174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482273430,"filename":"image_12042025_18_25_37_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25985d54e0c3659f1593f16efd8e4513.jpg","text":"TemporaryFile(/tmp/multipartBody7257877004331151056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482273430,"filename":"image_12042025_18_25_17_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1214f9a252bb9c09c561dcb0fda6028.jpg","text":"TemporaryFile(/tmp/multipartBody4346141398443653547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482273430,"filename":"image_12042025_18_26_16_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf37386b4df5012275cd8f0280e1ba0f.jpg","text":"TemporaryFile(/tmp/multipartBody5829361170055684756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482273430,"filename":"image_12042025_18_26_07_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfc89fe86728dc3fefc5687eab814af0.jpg","text":"TemporaryFile(/tmp/multipartBody8987453781613318311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482273430,"filename":"image_12042025_18_25_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293611","file1":"1352293607","file0":"1352293604","file4":"1352293618","file5":"1352293621","file3":"1352293615"},"map_files_photo_id_array":[{"photo_id":"1352293621","filename":"file5"},{"photo_id":"1352293611","filename":"file2"},{"photo_id":"1352293618","filename":"file4"},{"photo_id":"1352293607","filename":"file1"},{"photo_id":"1352293604","filename":"file0"},{"photo_id":"1352293615","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352293611":["hashtag1","hashtag2"]},{"1352293607":["hashtag1","hashtag2"]},{"1352293604":["hashtag1","hashtag2"]},{"1352293621":["hashtag1","hashtag2"]},{"1352293618":["hashtag1","hashtag2"]},{"1352293615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352293611, 1352293607, 1352293604, 1352293621, 1352293618, 1352293615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93381595611572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:24:33.193496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_27_10438.jpg', '/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_37_10432.jpg', '/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_46_9430.jpg', '/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_57_10432.jpg', '/home/pi/Desktop/images/12042025/18/26/image_12042025_18_27_06_9366.jpg', '/home/pi/Desktop/images/12042025/18/27/image_12042025_18_27_27_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_27_10438.jpg
/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_37_10432.jpg
/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_46_9430.jpg
/home/pi/Desktop/images/12042025/18/26/image_12042025_18_26_57_10432.jpg
/home/pi/Desktop/images/12042025/18/26/image_12042025_18_27_06_9366.jpg
/home/pi/Desktop/images/12042025/18/27/image_12042025_18_27_27_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293680","1352293691","1352293688","1352293696","1352293660","1352293663"],"photo_ids_order":["1352293660","1352293663","1352293680","1352293688","1352293691","1352293696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15191fa5a12d0ba63603b3f14378acf5.jpg","text":"TemporaryFile(/tmp/multipartBody7823920746063451313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482333679,"filename":"image_12042025_18_26_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9723112800ecd2426f068c6aa94b2cd6.jpg","text":"TemporaryFile(/tmp/multipartBody4886103442909070866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482333679,"filename":"image_12042025_18_27_06_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c6efbb32dcf27fb8a5adadddc572b17.jpg","text":"TemporaryFile(/tmp/multipartBody5423210422551074067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482333679,"filename":"image_12042025_18_26_57_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/134fb71bf3efaaac5e456af415f3c72e.jpg","text":"TemporaryFile(/tmp/multipartBody7766267662340580593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482333679,"filename":"image_12042025_18_27_27_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8be7525a63c10cb2dfc514f26cff50e8.jpg","text":"TemporaryFile(/tmp/multipartBody6201086891064845723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482333679,"filename":"image_12042025_18_26_27_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ab8b24f43fdf5048c7475cb3f7fbd64b.jpg","text":"TemporaryFile(/tmp/multipartBody7342753504154456394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482333679,"filename":"image_12042025_18_26_37_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293680","file1":"1352293663","file0":"1352293660","file4":"1352293691","file5":"1352293696","file3":"1352293688"},"map_files_photo_id_array":[{"photo_id":"1352293696","filename":"file5"},{"photo_id":"1352293680","filename":"file2"},{"photo_id":"1352293691","filename":"file4"},{"photo_id":"1352293663","filename":"file1"},{"photo_id":"1352293660","filename":"file0"},{"photo_id":"1352293688","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352293680":["hashtag1","hashtag2"]},{"1352293691":["hashtag1","hashtag2"]},{"1352293688":["hashtag1","hashtag2"]},{"1352293696":["hashtag1","hashtag2"]},{"1352293660":["hashtag1","hashtag2"]},{"1352293663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352293680, 1352293691, 1352293688, 1352293696, 1352293660, 1352293663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5253221988678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:25:32.384882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/27/image_12042025_18_27_36_9357.jpg', '/home/pi/Desktop/images/12042025/18/27/image_12042025_18_27_47_10410.jpg', '/home/pi/Desktop/images/12042025/18/27/image_12042025_18_27_56_9414.jpg', '/home/pi/Desktop/images/12042025/18/27/image_12042025_18_28_07_10415.jpg', '/home/pi/Desktop/images/12042025/18/28/image_12042025_18_28_17_10355.jpg', '/home/pi/Desktop/images/12042025/18/28/image_12042025_18_28_26_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/27/image_12042025_18_27_36_9357.jpg
/home/pi/Desktop/images/12042025/18/27/image_12042025_18_27_47_10410.jpg
/home/pi/Desktop/images/12042025/18/27/image_12042025_18_27_56_9414.jpg
/home/pi/Desktop/images/12042025/18/27/image_12042025_18_28_07_10415.jpg
/home/pi/Desktop/images/12042025/18/28/image_12042025_18_28_17_10355.jpg
/home/pi/Desktop/images/12042025/18/28/image_12042025_18_28_26_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293731","1352293734","1352293728","1352293725","1352293719","1352293721"],"photo_ids_order":["1352293719","1352293721","1352293725","1352293728","1352293731","1352293734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/668316b4cefb2513e1f4afc7fb36ca6d.jpg","text":"TemporaryFile(/tmp/multipartBody239731305344259652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482392883,"filename":"image_12042025_18_28_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8003f7593cd5a9be62e907c974cb2683.jpg","text":"TemporaryFile(/tmp/multipartBody8308219722625480017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482392883,"filename":"image_12042025_18_28_26_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ce15a558cfbe099e5a2a1ffa9a0411b.jpg","text":"TemporaryFile(/tmp/multipartBody6486580140673693564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482392883,"filename":"image_12042025_18_28_07_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/474986de51c5f2136548e8fbde68f42f.jpg","text":"TemporaryFile(/tmp/multipartBody2213773192710315067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482392883,"filename":"image_12042025_18_27_56_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b1010cf7b5d2efc6a6d1339fe7a041c.jpg","text":"TemporaryFile(/tmp/multipartBody3970327911592634819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482392883,"filename":"image_12042025_18_27_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89b04a12a06dda7f090ae334b63c5b31.jpg","text":"TemporaryFile(/tmp/multipartBody2381438658161895064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482392883,"filename":"image_12042025_18_27_47_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293725","file1":"1352293721","file0":"1352293719","file4":"1352293731","file5":"1352293734","file3":"1352293728"},"map_files_photo_id_array":[{"photo_id":"1352293734","filename":"file5"},{"photo_id":"1352293725","filename":"file2"},{"photo_id":"1352293731","filename":"file4"},{"photo_id":"1352293721","filename":"file1"},{"photo_id":"1352293719","filename":"file0"},{"photo_id":"1352293728","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352293731":["hashtag1","hashtag2"]},{"1352293734":["hashtag1","hashtag2"]},{"1352293728":["hashtag1","hashtag2"]},{"1352293725":["hashtag1","hashtag2"]},{"1352293719":["hashtag1","hashtag2"]},{"1352293721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352293731, 1352293734, 1352293728, 1352293725, 1352293719, 1352293721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.061678886413574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:26:32.581047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/28/image_12042025_18_28_47_10384.jpg', '/home/pi/Desktop/images/12042025/18/28/image_12042025_18_28_57_9466.jpg', '/home/pi/Desktop/images/12042025/18/28/image_12042025_18_29_07_10436.jpg', '/home/pi/Desktop/images/12042025/18/29/image_12042025_18_29_17_9496.jpg', '/home/pi/Desktop/images/12042025/18/29/image_12042025_18_29_47_10464.jpg', '/home/pi/Desktop/images/12042025/18/29/image_12042025_18_29_57_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/28/image_12042025_18_28_47_10384.jpg
/home/pi/Desktop/images/12042025/18/28/image_12042025_18_28_57_9466.jpg
/home/pi/Desktop/images/12042025/18/28/image_12042025_18_29_07_10436.jpg
/home/pi/Desktop/images/12042025/18/29/image_12042025_18_29_17_9496.jpg
/home/pi/Desktop/images/12042025/18/29/image_12042025_18_29_47_10464.jpg
/home/pi/Desktop/images/12042025/18/29/image_12042025_18_29_57_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293950","1352293938","1352293935","1352293922","1352293860","1352293770"],"photo_ids_order":["1352293770","1352293860","1352293922","1352293935","1352293938","1352293950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51ff06004f3e9abbef0ff5ba4c7fac36.jpg","text":"TemporaryFile(/tmp/multipartBody2102338795550972146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482453070,"filename":"image_12042025_18_29_57_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4a7a398b57ce2773ca72dbdd65d5842.jpg","text":"TemporaryFile(/tmp/multipartBody1977514984078667004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482453070,"filename":"image_12042025_18_29_47_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ae60c7a6f0043dec50035ac15cda9d9.jpg","text":"TemporaryFile(/tmp/multipartBody1654179924928346250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482453070,"filename":"image_12042025_18_29_17_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee20229a5d65e3baa64403e00af194f2.jpg","text":"TemporaryFile(/tmp/multipartBody7102862561543109943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482453070,"filename":"image_12042025_18_29_07_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/49ef735b9da0a9bf4292a06259b2dded.jpg","text":"TemporaryFile(/tmp/multipartBody6934368536320876063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482453070,"filename":"image_12042025_18_28_57_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6502e8c380e178d15bcc0fa64f8f51af.jpg","text":"TemporaryFile(/tmp/multipartBody7116911150917334538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482453070,"filename":"image_12042025_18_28_47_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293922","file1":"1352293860","file0":"1352293770","file4":"1352293938","file5":"1352293950","file3":"1352293935"},"map_files_photo_id_array":[{"photo_id":"1352293950","filename":"file5"},{"photo_id":"1352293922","filename":"file2"},{"photo_id":"1352293938","filename":"file4"},{"photo_id":"1352293860","filename":"file1"},{"photo_id":"1352293770","filename":"file0"},{"photo_id":"1352293935","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352293950":["hashtag1","hashtag2"]},{"1352293938":["hashtag1","hashtag2"]},{"1352293935":["hashtag1","hashtag2"]},{"1352293922":["hashtag1","hashtag2"]},{"1352293860":["hashtag1","hashtag2"]},{"1352293770":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352293950, 1352293938, 1352293935, 1352293922, 1352293860, 1352293770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74127244949341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:27:32.745467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/29/image_12042025_18_30_07_9473.jpg', '/home/pi/Desktop/images/12042025/18/30/image_12042025_18_30_17_10348.jpg', '/home/pi/Desktop/images/12042025/18/30/image_12042025_18_30_26_9406.jpg', '/home/pi/Desktop/images/12042025/18/30/image_12042025_18_30_57_10456.jpg', '/home/pi/Desktop/images/12042025/18/31/image_12042025_18_31_16_9350.jpg', '/home/pi/Desktop/images/12042025/18/31/image_12042025_18_31_37_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/29/image_12042025_18_30_07_9473.jpg
/home/pi/Desktop/images/12042025/18/30/image_12042025_18_30_17_10348.jpg
/home/pi/Desktop/images/12042025/18/30/image_12042025_18_30_26_9406.jpg
/home/pi/Desktop/images/12042025/18/30/image_12042025_18_30_57_10456.jpg
/home/pi/Desktop/images/12042025/18/31/image_12042025_18_31_16_9350.jpg
/home/pi/Desktop/images/12042025/18/31/image_12042025_18_31_37_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352293976","1352293981","1352293984","1352293978","1352293986","1352293989"],"photo_ids_order":["1352293976","1352293978","1352293981","1352293984","1352293986","1352293989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dfd4259bfbae6b893ea8e846af005283.jpg","text":"TemporaryFile(/tmp/multipartBody6351160648729508478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482513217,"filename":"image_12042025_18_30_07_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04734810774a69348713a6a643553693.jpg","text":"TemporaryFile(/tmp/multipartBody2981772435806836086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482513217,"filename":"image_12042025_18_30_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6308fc13d61a398125ef810d1ace4c0.jpg","text":"TemporaryFile(/tmp/multipartBody7875885860575064329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482513217,"filename":"image_12042025_18_30_57_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/698ebcad958e488b4e38981ac4cb96af.jpg","text":"TemporaryFile(/tmp/multipartBody47055222683987218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482513217,"filename":"image_12042025_18_30_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e2adaf60ff80b3b69d517f2b31a88cd.jpg","text":"TemporaryFile(/tmp/multipartBody2085307224957958109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482513217,"filename":"image_12042025_18_31_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/041332af27b235b2b0dc46969331c170.jpg","text":"TemporaryFile(/tmp/multipartBody1708585984286277888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482513217,"filename":"image_12042025_18_31_37_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352293981","file1":"1352293978","file0":"1352293976","file4":"1352293986","file5":"1352293989","file3":"1352293984"},"map_files_photo_id_array":[{"photo_id":"1352293989","filename":"file5"},{"photo_id":"1352293981","filename":"file2"},{"photo_id":"1352293986","filename":"file4"},{"photo_id":"1352293978","filename":"file1"},{"photo_id":"1352293976","filename":"file0"},{"photo_id":"1352293984","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352293976":["hashtag1","hashtag2"]},{"1352293981":["hashtag1","hashtag2"]},{"1352293984":["hashtag1","hashtag2"]},{"1352293978":["hashtag1","hashtag2"]},{"1352293986":["hashtag1","hashtag2"]},{"1352293989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352293976, 1352293981, 1352293984, 1352293978, 1352293986, 1352293989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30146145820618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:28:33.039703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/31/image_12042025_18_31_47_9451.jpg', '/home/pi/Desktop/images/12042025/18/31/image_12042025_18_31_57_10375.jpg', '/home/pi/Desktop/images/12042025/18/31/image_12042025_18_32_06_9346.jpg', '/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_17_10431.jpg', '/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_27_10362.jpg', '/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_37_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/31/image_12042025_18_31_47_9451.jpg
/home/pi/Desktop/images/12042025/18/31/image_12042025_18_31_57_10375.jpg
/home/pi/Desktop/images/12042025/18/31/image_12042025_18_32_06_9346.jpg
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_17_10431.jpg
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_27_10362.jpg
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_37_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294013","1352293999","1352294008","1352294002","1352294011","1352294005"],"photo_ids_order":["1352293999","1352294002","1352294005","1352294008","1352294011","1352294013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34c303fa52087efd7fe126fd65fe1c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2336060229311094803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482573505,"filename":"image_12042025_18_32_37_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e366351f2ae139b1a139b3fe34c886ce.jpg","text":"TemporaryFile(/tmp/multipartBody3836453214679883942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482573505,"filename":"image_12042025_18_31_47_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3585a1847bb0d774120c97be083ca621.jpg","text":"TemporaryFile(/tmp/multipartBody7039882363334083162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482573505,"filename":"image_12042025_18_32_17_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4936b91a26bda539fb9e9e975408b3f6.jpg","text":"TemporaryFile(/tmp/multipartBody5795973295185650495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482573505,"filename":"image_12042025_18_31_57_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f7b1db904a481acf65a757321ab5ae1.jpg","text":"TemporaryFile(/tmp/multipartBody5833496225852133955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482573505,"filename":"image_12042025_18_32_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48359a0bce43f24247dfde50a7a7a505.jpg","text":"TemporaryFile(/tmp/multipartBody8880195054638270865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482573505,"filename":"image_12042025_18_32_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294005","file1":"1352294002","file0":"1352293999","file4":"1352294011","file5":"1352294013","file3":"1352294008"},"map_files_photo_id_array":[{"photo_id":"1352294013","filename":"file5"},{"photo_id":"1352294005","filename":"file2"},{"photo_id":"1352294011","filename":"file4"},{"photo_id":"1352294002","filename":"file1"},{"photo_id":"1352293999","filename":"file0"},{"photo_id":"1352294008","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294013":["hashtag1","hashtag2"]},{"1352293999":["hashtag1","hashtag2"]},{"1352294008":["hashtag1","hashtag2"]},{"1352294002":["hashtag1","hashtag2"]},{"1352294011":["hashtag1","hashtag2"]},{"1352294005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294013, 1352293999, 1352294008, 1352294002, 1352294011, 1352294005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.540608406066895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:29:33.330430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_47_10371.jpg', '/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_56_9356.jpg', '/home/pi/Desktop/images/12042025/18/32/image_12042025_18_33_07_10427.jpg', '/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_17_10365.jpg', '/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_27_9460.jpg', '/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_37_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_47_10371.jpg
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_56_9356.jpg
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_33_07_10427.jpg
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_17_10365.jpg
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_27_9460.jpg
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_37_10382.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37900209426879883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 20:29:43.287735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_47_10371.jpg', '/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_56_9356.jpg', '/home/pi/Desktop/images/12042025/18/32/image_12042025_18_33_07_10427.jpg', '/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_17_10365.jpg', '/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_27_9460.jpg', '/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_37_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_47_10371.jpg
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_32_56_9356.jpg
/home/pi/Desktop/images/12042025/18/32/image_12042025_18_33_07_10427.jpg
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_17_10365.jpg
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_27_9460.jpg
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_37_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294112","1352294084","1352294093","1352294075","1352294105","1352294094"],"photo_ids_order":["1352294075","1352294084","1352294093","1352294094","1352294105","1352294112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96dcc32e789e2eb66f0085b5f03be5cd.jpg","text":"TemporaryFile(/tmp/multipartBody7693622234994046590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482643752,"filename":"image_12042025_18_33_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c66b06086e920e474040c7c2b6ef1de8.jpg","text":"TemporaryFile(/tmp/multipartBody9189529299383765241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482643752,"filename":"image_12042025_18_32_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0a797b1cc1193b75c57f954171a87be.jpg","text":"TemporaryFile(/tmp/multipartBody121557505739131259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482643752,"filename":"image_12042025_18_33_07_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc1faa12538913d259a607ffc0519b41.jpg","text":"TemporaryFile(/tmp/multipartBody824741165565457031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482643752,"filename":"image_12042025_18_32_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3951bf9c6ded1d1b7123af42c730f1f7.jpg","text":"TemporaryFile(/tmp/multipartBody6352497295091573358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482643752,"filename":"image_12042025_18_33_27_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee66095e890a59f6237df0894242c6ab.jpg","text":"TemporaryFile(/tmp/multipartBody862687191273779547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482643752,"filename":"image_12042025_18_33_17_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294093","file1":"1352294084","file0":"1352294075","file4":"1352294105","file5":"1352294112","file3":"1352294094"},"map_files_photo_id_array":[{"photo_id":"1352294112","filename":"file5"},{"photo_id":"1352294093","filename":"file2"},{"photo_id":"1352294105","filename":"file4"},{"photo_id":"1352294084","filename":"file1"},{"photo_id":"1352294075","filename":"file0"},{"photo_id":"1352294094","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294112":["hashtag1","hashtag2"]},{"1352294084":["hashtag1","hashtag2"]},{"1352294093":["hashtag1","hashtag2"]},{"1352294075":["hashtag1","hashtag2"]},{"1352294105":["hashtag1","hashtag2"]},{"1352294094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294112, 1352294084, 1352294093, 1352294075, 1352294105, 1352294094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.575849771499634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:30:32.375720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_46_9359.jpg', '/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_57_10479.jpg', '/home/pi/Desktop/images/12042025/18/33/image_12042025_18_34_07_10370.jpg', '/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_17_9404.jpg', '/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_27_10367.jpg', '/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_36_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_46_9359.jpg
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_33_57_10479.jpg
/home/pi/Desktop/images/12042025/18/33/image_12042025_18_34_07_10370.jpg
/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_17_9404.jpg
/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_27_10367.jpg
/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_36_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294252","1352294237","1352294242","1352294239","1352294248","1352294250"],"photo_ids_order":["1352294237","1352294239","1352294242","1352294248","1352294250","1352294252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6902ec27609bd9edfe470ec3c290bd2c.jpg","text":"TemporaryFile(/tmp/multipartBody6189926350092731460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482692837,"filename":"image_12042025_18_34_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8602ccd5bd716fab81eaa36d60f9d29e.jpg","text":"TemporaryFile(/tmp/multipartBody8445888812398113492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482692837,"filename":"image_12042025_18_33_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5706c02a4b49d4bb10ebbd6addf15d8.jpg","text":"TemporaryFile(/tmp/multipartBody8569366260553618740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482692837,"filename":"image_12042025_18_34_07_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f52ca86de01e02fea8e547a62089a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4359700454622938641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482692837,"filename":"image_12042025_18_33_57_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02211d125174d96c1f8301b15d8efb99.jpg","text":"TemporaryFile(/tmp/multipartBody1985156313630658648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482692837,"filename":"image_12042025_18_34_17_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbd9a0097f173915d7ab49f59457ecbb.jpg","text":"TemporaryFile(/tmp/multipartBody807851885689170238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482692837,"filename":"image_12042025_18_34_27_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294242","file1":"1352294239","file0":"1352294237","file4":"1352294250","file5":"1352294252","file3":"1352294248"},"map_files_photo_id_array":[{"photo_id":"1352294252","filename":"file5"},{"photo_id":"1352294242","filename":"file2"},{"photo_id":"1352294250","filename":"file4"},{"photo_id":"1352294239","filename":"file1"},{"photo_id":"1352294237","filename":"file0"},{"photo_id":"1352294248","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294252":["hashtag1","hashtag2"]},{"1352294237":["hashtag1","hashtag2"]},{"1352294242":["hashtag1","hashtag2"]},{"1352294239":["hashtag1","hashtag2"]},{"1352294248":["hashtag1","hashtag2"]},{"1352294250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294252, 1352294237, 1352294242, 1352294239, 1352294248, 1352294250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.870755672454834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:31:32.585402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_47_10370.jpg', '/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_57_10357.jpg', '/home/pi/Desktop/images/12042025/18/34/image_12042025_18_35_06_9329.jpg', '/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_17_10409.jpg', '/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_27_10356.jpg', '/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_37_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_47_10370.jpg
/home/pi/Desktop/images/12042025/18/34/image_12042025_18_34_57_10357.jpg
/home/pi/Desktop/images/12042025/18/34/image_12042025_18_35_06_9329.jpg
/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_17_10409.jpg
/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_27_10356.jpg
/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_37_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294276","1352294278","1352294266","1352294271","1352294274","1352294268"],"photo_ids_order":["1352294266","1352294268","1352294271","1352294274","1352294276","1352294278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/502400be682c02b9a2fbf4eedf7142ab.jpg","text":"TemporaryFile(/tmp/multipartBody2444375816791094284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482753058,"filename":"image_12042025_18_35_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/329dadc210091fbda5e0aaf51937000a.jpg","text":"TemporaryFile(/tmp/multipartBody2871876290875987689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482753058,"filename":"image_12042025_18_35_37_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95ebe337b5454483d2250627cc606a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1027688487641050843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482753058,"filename":"image_12042025_18_34_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a3d2c689d12cc17a096b098408498cf.jpg","text":"TemporaryFile(/tmp/multipartBody6763621006890256201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482753058,"filename":"image_12042025_18_35_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/111c7a6305a38d2df755005c65f7f668.jpg","text":"TemporaryFile(/tmp/multipartBody4484412805445492595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482753058,"filename":"image_12042025_18_35_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28f6d81c9653ceaf0ae8fe7be2b8ca91.jpg","text":"TemporaryFile(/tmp/multipartBody7861549935444742418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482753058,"filename":"image_12042025_18_34_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294271","file1":"1352294268","file0":"1352294266","file4":"1352294276","file5":"1352294278","file3":"1352294274"},"map_files_photo_id_array":[{"photo_id":"1352294278","filename":"file5"},{"photo_id":"1352294271","filename":"file2"},{"photo_id":"1352294276","filename":"file4"},{"photo_id":"1352294268","filename":"file1"},{"photo_id":"1352294266","filename":"file0"},{"photo_id":"1352294274","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294276":["hashtag1","hashtag2"]},{"1352294278":["hashtag1","hashtag2"]},{"1352294266":["hashtag1","hashtag2"]},{"1352294271":["hashtag1","hashtag2"]},{"1352294274":["hashtag1","hashtag2"]},{"1352294268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294276, 1352294278, 1352294266, 1352294271, 1352294274, 1352294268)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1352294271 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/12042025/18/34/image_12042025_18_35_06_9329.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 54.44904613494873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:32:32.934379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_47_10379.jpg', '/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_56_9349.jpg', '/home/pi/Desktop/images/12042025/18/35/image_12042025_18_36_07_10363.jpg', '/home/pi/Desktop/images/12042025/18/36/image_12042025_18_36_26_9461.jpg', '/home/pi/Desktop/images/12042025/18/36/image_12042025_18_36_37_10479.jpg', '/home/pi/Desktop/images/12042025/18/36/image_12042025_18_36_47_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_47_10379.jpg
/home/pi/Desktop/images/12042025/18/35/image_12042025_18_35_56_9349.jpg
/home/pi/Desktop/images/12042025/18/35/image_12042025_18_36_07_10363.jpg
/home/pi/Desktop/images/12042025/18/36/image_12042025_18_36_26_9461.jpg
/home/pi/Desktop/images/12042025/18/36/image_12042025_18_36_37_10479.jpg
/home/pi/Desktop/images/12042025/18/36/image_12042025_18_36_47_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294306","1352294299","1352294290","1352294303","1352294293","1352294296"],"photo_ids_order":["1352294290","1352294293","1352294296","1352294299","1352294303","1352294306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5194da20c9f0673a4c56b429229967ad.jpg","text":"TemporaryFile(/tmp/multipartBody1661935572124343547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482813412,"filename":"image_12042025_18_36_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fdf99b197a09bbcdd40cdf42cd0e3ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7088781049199265894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482813412,"filename":"image_12042025_18_36_26_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9846c643b1c4fe1854cdc2a014b90914.jpg","text":"TemporaryFile(/tmp/multipartBody3551908957381113993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482813412,"filename":"image_12042025_18_35_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eff80e15bd294b00d62bb5eebe5287f0.jpg","text":"TemporaryFile(/tmp/multipartBody7201619200547925312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482813412,"filename":"image_12042025_18_36_37_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c84453d015df9301ea9b1dcde45f264.jpg","text":"TemporaryFile(/tmp/multipartBody5622834822020375725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482813412,"filename":"image_12042025_18_35_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa61029d139c88356b2c839ee6c1be13.jpg","text":"TemporaryFile(/tmp/multipartBody7169949712702219195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482813412,"filename":"image_12042025_18_36_07_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294296","file1":"1352294293","file0":"1352294290","file4":"1352294303","file5":"1352294306","file3":"1352294299"},"map_files_photo_id_array":[{"photo_id":"1352294306","filename":"file5"},{"photo_id":"1352294296","filename":"file2"},{"photo_id":"1352294303","filename":"file4"},{"photo_id":"1352294293","filename":"file1"},{"photo_id":"1352294290","filename":"file0"},{"photo_id":"1352294299","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294306":["hashtag1","hashtag2"]},{"1352294299":["hashtag1","hashtag2"]},{"1352294290":["hashtag1","hashtag2"]},{"1352294303":["hashtag1","hashtag2"]},{"1352294293":["hashtag1","hashtag2"]},{"1352294296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294306, 1352294299, 1352294290, 1352294303, 1352294293, 1352294296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47376990318298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:33:32.187965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/36/image_12042025_18_36_57_9457.jpg', '/home/pi/Desktop/images/12042025/18/36/image_12042025_18_37_07_10375.jpg', '/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_16_9358.jpg', '/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_27_10368.jpg', '/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_37_10361.jpg', '/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_46_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/36/image_12042025_18_36_57_9457.jpg
/home/pi/Desktop/images/12042025/18/36/image_12042025_18_37_07_10375.jpg
/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_16_9358.jpg
/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_27_10368.jpg
/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_37_10361.jpg
/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_46_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294319","1352294310","1352294312","1352294323","1352294314","1352294316"],"photo_ids_order":["1352294310","1352294312","1352294314","1352294316","1352294319","1352294323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15628fc6217875530799cc526f17579a.jpg","text":"TemporaryFile(/tmp/multipartBody5480495404654429820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482872660,"filename":"image_12042025_18_37_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8a4872a12c6acb3bc79aa9501ed8ec9.jpg","text":"TemporaryFile(/tmp/multipartBody9031006856173084663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482872660,"filename":"image_12042025_18_36_57_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73e76dacfd9d0095b09fae896c0a29e8.jpg","text":"TemporaryFile(/tmp/multipartBody5276725695514915579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482872660,"filename":"image_12042025_18_37_07_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7f0b7e432dbe3c8accccc9d6fb35522.jpg","text":"TemporaryFile(/tmp/multipartBody5303734123753642122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482872660,"filename":"image_12042025_18_37_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/213fafe296d5ec3e3d0b8fb74f3eaf78.jpg","text":"TemporaryFile(/tmp/multipartBody4384239364150990463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482872660,"filename":"image_12042025_18_37_16_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79d0fb2b29cd1d02a917df206945371e.jpg","text":"TemporaryFile(/tmp/multipartBody5520993929801984541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482872660,"filename":"image_12042025_18_37_27_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294314","file1":"1352294312","file0":"1352294310","file4":"1352294319","file5":"1352294323","file3":"1352294316"},"map_files_photo_id_array":[{"photo_id":"1352294323","filename":"file5"},{"photo_id":"1352294314","filename":"file2"},{"photo_id":"1352294319","filename":"file4"},{"photo_id":"1352294312","filename":"file1"},{"photo_id":"1352294310","filename":"file0"},{"photo_id":"1352294316","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294319":["hashtag1","hashtag2"]},{"1352294310":["hashtag1","hashtag2"]},{"1352294312":["hashtag1","hashtag2"]},{"1352294323":["hashtag1","hashtag2"]},{"1352294314":["hashtag1","hashtag2"]},{"1352294316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294319, 1352294310, 1352294312, 1352294323, 1352294314, 1352294316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93331980705261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:34:32.458787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_57_10358.jpg', '/home/pi/Desktop/images/12042025/18/37/image_12042025_18_38_07_10384.jpg', '/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_17_9440.jpg', '/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_27_10373.jpg', '/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_36_9357.jpg', '/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_47_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/37/image_12042025_18_37_57_10358.jpg
/home/pi/Desktop/images/12042025/18/37/image_12042025_18_38_07_10384.jpg
/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_17_9440.jpg
/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_27_10373.jpg
/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_36_9357.jpg
/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_47_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294341","1352294364","1352294358","1352294367","1352294352","1352294361"],"photo_ids_order":["1352294341","1352294352","1352294358","1352294361","1352294364","1352294367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/475847635ed756357371b244e8af4fa2.jpg","text":"TemporaryFile(/tmp/multipartBody272905899147603850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482932937,"filename":"image_12042025_18_37_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db571ab56d29f356045d853ad12540de.jpg","text":"TemporaryFile(/tmp/multipartBody116460918555919257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482932937,"filename":"image_12042025_18_38_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14def140ef7b771e042fa82383dcdbe7.jpg","text":"TemporaryFile(/tmp/multipartBody1738066444282258056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482932937,"filename":"image_12042025_18_38_17_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae7c29234028dd0bea9b3a9db5e169a7.jpg","text":"TemporaryFile(/tmp/multipartBody1409463936747125182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482932937,"filename":"image_12042025_18_38_47_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3620736dbc14f216a705df9c0365627.jpg","text":"TemporaryFile(/tmp/multipartBody603921427340616006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482932937,"filename":"image_12042025_18_38_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/134079ca91992bc1a45f00b3629d3b29.jpg","text":"TemporaryFile(/tmp/multipartBody1904801370728238074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482932937,"filename":"image_12042025_18_38_27_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294358","file1":"1352294352","file0":"1352294341","file4":"1352294364","file5":"1352294367","file3":"1352294361"},"map_files_photo_id_array":[{"photo_id":"1352294367","filename":"file5"},{"photo_id":"1352294358","filename":"file2"},{"photo_id":"1352294364","filename":"file4"},{"photo_id":"1352294352","filename":"file1"},{"photo_id":"1352294341","filename":"file0"},{"photo_id":"1352294361","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294341":["hashtag1","hashtag2"]},{"1352294364":["hashtag1","hashtag2"]},{"1352294358":["hashtag1","hashtag2"]},{"1352294367":["hashtag1","hashtag2"]},{"1352294352":["hashtag1","hashtag2"]},{"1352294361":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294341, 1352294364, 1352294358, 1352294367, 1352294352, 1352294361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.807663679122925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:35:32.574701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_57_10441.jpg', '/home/pi/Desktop/images/12042025/18/38/image_12042025_18_39_07_9515.jpg', '/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_17_10346.jpg', '/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_26_9359.jpg', '/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_37_10444.jpg', '/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_47_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/38/image_12042025_18_38_57_10441.jpg
/home/pi/Desktop/images/12042025/18/38/image_12042025_18_39_07_9515.jpg
/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_17_10346.jpg
/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_26_9359.jpg
/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_37_10444.jpg
/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_47_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294462","1352294456","1352294464","1352294458","1352294466","1352294460"],"photo_ids_order":["1352294456","1352294458","1352294460","1352294462","1352294464","1352294466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e9d95ea028b4e612db2deefdd2a86be.jpg","text":"TemporaryFile(/tmp/multipartBody190426053870035608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482993039,"filename":"image_12042025_18_39_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68e4d40e78c0d240ce449cc364b6092b.jpg","text":"TemporaryFile(/tmp/multipartBody7664207520740746986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482993039,"filename":"image_12042025_18_38_57_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f81c5a35edd1af06dd08b61e95a048db.jpg","text":"TemporaryFile(/tmp/multipartBody4935944480975301395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482993039,"filename":"image_12042025_18_39_37_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e27c3c882b6b888badbd550c88a34781.jpg","text":"TemporaryFile(/tmp/multipartBody2383137455897816893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482993039,"filename":"image_12042025_18_39_07_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65a9e7eb28381715a1dc87887f35d671.jpg","text":"TemporaryFile(/tmp/multipartBody6926314387400084321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482993039,"filename":"image_12042025_18_39_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92bb4e7e12252eaafc31d827e09516ec.jpg","text":"TemporaryFile(/tmp/multipartBody1841666998686639907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744482993039,"filename":"image_12042025_18_39_17_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294460","file1":"1352294458","file0":"1352294456","file4":"1352294464","file5":"1352294466","file3":"1352294462"},"map_files_photo_id_array":[{"photo_id":"1352294466","filename":"file5"},{"photo_id":"1352294460","filename":"file2"},{"photo_id":"1352294464","filename":"file4"},{"photo_id":"1352294458","filename":"file1"},{"photo_id":"1352294456","filename":"file0"},{"photo_id":"1352294462","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294462":["hashtag1","hashtag2"]},{"1352294456":["hashtag1","hashtag2"]},{"1352294464":["hashtag1","hashtag2"]},{"1352294458":["hashtag1","hashtag2"]},{"1352294466":["hashtag1","hashtag2"]},{"1352294460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294462, 1352294456, 1352294464, 1352294458, 1352294466, 1352294460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49496793746948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:36:32.950099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_57_9476.jpg', '/home/pi/Desktop/images/12042025/18/39/image_12042025_18_40_07_10385.jpg', '/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_16_9347.jpg', '/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_27_10432.jpg', '/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_37_10374.jpg', '/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_47_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/39/image_12042025_18_39_57_9476.jpg
/home/pi/Desktop/images/12042025/18/39/image_12042025_18_40_07_10385.jpg
/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_16_9347.jpg
/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_27_10432.jpg
/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_37_10374.jpg
/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_47_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294486","1352294480","1352294483","1352294471","1352294473","1352294476"],"photo_ids_order":["1352294471","1352294473","1352294476","1352294480","1352294483","1352294486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d047364d4cbb1df3a0bf1f29a38993b5.jpg","text":"TemporaryFile(/tmp/multipartBody5849387518355944790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483053414,"filename":"image_12042025_18_40_47_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f6881b6b314206ff318b3e1692295ea.jpg","text":"TemporaryFile(/tmp/multipartBody4785994121594827127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483053414,"filename":"image_12042025_18_40_27_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffe1f819f9a9a6aba1f2799d6046d8b3.jpg","text":"TemporaryFile(/tmp/multipartBody5218693742131966025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483053414,"filename":"image_12042025_18_40_37_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc1b2b7d92784e3d3f2a30ec43b9891c.jpg","text":"TemporaryFile(/tmp/multipartBody3283095839805741500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483053414,"filename":"image_12042025_18_39_57_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68195638db4ebd8a7c1e356a31b6921b.jpg","text":"TemporaryFile(/tmp/multipartBody2055476385640246392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483053414,"filename":"image_12042025_18_40_07_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bae40369f9fc77413b6525aa7e3d649c.jpg","text":"TemporaryFile(/tmp/multipartBody550228058178945143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483053414,"filename":"image_12042025_18_40_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294476","file1":"1352294473","file0":"1352294471","file4":"1352294483","file5":"1352294486","file3":"1352294480"},"map_files_photo_id_array":[{"photo_id":"1352294486","filename":"file5"},{"photo_id":"1352294476","filename":"file2"},{"photo_id":"1352294483","filename":"file4"},{"photo_id":"1352294473","filename":"file1"},{"photo_id":"1352294471","filename":"file0"},{"photo_id":"1352294480","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294486":["hashtag1","hashtag2"]},{"1352294480":["hashtag1","hashtag2"]},{"1352294483":["hashtag1","hashtag2"]},{"1352294471":["hashtag1","hashtag2"]},{"1352294473":["hashtag1","hashtag2"]},{"1352294476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294486, 1352294480, 1352294483, 1352294471, 1352294473, 1352294476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09388041496277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:37:33.259277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_57_10377.jpg', '/home/pi/Desktop/images/12042025/18/40/image_12042025_18_41_06_9332.jpg', '/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_17_10410.jpg', '/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_27_10366.jpg', '/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_36_9353.jpg', '/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_47_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/40/image_12042025_18_40_57_10377.jpg
/home/pi/Desktop/images/12042025/18/40/image_12042025_18_41_06_9332.jpg
/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_17_10410.jpg
/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_27_10366.jpg
/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_36_9353.jpg
/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_47_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294622","1352294608","1352294631","1352294625","1352294634","1352294628"],"photo_ids_order":["1352294608","1352294622","1352294625","1352294628","1352294631","1352294634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4bc6ab60c2ef0d5915735ec3df1d39a9.jpg","text":"TemporaryFile(/tmp/multipartBody8781183417523459305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483113717,"filename":"image_12042025_18_41_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4f92c54a7cd0a3f49b25a44081c967e.jpg","text":"TemporaryFile(/tmp/multipartBody2278908759828975870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483113717,"filename":"image_12042025_18_40_57_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9992c8f41bb84145020f821f5cd56d0.jpg","text":"TemporaryFile(/tmp/multipartBody7322332912132615768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483113717,"filename":"image_12042025_18_41_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f75d7f622e05477a631f39dbc1630206.jpg","text":"TemporaryFile(/tmp/multipartBody2949504751688197683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483113717,"filename":"image_12042025_18_41_17_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/79595bb1841c111cea3d4f79195b2356.jpg","text":"TemporaryFile(/tmp/multipartBody8858426024941063262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483113717,"filename":"image_12042025_18_41_47_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a66046cccd894e7f4986ba4dcebe01a.jpg","text":"TemporaryFile(/tmp/multipartBody255923533374073410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483113717,"filename":"image_12042025_18_41_27_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294625","file1":"1352294622","file0":"1352294608","file4":"1352294631","file5":"1352294634","file3":"1352294628"},"map_files_photo_id_array":[{"photo_id":"1352294634","filename":"file5"},{"photo_id":"1352294625","filename":"file2"},{"photo_id":"1352294631","filename":"file4"},{"photo_id":"1352294622","filename":"file1"},{"photo_id":"1352294608","filename":"file0"},{"photo_id":"1352294628","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294622":["hashtag1","hashtag2"]},{"1352294608":["hashtag1","hashtag2"]},{"1352294631":["hashtag1","hashtag2"]},{"1352294625":["hashtag1","hashtag2"]},{"1352294634":["hashtag1","hashtag2"]},{"1352294628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294622, 1352294608, 1352294631, 1352294625, 1352294634, 1352294628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.445520401000977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:38:32.465594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_57_10364.jpg', '/home/pi/Desktop/images/12042025/18/41/image_12042025_18_42_07_9434.jpg', '/home/pi/Desktop/images/12042025/18/42/image_12042025_18_42_17_10362.jpg', '/home/pi/Desktop/images/12042025/18/42/image_12042025_18_42_26_9365.jpg', '/home/pi/Desktop/images/12042025/18/42/image_12042025_18_42_47_10372.jpg', '/home/pi/Desktop/images/12042025/18/42/image_12042025_18_42_57_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/41/image_12042025_18_41_57_10364.jpg
/home/pi/Desktop/images/12042025/18/41/image_12042025_18_42_07_9434.jpg
/home/pi/Desktop/images/12042025/18/42/image_12042025_18_42_17_10362.jpg
/home/pi/Desktop/images/12042025/18/42/image_12042025_18_42_26_9365.jpg
/home/pi/Desktop/images/12042025/18/42/image_12042025_18_42_47_10372.jpg
/home/pi/Desktop/images/12042025/18/42/image_12042025_18_42_57_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294699","1352294703","1352294696","1352294713","1352294710","1352294706"],"photo_ids_order":["1352294696","1352294699","1352294703","1352294706","1352294710","1352294713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c57e246833273f386d7673108beecf3.jpg","text":"TemporaryFile(/tmp/multipartBody3286394701320185422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483172931,"filename":"image_12042025_18_42_07_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc119fdd1b0837edffe4259dcadf08a1.jpg","text":"TemporaryFile(/tmp/multipartBody7112762310012215973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483172931,"filename":"image_12042025_18_42_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1b06aa9bd9d860e34ca70d35096f59b.jpg","text":"TemporaryFile(/tmp/multipartBody9198432352039864162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483172931,"filename":"image_12042025_18_41_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df7f6073d515d68b431a4c11b64277fd.jpg","text":"TemporaryFile(/tmp/multipartBody1203366815730237770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483172931,"filename":"image_12042025_18_42_57_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52cfe912c042c76056f363592403b8e6.jpg","text":"TemporaryFile(/tmp/multipartBody2609832594393357027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483172931,"filename":"image_12042025_18_42_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a931b39f924a5a7aa733cc09de1fd5b1.jpg","text":"TemporaryFile(/tmp/multipartBody2537143509801850492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483172931,"filename":"image_12042025_18_42_26_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294703","file1":"1352294699","file0":"1352294696","file4":"1352294710","file5":"1352294713","file3":"1352294706"},"map_files_photo_id_array":[{"photo_id":"1352294713","filename":"file5"},{"photo_id":"1352294703","filename":"file2"},{"photo_id":"1352294710","filename":"file4"},{"photo_id":"1352294699","filename":"file1"},{"photo_id":"1352294696","filename":"file0"},{"photo_id":"1352294706","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294699":["hashtag1","hashtag2"]},{"1352294703":["hashtag1","hashtag2"]},{"1352294696":["hashtag1","hashtag2"]},{"1352294713":["hashtag1","hashtag2"]},{"1352294710":["hashtag1","hashtag2"]},{"1352294706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294699, 1352294703, 1352294696, 1352294713, 1352294710, 1352294706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.750245571136475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:39:32.718099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/42/image_12042025_18_43_07_10462.jpg', '/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_16_9340.jpg', '/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_27_10354.jpg', '/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_37_10373.jpg', '/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_47_9501.jpg', '/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_57_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/42/image_12042025_18_43_07_10462.jpg
/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_16_9340.jpg
/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_27_10354.jpg
/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_37_10373.jpg
/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_47_9501.jpg
/home/pi/Desktop/images/12042025/18/43/image_12042025_18_43_57_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294721","1352294741","1352294744","1352294732","1352294725","1352294718"],"photo_ids_order":["1352294718","1352294721","1352294725","1352294732","1352294741","1352294744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de6929ce1fa707750328bedf8d342358.jpg","text":"TemporaryFile(/tmp/multipartBody8540076878897286568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483233211,"filename":"image_12042025_18_43_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ed436f9374b901fb6316504b6eb47e6.jpg","text":"TemporaryFile(/tmp/multipartBody3165758569103662265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483233211,"filename":"image_12042025_18_43_47_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/36cd8ce556d260c9d5754ca573ac08f0.jpg","text":"TemporaryFile(/tmp/multipartBody6119762943394855010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483233211,"filename":"image_12042025_18_43_57_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ff770e6c0abe8b04ba690cadd961702.jpg","text":"TemporaryFile(/tmp/multipartBody3433780982256184075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483233211,"filename":"image_12042025_18_43_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88f5a20ee3ae80e673355f2f599d7e19.jpg","text":"TemporaryFile(/tmp/multipartBody4454908127436716455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483233211,"filename":"image_12042025_18_43_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e702a04a234412845c9a174dddbd987.jpg","text":"TemporaryFile(/tmp/multipartBody769574488897319327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483233211,"filename":"image_12042025_18_43_07_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294725","file1":"1352294721","file0":"1352294718","file4":"1352294741","file5":"1352294744","file3":"1352294732"},"map_files_photo_id_array":[{"photo_id":"1352294744","filename":"file5"},{"photo_id":"1352294725","filename":"file2"},{"photo_id":"1352294741","filename":"file4"},{"photo_id":"1352294721","filename":"file1"},{"photo_id":"1352294718","filename":"file0"},{"photo_id":"1352294732","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294721":["hashtag1","hashtag2"]},{"1352294741":["hashtag1","hashtag2"]},{"1352294744":["hashtag1","hashtag2"]},{"1352294732":["hashtag1","hashtag2"]},{"1352294725":["hashtag1","hashtag2"]},{"1352294718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294721, 1352294741, 1352294744, 1352294732, 1352294725, 1352294718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56222224235535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:40:33.003289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/43/image_12042025_18_44_06_9341.jpg', '/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_17_10444.jpg', '/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_27_10374.jpg', '/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_37_9417.jpg', '/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_47_10396.jpg', '/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_56_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/43/image_12042025_18_44_06_9341.jpg
/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_17_10444.jpg
/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_27_10374.jpg
/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_37_9417.jpg
/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_47_10396.jpg
/home/pi/Desktop/images/12042025/18/44/image_12042025_18_44_56_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294829","1352294820","1352294833","1352294823","1352294817","1352294826"],"photo_ids_order":["1352294817","1352294820","1352294823","1352294826","1352294829","1352294833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aef70ff9f53fac22598ca3dc4de3ddda.jpg","text":"TemporaryFile(/tmp/multipartBody3115355041845303959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483293472,"filename":"image_12042025_18_44_47_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8a78e55c652a9f8947011f8b18b8f08.jpg","text":"TemporaryFile(/tmp/multipartBody5994220750086501969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483293472,"filename":"image_12042025_18_44_17_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7ae093b439e79e6ab2b16caebd38299.jpg","text":"TemporaryFile(/tmp/multipartBody6842760360584197255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483293472,"filename":"image_12042025_18_44_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14f2e6bed23ca71bec227f7f52854f45.jpg","text":"TemporaryFile(/tmp/multipartBody1067591813333222881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483293472,"filename":"image_12042025_18_44_27_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4499ada7b008026367d0978f7a84c281.jpg","text":"TemporaryFile(/tmp/multipartBody3363584559123440034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483293472,"filename":"image_12042025_18_44_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b15d98f8d7311aa2efe7f945cd34ab77.jpg","text":"TemporaryFile(/tmp/multipartBody1445018727830022361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483293472,"filename":"image_12042025_18_44_37_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294823","file1":"1352294820","file0":"1352294817","file4":"1352294829","file5":"1352294833","file3":"1352294826"},"map_files_photo_id_array":[{"photo_id":"1352294833","filename":"file5"},{"photo_id":"1352294823","filename":"file2"},{"photo_id":"1352294829","filename":"file4"},{"photo_id":"1352294820","filename":"file1"},{"photo_id":"1352294817","filename":"file0"},{"photo_id":"1352294826","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294829":["hashtag1","hashtag2"]},{"1352294820":["hashtag1","hashtag2"]},{"1352294833":["hashtag1","hashtag2"]},{"1352294823":["hashtag1","hashtag2"]},{"1352294817":["hashtag1","hashtag2"]},{"1352294826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294829, 1352294820, 1352294833, 1352294823, 1352294817, 1352294826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38617992401123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:41:33.276460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_17_10378.jpg', '/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_26_9457.jpg', '/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_37_10363.jpg', '/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_46_9369.jpg', '/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_57_10360.jpg', '/home/pi/Desktop/images/12042025/18/45/image_12042025_18_46_07_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_17_10378.jpg
/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_26_9457.jpg
/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_37_10363.jpg
/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_46_9369.jpg
/home/pi/Desktop/images/12042025/18/45/image_12042025_18_45_57_10360.jpg
/home/pi/Desktop/images/12042025/18/45/image_12042025_18_46_07_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352294891","1352294839","1352294848","1352294853","1352294841","1352294859"],"photo_ids_order":["1352294839","1352294841","1352294848","1352294853","1352294859","1352294891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6c4e85740e98ba531696e305d5102fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5806628191462227561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483353738,"filename":"image_12042025_18_46_07_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff658f54d3c97bfaa04edfd4776745fd.jpg","text":"TemporaryFile(/tmp/multipartBody5155480892443653602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483353738,"filename":"image_12042025_18_45_17_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8df4d98834283e7f44912b0180338fbe.jpg","text":"TemporaryFile(/tmp/multipartBody4607455948614517830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483353738,"filename":"image_12042025_18_45_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddff51ee6cff45de7b20473d9ec9a3ef.jpg","text":"TemporaryFile(/tmp/multipartBody2020208429908439131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483353738,"filename":"image_12042025_18_45_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7fdb4b5fd86ef427e23f726fb2e2ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2399684036086061949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483353738,"filename":"image_12042025_18_45_26_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f5f716ceb84354e5645406a0983635b.jpg","text":"TemporaryFile(/tmp/multipartBody284059375751178074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483353738,"filename":"image_12042025_18_45_57_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294848","file1":"1352294841","file0":"1352294839","file4":"1352294859","file5":"1352294891","file3":"1352294853"},"map_files_photo_id_array":[{"photo_id":"1352294891","filename":"file5"},{"photo_id":"1352294848","filename":"file2"},{"photo_id":"1352294859","filename":"file4"},{"photo_id":"1352294841","filename":"file1"},{"photo_id":"1352294839","filename":"file0"},{"photo_id":"1352294853","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352294891":["hashtag1","hashtag2"]},{"1352294839":["hashtag1","hashtag2"]},{"1352294848":["hashtag1","hashtag2"]},{"1352294853":["hashtag1","hashtag2"]},{"1352294841":["hashtag1","hashtag2"]},{"1352294859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352294891, 1352294839, 1352294848, 1352294853, 1352294841, 1352294859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58252835273743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:42:32.335509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_27_10488.jpg', '/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_36_9382.jpg', '/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_47_10412.jpg', '/home/pi/Desktop/images/12042025/18/47/image_12042025_18_47_26_9433.jpg', '/home/pi/Desktop/images/12042025/18/47/image_12042025_18_47_37_10476.jpg', '/home/pi/Desktop/images/12042025/18/47/image_12042025_18_48_07_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_27_10488.jpg
/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_36_9382.jpg
/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_47_10412.jpg
/home/pi/Desktop/images/12042025/18/47/image_12042025_18_47_26_9433.jpg
/home/pi/Desktop/images/12042025/18/47/image_12042025_18_47_37_10476.jpg
/home/pi/Desktop/images/12042025/18/47/image_12042025_18_48_07_10374.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39646291732788086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 20:42:42.330639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_27_10488.jpg', '/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_36_9382.jpg', '/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_47_10412.jpg', '/home/pi/Desktop/images/12042025/18/47/image_12042025_18_47_26_9433.jpg', '/home/pi/Desktop/images/12042025/18/47/image_12042025_18_47_37_10476.jpg', '/home/pi/Desktop/images/12042025/18/47/image_12042025_18_48_07_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_27_10488.jpg
/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_36_9382.jpg
/home/pi/Desktop/images/12042025/18/46/image_12042025_18_46_47_10412.jpg
/home/pi/Desktop/images/12042025/18/47/image_12042025_18_47_26_9433.jpg
/home/pi/Desktop/images/12042025/18/47/image_12042025_18_47_37_10476.jpg
/home/pi/Desktop/images/12042025/18/47/image_12042025_18_48_07_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295014","1352294960","1352294968","1352294956","1352294971","1352294964"],"photo_ids_order":["1352294956","1352294960","1352294964","1352294968","1352294971","1352295014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/193e3183e0034e4647faa823829fb888.jpg","text":"TemporaryFile(/tmp/multipartBody5822109075746642370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483422788,"filename":"image_12042025_18_48_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9eb18f31de97297422d0016df0ec42a.jpg","text":"TemporaryFile(/tmp/multipartBody6915849345870211165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483422788,"filename":"image_12042025_18_46_36_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/310e33d7b76eeb1a114622efa000a8de.jpg","text":"TemporaryFile(/tmp/multipartBody6702983670301339723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483422788,"filename":"image_12042025_18_47_26_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/625e3892ddd9dc670471239100d1d8f8.jpg","text":"TemporaryFile(/tmp/multipartBody830581916892031301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483422788,"filename":"image_12042025_18_46_27_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60a14fd06d4ceb0a746f60ba8b868c63.jpg","text":"TemporaryFile(/tmp/multipartBody929836213409135493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483422788,"filename":"image_12042025_18_47_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5b4f8fe8924cbe0b9caa8ab760d88fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5828311706471114598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483422788,"filename":"image_12042025_18_46_47_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352294964","file1":"1352294960","file0":"1352294956","file4":"1352294971","file5":"1352295014","file3":"1352294968"},"map_files_photo_id_array":[{"photo_id":"1352295014","filename":"file5"},{"photo_id":"1352294964","filename":"file2"},{"photo_id":"1352294971","filename":"file4"},{"photo_id":"1352294960","filename":"file1"},{"photo_id":"1352294956","filename":"file0"},{"photo_id":"1352294968","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295014":["hashtag1","hashtag2"]},{"1352294960":["hashtag1","hashtag2"]},{"1352294968":["hashtag1","hashtag2"]},{"1352294956":["hashtag1","hashtag2"]},{"1352294971":["hashtag1","hashtag2"]},{"1352294964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295014, 1352294960, 1352294968, 1352294956, 1352294971, 1352294964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88965177536011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:43:32.522697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/48/image_12042025_18_48_27_9521.jpg', '/home/pi/Desktop/images/12042025/18/49/image_12042025_18_49_17_10549.jpg', '/home/pi/Desktop/images/12042025/18/49/image_12042025_18_49_47_10387.jpg', '/home/pi/Desktop/images/12042025/18/50/image_12042025_18_50_26_9354.jpg', '/home/pi/Desktop/images/12042025/18/50/image_12042025_18_50_37_10448.jpg', '/home/pi/Desktop/images/12042025/18/50/image_12042025_18_50_46_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/48/image_12042025_18_48_27_9521.jpg
/home/pi/Desktop/images/12042025/18/49/image_12042025_18_49_17_10549.jpg
/home/pi/Desktop/images/12042025/18/49/image_12042025_18_49_47_10387.jpg
/home/pi/Desktop/images/12042025/18/50/image_12042025_18_50_26_9354.jpg
/home/pi/Desktop/images/12042025/18/50/image_12042025_18_50_37_10448.jpg
/home/pi/Desktop/images/12042025/18/50/image_12042025_18_50_46_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295091","1352295085","1352295073","1352295078","1352295087","1352295075"],"photo_ids_order":["1352295073","1352295075","1352295078","1352295085","1352295087","1352295091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5698c83729ee36d202dd4449029be526.jpg","text":"TemporaryFile(/tmp/multipartBody8505589401619681102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483472982,"filename":"image_12042025_18_50_46_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2562e4572f843c0b862fe13eb3c10062.jpg","text":"TemporaryFile(/tmp/multipartBody1417696778002888995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483472982,"filename":"image_12042025_18_50_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/822d7ad07c31d6a00cae3a7f12bf155e.jpg","text":"TemporaryFile(/tmp/multipartBody8511399941502175067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483472982,"filename":"image_12042025_18_48_27_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57fb722aff249c3ed09d6b44e499a46f.jpg","text":"TemporaryFile(/tmp/multipartBody7524260623422174634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483472982,"filename":"image_12042025_18_49_47_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d58c5943dca97634b35e6229d59cf92.jpg","text":"TemporaryFile(/tmp/multipartBody5153253041729487951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483472982,"filename":"image_12042025_18_50_37_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b298338e0ca199df0ea842b1e80e33d.jpg","text":"TemporaryFile(/tmp/multipartBody5787135082714122896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483472982,"filename":"image_12042025_18_49_17_10549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295078","file1":"1352295075","file0":"1352295073","file4":"1352295087","file5":"1352295091","file3":"1352295085"},"map_files_photo_id_array":[{"photo_id":"1352295091","filename":"file5"},{"photo_id":"1352295078","filename":"file2"},{"photo_id":"1352295087","filename":"file4"},{"photo_id":"1352295075","filename":"file1"},{"photo_id":"1352295073","filename":"file0"},{"photo_id":"1352295085","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295091":["hashtag1","hashtag2"]},{"1352295085":["hashtag1","hashtag2"]},{"1352295073":["hashtag1","hashtag2"]},{"1352295078":["hashtag1","hashtag2"]},{"1352295087":["hashtag1","hashtag2"]},{"1352295075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295091, 1352295085, 1352295073, 1352295078, 1352295087, 1352295075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.09368586540222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:44:32.848465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/51/image_12042025_18_51_16_9385.jpg', '/home/pi/Desktop/images/12042025/18/51/image_12042025_18_51_27_10462.jpg', '/home/pi/Desktop/images/12042025/18/51/image_12042025_18_51_36_9453.jpg', '/home/pi/Desktop/images/12042025/18/51/image_12042025_18_51_47_10429.jpg', '/home/pi/Desktop/images/12042025/18/51/image_12042025_18_52_07_9440.jpg', '/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_17_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/51/image_12042025_18_51_16_9385.jpg
/home/pi/Desktop/images/12042025/18/51/image_12042025_18_51_27_10462.jpg
/home/pi/Desktop/images/12042025/18/51/image_12042025_18_51_36_9453.jpg
/home/pi/Desktop/images/12042025/18/51/image_12042025_18_51_47_10429.jpg
/home/pi/Desktop/images/12042025/18/51/image_12042025_18_52_07_9440.jpg
/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_17_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295218","1352295221","1352295198","1352295225","1352295207","1352295216"],"photo_ids_order":["1352295198","1352295207","1352295216","1352295218","1352295221","1352295225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59788f1bebd1036ee67ee623f1812fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5512623878355094140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483533321,"filename":"image_12042025_18_51_47_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb2fc6e4fb35fe94332a3b5ed807c4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8118773168964888742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483533321,"filename":"image_12042025_18_52_07_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55f9c8eb52b510e5454ca082b9d42aba.jpg","text":"TemporaryFile(/tmp/multipartBody6876600613297585676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483533321,"filename":"image_12042025_18_51_16_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a8e802a61f8ea396ca6f733ac6fdf81c.jpg","text":"TemporaryFile(/tmp/multipartBody1523125318759925578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483533321,"filename":"image_12042025_18_52_17_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdaaf99e58749abfccef3bbbd913b8b0.jpg","text":"TemporaryFile(/tmp/multipartBody7112599239267436675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483533321,"filename":"image_12042025_18_51_27_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9797cb2d9a9f29f0d75ff42bd73bfef.jpg","text":"TemporaryFile(/tmp/multipartBody6854374362402056755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483533321,"filename":"image_12042025_18_51_36_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295216","file1":"1352295207","file0":"1352295198","file4":"1352295221","file5":"1352295225","file3":"1352295218"},"map_files_photo_id_array":[{"photo_id":"1352295225","filename":"file5"},{"photo_id":"1352295216","filename":"file2"},{"photo_id":"1352295221","filename":"file4"},{"photo_id":"1352295207","filename":"file1"},{"photo_id":"1352295198","filename":"file0"},{"photo_id":"1352295218","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295218":["hashtag1","hashtag2"]},{"1352295221":["hashtag1","hashtag2"]},{"1352295198":["hashtag1","hashtag2"]},{"1352295225":["hashtag1","hashtag2"]},{"1352295207":["hashtag1","hashtag2"]},{"1352295216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295218, 1352295221, 1352295198, 1352295225, 1352295207, 1352295216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.671062707901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:45:33.038941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_26_9344.jpg', '/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_37_10447.jpg', '/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_46_9424.jpg', '/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_57_10402.jpg', '/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_16_9340.jpg', '/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_27_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_26_9344.jpg
/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_37_10447.jpg
/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_46_9424.jpg
/home/pi/Desktop/images/12042025/18/52/image_12042025_18_52_57_10402.jpg
/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_16_9340.jpg
/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_27_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295323","1352295307","1352295291","1352295309","1352295290","1352295318"],"photo_ids_order":["1352295290","1352295291","1352295307","1352295309","1352295318","1352295323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/892bd5e2c1a2249528b73ca1dc3d6464.jpg","text":"TemporaryFile(/tmp/multipartBody3433608732642185200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483593502,"filename":"image_12042025_18_53_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/241a3d903b3fe3f6a3160fe6dd46c713.jpg","text":"TemporaryFile(/tmp/multipartBody1044445876961406318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483593502,"filename":"image_12042025_18_52_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1e69b1c97b62564c35e0532ff4fc955.jpg","text":"TemporaryFile(/tmp/multipartBody2903554010154143362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483593502,"filename":"image_12042025_18_52_37_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e03ae773824d60aa949df31db75a58ba.jpg","text":"TemporaryFile(/tmp/multipartBody5006240987880960461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483593502,"filename":"image_12042025_18_52_57_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea32e52c692b816218daf60e9890a843.jpg","text":"TemporaryFile(/tmp/multipartBody2959118435413737038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483593502,"filename":"image_12042025_18_52_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65305ad892d38827c44734bc551e4731.jpg","text":"TemporaryFile(/tmp/multipartBody814210197992566862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483593502,"filename":"image_12042025_18_53_16_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295307","file1":"1352295291","file0":"1352295290","file4":"1352295318","file5":"1352295323","file3":"1352295309"},"map_files_photo_id_array":[{"photo_id":"1352295323","filename":"file5"},{"photo_id":"1352295307","filename":"file2"},{"photo_id":"1352295318","filename":"file4"},{"photo_id":"1352295291","filename":"file1"},{"photo_id":"1352295290","filename":"file0"},{"photo_id":"1352295309","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295323":["hashtag1","hashtag2"]},{"1352295307":["hashtag1","hashtag2"]},{"1352295291":["hashtag1","hashtag2"]},{"1352295309":["hashtag1","hashtag2"]},{"1352295290":["hashtag1","hashtag2"]},{"1352295318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295323, 1352295307, 1352295291, 1352295309, 1352295290, 1352295318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1508891582489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:46:32.388143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_36_9423.jpg', '/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_47_10442.jpg', '/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_57_10376.jpg', '/home/pi/Desktop/images/12042025/18/53/image_12042025_18_54_06_9400.jpg', '/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_17_10442.jpg', '/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_26_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_36_9423.jpg
/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_47_10442.jpg
/home/pi/Desktop/images/12042025/18/53/image_12042025_18_53_57_10376.jpg
/home/pi/Desktop/images/12042025/18/53/image_12042025_18_54_06_9400.jpg
/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_17_10442.jpg
/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_26_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295394","1352295397","1352295393","1352295396","1352295399","1352295398"],"photo_ids_order":["1352295393","1352295394","1352295396","1352295397","1352295398","1352295399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cca508385afc05a15eb35cb26f69e921.jpg","text":"TemporaryFile(/tmp/multipartBody2447108672390731650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483652872,"filename":"image_12042025_18_53_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b7e3c99a9fbf74a8d6e427d7abc616a.jpg","text":"TemporaryFile(/tmp/multipartBody1693251487990062150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483652872,"filename":"image_12042025_18_54_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85e599fa4f05ebf384c1eaf8c0fd99c3.jpg","text":"TemporaryFile(/tmp/multipartBody3209074448419059890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483652872,"filename":"image_12042025_18_53_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d013ab5e2062d2fe062b8b050c7a1988.jpg","text":"TemporaryFile(/tmp/multipartBody4912393888933420740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483652872,"filename":"image_12042025_18_53_57_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6364a25bbbefa5b6bd407c47e15fe478.jpg","text":"TemporaryFile(/tmp/multipartBody6941188485395131494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483652872,"filename":"image_12042025_18_54_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d178855e30f7b085d8147ccac9ec374c.jpg","text":"TemporaryFile(/tmp/multipartBody4708441139544957406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483652872,"filename":"image_12042025_18_54_17_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295396","file1":"1352295394","file0":"1352295393","file4":"1352295398","file5":"1352295399","file3":"1352295397"},"map_files_photo_id_array":[{"photo_id":"1352295399","filename":"file5"},{"photo_id":"1352295396","filename":"file2"},{"photo_id":"1352295398","filename":"file4"},{"photo_id":"1352295394","filename":"file1"},{"photo_id":"1352295393","filename":"file0"},{"photo_id":"1352295397","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295394":["hashtag1","hashtag2"]},{"1352295397":["hashtag1","hashtag2"]},{"1352295393":["hashtag1","hashtag2"]},{"1352295396":["hashtag1","hashtag2"]},{"1352295399":["hashtag1","hashtag2"]},{"1352295398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295394, 1352295397, 1352295393, 1352295396, 1352295399, 1352295398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.232261180877686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:47:32.593445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_37_10371.jpg', '/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_47_10436.jpg', '/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_56_9408.jpg', '/home/pi/Desktop/images/12042025/18/54/image_12042025_18_55_07_10373.jpg', '/home/pi/Desktop/images/12042025/18/55/image_12042025_18_55_16_9385.jpg', '/home/pi/Desktop/images/12042025/18/55/image_12042025_18_55_27_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_37_10371.jpg
/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_47_10436.jpg
/home/pi/Desktop/images/12042025/18/54/image_12042025_18_54_56_9408.jpg
/home/pi/Desktop/images/12042025/18/54/image_12042025_18_55_07_10373.jpg
/home/pi/Desktop/images/12042025/18/55/image_12042025_18_55_16_9385.jpg
/home/pi/Desktop/images/12042025/18/55/image_12042025_18_55_27_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295416","1352295439","1352295421","1352295409","1352295411","1352295414"],"photo_ids_order":["1352295409","1352295411","1352295414","1352295416","1352295421","1352295439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fcf2aa7cac01c8f6104e1135c1a3f93b.jpg","text":"TemporaryFile(/tmp/multipartBody1709815140966098194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483713074,"filename":"image_12042025_18_55_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fbf31786306a698101232950ae240238.jpg","text":"TemporaryFile(/tmp/multipartBody1483800767008047414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483713074,"filename":"image_12042025_18_55_27_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f13d970b2a7d8b5b2c11ef56bf3b77f7.jpg","text":"TemporaryFile(/tmp/multipartBody680938282133406444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483713074,"filename":"image_12042025_18_55_16_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51bd4b93c627607a15b4ba36e3d385b4.jpg","text":"TemporaryFile(/tmp/multipartBody4411628843622909698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483713074,"filename":"image_12042025_18_54_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8559d44ec9d59d9e512fb95ee9019f83.jpg","text":"TemporaryFile(/tmp/multipartBody5982119144518489342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483713074,"filename":"image_12042025_18_54_47_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5da262abc217330ec43ad48dc3ae8ccd.jpg","text":"TemporaryFile(/tmp/multipartBody4035308064745251346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483713074,"filename":"image_12042025_18_54_56_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295414","file1":"1352295411","file0":"1352295409","file4":"1352295421","file5":"1352295439","file3":"1352295416"},"map_files_photo_id_array":[{"photo_id":"1352295439","filename":"file5"},{"photo_id":"1352295414","filename":"file2"},{"photo_id":"1352295421","filename":"file4"},{"photo_id":"1352295411","filename":"file1"},{"photo_id":"1352295409","filename":"file0"},{"photo_id":"1352295416","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295416":["hashtag1","hashtag2"]},{"1352295439":["hashtag1","hashtag2"]},{"1352295421":["hashtag1","hashtag2"]},{"1352295409":["hashtag1","hashtag2"]},{"1352295411":["hashtag1","hashtag2"]},{"1352295414":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295416, 1352295439, 1352295421, 1352295409, 1352295411, 1352295414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.980562686920166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:48:32.730061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/55/image_12042025_18_55_37_10373.jpg', '/home/pi/Desktop/images/12042025/18/55/image_12042025_18_55_57_10380.jpg', '/home/pi/Desktop/images/12042025/18/55/image_12042025_18_56_06_9366.jpg', '/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_17_10393.jpg', '/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_27_10367.jpg', '/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_37_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/55/image_12042025_18_55_37_10373.jpg
/home/pi/Desktop/images/12042025/18/55/image_12042025_18_55_57_10380.jpg
/home/pi/Desktop/images/12042025/18/55/image_12042025_18_56_06_9366.jpg
/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_17_10393.jpg
/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_27_10367.jpg
/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_37_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295500","1352295486","1352295497","1352295491","1352295494","1352295488"],"photo_ids_order":["1352295486","1352295488","1352295491","1352295494","1352295497","1352295500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb99ecc9959d1f4962185d81eebc5289.jpg","text":"TemporaryFile(/tmp/multipartBody4257057858288006950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483773191,"filename":"image_12042025_18_56_37_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b71c9df2a90120753729edb780e5efb.jpg","text":"TemporaryFile(/tmp/multipartBody3919431865434568776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483773191,"filename":"image_12042025_18_55_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3467beeb53cda3f65b7e4206279c7dab.jpg","text":"TemporaryFile(/tmp/multipartBody4326356002335869515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483773191,"filename":"image_12042025_18_56_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64f6b9baf04d8adfa218a014a818fc68.jpg","text":"TemporaryFile(/tmp/multipartBody8392622762087688158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483773191,"filename":"image_12042025_18_56_06_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/125693594d0a077bba15b522cc34764a.jpg","text":"TemporaryFile(/tmp/multipartBody8762913760854960330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483773191,"filename":"image_12042025_18_56_17_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7ab611f98495dc58e8bfbd1e1a8ba35.jpg","text":"TemporaryFile(/tmp/multipartBody204896075123732725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483773191,"filename":"image_12042025_18_55_57_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295491","file1":"1352295488","file0":"1352295486","file4":"1352295497","file5":"1352295500","file3":"1352295494"},"map_files_photo_id_array":[{"photo_id":"1352295500","filename":"file5"},{"photo_id":"1352295491","filename":"file2"},{"photo_id":"1352295497","filename":"file4"},{"photo_id":"1352295488","filename":"file1"},{"photo_id":"1352295486","filename":"file0"},{"photo_id":"1352295494","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295500":["hashtag1","hashtag2"]},{"1352295486":["hashtag1","hashtag2"]},{"1352295497":["hashtag1","hashtag2"]},{"1352295491":["hashtag1","hashtag2"]},{"1352295494":["hashtag1","hashtag2"]},{"1352295488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295500, 1352295486, 1352295497, 1352295491, 1352295494, 1352295488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.227952480316162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:49:33.117908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_47_10364.jpg', '/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_56_9343.jpg', '/home/pi/Desktop/images/12042025/18/56/image_12042025_18_57_07_10412.jpg', '/home/pi/Desktop/images/12042025/18/57/image_12042025_18_57_27_9492.jpg', '/home/pi/Desktop/images/12042025/18/57/image_12042025_18_57_47_9674.jpg', '/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_17_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_47_10364.jpg
/home/pi/Desktop/images/12042025/18/56/image_12042025_18_56_56_9343.jpg
/home/pi/Desktop/images/12042025/18/56/image_12042025_18_57_07_10412.jpg
/home/pi/Desktop/images/12042025/18/57/image_12042025_18_57_27_9492.jpg
/home/pi/Desktop/images/12042025/18/57/image_12042025_18_57_47_9674.jpg
/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_17_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295521","1352295515","1352295518","1352295505","1352295510","1352295507"],"photo_ids_order":["1352295505","1352295507","1352295510","1352295515","1352295518","1352295521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/339f9b88cde55422c0bdffed48cad943.jpg","text":"TemporaryFile(/tmp/multipartBody7236964344971744599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483833578,"filename":"image_12042025_18_58_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f5b7d6038352ffb8e47ffdd8e3b44b8d.jpg","text":"TemporaryFile(/tmp/multipartBody5130008252687171008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483833578,"filename":"image_12042025_18_57_27_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7ce0516d0c3904a82176be9d41f79b1b.jpg","text":"TemporaryFile(/tmp/multipartBody7662553885118812282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483833578,"filename":"image_12042025_18_57_47_9674.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76246f4e6faf260156a992efedd8b78f.jpg","text":"TemporaryFile(/tmp/multipartBody4963532635763159144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483833578,"filename":"image_12042025_18_56_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2abcaf0b23a6e82e5b8b6c941e33628.jpg","text":"TemporaryFile(/tmp/multipartBody924793738141470884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483833578,"filename":"image_12042025_18_57_07_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71c8f2f7cc2ca77fb16f3141779ad89a.jpg","text":"TemporaryFile(/tmp/multipartBody1572056951227603727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483833578,"filename":"image_12042025_18_56_56_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295510","file1":"1352295507","file0":"1352295505","file4":"1352295518","file5":"1352295521","file3":"1352295515"},"map_files_photo_id_array":[{"photo_id":"1352295521","filename":"file5"},{"photo_id":"1352295510","filename":"file2"},{"photo_id":"1352295518","filename":"file4"},{"photo_id":"1352295507","filename":"file1"},{"photo_id":"1352295505","filename":"file0"},{"photo_id":"1352295515","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295521":["hashtag1","hashtag2"]},{"1352295515":["hashtag1","hashtag2"]},{"1352295518":["hashtag1","hashtag2"]},{"1352295505":["hashtag1","hashtag2"]},{"1352295510":["hashtag1","hashtag2"]},{"1352295507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295521, 1352295515, 1352295518, 1352295505, 1352295510, 1352295507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.016045331954956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:50:32.226272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_26_9362.jpg', '/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_37_10432.jpg', '/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_47_10365.jpg', '/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_56_9427.jpg', '/home/pi/Desktop/images/12042025/18/58/image_12042025_18_59_07_10382.jpg', '/home/pi/Desktop/images/12042025/18/59/image_12042025_18_59_16_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_26_9362.jpg
/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_37_10432.jpg
/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_47_10365.jpg
/home/pi/Desktop/images/12042025/18/58/image_12042025_18_58_56_9427.jpg
/home/pi/Desktop/images/12042025/18/58/image_12042025_18_59_07_10382.jpg
/home/pi/Desktop/images/12042025/18/59/image_12042025_18_59_16_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295542","1352295539","1352295532","1352295537","1352295546","1352295534"],"photo_ids_order":["1352295532","1352295534","1352295537","1352295539","1352295542","1352295546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffbd26ceb61c186eeb9bce00fa87d403.jpg","text":"TemporaryFile(/tmp/multipartBody2031424274244284805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483892682,"filename":"image_12042025_18_59_07_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3e0de13ed08a71b4728ed861e5d9a7e.jpg","text":"TemporaryFile(/tmp/multipartBody2653016200465553307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483892682,"filename":"image_12042025_18_58_56_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e0f49bc2d938d38376205d84661e362.jpg","text":"TemporaryFile(/tmp/multipartBody8114175457186685898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483892682,"filename":"image_12042025_18_58_26_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0587aa2783d5565409c773380bbd41e.jpg","text":"TemporaryFile(/tmp/multipartBody4995001152707863684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483892682,"filename":"image_12042025_18_58_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/64d9440b8c7002a630ceedcca5b3bd9f.jpg","text":"TemporaryFile(/tmp/multipartBody5773220040771930848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483892682,"filename":"image_12042025_18_59_16_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cdd4377d4600dcc202c1bca9e22cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody8097348753704690505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483892682,"filename":"image_12042025_18_58_37_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295537","file1":"1352295534","file0":"1352295532","file4":"1352295542","file5":"1352295546","file3":"1352295539"},"map_files_photo_id_array":[{"photo_id":"1352295546","filename":"file5"},{"photo_id":"1352295537","filename":"file2"},{"photo_id":"1352295542","filename":"file4"},{"photo_id":"1352295534","filename":"file1"},{"photo_id":"1352295532","filename":"file0"},{"photo_id":"1352295539","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295542":["hashtag1","hashtag2"]},{"1352295539":["hashtag1","hashtag2"]},{"1352295532":["hashtag1","hashtag2"]},{"1352295537":["hashtag1","hashtag2"]},{"1352295546":["hashtag1","hashtag2"]},{"1352295534":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295542, 1352295539, 1352295532, 1352295537, 1352295546, 1352295534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.366432905197144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:51:32.488406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/18/59/image_12042025_18_59_27_10469.jpg', '/home/pi/Desktop/images/12042025/18/59/image_12042025_18_59_37_10416.jpg', '/home/pi/Desktop/images/12042025/18/59/image_12042025_18_59_57_10394.jpg', '/home/pi/Desktop/images/12042025/19/01/image_12042025_19_01_15_10073.jpg', '/home/pi/Desktop/images/12042025/19/01/image_12042025_19_01_25_10458.jpg', '/home/pi/Desktop/images/12042025/19/01/image_12042025_19_01_45_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/18/59/image_12042025_18_59_27_10469.jpg
/home/pi/Desktop/images/12042025/18/59/image_12042025_18_59_37_10416.jpg
/home/pi/Desktop/images/12042025/18/59/image_12042025_18_59_57_10394.jpg
/home/pi/Desktop/images/12042025/19/01/image_12042025_19_01_15_10073.jpg
/home/pi/Desktop/images/12042025/19/01/image_12042025_19_01_25_10458.jpg
/home/pi/Desktop/images/12042025/19/01/image_12042025_19_01_45_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295554","1352295556","1352295559","1352295567","1352295561","1352295564"],"photo_ids_order":["1352295554","1352295556","1352295559","1352295561","1352295564","1352295567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f066cd531f636837dee1cfa6b2884e0.jpg","text":"TemporaryFile(/tmp/multipartBody2801296084118706049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483952943,"filename":"image_12042025_18_59_27_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/013c3c669c0a739fdfdbad88fabae007.jpg","text":"TemporaryFile(/tmp/multipartBody2801200080586238495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483952943,"filename":"image_12042025_18_59_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19d2b4749b9b40ecf0ef7a48cf8be784.jpg","text":"TemporaryFile(/tmp/multipartBody1364895184863490081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483952943,"filename":"image_12042025_18_59_57_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07f0fd2760210920eb6899a039e2edcd.jpg","text":"TemporaryFile(/tmp/multipartBody1000550270418424990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483952943,"filename":"image_12042025_19_01_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f6be3167ce20654dd9b603e8e9fa13c.jpg","text":"TemporaryFile(/tmp/multipartBody4184838120708355041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483952943,"filename":"image_12042025_19_01_15_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22b9955cf915a84caf956b5133e5dd8f.jpg","text":"TemporaryFile(/tmp/multipartBody1593340173877098589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744483952943,"filename":"image_12042025_19_01_25_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295559","file1":"1352295556","file0":"1352295554","file4":"1352295564","file5":"1352295567","file3":"1352295561"},"map_files_photo_id_array":[{"photo_id":"1352295567","filename":"file5"},{"photo_id":"1352295559","filename":"file2"},{"photo_id":"1352295564","filename":"file4"},{"photo_id":"1352295556","filename":"file1"},{"photo_id":"1352295554","filename":"file0"},{"photo_id":"1352295561","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295554":["hashtag1","hashtag2"]},{"1352295556":["hashtag1","hashtag2"]},{"1352295559":["hashtag1","hashtag2"]},{"1352295567":["hashtag1","hashtag2"]},{"1352295561":["hashtag1","hashtag2"]},{"1352295564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295554, 1352295556, 1352295559, 1352295567, 1352295561, 1352295564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12823486328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:52:32.726608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/01/image_12042025_19_01_56_10462.jpg', '/home/pi/Desktop/images/12042025/19/01/image_12042025_19_02_05_9438.jpg', '/home/pi/Desktop/images/12042025/19/02/image_12042025_19_02_15_10361.jpg', '/home/pi/Desktop/images/12042025/19/02/image_12042025_19_02_26_10443.jpg', '/home/pi/Desktop/images/12042025/19/02/image_12042025_19_02_35_9340.jpg', '/home/pi/Desktop/images/12042025/19/02/image_12042025_19_02_46_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/01/image_12042025_19_01_56_10462.jpg
/home/pi/Desktop/images/12042025/19/01/image_12042025_19_02_05_9438.jpg
/home/pi/Desktop/images/12042025/19/02/image_12042025_19_02_15_10361.jpg
/home/pi/Desktop/images/12042025/19/02/image_12042025_19_02_26_10443.jpg
/home/pi/Desktop/images/12042025/19/02/image_12042025_19_02_35_9340.jpg
/home/pi/Desktop/images/12042025/19/02/image_12042025_19_02_46_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295575","1352295580","1352295583","1352295577","1352295586","1352295588"],"photo_ids_order":["1352295575","1352295577","1352295580","1352295583","1352295586","1352295588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3615daac7a1254210123874fc411a332.jpg","text":"TemporaryFile(/tmp/multipartBody2188138110938182438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484013215,"filename":"image_12042025_19_01_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0d851c2a72aed470f77453e3752852d.jpg","text":"TemporaryFile(/tmp/multipartBody5922556643868415483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484013215,"filename":"image_12042025_19_02_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a24799ef172d2faf5e32b3321670e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody6638891215930476887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484013215,"filename":"image_12042025_19_02_26_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b8031ea6938a905988ba9039de6a0bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7151693694502755073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484013215,"filename":"image_12042025_19_02_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/626bf1e827af8039aabf3968ff4061a9.jpg","text":"TemporaryFile(/tmp/multipartBody1829814527079518484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484013215,"filename":"image_12042025_19_02_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7122189af8ed70cb7bbbe733742a5f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3135116831358388434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484013215,"filename":"image_12042025_19_02_46_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295580","file1":"1352295577","file0":"1352295575","file4":"1352295586","file5":"1352295588","file3":"1352295583"},"map_files_photo_id_array":[{"photo_id":"1352295588","filename":"file5"},{"photo_id":"1352295580","filename":"file2"},{"photo_id":"1352295586","filename":"file4"},{"photo_id":"1352295577","filename":"file1"},{"photo_id":"1352295575","filename":"file0"},{"photo_id":"1352295583","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295575":["hashtag1","hashtag2"]},{"1352295580":["hashtag1","hashtag2"]},{"1352295583":["hashtag1","hashtag2"]},{"1352295577":["hashtag1","hashtag2"]},{"1352295586":["hashtag1","hashtag2"]},{"1352295588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295575, 1352295580, 1352295583, 1352295577, 1352295586, 1352295588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.794826984405518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:53:33.053535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/03/image_12042025_19_03_45_9517.jpg', '/home/pi/Desktop/images/12042025/19/03/image_12042025_19_03_56_10458.jpg', '/home/pi/Desktop/images/12042025/19/03/image_12042025_19_04_05_9444.jpg', '/home/pi/Desktop/images/12042025/19/04/image_12042025_19_04_15_10428.jpg', '/home/pi/Desktop/images/12042025/19/04/image_12042025_19_04_35_10367.jpg', '/home/pi/Desktop/images/12042025/19/04/image_12042025_19_04_46_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/03/image_12042025_19_03_45_9517.jpg
/home/pi/Desktop/images/12042025/19/03/image_12042025_19_03_56_10458.jpg
/home/pi/Desktop/images/12042025/19/03/image_12042025_19_04_05_9444.jpg
/home/pi/Desktop/images/12042025/19/04/image_12042025_19_04_15_10428.jpg
/home/pi/Desktop/images/12042025/19/04/image_12042025_19_04_35_10367.jpg
/home/pi/Desktop/images/12042025/19/04/image_12042025_19_04_46_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295623","1352295673","1352295676","1352295661","1352295601","1352295671"],"photo_ids_order":["1352295601","1352295623","1352295661","1352295671","1352295673","1352295676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/674d285e2df414312759e9f8e7bc28a2.jpg","text":"TemporaryFile(/tmp/multipartBody1503967310819611920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484073517,"filename":"image_12042025_19_03_56_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9a92dda09eb964853208a47d84092d8.jpg","text":"TemporaryFile(/tmp/multipartBody3139311771949506902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484073517,"filename":"image_12042025_19_04_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d03adf78e7df4d8e6b660eac580d48a.jpg","text":"TemporaryFile(/tmp/multipartBody6044456013867105746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484073517,"filename":"image_12042025_19_04_46_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0435171dfbecb133b5353fe0b0a83bb3.jpg","text":"TemporaryFile(/tmp/multipartBody214239456964883323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484073517,"filename":"image_12042025_19_04_05_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d21205a10cc9796c60c756f9e410fce8.jpg","text":"TemporaryFile(/tmp/multipartBody2101114297590261141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484073517,"filename":"image_12042025_19_03_45_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d57a791725b7ec46861ab775cdb64ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4395212344512166404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484073517,"filename":"image_12042025_19_04_15_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295661","file1":"1352295623","file0":"1352295601","file4":"1352295673","file5":"1352295676","file3":"1352295671"},"map_files_photo_id_array":[{"photo_id":"1352295676","filename":"file5"},{"photo_id":"1352295661","filename":"file2"},{"photo_id":"1352295673","filename":"file4"},{"photo_id":"1352295623","filename":"file1"},{"photo_id":"1352295601","filename":"file0"},{"photo_id":"1352295671","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295623":["hashtag1","hashtag2"]},{"1352295673":["hashtag1","hashtag2"]},{"1352295676":["hashtag1","hashtag2"]},{"1352295661":["hashtag1","hashtag2"]},{"1352295601":["hashtag1","hashtag2"]},{"1352295671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295623, 1352295673, 1352295676, 1352295661, 1352295601, 1352295671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.470648527145386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:54:32.217319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/04/image_12042025_19_04_55_9362.jpg', '/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_15_9427.jpg', '/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_25_10364.jpg', '/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_36_10381.jpg', '/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_45_9355.jpg', '/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/04/image_12042025_19_04_55_9362.jpg
/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_15_9427.jpg
/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_25_10364.jpg
/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_36_10381.jpg
/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_45_9355.jpg
/home/pi/Desktop/images/12042025/19/05/image_12042025_19_05_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295752","1352295740","1352295737","1352295742","1352295745","1352295748"],"photo_ids_order":["1352295737","1352295740","1352295742","1352295745","1352295748","1352295752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2f78164eba76582ede19d9654224c69.jpg","text":"TemporaryFile(/tmp/multipartBody7303781622244908639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484132676,"filename":"image_12042025_19_05_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5faec309b829d7b2272a6accf01e9605.jpg","text":"TemporaryFile(/tmp/multipartBody6870686448491100911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484132676,"filename":"image_12042025_19_05_15_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ecfd777940a6c05628d75e54cfeab52.jpg","text":"TemporaryFile(/tmp/multipartBody6512204505124563735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484132676,"filename":"image_12042025_19_04_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/19b68049a4504beb26e604e8e6655776.jpg","text":"TemporaryFile(/tmp/multipartBody3898805787309596972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484132676,"filename":"image_12042025_19_05_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4475e2641676570d13425c483b609ccb.jpg","text":"TemporaryFile(/tmp/multipartBody3774102583463519752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484132676,"filename":"image_12042025_19_05_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbfa87eb27be5fa184306927ea636315.jpg","text":"TemporaryFile(/tmp/multipartBody7519095383979375324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484132676,"filename":"image_12042025_19_05_45_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295742","file1":"1352295740","file0":"1352295737","file4":"1352295748","file5":"1352295752","file3":"1352295745"},"map_files_photo_id_array":[{"photo_id":"1352295752","filename":"file5"},{"photo_id":"1352295742","filename":"file2"},{"photo_id":"1352295748","filename":"file4"},{"photo_id":"1352295740","filename":"file1"},{"photo_id":"1352295737","filename":"file0"},{"photo_id":"1352295745","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295752":["hashtag1","hashtag2"]},{"1352295740":["hashtag1","hashtag2"]},{"1352295737":["hashtag1","hashtag2"]},{"1352295742":["hashtag1","hashtag2"]},{"1352295745":["hashtag1","hashtag2"]},{"1352295748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295752, 1352295740, 1352295737, 1352295742, 1352295745, 1352295748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.147035121917725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:55:32.468038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/05/image_12042025_19_06_06_10351.jpg', '/home/pi/Desktop/images/12042025/19/06/image_12042025_19_06_45_10377.jpg', '/home/pi/Desktop/images/12042025/19/06/image_12042025_19_06_56_10369.jpg', '/home/pi/Desktop/images/12042025/19/06/image_12042025_19_07_05_9461.jpg', '/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_16_10450.jpg', '/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_25_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/05/image_12042025_19_06_06_10351.jpg
/home/pi/Desktop/images/12042025/19/06/image_12042025_19_06_45_10377.jpg
/home/pi/Desktop/images/12042025/19/06/image_12042025_19_06_56_10369.jpg
/home/pi/Desktop/images/12042025/19/06/image_12042025_19_07_05_9461.jpg
/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_16_10450.jpg
/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_25_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295798","1352295774","1352295762","1352295788","1352295770","1352295758"],"photo_ids_order":["1352295758","1352295762","1352295770","1352295774","1352295788","1352295798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88454e043fd5aaee0b79662a6d326180.jpg","text":"TemporaryFile(/tmp/multipartBody7343418771816171618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484192924,"filename":"image_12042025_19_07_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f99a11db27988e750f1f676b72d301e7.jpg","text":"TemporaryFile(/tmp/multipartBody2943190981270154269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484192924,"filename":"image_12042025_19_07_05_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bf8ac1f8c9e918dc9717b7297342d62.jpg","text":"TemporaryFile(/tmp/multipartBody230415134084708851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484192924,"filename":"image_12042025_19_06_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95754c915ba688eaaeaedcf0e11abfdd.jpg","text":"TemporaryFile(/tmp/multipartBody415470953572648949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484192924,"filename":"image_12042025_19_07_16_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5355a0e6805d6e9cfd255f367e5ee7ea.jpg","text":"TemporaryFile(/tmp/multipartBody662665183272185220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484192924,"filename":"image_12042025_19_06_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/177b5f7d460984e0b32151dfecd03c0c.jpg","text":"TemporaryFile(/tmp/multipartBody7477223142134764752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484192924,"filename":"image_12042025_19_06_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295770","file1":"1352295762","file0":"1352295758","file4":"1352295788","file5":"1352295798","file3":"1352295774"},"map_files_photo_id_array":[{"photo_id":"1352295798","filename":"file5"},{"photo_id":"1352295770","filename":"file2"},{"photo_id":"1352295788","filename":"file4"},{"photo_id":"1352295762","filename":"file1"},{"photo_id":"1352295758","filename":"file0"},{"photo_id":"1352295774","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295798":["hashtag1","hashtag2"]},{"1352295774":["hashtag1","hashtag2"]},{"1352295762":["hashtag1","hashtag2"]},{"1352295788":["hashtag1","hashtag2"]},{"1352295770":["hashtag1","hashtag2"]},{"1352295758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295798, 1352295774, 1352295762, 1352295788, 1352295770, 1352295758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2711877822876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:56:32.636964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_35_10348.jpg', '/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_46_10368.jpg', '/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_55_9360.jpg', '/home/pi/Desktop/images/12042025/19/08/image_12042025_19_09_06_10348.jpg', '/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_15_9359.jpg', '/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_35_10348.jpg
/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_46_10368.jpg
/home/pi/Desktop/images/12042025/19/07/image_12042025_19_07_55_9360.jpg
/home/pi/Desktop/images/12042025/19/08/image_12042025_19_09_06_10348.jpg
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_15_9359.jpg
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_25_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295872","1352295854","1352295848","1352295868","1352295838","1352295837"],"photo_ids_order":["1352295837","1352295838","1352295848","1352295854","1352295868","1352295872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a63bfc713ff9fbdc082e9fafff6fc381.jpg","text":"TemporaryFile(/tmp/multipartBody6675811390898236654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484253118,"filename":"image_12042025_19_09_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a91b5de1730cc57824ebabad2c13680.jpg","text":"TemporaryFile(/tmp/multipartBody6370761539107391682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484253118,"filename":"image_12042025_19_09_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b7e004a8dc8605adaebd4ee82a749a0.jpg","text":"TemporaryFile(/tmp/multipartBody4374564959533343417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484253118,"filename":"image_12042025_19_07_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/146fdbe7f2e2c6bb9c0e090a01909aac.jpg","text":"TemporaryFile(/tmp/multipartBody7654219022907740391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484253118,"filename":"image_12042025_19_09_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8645e6e191177fc845df01a76131ceff.jpg","text":"TemporaryFile(/tmp/multipartBody6146772773679820166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484253118,"filename":"image_12042025_19_07_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6eff165f4bac6891d4e43686dcbb3036.jpg","text":"TemporaryFile(/tmp/multipartBody5399671128720034111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484253118,"filename":"image_12042025_19_07_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295848","file1":"1352295838","file0":"1352295837","file4":"1352295868","file5":"1352295872","file3":"1352295854"},"map_files_photo_id_array":[{"photo_id":"1352295872","filename":"file5"},{"photo_id":"1352295848","filename":"file2"},{"photo_id":"1352295868","filename":"file4"},{"photo_id":"1352295838","filename":"file1"},{"photo_id":"1352295837","filename":"file0"},{"photo_id":"1352295854","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295872":["hashtag1","hashtag2"]},{"1352295854":["hashtag1","hashtag2"]},{"1352295848":["hashtag1","hashtag2"]},{"1352295868":["hashtag1","hashtag2"]},{"1352295838":["hashtag1","hashtag2"]},{"1352295837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295872, 1352295854, 1352295848, 1352295868, 1352295838, 1352295837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.543818473815918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 20:57:32.954286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_36_10358.jpg', '/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_45_9395.jpg', '/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_56_10449.jpg', '/home/pi/Desktop/images/12042025/19/09/image_12042025_19_10_05_9449.jpg', '/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_15_10364.jpg', '/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_26_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_36_10358.jpg
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_45_9395.jpg
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_56_10449.jpg
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_10_05_9449.jpg
/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_15_10364.jpg
/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_26_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 20:59:04.291912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_36_10358.jpg', '/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_45_9395.jpg', '/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_56_10449.jpg', '/home/pi/Desktop/images/12042025/19/09/image_12042025_19_10_05_9449.jpg', '/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_15_10364.jpg', '/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_26_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_36_10358.jpg
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_45_9395.jpg
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_09_56_10449.jpg
/home/pi/Desktop/images/12042025/19/09/image_12042025_19_10_05_9449.jpg
/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_15_10364.jpg
/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_26_10434.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295926","1352295929","1352295922","1352295919","1352295913","1352295918"],"photo_ids_order":["1352295913","1352295918","1352295919","1352295922","1352295926","1352295929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/784cb6939a17123e463ef7c73286218e.jpg","text":"TemporaryFile(/tmp/multipartBody3064877452872746304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484404917,"filename":"image_12042025_19_10_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e84b35cff4669e8341ccf0835344804.jpg","text":"TemporaryFile(/tmp/multipartBody4438281117308775069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484404917,"filename":"image_12042025_19_10_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38fef1eebfe912a711af052100970a85.jpg","text":"TemporaryFile(/tmp/multipartBody5339650496445370666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484404917,"filename":"image_12042025_19_10_05_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f391f9e8c5615b7dbad6c5e8d0d3b080.jpg","text":"TemporaryFile(/tmp/multipartBody1353589446907968337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484404917,"filename":"image_12042025_19_09_56_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d88bde3373e43b0a5ca9246fd7c9b17.jpg","text":"TemporaryFile(/tmp/multipartBody3382942258967688106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484404917,"filename":"image_12042025_19_09_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bcb658655fda248726cb4704377c562d.jpg","text":"TemporaryFile(/tmp/multipartBody5203853019829684448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484404917,"filename":"image_12042025_19_09_45_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295919","file1":"1352295918","file0":"1352295913","file4":"1352295926","file5":"1352295929","file3":"1352295922"},"map_files_photo_id_array":[{"photo_id":"1352295929","filename":"file5"},{"photo_id":"1352295919","filename":"file2"},{"photo_id":"1352295926","filename":"file4"},{"photo_id":"1352295918","filename":"file1"},{"photo_id":"1352295913","filename":"file0"},{"photo_id":"1352295922","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295926":["hashtag1","hashtag2"]},{"1352295929":["hashtag1","hashtag2"]},{"1352295922":["hashtag1","hashtag2"]},{"1352295919":["hashtag1","hashtag2"]},{"1352295913":["hashtag1","hashtag2"]},{"1352295918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295926, 1352295929, 1352295922, 1352295919, 1352295913, 1352295918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.009904623031616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 20:59:42.413758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_35_9344.jpg', '/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_55_9410.jpg', '/home/pi/Desktop/images/12042025/19/10/image_12042025_19_11_05_10355.jpg', '/home/pi/Desktop/images/12042025/19/11/image_12042025_19_11_16_10411.jpg', '/home/pi/Desktop/images/12042025/19/11/image_12042025_19_11_45_9349.jpg', '/home/pi/Desktop/images/12042025/19/11/image_12042025_19_12_06_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_35_9344.jpg
/home/pi/Desktop/images/12042025/19/10/image_12042025_19_10_55_9410.jpg
/home/pi/Desktop/images/12042025/19/10/image_12042025_19_11_05_10355.jpg
/home/pi/Desktop/images/12042025/19/11/image_12042025_19_11_16_10411.jpg
/home/pi/Desktop/images/12042025/19/11/image_12042025_19_11_45_9349.jpg
/home/pi/Desktop/images/12042025/19/11/image_12042025_19_12_06_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295935","1352295943","1352295937","1352295939","1352295933","1352295941"],"photo_ids_order":["1352295933","1352295935","1352295937","1352295939","1352295941","1352295943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df63be0e903bfbf8900482b1fd0f2390.jpg","text":"TemporaryFile(/tmp/multipartBody2197220396552016251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484442889,"filename":"image_12042025_19_10_55_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/443eabe982f3ac1ba7645ee3545ba169.jpg","text":"TemporaryFile(/tmp/multipartBody1300488031259149257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484442889,"filename":"image_12042025_19_12_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09ee9017ed13f6f4e4aeff9c0ebc3a78.jpg","text":"TemporaryFile(/tmp/multipartBody3860483253754193622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484442889,"filename":"image_12042025_19_11_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4aa0a02c92b57ec64e36fa8c66112257.jpg","text":"TemporaryFile(/tmp/multipartBody7130483649160129426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484442889,"filename":"image_12042025_19_11_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a0b0255b1e5dbbede06b57d485afa9aa.jpg","text":"TemporaryFile(/tmp/multipartBody5556806177309407206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484442889,"filename":"image_12042025_19_10_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75cd8ea5f0006a1caa402d877532ac61.jpg","text":"TemporaryFile(/tmp/multipartBody984528328867934185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484442889,"filename":"image_12042025_19_11_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295937","file1":"1352295935","file0":"1352295933","file4":"1352295941","file5":"1352295943","file3":"1352295939"},"map_files_photo_id_array":[{"photo_id":"1352295943","filename":"file5"},{"photo_id":"1352295937","filename":"file2"},{"photo_id":"1352295941","filename":"file4"},{"photo_id":"1352295935","filename":"file1"},{"photo_id":"1352295933","filename":"file0"},{"photo_id":"1352295939","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295935":["hashtag1","hashtag2"]},{"1352295943":["hashtag1","hashtag2"]},{"1352295937":["hashtag1","hashtag2"]},{"1352295939":["hashtag1","hashtag2"]},{"1352295933":["hashtag1","hashtag2"]},{"1352295941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295935, 1352295943, 1352295937, 1352295939, 1352295933, 1352295941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56287741661072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:00:32.763214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/12/image_12042025_19_12_15_9350.jpg', '/home/pi/Desktop/images/12042025/19/12/image_12042025_19_12_25_10482.jpg', '/home/pi/Desktop/images/12042025/19/12/image_12042025_19_12_36_10367.jpg', '/home/pi/Desktop/images/12042025/19/12/image_12042025_19_12_56_10377.jpg', '/home/pi/Desktop/images/12042025/19/12/image_12042025_19_13_05_9450.jpg', '/home/pi/Desktop/images/12042025/19/13/image_12042025_19_13_46_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/12/image_12042025_19_12_15_9350.jpg
/home/pi/Desktop/images/12042025/19/12/image_12042025_19_12_25_10482.jpg
/home/pi/Desktop/images/12042025/19/12/image_12042025_19_12_36_10367.jpg
/home/pi/Desktop/images/12042025/19/12/image_12042025_19_12_56_10377.jpg
/home/pi/Desktop/images/12042025/19/12/image_12042025_19_13_05_9450.jpg
/home/pi/Desktop/images/12042025/19/13/image_12042025_19_13_46_10493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295952","1352295958","1352295960","1352295954","1352295962","1352295956"],"photo_ids_order":["1352295952","1352295954","1352295956","1352295958","1352295960","1352295962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b88a4cf683914b253dca48f006b07fa.jpg","text":"TemporaryFile(/tmp/multipartBody6967380161462811966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484493233,"filename":"image_12042025_19_12_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40e08fca440f33ce6c29193f0b578267.jpg","text":"TemporaryFile(/tmp/multipartBody5176526321991110423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484493233,"filename":"image_12042025_19_12_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a6e2428ede5865eec31b7a277700a12.jpg","text":"TemporaryFile(/tmp/multipartBody2377290931867065912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484493233,"filename":"image_12042025_19_13_05_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f4b0ba911561d41906035b83c0128338.jpg","text":"TemporaryFile(/tmp/multipartBody8883503537982325717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484493233,"filename":"image_12042025_19_12_25_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/43a5359e66c276c90798b246568a3a3b.jpg","text":"TemporaryFile(/tmp/multipartBody8358297285527087637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484493233,"filename":"image_12042025_19_13_46_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51eda433770483cd8bfb70a50cf6bbef.jpg","text":"TemporaryFile(/tmp/multipartBody8810773585134255269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484493233,"filename":"image_12042025_19_12_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295956","file1":"1352295954","file0":"1352295952","file4":"1352295960","file5":"1352295962","file3":"1352295958"},"map_files_photo_id_array":[{"photo_id":"1352295962","filename":"file5"},{"photo_id":"1352295956","filename":"file2"},{"photo_id":"1352295960","filename":"file4"},{"photo_id":"1352295954","filename":"file1"},{"photo_id":"1352295952","filename":"file0"},{"photo_id":"1352295958","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295952":["hashtag1","hashtag2"]},{"1352295958":["hashtag1","hashtag2"]},{"1352295960":["hashtag1","hashtag2"]},{"1352295954":["hashtag1","hashtag2"]},{"1352295962":["hashtag1","hashtag2"]},{"1352295956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295952, 1352295958, 1352295960, 1352295954, 1352295962, 1352295956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.016226291656494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:01:32.948087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/13/image_12042025_19_13_55_9370.jpg', '/home/pi/Desktop/images/12042025/19/14/image_12042025_19_14_25_9359.jpg', '/home/pi/Desktop/images/12042025/19/14/image_12042025_19_14_35_10423.jpg', '/home/pi/Desktop/images/12042025/19/14/image_12042025_19_14_46_10382.jpg', '/home/pi/Desktop/images/12042025/19/14/image_12042025_19_14_55_9361.jpg', '/home/pi/Desktop/images/12042025/19/14/image_12042025_19_15_06_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/13/image_12042025_19_13_55_9370.jpg
/home/pi/Desktop/images/12042025/19/14/image_12042025_19_14_25_9359.jpg
/home/pi/Desktop/images/12042025/19/14/image_12042025_19_14_35_10423.jpg
/home/pi/Desktop/images/12042025/19/14/image_12042025_19_14_46_10382.jpg
/home/pi/Desktop/images/12042025/19/14/image_12042025_19_14_55_9361.jpg
/home/pi/Desktop/images/12042025/19/14/image_12042025_19_15_06_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352295982","1352295991","1352295985","1352295994","1352295987","1352295989"],"photo_ids_order":["1352295982","1352295985","1352295987","1352295989","1352295991","1352295994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a3d56224ecb3e872b8752088de1c43c.jpg","text":"TemporaryFile(/tmp/multipartBody3044415510467753975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484553419,"filename":"image_12042025_19_13_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2260dfd8c0219c24a603d0a385605c5d.jpg","text":"TemporaryFile(/tmp/multipartBody3166104849162723912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484553419,"filename":"image_12042025_19_14_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e3a9533b6084dbc9f099a8355b37d75.jpg","text":"TemporaryFile(/tmp/multipartBody2281222893963790683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484553419,"filename":"image_12042025_19_14_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e3896c655f27f6c5280cfc01c32d111.jpg","text":"TemporaryFile(/tmp/multipartBody4901428000004689580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484553419,"filename":"image_12042025_19_15_06_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1659ec3529fbf7c2a2b6717a935c651b.jpg","text":"TemporaryFile(/tmp/multipartBody1892812437721775998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484553419,"filename":"image_12042025_19_14_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/630000ee4ab607d493b80d56e49a51e0.jpg","text":"TemporaryFile(/tmp/multipartBody775250783227479993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484553419,"filename":"image_12042025_19_14_46_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352295987","file1":"1352295985","file0":"1352295982","file4":"1352295991","file5":"1352295994","file3":"1352295989"},"map_files_photo_id_array":[{"photo_id":"1352295994","filename":"file5"},{"photo_id":"1352295987","filename":"file2"},{"photo_id":"1352295991","filename":"file4"},{"photo_id":"1352295985","filename":"file1"},{"photo_id":"1352295982","filename":"file0"},{"photo_id":"1352295989","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352295982":["hashtag1","hashtag2"]},{"1352295991":["hashtag1","hashtag2"]},{"1352295985":["hashtag1","hashtag2"]},{"1352295994":["hashtag1","hashtag2"]},{"1352295987":["hashtag1","hashtag2"]},{"1352295989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352295982, 1352295991, 1352295985, 1352295994, 1352295987, 1352295989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.654778480529785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:02:33.196663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/15/image_12042025_19_15_15_9363.jpg', '/home/pi/Desktop/images/12042025/19/15/image_12042025_19_15_25_10366.jpg', '/home/pi/Desktop/images/12042025/19/15/image_12042025_19_15_36_10372.jpg', '/home/pi/Desktop/images/12042025/19/15/image_12042025_19_15_45_9374.jpg', '/home/pi/Desktop/images/12042025/19/16/image_12042025_19_16_26_10378.jpg', '/home/pi/Desktop/images/12042025/19/16/image_12042025_19_16_35_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/15/image_12042025_19_15_15_9363.jpg
/home/pi/Desktop/images/12042025/19/15/image_12042025_19_15_25_10366.jpg
/home/pi/Desktop/images/12042025/19/15/image_12042025_19_15_36_10372.jpg
/home/pi/Desktop/images/12042025/19/15/image_12042025_19_15_45_9374.jpg
/home/pi/Desktop/images/12042025/19/16/image_12042025_19_16_26_10378.jpg
/home/pi/Desktop/images/12042025/19/16/image_12042025_19_16_35_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352296109","1352296099","1352296092","1352296095","1352296097","1352296104"],"photo_ids_order":["1352296092","1352296095","1352296097","1352296099","1352296104","1352296109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82ec2204a1d920b7e52299fe061b2fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7114974117212059835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484613667,"filename":"image_12042025_19_16_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b53cf62fe95c63d27ce5d222ae9e3b2.jpg","text":"TemporaryFile(/tmp/multipartBody2437357942212757387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484613667,"filename":"image_12042025_19_15_45_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15bc75f1eb5030956530d5201b7e37c2.jpg","text":"TemporaryFile(/tmp/multipartBody4389105743075680270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484613667,"filename":"image_12042025_19_15_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1d574bee8e09a5d2fe9f5ec6df5cd22.jpg","text":"TemporaryFile(/tmp/multipartBody3099687882193965046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484613667,"filename":"image_12042025_19_15_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee3138b53003931abd4acc7eaacf7d4d.jpg","text":"TemporaryFile(/tmp/multipartBody6234614312695711962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484613667,"filename":"image_12042025_19_15_36_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/adb2fc18535ec35d5086bebabf9f418c.jpg","text":"TemporaryFile(/tmp/multipartBody1955741638104716921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484613667,"filename":"image_12042025_19_16_26_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352296097","file1":"1352296095","file0":"1352296092","file4":"1352296104","file5":"1352296109","file3":"1352296099"},"map_files_photo_id_array":[{"photo_id":"1352296109","filename":"file5"},{"photo_id":"1352296097","filename":"file2"},{"photo_id":"1352296104","filename":"file4"},{"photo_id":"1352296095","filename":"file1"},{"photo_id":"1352296092","filename":"file0"},{"photo_id":"1352296099","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352296109":["hashtag1","hashtag2"]},{"1352296099":["hashtag1","hashtag2"]},{"1352296092":["hashtag1","hashtag2"]},{"1352296095":["hashtag1","hashtag2"]},{"1352296097":["hashtag1","hashtag2"]},{"1352296104":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352296109, 1352296099, 1352296092, 1352296095, 1352296097, 1352296104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40871524810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:03:32.296826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/16/image_12042025_19_16_46_10505.jpg', '/home/pi/Desktop/images/12042025/19/16/image_12042025_19_16_55_9382.jpg', '/home/pi/Desktop/images/12042025/19/17/image_12042025_19_17_16_10359.jpg', '/home/pi/Desktop/images/12042025/19/17/image_12042025_19_17_25_9355.jpg', '/home/pi/Desktop/images/12042025/19/17/image_12042025_19_17_46_10372.jpg', '/home/pi/Desktop/images/12042025/19/17/image_12042025_19_17_55_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/16/image_12042025_19_16_46_10505.jpg
/home/pi/Desktop/images/12042025/19/16/image_12042025_19_16_55_9382.jpg
/home/pi/Desktop/images/12042025/19/17/image_12042025_19_17_16_10359.jpg
/home/pi/Desktop/images/12042025/19/17/image_12042025_19_17_25_9355.jpg
/home/pi/Desktop/images/12042025/19/17/image_12042025_19_17_46_10372.jpg
/home/pi/Desktop/images/12042025/19/17/image_12042025_19_17_55_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352296183","1352296171","1352296173","1352296176","1352296179","1352296181"],"photo_ids_order":["1352296171","1352296173","1352296176","1352296179","1352296181","1352296183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbac831a3356339cb880db02e20b3c55.jpg","text":"TemporaryFile(/tmp/multipartBody5260184524507717961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484672758,"filename":"image_12042025_19_17_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c2f407e4990dd1569ae3702da9b3c9d.jpg","text":"TemporaryFile(/tmp/multipartBody8667861347012955721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484672758,"filename":"image_12042025_19_16_46_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee184baeca253e4eee4ad286480baa59.jpg","text":"TemporaryFile(/tmp/multipartBody8749865475173216964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484672758,"filename":"image_12042025_19_16_55_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a1db0a1b3609b5dd53b48b0088a87f7.jpg","text":"TemporaryFile(/tmp/multipartBody2330506140922789071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484672758,"filename":"image_12042025_19_17_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff1a90a15afe2f4cc37d64651979074b.jpg","text":"TemporaryFile(/tmp/multipartBody9192007823282933394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484672758,"filename":"image_12042025_19_17_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8c8894068d9544b377ec56952bb580e9.jpg","text":"TemporaryFile(/tmp/multipartBody4647811205204765058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484672758,"filename":"image_12042025_19_17_46_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352296176","file1":"1352296173","file0":"1352296171","file4":"1352296181","file5":"1352296183","file3":"1352296179"},"map_files_photo_id_array":[{"photo_id":"1352296183","filename":"file5"},{"photo_id":"1352296176","filename":"file2"},{"photo_id":"1352296181","filename":"file4"},{"photo_id":"1352296173","filename":"file1"},{"photo_id":"1352296171","filename":"file0"},{"photo_id":"1352296179","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352296183":["hashtag1","hashtag2"]},{"1352296171":["hashtag1","hashtag2"]},{"1352296173":["hashtag1","hashtag2"]},{"1352296176":["hashtag1","hashtag2"]},{"1352296179":["hashtag1","hashtag2"]},{"1352296181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352296183, 1352296171, 1352296173, 1352296176, 1352296179, 1352296181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8636531829834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:04:32.584175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/17/image_12042025_19_18_06_10342.jpg', '/home/pi/Desktop/images/12042025/19/18/image_12042025_19_18_15_9354.jpg', '/home/pi/Desktop/images/12042025/19/18/image_12042025_19_18_36_10391.jpg', '/home/pi/Desktop/images/12042025/19/18/image_12042025_19_18_56_10456.jpg', '/home/pi/Desktop/images/12042025/19/18/image_12042025_19_19_05_9366.jpg', '/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_15_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/17/image_12042025_19_18_06_10342.jpg
/home/pi/Desktop/images/12042025/19/18/image_12042025_19_18_15_9354.jpg
/home/pi/Desktop/images/12042025/19/18/image_12042025_19_18_36_10391.jpg
/home/pi/Desktop/images/12042025/19/18/image_12042025_19_18_56_10456.jpg
/home/pi/Desktop/images/12042025/19/18/image_12042025_19_19_05_9366.jpg
/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_15_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352296213","1352296341","1352296311","1352296212","1352296215","1352296268"],"photo_ids_order":["1352296212","1352296213","1352296215","1352296268","1352296311","1352296341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50d54f7cd84f3696e491eb0d66b5817a.jpg","text":"TemporaryFile(/tmp/multipartBody89418942392207789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484733058,"filename":"image_12042025_19_18_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0e18706283b766aa8872ab965118963.jpg","text":"TemporaryFile(/tmp/multipartBody7892608267754427504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484733058,"filename":"image_12042025_19_19_15_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dda6ae4e11d8e614f09c36b6e0f2b778.jpg","text":"TemporaryFile(/tmp/multipartBody8342118558632837212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484733058,"filename":"image_12042025_19_19_05_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8545cf9ae115f7fd857966f45f7e6e5.jpg","text":"TemporaryFile(/tmp/multipartBody9099043329920936141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484733058,"filename":"image_12042025_19_18_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a65e82495bc3d01839de899595028c3.jpg","text":"TemporaryFile(/tmp/multipartBody7324952411323298497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484733058,"filename":"image_12042025_19_18_36_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0175dab4f4b49dbf2b70bc443e9268f6.jpg","text":"TemporaryFile(/tmp/multipartBody1473026023188596021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484733058,"filename":"image_12042025_19_18_56_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352296215","file1":"1352296213","file0":"1352296212","file4":"1352296311","file5":"1352296341","file3":"1352296268"},"map_files_photo_id_array":[{"photo_id":"1352296341","filename":"file5"},{"photo_id":"1352296215","filename":"file2"},{"photo_id":"1352296311","filename":"file4"},{"photo_id":"1352296213","filename":"file1"},{"photo_id":"1352296212","filename":"file0"},{"photo_id":"1352296268","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352296213":["hashtag1","hashtag2"]},{"1352296341":["hashtag1","hashtag2"]},{"1352296311":["hashtag1","hashtag2"]},{"1352296212":["hashtag1","hashtag2"]},{"1352296215":["hashtag1","hashtag2"]},{"1352296268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352296213, 1352296341, 1352296311, 1352296212, 1352296215, 1352296268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48909091949463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:05:32.886107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_26_10470.jpg', '/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_35_9348.jpg', '/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_46_10527.jpg', '/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_55_9367.jpg', '/home/pi/Desktop/images/12042025/19/19/image_12042025_19_20_05_10347.jpg', '/home/pi/Desktop/images/12042025/19/20/image_12042025_19_20_36_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_26_10470.jpg
/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_35_9348.jpg
/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_46_10527.jpg
/home/pi/Desktop/images/12042025/19/19/image_12042025_19_19_55_9367.jpg
/home/pi/Desktop/images/12042025/19/19/image_12042025_19_20_05_10347.jpg
/home/pi/Desktop/images/12042025/19/20/image_12042025_19_20_36_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352296690","1352296848","1352296784","1352296886","1352296649","1352296739"],"photo_ids_order":["1352296649","1352296690","1352296739","1352296784","1352296848","1352296886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3a170e2c53509d30aa7b6705262e8ad.jpg","text":"TemporaryFile(/tmp/multipartBody775242258786404866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484793355,"filename":"image_12042025_19_19_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0589cd128213078eb62f29622f98633.jpg","text":"TemporaryFile(/tmp/multipartBody5057636732960240126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484793355,"filename":"image_12042025_19_20_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/53e5b1e715165c4d40d9c322f6ebb7e2.jpg","text":"TemporaryFile(/tmp/multipartBody3488930591235074161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484793355,"filename":"image_12042025_19_19_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c27b646cb197d909e1e4f7f9370e348.jpg","text":"TemporaryFile(/tmp/multipartBody5585528220586163966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484793355,"filename":"image_12042025_19_20_36_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3cb413aab157994f5205aadeb073749.jpg","text":"TemporaryFile(/tmp/multipartBody2674802277144382439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484793355,"filename":"image_12042025_19_19_26_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/775ab9c9c92d8a33ddbca8b89623a95c.jpg","text":"TemporaryFile(/tmp/multipartBody8671993060748938531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484793355,"filename":"image_12042025_19_19_46_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352296739","file1":"1352296690","file0":"1352296649","file4":"1352296848","file5":"1352296886","file3":"1352296784"},"map_files_photo_id_array":[{"photo_id":"1352296886","filename":"file5"},{"photo_id":"1352296739","filename":"file2"},{"photo_id":"1352296848","filename":"file4"},{"photo_id":"1352296690","filename":"file1"},{"photo_id":"1352296649","filename":"file0"},{"photo_id":"1352296784","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352296690":["hashtag1","hashtag2"]},{"1352296848":["hashtag1","hashtag2"]},{"1352296784":["hashtag1","hashtag2"]},{"1352296886":["hashtag1","hashtag2"]},{"1352296649":["hashtag1","hashtag2"]},{"1352296739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352296690, 1352296848, 1352296784, 1352296886, 1352296649, 1352296739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.049952507019043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:06:33.124425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/20/image_12042025_19_20_45_9350.jpg', '/home/pi/Desktop/images/12042025/19/20/image_12042025_19_21_06_10365.jpg', '/home/pi/Desktop/images/12042025/19/21/image_12042025_19_21_15_9401.jpg', '/home/pi/Desktop/images/12042025/19/21/image_12042025_19_21_26_10424.jpg', '/home/pi/Desktop/images/12042025/19/21/image_12042025_19_21_35_9371.jpg', '/home/pi/Desktop/images/12042025/19/21/image_12042025_19_22_05_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/20/image_12042025_19_20_45_9350.jpg
/home/pi/Desktop/images/12042025/19/20/image_12042025_19_21_06_10365.jpg
/home/pi/Desktop/images/12042025/19/21/image_12042025_19_21_15_9401.jpg
/home/pi/Desktop/images/12042025/19/21/image_12042025_19_21_26_10424.jpg
/home/pi/Desktop/images/12042025/19/21/image_12042025_19_21_35_9371.jpg
/home/pi/Desktop/images/12042025/19/21/image_12042025_19_22_05_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352297602","1352297463","1352297508","1352297563","1352297386","1352297644"],"photo_ids_order":["1352297386","1352297463","1352297508","1352297563","1352297602","1352297644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fef594d0516170092054f3fcfc9ad2b3.jpg","text":"TemporaryFile(/tmp/multipartBody4939446681502138244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484853579,"filename":"image_12042025_19_21_35_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5eaaed20e3e98a6ff59dd27f0b1f1b64.jpg","text":"TemporaryFile(/tmp/multipartBody615009376771433442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484853579,"filename":"image_12042025_19_21_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4726e7d41e23d9031a1fab2a7c08d903.jpg","text":"TemporaryFile(/tmp/multipartBody7212640949827832181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484853579,"filename":"image_12042025_19_21_15_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9491d0bb8c0407ce1c9647758f1d469.jpg","text":"TemporaryFile(/tmp/multipartBody6954695764083694018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484853579,"filename":"image_12042025_19_21_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f885159a8421196cf5b00abdd230372d.jpg","text":"TemporaryFile(/tmp/multipartBody6998848615208654424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484853579,"filename":"image_12042025_19_20_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/533b22f768be2844f4bd03d715514c85.jpg","text":"TemporaryFile(/tmp/multipartBody8136283703494892381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484853579,"filename":"image_12042025_19_22_05_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352297508","file1":"1352297463","file0":"1352297386","file4":"1352297602","file5":"1352297644","file3":"1352297563"},"map_files_photo_id_array":[{"photo_id":"1352297644","filename":"file5"},{"photo_id":"1352297508","filename":"file2"},{"photo_id":"1352297602","filename":"file4"},{"photo_id":"1352297463","filename":"file1"},{"photo_id":"1352297386","filename":"file0"},{"photo_id":"1352297563","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352297602":["hashtag1","hashtag2"]},{"1352297463":["hashtag1","hashtag2"]},{"1352297508":["hashtag1","hashtag2"]},{"1352297563":["hashtag1","hashtag2"]},{"1352297386":["hashtag1","hashtag2"]},{"1352297644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352297602, 1352297463, 1352297508, 1352297563, 1352297386, 1352297644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38237404823303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:07:32.290404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/22/image_12042025_19_22_16_10409.jpg', '/home/pi/Desktop/images/12042025/19/22/image_12042025_19_22_36_10478.jpg', '/home/pi/Desktop/images/12042025/19/22/image_12042025_19_22_45_9363.jpg', '/home/pi/Desktop/images/12042025/19/22/image_12042025_19_22_55_10375.jpg', '/home/pi/Desktop/images/12042025/19/22/image_12042025_19_23_06_10347.jpg', '/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_15_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/22/image_12042025_19_22_16_10409.jpg
/home/pi/Desktop/images/12042025/19/22/image_12042025_19_22_36_10478.jpg
/home/pi/Desktop/images/12042025/19/22/image_12042025_19_22_45_9363.jpg
/home/pi/Desktop/images/12042025/19/22/image_12042025_19_22_55_10375.jpg
/home/pi/Desktop/images/12042025/19/22/image_12042025_19_23_06_10347.jpg
/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_15_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352298100","1352297911","1352298249","1352298193","1352298301","1352298139"],"photo_ids_order":["1352297911","1352298100","1352298139","1352298193","1352298249","1352298301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4409718ee7633f8e80bd15f74f00ab17.jpg","text":"TemporaryFile(/tmp/multipartBody2212440103124914998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484912758,"filename":"image_12042025_19_22_36_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3973605c7f0fae19ef11c2eb0c3b09f3.jpg","text":"TemporaryFile(/tmp/multipartBody5635344000205039541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484912758,"filename":"image_12042025_19_22_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68b23f2491e3b11f28ea3b52b24811af.jpg","text":"TemporaryFile(/tmp/multipartBody6464409612911515964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484912758,"filename":"image_12042025_19_23_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efc2b837c6fd12b1f3e77b3f7b778b5a.jpg","text":"TemporaryFile(/tmp/multipartBody2876156529935611002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484912758,"filename":"image_12042025_19_22_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87123f93c69376846827335cedd46760.jpg","text":"TemporaryFile(/tmp/multipartBody2066567769190414287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484912758,"filename":"image_12042025_19_23_15_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5660bf8a62d23c0b1a8e666bd671073a.jpg","text":"TemporaryFile(/tmp/multipartBody2528002140389225220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484912758,"filename":"image_12042025_19_22_45_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352298139","file1":"1352298100","file0":"1352297911","file4":"1352298249","file5":"1352298301","file3":"1352298193"},"map_files_photo_id_array":[{"photo_id":"1352298301","filename":"file5"},{"photo_id":"1352298139","filename":"file2"},{"photo_id":"1352298249","filename":"file4"},{"photo_id":"1352298100","filename":"file1"},{"photo_id":"1352297911","filename":"file0"},{"photo_id":"1352298193","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352298100":["hashtag1","hashtag2"]},{"1352297911":["hashtag1","hashtag2"]},{"1352298249":["hashtag1","hashtag2"]},{"1352298193":["hashtag1","hashtag2"]},{"1352298301":["hashtag1","hashtag2"]},{"1352298139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352298100, 1352297911, 1352298249, 1352298193, 1352298301, 1352298139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.468592166900635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:08:32.692805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_26_10463.jpg', '/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_35_9346.jpg', '/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_45_10359.jpg', '/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_56_10447.jpg', '/home/pi/Desktop/images/12042025/19/23/image_12042025_19_24_05_9352.jpg', '/home/pi/Desktop/images/12042025/19/24/image_12042025_19_24_46_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_26_10463.jpg
/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_35_9346.jpg
/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_45_10359.jpg
/home/pi/Desktop/images/12042025/19/23/image_12042025_19_23_56_10447.jpg
/home/pi/Desktop/images/12042025/19/23/image_12042025_19_24_05_9352.jpg
/home/pi/Desktop/images/12042025/19/24/image_12042025_19_24_46_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352298864","1352298762","1352298837","1352298896","1352298731","1352298800"],"photo_ids_order":["1352298731","1352298762","1352298800","1352298837","1352298864","1352298896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ed92656b0bc90d93ed1977b58ca5d9a1.jpg","text":"TemporaryFile(/tmp/multipartBody6267242143328213847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484973166,"filename":"image_12042025_19_24_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c71d3a7da278296bc8ac65f5e1827b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1878313274678028263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484973166,"filename":"image_12042025_19_23_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d9c1d44571316342148ae1596f0a279.jpg","text":"TemporaryFile(/tmp/multipartBody8393600147448461879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484973166,"filename":"image_12042025_19_23_56_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48adc36b375cc019202f7eedcb1bb296.jpg","text":"TemporaryFile(/tmp/multipartBody8266203435062428982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484973166,"filename":"image_12042025_19_24_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13a443b62f020b3d455fbf6bb7d06de7.jpg","text":"TemporaryFile(/tmp/multipartBody1138646922815333965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484973166,"filename":"image_12042025_19_23_26_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e48a747b2841fbf532f2ad7146bd06c.jpg","text":"TemporaryFile(/tmp/multipartBody71114322557752830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744484973166,"filename":"image_12042025_19_23_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352298800","file1":"1352298762","file0":"1352298731","file4":"1352298864","file5":"1352298896","file3":"1352298837"},"map_files_photo_id_array":[{"photo_id":"1352298896","filename":"file5"},{"photo_id":"1352298800","filename":"file2"},{"photo_id":"1352298864","filename":"file4"},{"photo_id":"1352298762","filename":"file1"},{"photo_id":"1352298731","filename":"file0"},{"photo_id":"1352298837","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352298864":["hashtag1","hashtag2"]},{"1352298762":["hashtag1","hashtag2"]},{"1352298837":["hashtag1","hashtag2"]},{"1352298896":["hashtag1","hashtag2"]},{"1352298731":["hashtag1","hashtag2"]},{"1352298800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352298864, 1352298762, 1352298837, 1352298896, 1352298731, 1352298800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.34201741218567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:09:32.983051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/24/image_12042025_19_24_55_9379.jpg', '/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_16_10440.jpg', '/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_25_9383.jpg', '/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_36_10439.jpg', '/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_45_9369.jpg', '/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_55_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/24/image_12042025_19_24_55_9379.jpg
/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_16_10440.jpg
/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_25_9383.jpg
/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_36_10439.jpg
/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_45_9369.jpg
/home/pi/Desktop/images/12042025/19/25/image_12042025_19_25_55_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352298930","1352298933","1352298936","1352298935","1352298932","1352298934"],"photo_ids_order":["1352298930","1352298932","1352298933","1352298934","1352298935","1352298936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5a3ef989b0cf73ebe605ad8ee040953.jpg","text":"TemporaryFile(/tmp/multipartBody7621732414719894864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485033447,"filename":"image_12042025_19_24_55_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/913e8ab1233169e2c40da64880f6e592.jpg","text":"TemporaryFile(/tmp/multipartBody38780861207285364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485033447,"filename":"image_12042025_19_25_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c552ad9ba61c87d91d4e473f9c751886.jpg","text":"TemporaryFile(/tmp/multipartBody1529317099719919918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485033447,"filename":"image_12042025_19_25_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55a1751b713a3ac0e021f4e8b8b1603e.jpg","text":"TemporaryFile(/tmp/multipartBody887921780844148652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485033447,"filename":"image_12042025_19_25_45_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5e1af6a9607e3a50b7d5d0f8ee02e005.jpg","text":"TemporaryFile(/tmp/multipartBody4006585659040856937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485033447,"filename":"image_12042025_19_25_16_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78857e383f3ed743a79804a98d913640.jpg","text":"TemporaryFile(/tmp/multipartBody951222334741960703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485033447,"filename":"image_12042025_19_25_36_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352298933","file1":"1352298932","file0":"1352298930","file4":"1352298935","file5":"1352298936","file3":"1352298934"},"map_files_photo_id_array":[{"photo_id":"1352298936","filename":"file5"},{"photo_id":"1352298933","filename":"file2"},{"photo_id":"1352298935","filename":"file4"},{"photo_id":"1352298932","filename":"file1"},{"photo_id":"1352298930","filename":"file0"},{"photo_id":"1352298934","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352298930":["hashtag1","hashtag2"]},{"1352298933":["hashtag1","hashtag2"]},{"1352298936":["hashtag1","hashtag2"]},{"1352298935":["hashtag1","hashtag2"]},{"1352298932":["hashtag1","hashtag2"]},{"1352298934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352298930, 1352298933, 1352298936, 1352298935, 1352298932, 1352298934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63545560836792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:10:32.165715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/25/image_12042025_19_26_06_10352.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_15_9338.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_26_10418.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_35_9346.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_45_10444.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_56_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/25/image_12042025_19_26_06_10352.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_15_9338.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_26_10418.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_35_9346.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_45_10444.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_56_10383.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3779270648956299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 21:10:42.099713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/25/image_12042025_19_26_06_10352.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_15_9338.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_26_10418.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_35_9346.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_45_10444.jpg', '/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_56_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/25/image_12042025_19_26_06_10352.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_15_9338.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_26_10418.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_35_9346.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_45_10444.jpg
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_26_56_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352299242","1352299146","1352299049","1352299198","1352299099","1352299290"],"photo_ids_order":["1352299049","1352299099","1352299146","1352299198","1352299242","1352299290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e00356721b9a6a5f816c85fc7fb25e32.jpg","text":"TemporaryFile(/tmp/multipartBody690356410391300366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485102571,"filename":"image_12042025_19_26_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45897dd23182a8d0d8ba62eb16390611.jpg","text":"TemporaryFile(/tmp/multipartBody4952547511111135296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485102571,"filename":"image_12042025_19_26_26_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13232f514589edb559bdcc0a41f185bd.jpg","text":"TemporaryFile(/tmp/multipartBody2818443386052742323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485102571,"filename":"image_12042025_19_26_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62b65b23dc11e0d1d071158cd1715920.jpg","text":"TemporaryFile(/tmp/multipartBody7470576032183401696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485102571,"filename":"image_12042025_19_26_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2a3618558e82ac63e7d97912f9bfca2.jpg","text":"TemporaryFile(/tmp/multipartBody8788737396552828807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485102571,"filename":"image_12042025_19_26_15_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e6a42f64975b9be6dfc87edb83ffd33a.jpg","text":"TemporaryFile(/tmp/multipartBody4979488492367440272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485102571,"filename":"image_12042025_19_26_56_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352299146","file1":"1352299099","file0":"1352299049","file4":"1352299242","file5":"1352299290","file3":"1352299198"},"map_files_photo_id_array":[{"photo_id":"1352299290","filename":"file5"},{"photo_id":"1352299146","filename":"file2"},{"photo_id":"1352299242","filename":"file4"},{"photo_id":"1352299099","filename":"file1"},{"photo_id":"1352299049","filename":"file0"},{"photo_id":"1352299198","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352299242":["hashtag1","hashtag2"]},{"1352299146":["hashtag1","hashtag2"]},{"1352299049":["hashtag1","hashtag2"]},{"1352299198":["hashtag1","hashtag2"]},{"1352299099":["hashtag1","hashtag2"]},{"1352299290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352299242, 1352299146, 1352299049, 1352299198, 1352299099, 1352299290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.438931703567505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:11:32.319756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/26/image_12042025_19_27_05_9364.jpg', '/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_15_10409.jpg', '/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_26_10381.jpg', '/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_35_9361.jpg', '/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_46_10472.jpg', '/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_55_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/26/image_12042025_19_27_05_9364.jpg
/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_15_10409.jpg
/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_26_10381.jpg
/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_35_9361.jpg
/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_46_10472.jpg
/home/pi/Desktop/images/12042025/19/27/image_12042025_19_27_55_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352299688","1352299604","1352299733","1352299567","1352299642","1352299513"],"photo_ids_order":["1352299513","1352299567","1352299604","1352299642","1352299688","1352299733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc6a8af2975cc9981d309953116daaf8.jpg","text":"TemporaryFile(/tmp/multipartBody315779114169309733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485152778,"filename":"image_12042025_19_27_46_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2698a1ac9d54c2cfc0fe55654b6a35d.jpg","text":"TemporaryFile(/tmp/multipartBody5970061854584090141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485152778,"filename":"image_12042025_19_27_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b0a7d676b1825caefb97a9fc8b0821ab.jpg","text":"TemporaryFile(/tmp/multipartBody1923764108714759833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485152778,"filename":"image_12042025_19_27_55_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d258ac84d3b8fb7e94fa156d8e0683ba.jpg","text":"TemporaryFile(/tmp/multipartBody4894058379932879985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485152778,"filename":"image_12042025_19_27_15_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd9a81cd71362561f5e2f09f6a7da65c.jpg","text":"TemporaryFile(/tmp/multipartBody8143153463090904311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485152778,"filename":"image_12042025_19_27_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/889a5d6be0327260cc7d16d63577dfdf.jpg","text":"TemporaryFile(/tmp/multipartBody5438423815054053232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485152778,"filename":"image_12042025_19_27_05_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352299604","file1":"1352299567","file0":"1352299513","file4":"1352299688","file5":"1352299733","file3":"1352299642"},"map_files_photo_id_array":[{"photo_id":"1352299733","filename":"file5"},{"photo_id":"1352299604","filename":"file2"},{"photo_id":"1352299688","filename":"file4"},{"photo_id":"1352299567","filename":"file1"},{"photo_id":"1352299513","filename":"file0"},{"photo_id":"1352299642","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352299688":["hashtag1","hashtag2"]},{"1352299604":["hashtag1","hashtag2"]},{"1352299733":["hashtag1","hashtag2"]},{"1352299567":["hashtag1","hashtag2"]},{"1352299642":["hashtag1","hashtag2"]},{"1352299513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352299688, 1352299604, 1352299733, 1352299567, 1352299642, 1352299513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42776894569397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:12:32.802040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/27/image_12042025_19_28_06_10547.jpg', '/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_15_9529.jpg', '/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_26_10375.jpg', '/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_35_9421.jpg', '/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_45_10368.jpg', '/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_56_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/27/image_12042025_19_28_06_10547.jpg
/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_15_9529.jpg
/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_26_10375.jpg
/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_35_9421.jpg
/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_45_10368.jpg
/home/pi/Desktop/images/12042025/19/28/image_12042025_19_28_56_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352299866","1352299929","1352299908","1352299961","1352299888","1352299861"],"photo_ids_order":["1352299861","1352299866","1352299888","1352299908","1352299929","1352299961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1493d6715e32ab936c74274ab8bc233c.jpg","text":"TemporaryFile(/tmp/multipartBody1711752477365661523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485213272,"filename":"image_12042025_19_28_15_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dcc5c6a57300b5c1a798fb8a6f306cef.jpg","text":"TemporaryFile(/tmp/multipartBody4830056518759734861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485213272,"filename":"image_12042025_19_28_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22f871c250af49fb68df56109b776416.jpg","text":"TemporaryFile(/tmp/multipartBody5402906245486098463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485213272,"filename":"image_12042025_19_28_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4b954e71fc7debadece9b768efd58a1.jpg","text":"TemporaryFile(/tmp/multipartBody4058780611695616585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485213272,"filename":"image_12042025_19_28_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9bb6e2395b2977bfe43e04492ccae78.jpg","text":"TemporaryFile(/tmp/multipartBody8552121447120740545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485213272,"filename":"image_12042025_19_28_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ebadbb5519f96d3103f1e3c813854a59.jpg","text":"TemporaryFile(/tmp/multipartBody6948825659683011961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485213272,"filename":"image_12042025_19_28_06_10547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352299888","file1":"1352299866","file0":"1352299861","file4":"1352299929","file5":"1352299961","file3":"1352299908"},"map_files_photo_id_array":[{"photo_id":"1352299961","filename":"file5"},{"photo_id":"1352299888","filename":"file2"},{"photo_id":"1352299929","filename":"file4"},{"photo_id":"1352299866","filename":"file1"},{"photo_id":"1352299861","filename":"file0"},{"photo_id":"1352299908","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352299866":["hashtag1","hashtag2"]},{"1352299929":["hashtag1","hashtag2"]},{"1352299908":["hashtag1","hashtag2"]},{"1352299961":["hashtag1","hashtag2"]},{"1352299888":["hashtag1","hashtag2"]},{"1352299861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352299866, 1352299929, 1352299908, 1352299961, 1352299888, 1352299861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17365479469299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:13:32.991837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/28/image_12042025_19_29_05_9357.jpg', '/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_16_10440.jpg', '/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_25_9457.jpg', '/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_35_10364.jpg', '/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_46_10424.jpg', '/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_55_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/28/image_12042025_19_29_05_9357.jpg
/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_16_10440.jpg
/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_25_9457.jpg
/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_35_10364.jpg
/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_46_10424.jpg
/home/pi/Desktop/images/12042025/19/29/image_12042025_19_29_55_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300057","1352300054","1352300065","1352300062","1352300059","1352300052"],"photo_ids_order":["1352300052","1352300054","1352300057","1352300059","1352300062","1352300065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cba285e5b79b855d70f758e0246c986.jpg","text":"TemporaryFile(/tmp/multipartBody7380008957094954221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485273465,"filename":"image_12042025_19_29_25_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38f56301a6c7b3638750dc79e055c5d1.jpg","text":"TemporaryFile(/tmp/multipartBody8182303533735731302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485273465,"filename":"image_12042025_19_29_16_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1e3b0c7de02bbd5e0501fd6dfa0546e.jpg","text":"TemporaryFile(/tmp/multipartBody5449261815788405118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485273465,"filename":"image_12042025_19_29_55_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4bde59a143f0f9da53d68d65fbb1c1fd.jpg","text":"TemporaryFile(/tmp/multipartBody3375117813302177841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485273465,"filename":"image_12042025_19_29_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8c9287798618bd3bb34ef8fa041e86a.jpg","text":"TemporaryFile(/tmp/multipartBody8984521032775553908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485273465,"filename":"image_12042025_19_29_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4fb22e789d125b96a44a3ecfd7f2f6a7.jpg","text":"TemporaryFile(/tmp/multipartBody4300864929159187412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485273465,"filename":"image_12042025_19_29_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300057","file1":"1352300054","file0":"1352300052","file4":"1352300062","file5":"1352300065","file3":"1352300059"},"map_files_photo_id_array":[{"photo_id":"1352300065","filename":"file5"},{"photo_id":"1352300057","filename":"file2"},{"photo_id":"1352300062","filename":"file4"},{"photo_id":"1352300054","filename":"file1"},{"photo_id":"1352300052","filename":"file0"},{"photo_id":"1352300059","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300057":["hashtag1","hashtag2"]},{"1352300054":["hashtag1","hashtag2"]},{"1352300065":["hashtag1","hashtag2"]},{"1352300062":["hashtag1","hashtag2"]},{"1352300059":["hashtag1","hashtag2"]},{"1352300052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300057, 1352300054, 1352300065, 1352300062, 1352300059, 1352300052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35287284851074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:14:32.171278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/29/image_12042025_19_30_06_10404.jpg', '/home/pi/Desktop/images/12042025/19/30/image_12042025_19_30_15_9359.jpg', '/home/pi/Desktop/images/12042025/19/30/image_12042025_19_30_25_10391.jpg', '/home/pi/Desktop/images/12042025/19/30/image_12042025_19_30_36_10432.jpg', '/home/pi/Desktop/images/12042025/19/30/image_12042025_19_30_56_10432.jpg', '/home/pi/Desktop/images/12042025/19/31/image_12042025_19_31_26_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/29/image_12042025_19_30_06_10404.jpg
/home/pi/Desktop/images/12042025/19/30/image_12042025_19_30_15_9359.jpg
/home/pi/Desktop/images/12042025/19/30/image_12042025_19_30_25_10391.jpg
/home/pi/Desktop/images/12042025/19/30/image_12042025_19_30_36_10432.jpg
/home/pi/Desktop/images/12042025/19/30/image_12042025_19_30_56_10432.jpg
/home/pi/Desktop/images/12042025/19/31/image_12042025_19_31_26_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300090","1352300084","1352300086","1352300080","1352300082","1352300088"],"photo_ids_order":["1352300080","1352300082","1352300084","1352300086","1352300088","1352300090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be5453d1ab933cd5d19f09b5462bbab8.jpg","text":"TemporaryFile(/tmp/multipartBody5831812432834395670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485332632,"filename":"image_12042025_19_31_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/760f851ee7462de10c16adb34c53b97d.jpg","text":"TemporaryFile(/tmp/multipartBody8670687997102525346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485332632,"filename":"image_12042025_19_30_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/722183999828b829e8aa1f8cb736ec70.jpg","text":"TemporaryFile(/tmp/multipartBody4520213512996094645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485332632,"filename":"image_12042025_19_30_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78528ebfd6b61ed67a280cb6843ab600.jpg","text":"TemporaryFile(/tmp/multipartBody9122772281131476770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485332632,"filename":"image_12042025_19_30_06_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3b8af6cbf38006378edde79b831c527.jpg","text":"TemporaryFile(/tmp/multipartBody7963942076913224025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485332632,"filename":"image_12042025_19_30_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec0f116fe52b34ee2317b6f72f088b56.jpg","text":"TemporaryFile(/tmp/multipartBody1812240676643123529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485332632,"filename":"image_12042025_19_30_56_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300084","file1":"1352300082","file0":"1352300080","file4":"1352300088","file5":"1352300090","file3":"1352300086"},"map_files_photo_id_array":[{"photo_id":"1352300090","filename":"file5"},{"photo_id":"1352300084","filename":"file2"},{"photo_id":"1352300088","filename":"file4"},{"photo_id":"1352300082","filename":"file1"},{"photo_id":"1352300080","filename":"file0"},{"photo_id":"1352300086","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300090":["hashtag1","hashtag2"]},{"1352300084":["hashtag1","hashtag2"]},{"1352300086":["hashtag1","hashtag2"]},{"1352300080":["hashtag1","hashtag2"]},{"1352300082":["hashtag1","hashtag2"]},{"1352300088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300090, 1352300084, 1352300086, 1352300080, 1352300082, 1352300088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.66062021255493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:15:32.465580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/31/image_12042025_19_31_35_9422.jpg', '/home/pi/Desktop/images/12042025/19/31/image_12042025_19_31_56_10417.jpg', '/home/pi/Desktop/images/12042025/19/31/image_12042025_19_32_05_9359.jpg', '/home/pi/Desktop/images/12042025/19/32/image_12042025_19_32_16_10444.jpg', '/home/pi/Desktop/images/12042025/19/32/image_12042025_19_32_25_9430.jpg', '/home/pi/Desktop/images/12042025/19/32/image_12042025_19_32_45_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/31/image_12042025_19_31_35_9422.jpg
/home/pi/Desktop/images/12042025/19/31/image_12042025_19_31_56_10417.jpg
/home/pi/Desktop/images/12042025/19/31/image_12042025_19_32_05_9359.jpg
/home/pi/Desktop/images/12042025/19/32/image_12042025_19_32_16_10444.jpg
/home/pi/Desktop/images/12042025/19/32/image_12042025_19_32_25_9430.jpg
/home/pi/Desktop/images/12042025/19/32/image_12042025_19_32_45_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300114","1352300108","1352300102","1352300110","1352300112","1352300106"],"photo_ids_order":["1352300102","1352300106","1352300108","1352300110","1352300112","1352300114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85f5f739995357d48a6ca15cdfeb6d2a.jpg","text":"TemporaryFile(/tmp/multipartBody3090270091030166166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485392946,"filename":"image_12042025_19_32_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f10f3f9e8c2fb8c924b3a6efcc4c9f2.jpg","text":"TemporaryFile(/tmp/multipartBody3984700000142210372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485392946,"filename":"image_12042025_19_32_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8abacd4c7b20779d1bf6ae0dfcc31a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8285928441996571831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485392946,"filename":"image_12042025_19_31_35_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/45f684ac15adc6fcd52d5c14a80ff57b.jpg","text":"TemporaryFile(/tmp/multipartBody7776882304803880843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485392946,"filename":"image_12042025_19_32_16_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b48db1717fee6241c97e1a4835fec58d.jpg","text":"TemporaryFile(/tmp/multipartBody5188289803286089595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485392946,"filename":"image_12042025_19_32_25_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a11a42525e5eed7f21faff5c3b26d924.jpg","text":"TemporaryFile(/tmp/multipartBody6075203765314934069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485392946,"filename":"image_12042025_19_31_56_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300108","file1":"1352300106","file0":"1352300102","file4":"1352300112","file5":"1352300114","file3":"1352300110"},"map_files_photo_id_array":[{"photo_id":"1352300114","filename":"file5"},{"photo_id":"1352300108","filename":"file2"},{"photo_id":"1352300112","filename":"file4"},{"photo_id":"1352300106","filename":"file1"},{"photo_id":"1352300102","filename":"file0"},{"photo_id":"1352300110","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300114":["hashtag1","hashtag2"]},{"1352300108":["hashtag1","hashtag2"]},{"1352300102":["hashtag1","hashtag2"]},{"1352300110":["hashtag1","hashtag2"]},{"1352300112":["hashtag1","hashtag2"]},{"1352300106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300114, 1352300108, 1352300102, 1352300110, 1352300112, 1352300106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19375801086426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:16:32.653104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/32/image_12042025_19_32_55_10370.jpg', '/home/pi/Desktop/images/12042025/19/33/image_12042025_19_33_25_10369.jpg', '/home/pi/Desktop/images/12042025/19/33/image_12042025_19_33_36_10361.jpg', '/home/pi/Desktop/images/12042025/19/33/image_12042025_19_34_05_9352.jpg', '/home/pi/Desktop/images/12042025/19/34/image_12042025_19_34_35_9366.jpg', '/home/pi/Desktop/images/12042025/19/34/image_12042025_19_34_46_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/32/image_12042025_19_32_55_10370.jpg
/home/pi/Desktop/images/12042025/19/33/image_12042025_19_33_25_10369.jpg
/home/pi/Desktop/images/12042025/19/33/image_12042025_19_33_36_10361.jpg
/home/pi/Desktop/images/12042025/19/33/image_12042025_19_34_05_9352.jpg
/home/pi/Desktop/images/12042025/19/34/image_12042025_19_34_35_9366.jpg
/home/pi/Desktop/images/12042025/19/34/image_12042025_19_34_46_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300231","1352300233","1352300230","1352300232","1352300208","1352300217"],"photo_ids_order":["1352300208","1352300217","1352300230","1352300231","1352300232","1352300233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f6dbd30af06618b85f22ce879d8649d.jpg","text":"TemporaryFile(/tmp/multipartBody6444169795440995533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485453124,"filename":"image_12042025_19_34_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2101fd2ec474bcfc7f71899ea239c359.jpg","text":"TemporaryFile(/tmp/multipartBody6095922485145077389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485453124,"filename":"image_12042025_19_34_46_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54cb40a96904f1de972d0d5ac67b8da2.jpg","text":"TemporaryFile(/tmp/multipartBody8504590843235517416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485453124,"filename":"image_12042025_19_33_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e1ef8712252f863da21ed86c10085fd.jpg","text":"TemporaryFile(/tmp/multipartBody8300186295318499955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485453124,"filename":"image_12042025_19_34_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/205dc60b1df38fc35bf577442a8dca53.jpg","text":"TemporaryFile(/tmp/multipartBody2124431335101908184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485453124,"filename":"image_12042025_19_32_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9753cf3e83872b34e6c1e99bad861e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1110995216192502915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485453124,"filename":"image_12042025_19_33_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300230","file1":"1352300217","file0":"1352300208","file4":"1352300232","file5":"1352300233","file3":"1352300231"},"map_files_photo_id_array":[{"photo_id":"1352300233","filename":"file5"},{"photo_id":"1352300230","filename":"file2"},{"photo_id":"1352300232","filename":"file4"},{"photo_id":"1352300217","filename":"file1"},{"photo_id":"1352300208","filename":"file0"},{"photo_id":"1352300231","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300231":["hashtag1","hashtag2"]},{"1352300233":["hashtag1","hashtag2"]},{"1352300230":["hashtag1","hashtag2"]},{"1352300232":["hashtag1","hashtag2"]},{"1352300208":["hashtag1","hashtag2"]},{"1352300217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300231, 1352300233, 1352300230, 1352300232, 1352300208, 1352300217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.395814418792725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:17:33.001709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/34/image_12042025_19_35_05_10366.jpg', '/home/pi/Desktop/images/12042025/19/35/image_12042025_19_35_25_9394.jpg', '/home/pi/Desktop/images/12042025/19/35/image_12042025_19_35_36_10526.jpg', '/home/pi/Desktop/images/12042025/19/35/image_12042025_19_35_45_9359.jpg', '/home/pi/Desktop/images/12042025/19/35/image_12042025_19_35_56_10512.jpg', '/home/pi/Desktop/images/12042025/19/36/image_12042025_19_36_15_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/34/image_12042025_19_35_05_10366.jpg
/home/pi/Desktop/images/12042025/19/35/image_12042025_19_35_25_9394.jpg
/home/pi/Desktop/images/12042025/19/35/image_12042025_19_35_36_10526.jpg
/home/pi/Desktop/images/12042025/19/35/image_12042025_19_35_45_9359.jpg
/home/pi/Desktop/images/12042025/19/35/image_12042025_19_35_56_10512.jpg
/home/pi/Desktop/images/12042025/19/36/image_12042025_19_36_15_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300249","1352300264","1352300266","1352300254","1352300268","1352300244"],"photo_ids_order":["1352300244","1352300249","1352300254","1352300264","1352300266","1352300268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80b2458d9c7d54eb11d1e7b32bb9630c.jpg","text":"TemporaryFile(/tmp/multipartBody8416705572912303150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485513488,"filename":"image_12042025_19_35_25_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b098342ffa751fbab1387ce27210a30b.jpg","text":"TemporaryFile(/tmp/multipartBody448259142840806635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485513488,"filename":"image_12042025_19_35_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c71189de8cbdb1a795871de8b3057008.jpg","text":"TemporaryFile(/tmp/multipartBody363985600622030996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485513488,"filename":"image_12042025_19_35_56_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be077249c95817f44b73b57ce2d939f2.jpg","text":"TemporaryFile(/tmp/multipartBody302077787636610038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485513488,"filename":"image_12042025_19_35_36_10526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f074797ba1874e85c86402351410b313.jpg","text":"TemporaryFile(/tmp/multipartBody1059323091990088352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485513488,"filename":"image_12042025_19_36_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0efba0f42175cbb8a157eaa391f9ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2905754482070372387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485513488,"filename":"image_12042025_19_35_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300254","file1":"1352300249","file0":"1352300244","file4":"1352300266","file5":"1352300268","file3":"1352300264"},"map_files_photo_id_array":[{"photo_id":"1352300268","filename":"file5"},{"photo_id":"1352300254","filename":"file2"},{"photo_id":"1352300266","filename":"file4"},{"photo_id":"1352300249","filename":"file1"},{"photo_id":"1352300244","filename":"file0"},{"photo_id":"1352300264","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300249":["hashtag1","hashtag2"]},{"1352300264":["hashtag1","hashtag2"]},{"1352300266":["hashtag1","hashtag2"]},{"1352300254":["hashtag1","hashtag2"]},{"1352300268":["hashtag1","hashtag2"]},{"1352300244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300249, 1352300264, 1352300266, 1352300254, 1352300268, 1352300244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24541759490967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:18:32.176924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/36/image_12042025_19_36_35_9363.jpg', '/home/pi/Desktop/images/12042025/19/36/image_12042025_19_36_55_9376.jpg', '/home/pi/Desktop/images/12042025/19/36/image_12042025_19_37_05_10425.jpg', '/home/pi/Desktop/images/12042025/19/37/image_12042025_19_37_16_10423.jpg', '/home/pi/Desktop/images/12042025/19/37/image_12042025_19_37_45_9408.jpg', '/home/pi/Desktop/images/12042025/19/37/image_12042025_19_37_56_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/36/image_12042025_19_36_35_9363.jpg
/home/pi/Desktop/images/12042025/19/36/image_12042025_19_36_55_9376.jpg
/home/pi/Desktop/images/12042025/19/36/image_12042025_19_37_05_10425.jpg
/home/pi/Desktop/images/12042025/19/37/image_12042025_19_37_16_10423.jpg
/home/pi/Desktop/images/12042025/19/37/image_12042025_19_37_45_9408.jpg
/home/pi/Desktop/images/12042025/19/37/image_12042025_19_37_56_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300453","1352300428","1352300499","1352300404","1352300477","1352300384"],"photo_ids_order":["1352300384","1352300404","1352300428","1352300453","1352300477","1352300499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c59dfd62ffe6863321e3a75c803fbed.jpg","text":"TemporaryFile(/tmp/multipartBody7333001593299333300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485572641,"filename":"image_12042025_19_37_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05a98ca0588f0e1dac542ee2318b3e90.jpg","text":"TemporaryFile(/tmp/multipartBody7200964663120442418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485572641,"filename":"image_12042025_19_37_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6cfc1347c6bc79f86565369180994f5d.jpg","text":"TemporaryFile(/tmp/multipartBody2429307266798025178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485572641,"filename":"image_12042025_19_37_56_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66e11891c2ce6cc82d6b97e54df87f1c.jpg","text":"TemporaryFile(/tmp/multipartBody4455498359295508605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485572641,"filename":"image_12042025_19_36_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/159e5b209703ac1e27daff2afe587008.jpg","text":"TemporaryFile(/tmp/multipartBody971288045383198017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485572641,"filename":"image_12042025_19_37_45_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9da912473cd72f7f614ee2234513f78.jpg","text":"TemporaryFile(/tmp/multipartBody4368182477300950003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485572641,"filename":"image_12042025_19_36_35_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300428","file1":"1352300404","file0":"1352300384","file4":"1352300477","file5":"1352300499","file3":"1352300453"},"map_files_photo_id_array":[{"photo_id":"1352300499","filename":"file5"},{"photo_id":"1352300428","filename":"file2"},{"photo_id":"1352300477","filename":"file4"},{"photo_id":"1352300404","filename":"file1"},{"photo_id":"1352300384","filename":"file0"},{"photo_id":"1352300453","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300453":["hashtag1","hashtag2"]},{"1352300428":["hashtag1","hashtag2"]},{"1352300499":["hashtag1","hashtag2"]},{"1352300404":["hashtag1","hashtag2"]},{"1352300477":["hashtag1","hashtag2"]},{"1352300384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300453, 1352300428, 1352300499, 1352300404, 1352300477, 1352300384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.66018271446228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:19:32.557460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/37/image_12042025_19_38_06_10340.jpg', '/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_15_9347.jpg', '/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_26_10544.jpg', '/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_35_9346.jpg', '/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_46_10501.jpg', '/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_55_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/37/image_12042025_19_38_06_10340.jpg
/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_15_9347.jpg
/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_26_10544.jpg
/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_35_9346.jpg
/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_46_10501.jpg
/home/pi/Desktop/images/12042025/19/38/image_12042025_19_38_55_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300599","1352300584","1352300611","1352300586","1352300589","1352300597"],"photo_ids_order":["1352300584","1352300586","1352300589","1352300597","1352300599","1352300611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/717eb43d2c3113e20d8781e681c45e66.jpg","text":"TemporaryFile(/tmp/multipartBody4393896180148527926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485633031,"filename":"image_12042025_19_38_46_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/47dcae35c528aaf019a47cb94d5122a9.jpg","text":"TemporaryFile(/tmp/multipartBody2283173465913487983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485633031,"filename":"image_12042025_19_38_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b7f935f5fd2e22e367be3d7f109b97b.jpg","text":"TemporaryFile(/tmp/multipartBody7509956254406808112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485633031,"filename":"image_12042025_19_38_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d278c48b7e54ee11ac0677d59e6f16f8.jpg","text":"TemporaryFile(/tmp/multipartBody965304861246649332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485633031,"filename":"image_12042025_19_38_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/461c1455a4b47d7f29b30facd61246b0.jpg","text":"TemporaryFile(/tmp/multipartBody7455525767322328763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485633031,"filename":"image_12042025_19_38_26_10544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f9b0af960c1964cfbec05fa7aa1b5af.jpg","text":"TemporaryFile(/tmp/multipartBody1423639714895799854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485633031,"filename":"image_12042025_19_38_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300589","file1":"1352300586","file0":"1352300584","file4":"1352300599","file5":"1352300611","file3":"1352300597"},"map_files_photo_id_array":[{"photo_id":"1352300611","filename":"file5"},{"photo_id":"1352300589","filename":"file2"},{"photo_id":"1352300599","filename":"file4"},{"photo_id":"1352300586","filename":"file1"},{"photo_id":"1352300584","filename":"file0"},{"photo_id":"1352300597","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300599":["hashtag1","hashtag2"]},{"1352300584":["hashtag1","hashtag2"]},{"1352300611":["hashtag1","hashtag2"]},{"1352300586":["hashtag1","hashtag2"]},{"1352300589":["hashtag1","hashtag2"]},{"1352300597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300599, 1352300584, 1352300611, 1352300586, 1352300589, 1352300597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00056314468384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:20:32.780238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/38/image_12042025_19_39_05_10347.jpg', '/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_16_10363.jpg', '/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_25_9396.jpg', '/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_35_10366.jpg', '/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_46_10373.jpg', '/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_55_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/38/image_12042025_19_39_05_10347.jpg
/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_16_10363.jpg
/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_25_9396.jpg
/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_35_10366.jpg
/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_46_10373.jpg
/home/pi/Desktop/images/12042025/19/39/image_12042025_19_39_55_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300645","1352300714","1352300695","1352300704","1352300712","1352300669"],"photo_ids_order":["1352300645","1352300669","1352300695","1352300704","1352300712","1352300714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5bfa92abeabc874ef12208967afe987.jpg","text":"TemporaryFile(/tmp/multipartBody4932311024836279334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485693268,"filename":"image_12042025_19_39_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd1d87c807071381d2847aa083267091.jpg","text":"TemporaryFile(/tmp/multipartBody1525270872849881053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485693268,"filename":"image_12042025_19_39_55_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a55e77cd0b8aae085e23afaa6652111c.jpg","text":"TemporaryFile(/tmp/multipartBody2757434722452781819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485693268,"filename":"image_12042025_19_39_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abef2b7907b16d9a4b5ab6f7d8b11fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1322882021363343081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485693268,"filename":"image_12042025_19_39_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52e216ad27156dca4fd01c50d5319147.jpg","text":"TemporaryFile(/tmp/multipartBody3865109811960734137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485693268,"filename":"image_12042025_19_39_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c379afb1fb1bb6283ed2d19cd8e6ec62.jpg","text":"TemporaryFile(/tmp/multipartBody4451431548205884070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485693268,"filename":"image_12042025_19_39_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300695","file1":"1352300669","file0":"1352300645","file4":"1352300712","file5":"1352300714","file3":"1352300704"},"map_files_photo_id_array":[{"photo_id":"1352300714","filename":"file5"},{"photo_id":"1352300695","filename":"file2"},{"photo_id":"1352300712","filename":"file4"},{"photo_id":"1352300669","filename":"file1"},{"photo_id":"1352300645","filename":"file0"},{"photo_id":"1352300704","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300645":["hashtag1","hashtag2"]},{"1352300714":["hashtag1","hashtag2"]},{"1352300695":["hashtag1","hashtag2"]},{"1352300704":["hashtag1","hashtag2"]},{"1352300712":["hashtag1","hashtag2"]},{"1352300669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300645, 1352300714, 1352300695, 1352300704, 1352300712, 1352300669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37762212753296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:21:32.946266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/39/image_12042025_19_40_06_10414.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_15_9356.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_25_10388.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_36_10419.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_45_9362.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_56_10513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/39/image_12042025_19_40_06_10414.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_15_9356.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_25_10388.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_36_10419.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_45_9362.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_56_10513.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40178918838500977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 21:21:42.925180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/39/image_12042025_19_40_06_10414.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_15_9356.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_25_10388.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_36_10419.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_45_9362.jpg', '/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_56_10513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/39/image_12042025_19_40_06_10414.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_15_9356.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_25_10388.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_36_10419.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_45_9362.jpg
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_40_56_10513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300779","1352300761","1352300824","1352300780","1352300768","1352300798"],"photo_ids_order":["1352300761","1352300768","1352300779","1352300780","1352300798","1352300824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/edc1ae04109ea39a04101f6a065c3131.jpg","text":"TemporaryFile(/tmp/multipartBody6846082348794867079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485763383,"filename":"image_12042025_19_40_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c2f2787636a0b266f237779f080aae6.jpg","text":"TemporaryFile(/tmp/multipartBody7086422370436668471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485763383,"filename":"image_12042025_19_40_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a2ca8bc75db509cab35cecf79b70ae1b.jpg","text":"TemporaryFile(/tmp/multipartBody148730146223446929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485763383,"filename":"image_12042025_19_40_56_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a397fe2112d949206555c23b5359e795.jpg","text":"TemporaryFile(/tmp/multipartBody6631733224149730818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485763383,"filename":"image_12042025_19_40_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63f62d83063f8580409cbd315dd8668a.jpg","text":"TemporaryFile(/tmp/multipartBody8551726574023484753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485763383,"filename":"image_12042025_19_40_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a4d11d381e0293980b1482ee97ccebc.jpg","text":"TemporaryFile(/tmp/multipartBody8737627008850214200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485763383,"filename":"image_12042025_19_40_45_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300779","file1":"1352300768","file0":"1352300761","file4":"1352300798","file5":"1352300824","file3":"1352300780"},"map_files_photo_id_array":[{"photo_id":"1352300824","filename":"file5"},{"photo_id":"1352300779","filename":"file2"},{"photo_id":"1352300798","filename":"file4"},{"photo_id":"1352300768","filename":"file1"},{"photo_id":"1352300761","filename":"file0"},{"photo_id":"1352300780","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300779":["hashtag1","hashtag2"]},{"1352300761":["hashtag1","hashtag2"]},{"1352300824":["hashtag1","hashtag2"]},{"1352300780":["hashtag1","hashtag2"]},{"1352300768":["hashtag1","hashtag2"]},{"1352300798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300779, 1352300761, 1352300824, 1352300780, 1352300768, 1352300798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59601068496704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:22:32.252061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/40/image_12042025_19_41_05_9331.jpg', '/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_15_10406.jpg', '/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_26_10438.jpg', '/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_35_9441.jpg', '/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_46_10364.jpg', '/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_55_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/40/image_12042025_19_41_05_9331.jpg
/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_15_10406.jpg
/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_26_10438.jpg
/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_35_9441.jpg
/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_46_10364.jpg
/home/pi/Desktop/images/12042025/19/41/image_12042025_19_41_55_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300936","1352300837","1352300920","1352300926","1352300940","1352300901"],"photo_ids_order":["1352300837","1352300901","1352300920","1352300926","1352300936","1352300940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/783ad3e371bbf7aea39abc4ded591d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2544472476613524069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485812712,"filename":"image_12042025_19_41_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00db28b33c887abb16e6f9d783aa224b.jpg","text":"TemporaryFile(/tmp/multipartBody7098013710908961687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485812712,"filename":"image_12042025_19_41_05_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5dd8aca74206ae2fd837ec8cda7cd8c.jpg","text":"TemporaryFile(/tmp/multipartBody863248423709144444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485812712,"filename":"image_12042025_19_41_26_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17115864219c2b1bca4d5b6f4770302d.jpg","text":"TemporaryFile(/tmp/multipartBody2754469058571664456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485812712,"filename":"image_12042025_19_41_35_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1cebc3ff5b73639a69c25f74d517d775.jpg","text":"TemporaryFile(/tmp/multipartBody7084396862302979641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485812712,"filename":"image_12042025_19_41_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38e893bce67dc3667eb02ef4c835dc7b.jpg","text":"TemporaryFile(/tmp/multipartBody2120677484123838094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485812712,"filename":"image_12042025_19_41_15_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300920","file1":"1352300901","file0":"1352300837","file4":"1352300936","file5":"1352300940","file3":"1352300926"},"map_files_photo_id_array":[{"photo_id":"1352300940","filename":"file5"},{"photo_id":"1352300920","filename":"file2"},{"photo_id":"1352300936","filename":"file4"},{"photo_id":"1352300901","filename":"file1"},{"photo_id":"1352300837","filename":"file0"},{"photo_id":"1352300926","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300936":["hashtag1","hashtag2"]},{"1352300837":["hashtag1","hashtag2"]},{"1352300920":["hashtag1","hashtag2"]},{"1352300926":["hashtag1","hashtag2"]},{"1352300940":["hashtag1","hashtag2"]},{"1352300901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300936, 1352300837, 1352300920, 1352300926, 1352300940, 1352300901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.996514558792114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:23:32.531208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/41/image_12042025_19_42_05_10373.jpg', '/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_16_10371.jpg', '/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_25_9365.jpg', '/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_36_10423.jpg', '/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_45_9376.jpg', '/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_55_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/41/image_12042025_19_42_05_10373.jpg
/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_16_10371.jpg
/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_25_9365.jpg
/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_36_10423.jpg
/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_45_9376.jpg
/home/pi/Desktop/images/12042025/19/42/image_12042025_19_42_55_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300957","1352300959","1352300953","1352300961","1352300955","1352300952"],"photo_ids_order":["1352300952","1352300953","1352300955","1352300957","1352300959","1352300961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a33b4655b6d65a8a9b4f561743b2ce75.jpg","text":"TemporaryFile(/tmp/multipartBody3363537369650653805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485872996,"filename":"image_12042025_19_42_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbd685151beb4079a5b9832d76472aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6375185840060259121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485872996,"filename":"image_12042025_19_42_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34544dd3d50780d62e97a81a874ee70c.jpg","text":"TemporaryFile(/tmp/multipartBody9027316581538526945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485872996,"filename":"image_12042025_19_42_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8cb68880cb1219271bfdc97d6e31e863.jpg","text":"TemporaryFile(/tmp/multipartBody4839951865498949800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485872996,"filename":"image_12042025_19_42_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3d655d3732eaefe0a124ea5deb54494.jpg","text":"TemporaryFile(/tmp/multipartBody125274193323565510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485872996,"filename":"image_12042025_19_42_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfa4a3bae0e29eeffeceb2f9018d57e2.jpg","text":"TemporaryFile(/tmp/multipartBody4529059899960396399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485872996,"filename":"image_12042025_19_42_05_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300955","file1":"1352300953","file0":"1352300952","file4":"1352300959","file5":"1352300961","file3":"1352300957"},"map_files_photo_id_array":[{"photo_id":"1352300961","filename":"file5"},{"photo_id":"1352300955","filename":"file2"},{"photo_id":"1352300959","filename":"file4"},{"photo_id":"1352300953","filename":"file1"},{"photo_id":"1352300952","filename":"file0"},{"photo_id":"1352300957","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300957":["hashtag1","hashtag2"]},{"1352300959":["hashtag1","hashtag2"]},{"1352300953":["hashtag1","hashtag2"]},{"1352300961":["hashtag1","hashtag2"]},{"1352300955":["hashtag1","hashtag2"]},{"1352300952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300957, 1352300959, 1352300953, 1352300961, 1352300955, 1352300952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.793493270874023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:24:32.788873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/42/image_12042025_19_43_06_10462.jpg', '/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_15_9364.jpg', '/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_26_10412.jpg', '/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_35_9448.jpg', '/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_45_10394.jpg', '/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_56_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/42/image_12042025_19_43_06_10462.jpg
/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_15_9364.jpg
/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_26_10412.jpg
/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_35_9448.jpg
/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_45_10394.jpg
/home/pi/Desktop/images/12042025/19/43/image_12042025_19_43_56_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352300977","1352300986","1352300974","1352300979","1352300981","1352300975"],"photo_ids_order":["1352300974","1352300975","1352300977","1352300979","1352300981","1352300986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7353f37edc8d4a6b0c8be95a7c6eddb.jpg","text":"TemporaryFile(/tmp/multipartBody5685430210229322794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485933257,"filename":"image_12042025_19_43_26_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f3c441967cf517bd49ad00d4e731478.jpg","text":"TemporaryFile(/tmp/multipartBody3371135906177205952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485933257,"filename":"image_12042025_19_43_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/776b2be0b1b00a39a7aaa262560dd49e.jpg","text":"TemporaryFile(/tmp/multipartBody6552760546704942569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485933257,"filename":"image_12042025_19_43_06_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d0590f3ac434b4d66f95988b048df3a.jpg","text":"TemporaryFile(/tmp/multipartBody411008499581354964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485933257,"filename":"image_12042025_19_43_35_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d0538347dc82172526153d560668021.jpg","text":"TemporaryFile(/tmp/multipartBody5291303606517183304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485933257,"filename":"image_12042025_19_43_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b5ee33801a1853f839ad348d8dd23c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8236873232503133068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485933257,"filename":"image_12042025_19_43_15_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352300977","file1":"1352300975","file0":"1352300974","file4":"1352300981","file5":"1352300986","file3":"1352300979"},"map_files_photo_id_array":[{"photo_id":"1352300986","filename":"file5"},{"photo_id":"1352300977","filename":"file2"},{"photo_id":"1352300981","filename":"file4"},{"photo_id":"1352300975","filename":"file1"},{"photo_id":"1352300974","filename":"file0"},{"photo_id":"1352300979","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352300977":["hashtag1","hashtag2"]},{"1352300986":["hashtag1","hashtag2"]},{"1352300974":["hashtag1","hashtag2"]},{"1352300979":["hashtag1","hashtag2"]},{"1352300981":["hashtag1","hashtag2"]},{"1352300975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352300977, 1352300986, 1352300974, 1352300979, 1352300981, 1352300975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21360158920288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:25:32.488478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/43/image_12042025_19_44_05_9364.jpg', '/home/pi/Desktop/images/12042025/19/44/image_12042025_19_44_16_10417.jpg', '/home/pi/Desktop/images/12042025/19/44/image_12042025_19_44_25_9372.jpg', '/home/pi/Desktop/images/12042025/19/44/image_12042025_19_44_35_10375.jpg', '/home/pi/Desktop/images/12042025/19/44/image_12042025_19_44_55_9372.jpg', '/home/pi/Desktop/images/12042025/19/44/image_12042025_19_45_06_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/43/image_12042025_19_44_05_9364.jpg
/home/pi/Desktop/images/12042025/19/44/image_12042025_19_44_16_10417.jpg
/home/pi/Desktop/images/12042025/19/44/image_12042025_19_44_25_9372.jpg
/home/pi/Desktop/images/12042025/19/44/image_12042025_19_44_35_10375.jpg
/home/pi/Desktop/images/12042025/19/44/image_12042025_19_44_55_9372.jpg
/home/pi/Desktop/images/12042025/19/44/image_12042025_19_45_06_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301096","1352301057","1352301051","1352301048","1352301098","1352301056"],"photo_ids_order":["1352301048","1352301051","1352301056","1352301057","1352301096","1352301098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a83681df43cea9ec023859744815a5be.jpg","text":"TemporaryFile(/tmp/multipartBody6262850351550321877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485993044,"filename":"image_12042025_19_44_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a6d6d34e5e063e7d2b4dd1479e7accd.jpg","text":"TemporaryFile(/tmp/multipartBody6822263391679224183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485993044,"filename":"image_12042025_19_44_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4bb5be2e78511f1548678332103c1320.jpg","text":"TemporaryFile(/tmp/multipartBody6440913390747053503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485993044,"filename":"image_12042025_19_44_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df0a156ab9b7f33eadaa684452c5ab01.jpg","text":"TemporaryFile(/tmp/multipartBody3100920343215429580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485993044,"filename":"image_12042025_19_44_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f5fdf88e476eb6213fea2b71e44d65eb.jpg","text":"TemporaryFile(/tmp/multipartBody8995234768602335484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485993044,"filename":"image_12042025_19_45_06_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3e4f950e8cffc7e77abee21b6398156b.jpg","text":"TemporaryFile(/tmp/multipartBody4868302859219900020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744485993044,"filename":"image_12042025_19_44_25_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301056","file1":"1352301051","file0":"1352301048","file4":"1352301096","file5":"1352301098","file3":"1352301057"},"map_files_photo_id_array":[{"photo_id":"1352301098","filename":"file5"},{"photo_id":"1352301056","filename":"file2"},{"photo_id":"1352301096","filename":"file4"},{"photo_id":"1352301051","filename":"file1"},{"photo_id":"1352301048","filename":"file0"},{"photo_id":"1352301057","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301096":["hashtag1","hashtag2"]},{"1352301057":["hashtag1","hashtag2"]},{"1352301051":["hashtag1","hashtag2"]},{"1352301048":["hashtag1","hashtag2"]},{"1352301098":["hashtag1","hashtag2"]},{"1352301056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301096, 1352301057, 1352301051, 1352301048, 1352301098, 1352301056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.73807740211487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:26:32.853851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/45/image_12042025_19_45_15_9368.jpg', '/home/pi/Desktop/images/12042025/19/45/image_12042025_19_45_36_10447.jpg', '/home/pi/Desktop/images/12042025/19/45/image_12042025_19_45_45_9357.jpg', '/home/pi/Desktop/images/12042025/19/45/image_12042025_19_45_56_10482.jpg', '/home/pi/Desktop/images/12042025/19/46/image_12042025_19_46_26_10441.jpg', '/home/pi/Desktop/images/12042025/19/46/image_12042025_19_46_35_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/45/image_12042025_19_45_15_9368.jpg
/home/pi/Desktop/images/12042025/19/45/image_12042025_19_45_36_10447.jpg
/home/pi/Desktop/images/12042025/19/45/image_12042025_19_45_45_9357.jpg
/home/pi/Desktop/images/12042025/19/45/image_12042025_19_45_56_10482.jpg
/home/pi/Desktop/images/12042025/19/46/image_12042025_19_46_26_10441.jpg
/home/pi/Desktop/images/12042025/19/46/image_12042025_19_46_35_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301145","1352301139","1352301142","1352301147","1352301143","1352301137"],"photo_ids_order":["1352301137","1352301139","1352301142","1352301143","1352301145","1352301147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f49e020df2701cb164b1f3baadca7763.jpg","text":"TemporaryFile(/tmp/multipartBody8092232286019602857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486053344,"filename":"image_12042025_19_46_26_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c37b28efad0e72d4602c9efec5e2fab9.jpg","text":"TemporaryFile(/tmp/multipartBody4285888887892832086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486053344,"filename":"image_12042025_19_45_36_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/624c2c8d71f07e5782647aa5464e5dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1077820082514868945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486053344,"filename":"image_12042025_19_45_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60f695326ec150e221a76ff7cdd09661.jpg","text":"TemporaryFile(/tmp/multipartBody689455347590600735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486053344,"filename":"image_12042025_19_46_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb9227017b3c76d05d9af221c8dd70e1.jpg","text":"TemporaryFile(/tmp/multipartBody4730600312390516348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486053344,"filename":"image_12042025_19_45_56_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee30bde13a8de1ba5c8ef637fed8dd45.jpg","text":"TemporaryFile(/tmp/multipartBody3777094343096717313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486053344,"filename":"image_12042025_19_45_15_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301142","file1":"1352301139","file0":"1352301137","file4":"1352301145","file5":"1352301147","file3":"1352301143"},"map_files_photo_id_array":[{"photo_id":"1352301147","filename":"file5"},{"photo_id":"1352301142","filename":"file2"},{"photo_id":"1352301145","filename":"file4"},{"photo_id":"1352301139","filename":"file1"},{"photo_id":"1352301137","filename":"file0"},{"photo_id":"1352301143","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301145":["hashtag1","hashtag2"]},{"1352301139":["hashtag1","hashtag2"]},{"1352301142":["hashtag1","hashtag2"]},{"1352301147":["hashtag1","hashtag2"]},{"1352301143":["hashtag1","hashtag2"]},{"1352301137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301145, 1352301139, 1352301142, 1352301147, 1352301143, 1352301137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48142075538635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:27:32.982351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/46/image_12042025_19_46_46_10433.jpg', '/home/pi/Desktop/images/12042025/19/46/image_12042025_19_46_55_9413.jpg', '/home/pi/Desktop/images/12042025/19/46/image_12042025_19_47_05_10405.jpg', '/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_16_10373.jpg', '/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_25_9349.jpg', '/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_36_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/46/image_12042025_19_46_46_10433.jpg
/home/pi/Desktop/images/12042025/19/46/image_12042025_19_46_55_9413.jpg
/home/pi/Desktop/images/12042025/19/46/image_12042025_19_47_05_10405.jpg
/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_16_10373.jpg
/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_25_9349.jpg
/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_36_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301337","1352301351","1352301360","1352301342","1352301327","1352301362"],"photo_ids_order":["1352301327","1352301337","1352301342","1352301351","1352301360","1352301362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c20fddce0851aa6deeebc909b415d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5676530259519662224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486113449,"filename":"image_12042025_19_46_55_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/26a6c2220355b1b7522640c9f5fc5b40.jpg","text":"TemporaryFile(/tmp/multipartBody7852766592410811587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486113449,"filename":"image_12042025_19_47_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4261bbe6d5d5cb11f5624e7a9270eb55.jpg","text":"TemporaryFile(/tmp/multipartBody3112243669347949063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486113449,"filename":"image_12042025_19_47_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/993089c345159d9d788aebf5c9ee775e.jpg","text":"TemporaryFile(/tmp/multipartBody6259733467404940024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486113449,"filename":"image_12042025_19_47_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fcb1e4d84142522521f9d73da1e5739b.jpg","text":"TemporaryFile(/tmp/multipartBody1949700994500500650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486113449,"filename":"image_12042025_19_46_46_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba0a254beaf2e67bf881861f53203a37.jpg","text":"TemporaryFile(/tmp/multipartBody7363447481383165763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486113449,"filename":"image_12042025_19_47_36_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301342","file1":"1352301337","file0":"1352301327","file4":"1352301360","file5":"1352301362","file3":"1352301351"},"map_files_photo_id_array":[{"photo_id":"1352301362","filename":"file5"},{"photo_id":"1352301342","filename":"file2"},{"photo_id":"1352301360","filename":"file4"},{"photo_id":"1352301337","filename":"file1"},{"photo_id":"1352301327","filename":"file0"},{"photo_id":"1352301351","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301337":["hashtag1","hashtag2"]},{"1352301351":["hashtag1","hashtag2"]},{"1352301360":["hashtag1","hashtag2"]},{"1352301342":["hashtag1","hashtag2"]},{"1352301327":["hashtag1","hashtag2"]},{"1352301362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301337, 1352301351, 1352301360, 1352301342, 1352301327, 1352301362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.714136838912964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:28:32.304782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_45_9381.jpg', '/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_55_10376.jpg', '/home/pi/Desktop/images/12042025/19/47/image_12042025_19_48_06_10423.jpg', '/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_15_9358.jpg', '/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_26_10437.jpg', '/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_35_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_45_9381.jpg
/home/pi/Desktop/images/12042025/19/47/image_12042025_19_47_55_10376.jpg
/home/pi/Desktop/images/12042025/19/47/image_12042025_19_48_06_10423.jpg
/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_15_9358.jpg
/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_26_10437.jpg
/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_35_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301401","1352301391","1352301403","1352301387","1352301389","1352301386"],"photo_ids_order":["1352301386","1352301387","1352301389","1352301391","1352301401","1352301403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd130c4f1869f4c74d870e693e65f717.jpg","text":"TemporaryFile(/tmp/multipartBody2034802699759171534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486172770,"filename":"image_12042025_19_48_26_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b68a845f92577113a49da019a5b3c5c4.jpg","text":"TemporaryFile(/tmp/multipartBody7255635036327707423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486172770,"filename":"image_12042025_19_48_15_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9683bca86813acd63d92e70fd91f6307.jpg","text":"TemporaryFile(/tmp/multipartBody1177625957111116919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486172770,"filename":"image_12042025_19_48_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/702a3c99cac7885dd3bdb192388bd10a.jpg","text":"TemporaryFile(/tmp/multipartBody30505876513081551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486172770,"filename":"image_12042025_19_47_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/402b7ba634e550e85c05202341133312.jpg","text":"TemporaryFile(/tmp/multipartBody5798619483118460292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486172770,"filename":"image_12042025_19_48_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/33a9caf4f0deabb93ce76a029b24eddb.jpg","text":"TemporaryFile(/tmp/multipartBody8595731558266990358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486172770,"filename":"image_12042025_19_47_45_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301389","file1":"1352301387","file0":"1352301386","file4":"1352301401","file5":"1352301403","file3":"1352301391"},"map_files_photo_id_array":[{"photo_id":"1352301403","filename":"file5"},{"photo_id":"1352301389","filename":"file2"},{"photo_id":"1352301401","filename":"file4"},{"photo_id":"1352301387","filename":"file1"},{"photo_id":"1352301386","filename":"file0"},{"photo_id":"1352301391","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301401":["hashtag1","hashtag2"]},{"1352301391":["hashtag1","hashtag2"]},{"1352301403":["hashtag1","hashtag2"]},{"1352301387":["hashtag1","hashtag2"]},{"1352301389":["hashtag1","hashtag2"]},{"1352301386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301401, 1352301391, 1352301403, 1352301387, 1352301389, 1352301386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.228116512298584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:29:32.571767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_45_10394.jpg', '/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_55_9443.jpg', '/home/pi/Desktop/images/12042025/19/48/image_12042025_19_49_05_10401.jpg', '/home/pi/Desktop/images/12042025/19/49/image_12042025_19_49_16_10387.jpg', '/home/pi/Desktop/images/12042025/19/49/image_12042025_19_49_25_9393.jpg', '/home/pi/Desktop/images/12042025/19/49/image_12042025_19_49_35_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_45_10394.jpg
/home/pi/Desktop/images/12042025/19/48/image_12042025_19_48_55_9443.jpg
/home/pi/Desktop/images/12042025/19/48/image_12042025_19_49_05_10401.jpg
/home/pi/Desktop/images/12042025/19/49/image_12042025_19_49_16_10387.jpg
/home/pi/Desktop/images/12042025/19/49/image_12042025_19_49_25_9393.jpg
/home/pi/Desktop/images/12042025/19/49/image_12042025_19_49_35_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301422","1352301451","1352301424","1352301418","1352301419","1352301428"],"photo_ids_order":["1352301418","1352301419","1352301422","1352301424","1352301428","1352301451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2736f00e8f200730868d67907fc58d93.jpg","text":"TemporaryFile(/tmp/multipartBody4298241758578106213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486233056,"filename":"image_12042025_19_49_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c4dce443365d6cc623ca383abde58456.jpg","text":"TemporaryFile(/tmp/multipartBody8847671364043673765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486233056,"filename":"image_12042025_19_49_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d772b3927e9f3e0d43c92aefa4a5e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1741025066134161476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486233056,"filename":"image_12042025_19_49_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71e2abf37b42d9eaf1bb6b45dc646d84.jpg","text":"TemporaryFile(/tmp/multipartBody2864000512801655925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486233056,"filename":"image_12042025_19_48_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffe933b7c0d34c0792c6682f264832f3.jpg","text":"TemporaryFile(/tmp/multipartBody1637258201403668934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486233056,"filename":"image_12042025_19_48_55_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/064965c628f581f9d19e540677d24208.jpg","text":"TemporaryFile(/tmp/multipartBody4446632329333443763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486233056,"filename":"image_12042025_19_49_25_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301422","file1":"1352301419","file0":"1352301418","file4":"1352301428","file5":"1352301451","file3":"1352301424"},"map_files_photo_id_array":[{"photo_id":"1352301451","filename":"file5"},{"photo_id":"1352301422","filename":"file2"},{"photo_id":"1352301428","filename":"file4"},{"photo_id":"1352301419","filename":"file1"},{"photo_id":"1352301418","filename":"file0"},{"photo_id":"1352301424","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301422":["hashtag1","hashtag2"]},{"1352301451":["hashtag1","hashtag2"]},{"1352301424":["hashtag1","hashtag2"]},{"1352301418":["hashtag1","hashtag2"]},{"1352301419":["hashtag1","hashtag2"]},{"1352301428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301422, 1352301451, 1352301424, 1352301418, 1352301419, 1352301428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13031601905823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:30:32.732708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/49/image_12042025_19_50_06_10432.jpg', '/home/pi/Desktop/images/12042025/19/50/image_12042025_19_50_25_10465.jpg', '/home/pi/Desktop/images/12042025/19/50/image_12042025_19_50_35_9449.jpg', '/home/pi/Desktop/images/12042025/19/50/image_12042025_19_50_45_10366.jpg', '/home/pi/Desktop/images/12042025/19/50/image_12042025_19_50_56_10402.jpg', '/home/pi/Desktop/images/12042025/19/50/image_12042025_19_51_05_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/49/image_12042025_19_50_06_10432.jpg
/home/pi/Desktop/images/12042025/19/50/image_12042025_19_50_25_10465.jpg
/home/pi/Desktop/images/12042025/19/50/image_12042025_19_50_35_9449.jpg
/home/pi/Desktop/images/12042025/19/50/image_12042025_19_50_45_10366.jpg
/home/pi/Desktop/images/12042025/19/50/image_12042025_19_50_56_10402.jpg
/home/pi/Desktop/images/12042025/19/50/image_12042025_19_51_05_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301556","1352301541","1352301558","1352301552","1352301554","1352301539"],"photo_ids_order":["1352301539","1352301541","1352301552","1352301554","1352301556","1352301558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c3d98a717e3ebe7f9ea074ebb6451f49.jpg","text":"TemporaryFile(/tmp/multipartBody5524706980072420151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486293208,"filename":"image_12042025_19_50_56_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9014bed379493801b6bd06ac91988d54.jpg","text":"TemporaryFile(/tmp/multipartBody5973134449023292807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486293208,"filename":"image_12042025_19_50_25_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ef99ccd2e3f183c1e5122f02a890b0c.jpg","text":"TemporaryFile(/tmp/multipartBody7769080600016453463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486293208,"filename":"image_12042025_19_51_05_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b4265aa4479694c2024b7b3391541af.jpg","text":"TemporaryFile(/tmp/multipartBody708187384426408038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486293208,"filename":"image_12042025_19_50_35_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a865b7d6220a71476a44a105de9f48fd.jpg","text":"TemporaryFile(/tmp/multipartBody2093039297431066262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486293208,"filename":"image_12042025_19_50_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf8cef0c238e5ab64f8514fa6b5ad379.jpg","text":"TemporaryFile(/tmp/multipartBody7283293146106167531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486293208,"filename":"image_12042025_19_50_06_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301552","file1":"1352301541","file0":"1352301539","file4":"1352301556","file5":"1352301558","file3":"1352301554"},"map_files_photo_id_array":[{"photo_id":"1352301558","filename":"file5"},{"photo_id":"1352301552","filename":"file2"},{"photo_id":"1352301556","filename":"file4"},{"photo_id":"1352301541","filename":"file1"},{"photo_id":"1352301539","filename":"file0"},{"photo_id":"1352301554","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301556":["hashtag1","hashtag2"]},{"1352301541":["hashtag1","hashtag2"]},{"1352301558":["hashtag1","hashtag2"]},{"1352301552":["hashtag1","hashtag2"]},{"1352301554":["hashtag1","hashtag2"]},{"1352301539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301556, 1352301541, 1352301558, 1352301552, 1352301554, 1352301539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24645733833313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:31:33.030280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/51/image_12042025_19_51_26_10430.jpg', '/home/pi/Desktop/images/12042025/19/51/image_12042025_19_51_35_9344.jpg', '/home/pi/Desktop/images/12042025/19/51/image_12042025_19_51_46_10478.jpg', '/home/pi/Desktop/images/12042025/19/51/image_12042025_19_51_55_9407.jpg', '/home/pi/Desktop/images/12042025/19/51/image_12042025_19_52_06_10467.jpg', '/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_15_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/51/image_12042025_19_51_26_10430.jpg
/home/pi/Desktop/images/12042025/19/51/image_12042025_19_51_35_9344.jpg
/home/pi/Desktop/images/12042025/19/51/image_12042025_19_51_46_10478.jpg
/home/pi/Desktop/images/12042025/19/51/image_12042025_19_51_55_9407.jpg
/home/pi/Desktop/images/12042025/19/51/image_12042025_19_52_06_10467.jpg
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_15_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301571","1352301568","1352301577","1352301573","1352301575","1352301569"],"photo_ids_order":["1352301568","1352301569","1352301571","1352301573","1352301575","1352301577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23abab8ad18c0b6b1fdf0ad18cc03fd0.jpg","text":"TemporaryFile(/tmp/multipartBody6584005725643298841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486353493,"filename":"image_12042025_19_51_46_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e1cbf94eb4ad59ed12695681baa9335.jpg","text":"TemporaryFile(/tmp/multipartBody5782502414271075411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486353493,"filename":"image_12042025_19_51_26_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/964febc879d03c7647666be494fadb57.jpg","text":"TemporaryFile(/tmp/multipartBody7016130019131157866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486353493,"filename":"image_12042025_19_52_15_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9e15ac46c7d8d0c43c8ea533e3e851c0.jpg","text":"TemporaryFile(/tmp/multipartBody5301375229578036586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486353493,"filename":"image_12042025_19_51_55_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/414936291e329ab3b42e4a01a9b76b64.jpg","text":"TemporaryFile(/tmp/multipartBody7908218379014930491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486353493,"filename":"image_12042025_19_52_06_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b49fab8569c90072a1561922bf71202.jpg","text":"TemporaryFile(/tmp/multipartBody2359135387595694181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486353493,"filename":"image_12042025_19_51_35_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301571","file1":"1352301569","file0":"1352301568","file4":"1352301575","file5":"1352301577","file3":"1352301573"},"map_files_photo_id_array":[{"photo_id":"1352301577","filename":"file5"},{"photo_id":"1352301571","filename":"file2"},{"photo_id":"1352301575","filename":"file4"},{"photo_id":"1352301569","filename":"file1"},{"photo_id":"1352301568","filename":"file0"},{"photo_id":"1352301573","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301571":["hashtag1","hashtag2"]},{"1352301568":["hashtag1","hashtag2"]},{"1352301577":["hashtag1","hashtag2"]},{"1352301573":["hashtag1","hashtag2"]},{"1352301575":["hashtag1","hashtag2"]},{"1352301569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301571, 1352301568, 1352301577, 1352301573, 1352301575, 1352301569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51850414276123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:32:32.324371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_25_10459.jpg', '/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_36_10354.jpg', '/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_56_10422.jpg', '/home/pi/Desktop/images/12042025/19/52/image_12042025_19_53_05_9441.jpg', '/home/pi/Desktop/images/12042025/19/53/image_12042025_19_53_26_10371.jpg', '/home/pi/Desktop/images/12042025/19/53/image_12042025_19_53_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_25_10459.jpg
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_36_10354.jpg
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_56_10422.jpg
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_53_05_9441.jpg
/home/pi/Desktop/images/12042025/19/53/image_12042025_19_53_26_10371.jpg
/home/pi/Desktop/images/12042025/19/53/image_12042025_19_53_35_9360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3820533752441406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 21:32:42.440655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_25_10459.jpg', '/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_36_10354.jpg', '/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_56_10422.jpg', '/home/pi/Desktop/images/12042025/19/52/image_12042025_19_53_05_9441.jpg', '/home/pi/Desktop/images/12042025/19/53/image_12042025_19_53_26_10371.jpg', '/home/pi/Desktop/images/12042025/19/53/image_12042025_19_53_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_25_10459.jpg
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_36_10354.jpg
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_52_56_10422.jpg
/home/pi/Desktop/images/12042025/19/52/image_12042025_19_53_05_9441.jpg
/home/pi/Desktop/images/12042025/19/53/image_12042025_19_53_26_10371.jpg
/home/pi/Desktop/images/12042025/19/53/image_12042025_19_53_35_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301602","1352301610","1352301607","1352301599","1352301596","1352301605"],"photo_ids_order":["1352301596","1352301599","1352301602","1352301605","1352301607","1352301610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e48a90b387747a936b83214402ca24aa.jpg","text":"TemporaryFile(/tmp/multipartBody9199479702685122650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486422927,"filename":"image_12042025_19_52_56_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4f43337c722bb3612dc847214baa9c40.jpg","text":"TemporaryFile(/tmp/multipartBody5364899767259978041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486422927,"filename":"image_12042025_19_53_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f421bb242b15716075801f775f5b50c2.jpg","text":"TemporaryFile(/tmp/multipartBody838585552459062594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486422927,"filename":"image_12042025_19_53_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b545f5492bc13c9ba772b349d0d46c34.jpg","text":"TemporaryFile(/tmp/multipartBody4871643537900340782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486422927,"filename":"image_12042025_19_52_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/032410e1fc0caed5616107e0c635f04d.jpg","text":"TemporaryFile(/tmp/multipartBody1651295597100101821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486422927,"filename":"image_12042025_19_52_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a29ef624f66403fafa5da4482a6a36a6.jpg","text":"TemporaryFile(/tmp/multipartBody5505780624956224482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486422927,"filename":"image_12042025_19_53_05_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301602","file1":"1352301599","file0":"1352301596","file4":"1352301607","file5":"1352301610","file3":"1352301605"},"map_files_photo_id_array":[{"photo_id":"1352301610","filename":"file5"},{"photo_id":"1352301602","filename":"file2"},{"photo_id":"1352301607","filename":"file4"},{"photo_id":"1352301599","filename":"file1"},{"photo_id":"1352301596","filename":"file0"},{"photo_id":"1352301605","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301602":["hashtag1","hashtag2"]},{"1352301610":["hashtag1","hashtag2"]},{"1352301607":["hashtag1","hashtag2"]},{"1352301599":["hashtag1","hashtag2"]},{"1352301596":["hashtag1","hashtag2"]},{"1352301605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301602, 1352301610, 1352301607, 1352301599, 1352301596, 1352301605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95502066612244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:33:32.503809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/53/image_12042025_19_54_05_10461.jpg', '/home/pi/Desktop/images/12042025/19/54/image_12042025_19_54_16_10370.jpg', '/home/pi/Desktop/images/12042025/19/54/image_12042025_19_54_25_9389.jpg', '/home/pi/Desktop/images/12042025/19/54/image_12042025_19_54_36_10561.jpg', '/home/pi/Desktop/images/12042025/19/54/image_12042025_19_54_56_10508.jpg', '/home/pi/Desktop/images/12042025/19/55/image_12042025_19_55_15_10496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/53/image_12042025_19_54_05_10461.jpg
/home/pi/Desktop/images/12042025/19/54/image_12042025_19_54_16_10370.jpg
/home/pi/Desktop/images/12042025/19/54/image_12042025_19_54_25_9389.jpg
/home/pi/Desktop/images/12042025/19/54/image_12042025_19_54_36_10561.jpg
/home/pi/Desktop/images/12042025/19/54/image_12042025_19_54_56_10508.jpg
/home/pi/Desktop/images/12042025/19/55/image_12042025_19_55_15_10496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301637","1352301625","1352301692","1352301656","1352301638","1352301632"],"photo_ids_order":["1352301625","1352301632","1352301637","1352301638","1352301656","1352301692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28994f5a203a69e34f961ee09cccc52a.jpg","text":"TemporaryFile(/tmp/multipartBody183778730282553059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486472973,"filename":"image_12042025_19_54_25_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c432feb166695bf30e92096560247d05.jpg","text":"TemporaryFile(/tmp/multipartBody5436416150772322738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486472973,"filename":"image_12042025_19_54_05_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac882e35244af2bf1eb09812ecbf7122.jpg","text":"TemporaryFile(/tmp/multipartBody3563426721986553090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486472973,"filename":"image_12042025_19_55_15_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/031a8c8249823e8da81f6cfcc365ac92.jpg","text":"TemporaryFile(/tmp/multipartBody4965041790717434460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486472973,"filename":"image_12042025_19_54_56_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25cfd4f252edcc390af104636c28110f.jpg","text":"TemporaryFile(/tmp/multipartBody8441188331584251057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486472973,"filename":"image_12042025_19_54_36_10561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/34d03f552c09ef7b165eb0435157ad48.jpg","text":"TemporaryFile(/tmp/multipartBody6387947645952897907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486472973,"filename":"image_12042025_19_54_16_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301637","file1":"1352301632","file0":"1352301625","file4":"1352301656","file5":"1352301692","file3":"1352301638"},"map_files_photo_id_array":[{"photo_id":"1352301692","filename":"file5"},{"photo_id":"1352301637","filename":"file2"},{"photo_id":"1352301656","filename":"file4"},{"photo_id":"1352301632","filename":"file1"},{"photo_id":"1352301625","filename":"file0"},{"photo_id":"1352301638","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301637":["hashtag1","hashtag2"]},{"1352301625":["hashtag1","hashtag2"]},{"1352301692":["hashtag1","hashtag2"]},{"1352301656":["hashtag1","hashtag2"]},{"1352301638":["hashtag1","hashtag2"]},{"1352301632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301637, 1352301625, 1352301692, 1352301656, 1352301638, 1352301632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05326747894287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:34:32.763075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/55/image_12042025_19_55_35_10450.jpg', '/home/pi/Desktop/images/12042025/19/55/image_12042025_19_55_46_10358.jpg', '/home/pi/Desktop/images/12042025/19/55/image_12042025_19_55_55_9397.jpg', '/home/pi/Desktop/images/12042025/19/55/image_12042025_19_56_06_10444.jpg', '/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_15_9386.jpg', '/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_25_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/55/image_12042025_19_55_35_10450.jpg
/home/pi/Desktop/images/12042025/19/55/image_12042025_19_55_46_10358.jpg
/home/pi/Desktop/images/12042025/19/55/image_12042025_19_55_55_9397.jpg
/home/pi/Desktop/images/12042025/19/55/image_12042025_19_56_06_10444.jpg
/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_15_9386.jpg
/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_25_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301766","1352301768","1352301765","1352301770","1352301767","1352301764"],"photo_ids_order":["1352301764","1352301765","1352301766","1352301767","1352301768","1352301770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8cf3c22e357e31aeb5dedb48b73847a.jpg","text":"TemporaryFile(/tmp/multipartBody318302302439848644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486533232,"filename":"image_12042025_19_55_55_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca0a69c89ec079fa50fb3b655bc58131.jpg","text":"TemporaryFile(/tmp/multipartBody6948414225815797273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486533232,"filename":"image_12042025_19_56_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cc6232a5fe9739bab48503491ce4a08c.jpg","text":"TemporaryFile(/tmp/multipartBody271959516454423549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486533232,"filename":"image_12042025_19_55_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11d89660017499d6246c6b31b675692e.jpg","text":"TemporaryFile(/tmp/multipartBody3661932072671323121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486533232,"filename":"image_12042025_19_56_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e87a36da65a49b98849506c56c7a8baf.jpg","text":"TemporaryFile(/tmp/multipartBody8616557587864399751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486533232,"filename":"image_12042025_19_56_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96b01fbdb6b4eca9082b686529621bbd.jpg","text":"TemporaryFile(/tmp/multipartBody1843592915090067508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486533232,"filename":"image_12042025_19_55_35_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301766","file1":"1352301765","file0":"1352301764","file4":"1352301768","file5":"1352301770","file3":"1352301767"},"map_files_photo_id_array":[{"photo_id":"1352301770","filename":"file5"},{"photo_id":"1352301766","filename":"file2"},{"photo_id":"1352301768","filename":"file4"},{"photo_id":"1352301765","filename":"file1"},{"photo_id":"1352301764","filename":"file0"},{"photo_id":"1352301767","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301766":["hashtag1","hashtag2"]},{"1352301768":["hashtag1","hashtag2"]},{"1352301765":["hashtag1","hashtag2"]},{"1352301770":["hashtag1","hashtag2"]},{"1352301767":["hashtag1","hashtag2"]},{"1352301764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301766, 1352301768, 1352301765, 1352301770, 1352301767, 1352301764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28832292556763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:35:32.972057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_36_10433.jpg', '/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_45_9381.jpg', '/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_56_10459.jpg', '/home/pi/Desktop/images/12042025/19/56/image_12042025_19_57_05_9354.jpg', '/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_15_10354.jpg', '/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_26_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_36_10433.jpg
/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_45_9381.jpg
/home/pi/Desktop/images/12042025/19/56/image_12042025_19_56_56_10459.jpg
/home/pi/Desktop/images/12042025/19/56/image_12042025_19_57_05_9354.jpg
/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_15_10354.jpg
/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_26_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301792","1352301786","1352301795","1352301797","1352301791","1352301788"],"photo_ids_order":["1352301786","1352301788","1352301791","1352301792","1352301795","1352301797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c29358cc6a48f62edc9b068fd3011028.jpg","text":"TemporaryFile(/tmp/multipartBody1887287823848172141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486593435,"filename":"image_12042025_19_57_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3334841ce7ad11f13a057e40c909b872.jpg","text":"TemporaryFile(/tmp/multipartBody5421514528371869242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486593435,"filename":"image_12042025_19_56_36_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c49d5efd4c98598cfdb946b27ccbdb0.jpg","text":"TemporaryFile(/tmp/multipartBody5980568397182051389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486593435,"filename":"image_12042025_19_57_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/faa8a9a72cbcb0de5f4db44f90423fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7413965440456577639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486593435,"filename":"image_12042025_19_57_26_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d80bf4e7ebdc58da7aad4fefb8255a3.jpg","text":"TemporaryFile(/tmp/multipartBody2466357208286529582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486593435,"filename":"image_12042025_19_56_56_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d8c0e4cdf40b5a2f08b9cabb68a154c.jpg","text":"TemporaryFile(/tmp/multipartBody2478292555102615434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486593435,"filename":"image_12042025_19_56_45_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301791","file1":"1352301788","file0":"1352301786","file4":"1352301795","file5":"1352301797","file3":"1352301792"},"map_files_photo_id_array":[{"photo_id":"1352301797","filename":"file5"},{"photo_id":"1352301791","filename":"file2"},{"photo_id":"1352301795","filename":"file4"},{"photo_id":"1352301788","filename":"file1"},{"photo_id":"1352301786","filename":"file0"},{"photo_id":"1352301792","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301792":["hashtag1","hashtag2"]},{"1352301786":["hashtag1","hashtag2"]},{"1352301795":["hashtag1","hashtag2"]},{"1352301797":["hashtag1","hashtag2"]},{"1352301791":["hashtag1","hashtag2"]},{"1352301788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301792, 1352301786, 1352301795, 1352301797, 1352301791, 1352301788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88576126098633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:36:33.132690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_35_9351.jpg', '/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_46_10375.jpg', '/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_55_9369.jpg', '/home/pi/Desktop/images/12042025/19/57/image_12042025_19_58_05_10378.jpg', '/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_16_10358.jpg', '/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_25_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_35_9351.jpg
/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_46_10375.jpg
/home/pi/Desktop/images/12042025/19/57/image_12042025_19_57_55_9369.jpg
/home/pi/Desktop/images/12042025/19/57/image_12042025_19_58_05_10378.jpg
/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_16_10358.jpg
/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_25_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301827","1352301823","1352301825","1352301819","1352301813","1352301807"],"photo_ids_order":["1352301807","1352301813","1352301819","1352301823","1352301825","1352301827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5368f8d15dcea3f4f2bbaaf6bd7a3429.jpg","text":"TemporaryFile(/tmp/multipartBody4585338884710917278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486653602,"filename":"image_12042025_19_58_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5bc89a052ad8fb5e6b7a9e9b4f59d67f.jpg","text":"TemporaryFile(/tmp/multipartBody4741382740824325500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486653602,"filename":"image_12042025_19_58_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e87fe65814ccbb1e9ccbaf3a387a18ed.jpg","text":"TemporaryFile(/tmp/multipartBody6636934648585613123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486653602,"filename":"image_12042025_19_58_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42773da9aee089260f89b1d410f5aa56.jpg","text":"TemporaryFile(/tmp/multipartBody1445462951797968870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486653602,"filename":"image_12042025_19_57_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cfbfb39c9dfca603297755cf090d8415.jpg","text":"TemporaryFile(/tmp/multipartBody5790212338165382917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486653602,"filename":"image_12042025_19_57_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7fad41d8a50f244d9b5b03c83bbbec24.jpg","text":"TemporaryFile(/tmp/multipartBody3718028869774371994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486653602,"filename":"image_12042025_19_57_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301819","file1":"1352301813","file0":"1352301807","file4":"1352301825","file5":"1352301827","file3":"1352301823"},"map_files_photo_id_array":[{"photo_id":"1352301827","filename":"file5"},{"photo_id":"1352301819","filename":"file2"},{"photo_id":"1352301825","filename":"file4"},{"photo_id":"1352301813","filename":"file1"},{"photo_id":"1352301807","filename":"file0"},{"photo_id":"1352301823","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301827":["hashtag1","hashtag2"]},{"1352301823":["hashtag1","hashtag2"]},{"1352301825":["hashtag1","hashtag2"]},{"1352301819":["hashtag1","hashtag2"]},{"1352301813":["hashtag1","hashtag2"]},{"1352301807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301827, 1352301823, 1352301825, 1352301819, 1352301813, 1352301807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24970197677612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:37:32.407881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_35_10367.jpg', '/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_46_10370.jpg', '/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_55_9357.jpg', '/home/pi/Desktop/images/12042025/19/58/image_12042025_19_59_06_10468.jpg', '/home/pi/Desktop/images/12042025/19/59/image_12042025_19_59_15_9347.jpg', '/home/pi/Desktop/images/12042025/19/59/image_12042025_19_59_25_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_35_10367.jpg
/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_46_10370.jpg
/home/pi/Desktop/images/12042025/19/58/image_12042025_19_58_55_9357.jpg
/home/pi/Desktop/images/12042025/19/58/image_12042025_19_59_06_10468.jpg
/home/pi/Desktop/images/12042025/19/59/image_12042025_19_59_15_9347.jpg
/home/pi/Desktop/images/12042025/19/59/image_12042025_19_59_25_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301889","1352301880","1352301877","1352301882","1352301884","1352301878"],"photo_ids_order":["1352301877","1352301878","1352301880","1352301882","1352301884","1352301889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a3e11d5a5f4d505e41427243c4db1c9d.jpg","text":"TemporaryFile(/tmp/multipartBody6430995640951292361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486712865,"filename":"image_12042025_19_59_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1670fecc1b5a99a62bc8c6275619fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4957047878405072231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486712865,"filename":"image_12042025_19_58_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d0ca73c9545b3143f0ae2a89b6c65196.jpg","text":"TemporaryFile(/tmp/multipartBody1468661586696966674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486712865,"filename":"image_12042025_19_58_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c93cbf7a2f714f8408ff4ac8dc66c70.jpg","text":"TemporaryFile(/tmp/multipartBody8496232654758072177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486712865,"filename":"image_12042025_19_59_06_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/044baf8431b4db4a36386b04cc5b73e2.jpg","text":"TemporaryFile(/tmp/multipartBody4659691853565960449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486712865,"filename":"image_12042025_19_59_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75a72db9bdc2ae351444d0ac89508f2f.jpg","text":"TemporaryFile(/tmp/multipartBody8712953756212067920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486712865,"filename":"image_12042025_19_58_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301880","file1":"1352301878","file0":"1352301877","file4":"1352301884","file5":"1352301889","file3":"1352301882"},"map_files_photo_id_array":[{"photo_id":"1352301889","filename":"file5"},{"photo_id":"1352301880","filename":"file2"},{"photo_id":"1352301884","filename":"file4"},{"photo_id":"1352301878","filename":"file1"},{"photo_id":"1352301877","filename":"file0"},{"photo_id":"1352301882","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301889":["hashtag1","hashtag2"]},{"1352301880":["hashtag1","hashtag2"]},{"1352301877":["hashtag1","hashtag2"]},{"1352301882":["hashtag1","hashtag2"]},{"1352301884":["hashtag1","hashtag2"]},{"1352301878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301889, 1352301880, 1352301877, 1352301882, 1352301884, 1352301878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.689345836639404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:38:32.593119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/19/59/image_12042025_19_59_36_10361.jpg', '/home/pi/Desktop/images/12042025/19/59/image_12042025_19_59_45_9363.jpg', '/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_14_10072.jpg', '/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_25_10386.jpg', '/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_35_10360.jpg', '/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_44_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/19/59/image_12042025_19_59_36_10361.jpg
/home/pi/Desktop/images/12042025/19/59/image_12042025_19_59_45_9363.jpg
/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_14_10072.jpg
/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_25_10386.jpg
/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_35_10360.jpg
/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_44_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301911","1352301916","1352301921","1352301918","1352301912","1352301914"],"photo_ids_order":["1352301911","1352301912","1352301914","1352301916","1352301918","1352301921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c99abe1b710995866d597495f101be2.jpg","text":"TemporaryFile(/tmp/multipartBody6423886394690940370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486773092,"filename":"image_12042025_19_59_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3624573f7ce3c966e30c9ac4aa600f70.jpg","text":"TemporaryFile(/tmp/multipartBody1380483734656186778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486773092,"filename":"image_12042025_20_01_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/214387f909b7b47849761a2080a1a624.jpg","text":"TemporaryFile(/tmp/multipartBody7154922949158202018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486773092,"filename":"image_12042025_20_01_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3babfb42834029cacbb263a9b65e167.jpg","text":"TemporaryFile(/tmp/multipartBody6065061402072234701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486773092,"filename":"image_12042025_20_01_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cbd7617d5ee10588271fbcf484bc9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7213156558990720169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486773092,"filename":"image_12042025_19_59_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6cb395926c95f5bee54be4a095665d09.jpg","text":"TemporaryFile(/tmp/multipartBody2924123816802928781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486773092,"filename":"image_12042025_20_01_14_10072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301914","file1":"1352301912","file0":"1352301911","file4":"1352301918","file5":"1352301921","file3":"1352301916"},"map_files_photo_id_array":[{"photo_id":"1352301921","filename":"file5"},{"photo_id":"1352301914","filename":"file2"},{"photo_id":"1352301918","filename":"file4"},{"photo_id":"1352301912","filename":"file1"},{"photo_id":"1352301911","filename":"file0"},{"photo_id":"1352301916","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301911":["hashtag1","hashtag2"]},{"1352301916":["hashtag1","hashtag2"]},{"1352301921":["hashtag1","hashtag2"]},{"1352301918":["hashtag1","hashtag2"]},{"1352301912":["hashtag1","hashtag2"]},{"1352301914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301911, 1352301916, 1352301921, 1352301918, 1352301912, 1352301914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.115833044052124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:39:32.929982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_55_10395.jpg', '/home/pi/Desktop/images/12042025/20/01/image_12042025_20_02_05_10353.jpg', '/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_15_9468.jpg', '/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_25_10373.jpg', '/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_34_9407.jpg', '/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_45_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/01/image_12042025_20_01_55_10395.jpg
/home/pi/Desktop/images/12042025/20/01/image_12042025_20_02_05_10353.jpg
/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_15_9468.jpg
/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_25_10373.jpg
/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_34_9407.jpg
/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_45_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301961","1352301931","1352301933","1352301968","1352301935","1352301938"],"photo_ids_order":["1352301931","1352301933","1352301935","1352301938","1352301961","1352301968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f416cc4f05b386d4f2b744c455c7a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4059043369470325127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486833400,"filename":"image_12042025_20_02_34_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8bbc96669ede237b8ca997bf653c47e0.jpg","text":"TemporaryFile(/tmp/multipartBody2127699018680796887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486833400,"filename":"image_12042025_20_01_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb5623b9ba3404bc76b0c3208920af93.jpg","text":"TemporaryFile(/tmp/multipartBody1947574225514633622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486833400,"filename":"image_12042025_20_02_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d48d6c1da93bf4971e38b6cb901bf8eb.jpg","text":"TemporaryFile(/tmp/multipartBody5776058369021297513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486833400,"filename":"image_12042025_20_02_45_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35e4739476ecbddac602d2ba25403e12.jpg","text":"TemporaryFile(/tmp/multipartBody5401542361847380559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486833400,"filename":"image_12042025_20_02_15_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c91d6248989481a07f0f4fe1730d23b8.jpg","text":"TemporaryFile(/tmp/multipartBody8743214958429981230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486833400,"filename":"image_12042025_20_02_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301935","file1":"1352301933","file0":"1352301931","file4":"1352301961","file5":"1352301968","file3":"1352301938"},"map_files_photo_id_array":[{"photo_id":"1352301968","filename":"file5"},{"photo_id":"1352301935","filename":"file2"},{"photo_id":"1352301961","filename":"file4"},{"photo_id":"1352301933","filename":"file1"},{"photo_id":"1352301931","filename":"file0"},{"photo_id":"1352301938","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301961":["hashtag1","hashtag2"]},{"1352301931":["hashtag1","hashtag2"]},{"1352301933":["hashtag1","hashtag2"]},{"1352301968":["hashtag1","hashtag2"]},{"1352301935":["hashtag1","hashtag2"]},{"1352301938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301961, 1352301931, 1352301933, 1352301968, 1352301935, 1352301938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63960886001587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:40:33.163343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_54_9365.jpg', '/home/pi/Desktop/images/12042025/20/02/image_12042025_20_03_05_10443.jpg', '/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_15_10466.jpg', '/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_25_9418.jpg', '/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_35_10374.jpg', '/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_45_10272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/02/image_12042025_20_02_54_9365.jpg
/home/pi/Desktop/images/12042025/20/02/image_12042025_20_03_05_10443.jpg
/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_15_10466.jpg
/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_25_9418.jpg
/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_35_10374.jpg
/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_45_10272.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352301993","1352301987","1352301995","1352301989","1352301983","1352301991"],"photo_ids_order":["1352301983","1352301987","1352301989","1352301991","1352301993","1352301995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7193ac64002dfe8a82aad5f308b8dae2.jpg","text":"TemporaryFile(/tmp/multipartBody6827441358989176908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486893621,"filename":"image_12042025_20_03_35_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0457a76afbd87f43c6d9ecaaf1d571b8.jpg","text":"TemporaryFile(/tmp/multipartBody5106936563959327482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486893621,"filename":"image_12042025_20_03_05_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffc51460ddb93cfd344d3ef77e5f762b.jpg","text":"TemporaryFile(/tmp/multipartBody3380271002398049390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486893621,"filename":"image_12042025_20_03_45_10272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f09793bcc52cce4db8d54f08621ae9ee.jpg","text":"TemporaryFile(/tmp/multipartBody3880037493720078693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486893621,"filename":"image_12042025_20_03_15_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a883d821e3101dd5f8c5b627170ec03f.jpg","text":"TemporaryFile(/tmp/multipartBody4558877742423508789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486893621,"filename":"image_12042025_20_02_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/01a0eaa77d277a00345f516e82f33e7c.jpg","text":"TemporaryFile(/tmp/multipartBody7576621183894611427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744486893621,"filename":"image_12042025_20_03_25_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352301989","file1":"1352301987","file0":"1352301983","file4":"1352301993","file5":"1352301995","file3":"1352301991"},"map_files_photo_id_array":[{"photo_id":"1352301995","filename":"file5"},{"photo_id":"1352301989","filename":"file2"},{"photo_id":"1352301993","filename":"file4"},{"photo_id":"1352301987","filename":"file1"},{"photo_id":"1352301983","filename":"file0"},{"photo_id":"1352301991","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352301993":["hashtag1","hashtag2"]},{"1352301987":["hashtag1","hashtag2"]},{"1352301995":["hashtag1","hashtag2"]},{"1352301989":["hashtag1","hashtag2"]},{"1352301983":["hashtag1","hashtag2"]},{"1352301991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352301993, 1352301987, 1352301995, 1352301989, 1352301983, 1352301991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.604095220565796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:41:32.375473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_55_9355.jpg', '/home/pi/Desktop/images/12042025/20/03/image_12042025_20_04_05_10403.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_14_9353.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_25_10479.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_34_9417.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_45_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_55_9355.jpg
/home/pi/Desktop/images/12042025/20/03/image_12042025_20_04_05_10403.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_14_9353.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_25_10479.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_34_9417.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_45_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.50074458122253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:43:52.934224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_55_9355.jpg', '/home/pi/Desktop/images/12042025/20/03/image_12042025_20_04_05_10403.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_14_9353.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_25_10479.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_34_9417.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_45_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/03/image_12042025_20_03_55_9355.jpg
/home/pi/Desktop/images/12042025/20/03/image_12042025_20_04_05_10403.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_14_9353.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_25_10479.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_34_9417.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_45_10388.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302141","1352302135","1352302144","1352302147","1352302137","1352302139"],"photo_ids_order":["1352302135","1352302137","1352302139","1352302141","1352302144","1352302147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c8f94238d657d60982d1400a65c8d324.jpg","text":"TemporaryFile(/tmp/multipartBody4716527044056567092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487093390,"filename":"image_12042025_20_04_25_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/705e641f87f6c0dee0afc83b1d128e10.jpg","text":"TemporaryFile(/tmp/multipartBody8554196815078284471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487093390,"filename":"image_12042025_20_03_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/baa3613c0ae3e451e612b7f2dd9d63a1.jpg","text":"TemporaryFile(/tmp/multipartBody1998446054641361789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487093390,"filename":"image_12042025_20_04_34_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/962e73d9499c5cd136e89e2f5fdca8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1911920017686868652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487093390,"filename":"image_12042025_20_04_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa9bf67a5855573e2b09fac2fe3e0441.jpg","text":"TemporaryFile(/tmp/multipartBody3056501488850047004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487093390,"filename":"image_12042025_20_04_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a2c3addbad8aca99b94be0d3068dfbc.jpg","text":"TemporaryFile(/tmp/multipartBody3279855147199127156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487093390,"filename":"image_12042025_20_04_14_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302139","file1":"1352302137","file0":"1352302135","file4":"1352302144","file5":"1352302147","file3":"1352302141"},"map_files_photo_id_array":[{"photo_id":"1352302147","filename":"file5"},{"photo_id":"1352302139","filename":"file2"},{"photo_id":"1352302144","filename":"file4"},{"photo_id":"1352302137","filename":"file1"},{"photo_id":"1352302135","filename":"file0"},{"photo_id":"1352302141","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302141":["hashtag1","hashtag2"]},{"1352302135":["hashtag1","hashtag2"]},{"1352302144":["hashtag1","hashtag2"]},{"1352302147":["hashtag1","hashtag2"]},{"1352302137":["hashtag1","hashtag2"]},{"1352302139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302141, 1352302135, 1352302144, 1352302147, 1352302137, 1352302139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.644763231277466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:44:32.174073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_55_10352.jpg', '/home/pi/Desktop/images/12042025/20/04/image_12042025_20_05_04_9385.jpg', '/home/pi/Desktop/images/12042025/20/05/image_12042025_20_05_15_10370.jpg', '/home/pi/Desktop/images/12042025/20/05/image_12042025_20_05_25_10384.jpg', '/home/pi/Desktop/images/12042025/20/05/image_12042025_20_05_35_9450.jpg', '/home/pi/Desktop/images/12042025/20/05/image_12042025_20_05_45_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_04_55_10352.jpg
/home/pi/Desktop/images/12042025/20/04/image_12042025_20_05_04_9385.jpg
/home/pi/Desktop/images/12042025/20/05/image_12042025_20_05_15_10370.jpg
/home/pi/Desktop/images/12042025/20/05/image_12042025_20_05_25_10384.jpg
/home/pi/Desktop/images/12042025/20/05/image_12042025_20_05_35_9450.jpg
/home/pi/Desktop/images/12042025/20/05/image_12042025_20_05_45_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302162","1352302156","1352302164","1352302158","1352302160","1352302154"],"photo_ids_order":["1352302154","1352302156","1352302158","1352302160","1352302162","1352302164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f89609b17b3c150bf22ec8648eae472.jpg","text":"TemporaryFile(/tmp/multipartBody385033721265186785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487132640,"filename":"image_12042025_20_05_35_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/809daf5aa9e6f65bb9a10f2e6081b86e.jpg","text":"TemporaryFile(/tmp/multipartBody9001330493958345836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487132640,"filename":"image_12042025_20_05_04_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4439a97b0767704fb9a5552da18cc943.jpg","text":"TemporaryFile(/tmp/multipartBody1136137545223477114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487132640,"filename":"image_12042025_20_05_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e241f30c5459c79518c7ba6dbe77eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8051950047109293601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487132640,"filename":"image_12042025_20_05_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a1143c0924e16479a60e926d1a8c0e1.jpg","text":"TemporaryFile(/tmp/multipartBody3917783457857912518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487132640,"filename":"image_12042025_20_05_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/acdad09db5be6a83a6cbec3cd6bbe4e5.jpg","text":"TemporaryFile(/tmp/multipartBody4277799866657974453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487132640,"filename":"image_12042025_20_04_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302158","file1":"1352302156","file0":"1352302154","file4":"1352302162","file5":"1352302164","file3":"1352302160"},"map_files_photo_id_array":[{"photo_id":"1352302164","filename":"file5"},{"photo_id":"1352302158","filename":"file2"},{"photo_id":"1352302162","filename":"file4"},{"photo_id":"1352302156","filename":"file1"},{"photo_id":"1352302154","filename":"file0"},{"photo_id":"1352302160","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302162":["hashtag1","hashtag2"]},{"1352302156":["hashtag1","hashtag2"]},{"1352302164":["hashtag1","hashtag2"]},{"1352302158":["hashtag1","hashtag2"]},{"1352302160":["hashtag1","hashtag2"]},{"1352302154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302162, 1352302156, 1352302164, 1352302158, 1352302160, 1352302154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38192963600159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:45:32.467307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/05/image_12042025_20_06_05_10423.jpg', '/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_15_10368.jpg', '/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_25_9467.jpg', '/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_35_10388.jpg', '/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_45_9457.jpg', '/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_55_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/05/image_12042025_20_06_05_10423.jpg
/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_15_10368.jpg
/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_25_9467.jpg
/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_35_10388.jpg
/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_45_9457.jpg
/home/pi/Desktop/images/12042025/20/06/image_12042025_20_06_55_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302177","1352302182","1352302176","1352302179","1352302181","1352302184"],"photo_ids_order":["1352302176","1352302177","1352302179","1352302181","1352302182","1352302184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbf97ba17f1da1c790255ec5e61319c5.jpg","text":"TemporaryFile(/tmp/multipartBody6117606665136986997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487192934,"filename":"image_12042025_20_06_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1ac075cdd24465875846ba3772ddf78.jpg","text":"TemporaryFile(/tmp/multipartBody4523971279991636897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487192934,"filename":"image_12042025_20_06_45_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dae34cfa5dcc16a096adf7dc01e0c593.jpg","text":"TemporaryFile(/tmp/multipartBody714214702661216467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487192934,"filename":"image_12042025_20_06_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58ec698783b6b3a550e7c819cdc90a01.jpg","text":"TemporaryFile(/tmp/multipartBody66767657895651088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487192934,"filename":"image_12042025_20_06_25_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9429c5f4382bc13c0178294569eabefb.jpg","text":"TemporaryFile(/tmp/multipartBody6756276780891927749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487192934,"filename":"image_12042025_20_06_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d14ddaf5286639fcd31947d14294126.jpg","text":"TemporaryFile(/tmp/multipartBody5110238112466607813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487192934,"filename":"image_12042025_20_06_55_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302179","file1":"1352302177","file0":"1352302176","file4":"1352302182","file5":"1352302184","file3":"1352302181"},"map_files_photo_id_array":[{"photo_id":"1352302184","filename":"file5"},{"photo_id":"1352302179","filename":"file2"},{"photo_id":"1352302182","filename":"file4"},{"photo_id":"1352302177","filename":"file1"},{"photo_id":"1352302176","filename":"file0"},{"photo_id":"1352302181","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302177":["hashtag1","hashtag2"]},{"1352302182":["hashtag1","hashtag2"]},{"1352302176":["hashtag1","hashtag2"]},{"1352302179":["hashtag1","hashtag2"]},{"1352302181":["hashtag1","hashtag2"]},{"1352302184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302177, 1352302182, 1352302176, 1352302179, 1352302181, 1352302184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.259069204330444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:46:32.569751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_15_10406.jpg', '/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_25_10353.jpg', '/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_34_9347.jpg', '/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_45_10462.jpg', '/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_55_10361.jpg', '/home/pi/Desktop/images/12042025/20/07/image_12042025_20_08_05_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_15_10406.jpg
/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_25_10353.jpg
/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_34_9347.jpg
/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_45_10462.jpg
/home/pi/Desktop/images/12042025/20/07/image_12042025_20_07_55_10361.jpg
/home/pi/Desktop/images/12042025/20/07/image_12042025_20_08_05_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302210","1352302204","1352302207","1352302197","1352302199","1352302202"],"photo_ids_order":["1352302197","1352302199","1352302202","1352302204","1352302207","1352302210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd9bd735d43d9f819fde0cfc453aaf94.jpg","text":"TemporaryFile(/tmp/multipartBody1593441247542731589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487253035,"filename":"image_12042025_20_08_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c8746ef0efddf82381f4f2b185ead09.jpg","text":"TemporaryFile(/tmp/multipartBody5445052821675281214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487253035,"filename":"image_12042025_20_07_45_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/547d76fa12a7404b4df40ce27550a994.jpg","text":"TemporaryFile(/tmp/multipartBody2048307219348266480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487253035,"filename":"image_12042025_20_07_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e69d72cfe602be9bb65281dacf0814a.jpg","text":"TemporaryFile(/tmp/multipartBody1486979725564840095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487253035,"filename":"image_12042025_20_07_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62d0190f4ad6f600eb61856a2d9e5adc.jpg","text":"TemporaryFile(/tmp/multipartBody5616237389036985660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487253035,"filename":"image_12042025_20_07_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/327c32a7bc90e42196372cd4f78389e9.jpg","text":"TemporaryFile(/tmp/multipartBody8859372786895471444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487253035,"filename":"image_12042025_20_07_34_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302202","file1":"1352302199","file0":"1352302197","file4":"1352302207","file5":"1352302210","file3":"1352302204"},"map_files_photo_id_array":[{"photo_id":"1352302210","filename":"file5"},{"photo_id":"1352302202","filename":"file2"},{"photo_id":"1352302207","filename":"file4"},{"photo_id":"1352302199","filename":"file1"},{"photo_id":"1352302197","filename":"file0"},{"photo_id":"1352302204","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302210":["hashtag1","hashtag2"]},{"1352302204":["hashtag1","hashtag2"]},{"1352302207":["hashtag1","hashtag2"]},{"1352302197":["hashtag1","hashtag2"]},{"1352302199":["hashtag1","hashtag2"]},{"1352302202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302210, 1352302204, 1352302207, 1352302197, 1352302199, 1352302202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8470675945282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:47:32.980326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_15_10387.jpg', '/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_24_9355.jpg', '/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_35_10365.jpg', '/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_45_10395.jpg', '/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_54_9366.jpg', '/home/pi/Desktop/images/12042025/20/08/image_12042025_20_09_05_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_15_10387.jpg
/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_24_9355.jpg
/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_35_10365.jpg
/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_45_10395.jpg
/home/pi/Desktop/images/12042025/20/08/image_12042025_20_08_54_9366.jpg
/home/pi/Desktop/images/12042025/20/08/image_12042025_20_09_05_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302218","1352302223","1352302232","1352302226","1352302229","1352302220"],"photo_ids_order":["1352302218","1352302220","1352302223","1352302226","1352302229","1352302232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/262773ad09ae8ad61333bc579da37362.jpg","text":"TemporaryFile(/tmp/multipartBody8927074578612113253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487313454,"filename":"image_12042025_20_08_15_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6b61c785dfac5934e3e8e4b0e94fd93.jpg","text":"TemporaryFile(/tmp/multipartBody8655235660901105461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487313454,"filename":"image_12042025_20_08_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0080c327771b2291cb9e2222caa27ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1055485659575439556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487313454,"filename":"image_12042025_20_09_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4158cdaa17603810e174399bf398154.jpg","text":"TemporaryFile(/tmp/multipartBody6597383122968428565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487313454,"filename":"image_12042025_20_08_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c74598fe96a7843ce0af86d78336bd46.jpg","text":"TemporaryFile(/tmp/multipartBody243322466962774545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487313454,"filename":"image_12042025_20_08_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bca972debf9a14e5d395dc5d3ecf497d.jpg","text":"TemporaryFile(/tmp/multipartBody6829677767333357681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487313454,"filename":"image_12042025_20_08_24_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302223","file1":"1352302220","file0":"1352302218","file4":"1352302229","file5":"1352302232","file3":"1352302226"},"map_files_photo_id_array":[{"photo_id":"1352302232","filename":"file5"},{"photo_id":"1352302223","filename":"file2"},{"photo_id":"1352302229","filename":"file4"},{"photo_id":"1352302220","filename":"file1"},{"photo_id":"1352302218","filename":"file0"},{"photo_id":"1352302226","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302218":["hashtag1","hashtag2"]},{"1352302223":["hashtag1","hashtag2"]},{"1352302232":["hashtag1","hashtag2"]},{"1352302226":["hashtag1","hashtag2"]},{"1352302229":["hashtag1","hashtag2"]},{"1352302220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302218, 1352302223, 1352302232, 1352302226, 1352302229, 1352302220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.106963872909546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:48:33.098915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_14_9416.jpg', '/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_25_10371.jpg', '/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_35_10361.jpg', '/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_44_9356.jpg', '/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_55_10406.jpg', '/home/pi/Desktop/images/12042025/20/09/image_12042025_20_10_05_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_14_9416.jpg
/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_25_10371.jpg
/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_35_10361.jpg
/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_44_9356.jpg
/home/pi/Desktop/images/12042025/20/09/image_12042025_20_09_55_10406.jpg
/home/pi/Desktop/images/12042025/20/09/image_12042025_20_10_05_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302240","1352302258","1352302243","1352302246","1352302238","1352302253"],"photo_ids_order":["1352302238","1352302240","1352302243","1352302246","1352302253","1352302258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0d764ab30f07f2d7b394fda5fbe83f63.jpg","text":"TemporaryFile(/tmp/multipartBody8829405994696407197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487373566,"filename":"image_12042025_20_09_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48dda2bf9ac2d83cc00187d156932f09.jpg","text":"TemporaryFile(/tmp/multipartBody1652284130987619604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487373566,"filename":"image_12042025_20_10_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90cf4ac7d1bbb5a5d847741a4d98d167.jpg","text":"TemporaryFile(/tmp/multipartBody4670616974870671806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487373566,"filename":"image_12042025_20_09_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fef7c058e324f7f7b7eb6a374bef508f.jpg","text":"TemporaryFile(/tmp/multipartBody2484190802664963700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487373566,"filename":"image_12042025_20_09_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1f9988b1dc540edd5228944d40ad080e.jpg","text":"TemporaryFile(/tmp/multipartBody1284191677572772989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487373566,"filename":"image_12042025_20_09_14_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac841cba2147e372db141c0e0044dae3.jpg","text":"TemporaryFile(/tmp/multipartBody5727116697084135901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487373566,"filename":"image_12042025_20_09_55_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302243","file1":"1352302240","file0":"1352302238","file4":"1352302253","file5":"1352302258","file3":"1352302246"},"map_files_photo_id_array":[{"photo_id":"1352302258","filename":"file5"},{"photo_id":"1352302243","filename":"file2"},{"photo_id":"1352302253","filename":"file4"},{"photo_id":"1352302240","filename":"file1"},{"photo_id":"1352302238","filename":"file0"},{"photo_id":"1352302246","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302240":["hashtag1","hashtag2"]},{"1352302258":["hashtag1","hashtag2"]},{"1352302243":["hashtag1","hashtag2"]},{"1352302246":["hashtag1","hashtag2"]},{"1352302238":["hashtag1","hashtag2"]},{"1352302253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302240, 1352302258, 1352302243, 1352302246, 1352302238, 1352302253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14244294166565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:49:32.220494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_15_9420.jpg', '/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_25_10410.jpg', '/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_34_9354.jpg', '/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_45_10456.jpg', '/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_55_10359.jpg', '/home/pi/Desktop/images/12042025/20/10/image_12042025_20_11_05_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_15_9420.jpg
/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_25_10410.jpg
/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_34_9354.jpg
/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_45_10456.jpg
/home/pi/Desktop/images/12042025/20/10/image_12042025_20_10_55_10359.jpg
/home/pi/Desktop/images/12042025/20/10/image_12042025_20_11_05_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302342","1352302345","1352302339","1352302332","1352302335","1352302329"],"photo_ids_order":["1352302329","1352302332","1352302335","1352302339","1352302342","1352302345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ec9d3c9f529cb100d63cc95b7f5fe08.jpg","text":"TemporaryFile(/tmp/multipartBody2662075992299482302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487432696,"filename":"image_12042025_20_10_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90670ec137ce49f0995a8ff4eb65e166.jpg","text":"TemporaryFile(/tmp/multipartBody9165305125897425468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487432696,"filename":"image_12042025_20_11_05_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fcd922fbf3c32b2f721f9e40a52e808.jpg","text":"TemporaryFile(/tmp/multipartBody5137954835947532309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487432696,"filename":"image_12042025_20_10_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1cf7025834d76dd9f4fe21f8cb87d0b5.jpg","text":"TemporaryFile(/tmp/multipartBody6226908541462905261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487432696,"filename":"image_12042025_20_10_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d888749d3680a3a58ae2727e9ab3e09c.jpg","text":"TemporaryFile(/tmp/multipartBody5601899489816955682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487432696,"filename":"image_12042025_20_10_34_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbdfaa4b00fce74815c685f8ac17c978.jpg","text":"TemporaryFile(/tmp/multipartBody2591412221658564787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487432696,"filename":"image_12042025_20_10_15_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302335","file1":"1352302332","file0":"1352302329","file4":"1352302342","file5":"1352302345","file3":"1352302339"},"map_files_photo_id_array":[{"photo_id":"1352302345","filename":"file5"},{"photo_id":"1352302335","filename":"file2"},{"photo_id":"1352302342","filename":"file4"},{"photo_id":"1352302332","filename":"file1"},{"photo_id":"1352302329","filename":"file0"},{"photo_id":"1352302339","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302342":["hashtag1","hashtag2"]},{"1352302345":["hashtag1","hashtag2"]},{"1352302339":["hashtag1","hashtag2"]},{"1352302332":["hashtag1","hashtag2"]},{"1352302335":["hashtag1","hashtag2"]},{"1352302329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302342, 1352302345, 1352302339, 1352302332, 1352302335, 1352302329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78449010848999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:50:32.410395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_15_10391.jpg', '/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_24_9385.jpg', '/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_35_10370.jpg', '/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_45_10364.jpg', '/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_54_9383.jpg', '/home/pi/Desktop/images/12042025/20/11/image_12042025_20_12_05_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_15_10391.jpg
/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_24_9385.jpg
/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_35_10370.jpg
/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_45_10364.jpg
/home/pi/Desktop/images/12042025/20/11/image_12042025_20_11_54_9383.jpg
/home/pi/Desktop/images/12042025/20/11/image_12042025_20_12_05_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302389","1352302398","1352302386","1352302391","1352302394","1352302382"],"photo_ids_order":["1352302382","1352302386","1352302389","1352302391","1352302394","1352302398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc28568eb1da62394aca7551172ee0b1.jpg","text":"TemporaryFile(/tmp/multipartBody2354353774430277434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487492881,"filename":"image_12042025_20_11_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/683e9630ec705659b220b091685c0ee5.jpg","text":"TemporaryFile(/tmp/multipartBody610562601859200660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487492881,"filename":"image_12042025_20_12_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e455161c76b87787b171698b2ac76e39.jpg","text":"TemporaryFile(/tmp/multipartBody7571300122449542798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487492881,"filename":"image_12042025_20_11_24_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/319d867577f558707a58a034c35518de.jpg","text":"TemporaryFile(/tmp/multipartBody8576220763723266259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487492881,"filename":"image_12042025_20_11_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/679528a4a40393e072832773d3eb558b.jpg","text":"TemporaryFile(/tmp/multipartBody1221618200259106205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487492881,"filename":"image_12042025_20_11_54_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9375db7f8c9126755ddbf0d2cbad49e8.jpg","text":"TemporaryFile(/tmp/multipartBody4709796931948008144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487492881,"filename":"image_12042025_20_11_15_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302389","file1":"1352302386","file0":"1352302382","file4":"1352302394","file5":"1352302398","file3":"1352302391"},"map_files_photo_id_array":[{"photo_id":"1352302398","filename":"file5"},{"photo_id":"1352302389","filename":"file2"},{"photo_id":"1352302394","filename":"file4"},{"photo_id":"1352302386","filename":"file1"},{"photo_id":"1352302382","filename":"file0"},{"photo_id":"1352302391","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302389":["hashtag1","hashtag2"]},{"1352302398":["hashtag1","hashtag2"]},{"1352302386":["hashtag1","hashtag2"]},{"1352302391":["hashtag1","hashtag2"]},{"1352302394":["hashtag1","hashtag2"]},{"1352302382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302389, 1352302398, 1352302386, 1352302391, 1352302394, 1352302382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.303640604019165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:51:32.831749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/12/image_12042025_20_12_15_10367.jpg', '/home/pi/Desktop/images/12042025/20/12/image_12042025_20_12_25_9351.jpg', '/home/pi/Desktop/images/12042025/20/12/image_12042025_20_12_35_10364.jpg', '/home/pi/Desktop/images/12042025/20/12/image_12042025_20_12_44_9369.jpg', '/home/pi/Desktop/images/12042025/20/12/image_12042025_20_13_05_10368.jpg', '/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_15_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/12/image_12042025_20_12_15_10367.jpg
/home/pi/Desktop/images/12042025/20/12/image_12042025_20_12_25_9351.jpg
/home/pi/Desktop/images/12042025/20/12/image_12042025_20_12_35_10364.jpg
/home/pi/Desktop/images/12042025/20/12/image_12042025_20_12_44_9369.jpg
/home/pi/Desktop/images/12042025/20/12/image_12042025_20_13_05_10368.jpg
/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_15_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302414","1352302417","1352302494","1352302467","1352302422","1352302445"],"photo_ids_order":["1352302414","1352302417","1352302422","1352302445","1352302467","1352302494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a6f5ce4799c6cd870a7e3486081c4f7d.jpg","text":"TemporaryFile(/tmp/multipartBody6376800940450518113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487553315,"filename":"image_12042025_20_12_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44835a8b57e33f23db12c51b07032dc8.jpg","text":"TemporaryFile(/tmp/multipartBody9079924019266010474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487553315,"filename":"image_12042025_20_12_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/226df4ef96432654f14b1863a6badf2e.jpg","text":"TemporaryFile(/tmp/multipartBody2735680852430333156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487553315,"filename":"image_12042025_20_13_15_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a90c528c7e99a160905e8c55a753e08.jpg","text":"TemporaryFile(/tmp/multipartBody8772707430740529851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487553315,"filename":"image_12042025_20_13_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddf5ed612d38a61c665b7b0a8cb420df.jpg","text":"TemporaryFile(/tmp/multipartBody2963325683521921001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487553315,"filename":"image_12042025_20_12_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9026fc539719492293fd7e910709d4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7204534448875077574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487553315,"filename":"image_12042025_20_12_44_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302422","file1":"1352302417","file0":"1352302414","file4":"1352302467","file5":"1352302494","file3":"1352302445"},"map_files_photo_id_array":[{"photo_id":"1352302494","filename":"file5"},{"photo_id":"1352302422","filename":"file2"},{"photo_id":"1352302467","filename":"file4"},{"photo_id":"1352302417","filename":"file1"},{"photo_id":"1352302414","filename":"file0"},{"photo_id":"1352302445","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302414":["hashtag1","hashtag2"]},{"1352302417":["hashtag1","hashtag2"]},{"1352302494":["hashtag1","hashtag2"]},{"1352302467":["hashtag1","hashtag2"]},{"1352302422":["hashtag1","hashtag2"]},{"1352302445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302414, 1352302417, 1352302494, 1352302467, 1352302422, 1352302445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91223168373108 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:52:32.902478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_25_10360.jpg', '/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_34_9359.jpg', '/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_45_10457.jpg', '/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_55_10366.jpg', '/home/pi/Desktop/images/12042025/20/13/image_12042025_20_14_04_9342.jpg', '/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_15_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_25_10360.jpg
/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_34_9359.jpg
/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_45_10457.jpg
/home/pi/Desktop/images/12042025/20/13/image_12042025_20_13_55_10366.jpg
/home/pi/Desktop/images/12042025/20/13/image_12042025_20_14_04_9342.jpg
/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_15_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302507","1352302516","1352302519","1352302510","1352302503","1352302514"],"photo_ids_order":["1352302503","1352302507","1352302510","1352302514","1352302516","1352302519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/06aaf2a16a235f35bba38458deb59c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1016049169671584506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487613381,"filename":"image_12042025_20_13_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58e45c95251c710799ceb3c3b2575441.jpg","text":"TemporaryFile(/tmp/multipartBody7342362752194833660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487613381,"filename":"image_12042025_20_14_04_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c57d5016c9f28831c29f9b79fc8814b.jpg","text":"TemporaryFile(/tmp/multipartBody6895263455294628674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487613381,"filename":"image_12042025_20_14_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35cc7e0006c6b58026b33274679c15b5.jpg","text":"TemporaryFile(/tmp/multipartBody5969436201600846855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487613381,"filename":"image_12042025_20_13_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5690da22e1b6ff79f4adb4355d399e70.jpg","text":"TemporaryFile(/tmp/multipartBody4023668429709854633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487613381,"filename":"image_12042025_20_13_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0dba813fcf468e19c07d8f1b8b5addb0.jpg","text":"TemporaryFile(/tmp/multipartBody1389181683559793170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487613381,"filename":"image_12042025_20_13_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302510","file1":"1352302507","file0":"1352302503","file4":"1352302516","file5":"1352302519","file3":"1352302514"},"map_files_photo_id_array":[{"photo_id":"1352302519","filename":"file5"},{"photo_id":"1352302510","filename":"file2"},{"photo_id":"1352302516","filename":"file4"},{"photo_id":"1352302507","filename":"file1"},{"photo_id":"1352302503","filename":"file0"},{"photo_id":"1352302514","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302507":["hashtag1","hashtag2"]},{"1352302516":["hashtag1","hashtag2"]},{"1352302519":["hashtag1","hashtag2"]},{"1352302510":["hashtag1","hashtag2"]},{"1352302503":["hashtag1","hashtag2"]},{"1352302514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302507, 1352302516, 1352302519, 1352302510, 1352302503, 1352302514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43619251251221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:53:33.138764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_25_10361.jpg', '/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_35_9499.jpg', '/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_45_10371.jpg', '/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_54_9362.jpg', '/home/pi/Desktop/images/12042025/20/14/image_12042025_20_15_05_10372.jpg', '/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_15_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_25_10361.jpg
/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_35_9499.jpg
/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_45_10371.jpg
/home/pi/Desktop/images/12042025/20/14/image_12042025_20_14_54_9362.jpg
/home/pi/Desktop/images/12042025/20/14/image_12042025_20_15_05_10372.jpg
/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_15_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302525","1352302528","1352302533","1352302541","1352302535","1352302538"],"photo_ids_order":["1352302525","1352302528","1352302533","1352302535","1352302538","1352302541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2da64b2b3a78bd405ca89e28962eb6d7.jpg","text":"TemporaryFile(/tmp/multipartBody5559591642509848094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487673605,"filename":"image_12042025_20_14_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73786fe5dbe8c72099d90f8c7930dd31.jpg","text":"TemporaryFile(/tmp/multipartBody1764015520013948423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487673605,"filename":"image_12042025_20_14_35_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d3b57c990e9b021bf9296aa31e26e04.jpg","text":"TemporaryFile(/tmp/multipartBody5835879486543738412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487673605,"filename":"image_12042025_20_14_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f80f2c1fd669ccde980423f34ffde55.jpg","text":"TemporaryFile(/tmp/multipartBody1850055613955711015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487673605,"filename":"image_12042025_20_15_15_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e085ee4c473dc40271d4bd8deb45384e.jpg","text":"TemporaryFile(/tmp/multipartBody1877731422371891569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487673605,"filename":"image_12042025_20_14_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/320561c5ff5653e7a3cbf484218deae6.jpg","text":"TemporaryFile(/tmp/multipartBody7871253904468920099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487673605,"filename":"image_12042025_20_15_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302533","file1":"1352302528","file0":"1352302525","file4":"1352302538","file5":"1352302541","file3":"1352302535"},"map_files_photo_id_array":[{"photo_id":"1352302541","filename":"file5"},{"photo_id":"1352302533","filename":"file2"},{"photo_id":"1352302538","filename":"file4"},{"photo_id":"1352302528","filename":"file1"},{"photo_id":"1352302525","filename":"file0"},{"photo_id":"1352302535","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302525":["hashtag1","hashtag2"]},{"1352302528":["hashtag1","hashtag2"]},{"1352302533":["hashtag1","hashtag2"]},{"1352302541":["hashtag1","hashtag2"]},{"1352302535":["hashtag1","hashtag2"]},{"1352302538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302525, 1352302528, 1352302533, 1352302541, 1352302535, 1352302538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33306050300598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:54:32.388663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_25_9469.jpg', '/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_35_10357.jpg', '/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_45_9487.jpg', '/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_55_10435.jpg', '/home/pi/Desktop/images/12042025/20/15/image_12042025_20_16_04_9416.jpg', '/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_15_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_25_9469.jpg
/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_35_10357.jpg
/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_45_9487.jpg
/home/pi/Desktop/images/12042025/20/15/image_12042025_20_15_55_10435.jpg
/home/pi/Desktop/images/12042025/20/15/image_12042025_20_16_04_9416.jpg
/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_15_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302552","1352302555","1352302549","1352302547","1352302561","1352302558"],"photo_ids_order":["1352302547","1352302549","1352302552","1352302555","1352302558","1352302561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d420fb6e8e8dc47e0738d7121576e57.jpg","text":"TemporaryFile(/tmp/multipartBody2479657788983305402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487732852,"filename":"image_12042025_20_15_45_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/273525891bcd18791dee259715054e68.jpg","text":"TemporaryFile(/tmp/multipartBody7427514542678772869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487732852,"filename":"image_12042025_20_15_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f596ebae8bf66aaa075bd352763243c.jpg","text":"TemporaryFile(/tmp/multipartBody149540957384537906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487732852,"filename":"image_12042025_20_15_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c50b4dc3c977e64a9dc2904506f139fb.jpg","text":"TemporaryFile(/tmp/multipartBody2284531565930561711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487732852,"filename":"image_12042025_20_15_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9d24259274fe3972510537489e29003.jpg","text":"TemporaryFile(/tmp/multipartBody6844634779944752547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487732852,"filename":"image_12042025_20_16_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ea500c71766d1712c7c738c488a67fe.jpg","text":"TemporaryFile(/tmp/multipartBody9069456790318696518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487732852,"filename":"image_12042025_20_16_04_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302552","file1":"1352302549","file0":"1352302547","file4":"1352302558","file5":"1352302561","file3":"1352302555"},"map_files_photo_id_array":[{"photo_id":"1352302561","filename":"file5"},{"photo_id":"1352302552","filename":"file2"},{"photo_id":"1352302558","filename":"file4"},{"photo_id":"1352302549","filename":"file1"},{"photo_id":"1352302547","filename":"file0"},{"photo_id":"1352302555","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302552":["hashtag1","hashtag2"]},{"1352302555":["hashtag1","hashtag2"]},{"1352302549":["hashtag1","hashtag2"]},{"1352302547":["hashtag1","hashtag2"]},{"1352302561":["hashtag1","hashtag2"]},{"1352302558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302552, 1352302555, 1352302549, 1352302547, 1352302561, 1352302558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48236799240112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:55:32.632240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_25_9825.jpg', '/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_35_10360.jpg', '/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_44_9357.jpg', '/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_55_10451.jpg', '/home/pi/Desktop/images/12042025/20/16/image_12042025_20_17_05_10368.jpg', '/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_15_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_25_9825.jpg
/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_35_10360.jpg
/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_44_9357.jpg
/home/pi/Desktop/images/12042025/20/16/image_12042025_20_16_55_10451.jpg
/home/pi/Desktop/images/12042025/20/16/image_12042025_20_17_05_10368.jpg
/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_15_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302581","1352302575","1352302569","1352302578","1352302583","1352302571"],"photo_ids_order":["1352302569","1352302571","1352302575","1352302578","1352302581","1352302583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9950181d07dff96cf1997779fbd26ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2443849844152152059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487793100,"filename":"image_12042025_20_17_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/060caa755182bd8e57db42e2796772d2.jpg","text":"TemporaryFile(/tmp/multipartBody4062013606802797574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487793100,"filename":"image_12042025_20_16_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f2e32d7436493bafcef590afe3992f1.jpg","text":"TemporaryFile(/tmp/multipartBody7138037136082024196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487793100,"filename":"image_12042025_20_16_25_9825.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d96b84ec16cba45bc0388853751051e.jpg","text":"TemporaryFile(/tmp/multipartBody8835027261976229410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487793100,"filename":"image_12042025_20_16_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eeea1283dfc72a27d3e6b19b80230136.jpg","text":"TemporaryFile(/tmp/multipartBody1728085492876565236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487793100,"filename":"image_12042025_20_17_15_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db25a4ec900ef4e6dbb0c7152a7c7298.jpg","text":"TemporaryFile(/tmp/multipartBody6132949201779610459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487793100,"filename":"image_12042025_20_16_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302575","file1":"1352302571","file0":"1352302569","file4":"1352302581","file5":"1352302583","file3":"1352302578"},"map_files_photo_id_array":[{"photo_id":"1352302583","filename":"file5"},{"photo_id":"1352302575","filename":"file2"},{"photo_id":"1352302581","filename":"file4"},{"photo_id":"1352302571","filename":"file1"},{"photo_id":"1352302569","filename":"file0"},{"photo_id":"1352302578","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302581":["hashtag1","hashtag2"]},{"1352302575":["hashtag1","hashtag2"]},{"1352302569":["hashtag1","hashtag2"]},{"1352302578":["hashtag1","hashtag2"]},{"1352302583":["hashtag1","hashtag2"]},{"1352302571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302581, 1352302575, 1352302569, 1352302578, 1352302583, 1352302571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.881489992141724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:56:32.723994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_25_10363.jpg', '/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_34_9370.jpg', '/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_45_10448.jpg', '/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_55_10360.jpg', '/home/pi/Desktop/images/12042025/20/17/image_12042025_20_18_05_9418.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_25_10363.jpg
/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_34_9370.jpg
/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_45_10448.jpg
/home/pi/Desktop/images/12042025/20/17/image_12042025_20_17_55_10360.jpg
/home/pi/Desktop/images/12042025/20/17/image_12042025_20_18_05_9418.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302648","1352302714","1352302708","1352302649","1352302696","1352302678"],"photo_ids_order":["1352302648","1352302649","1352302678","1352302696","1352302708","1352302714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/776a3aeb07c85722a9412a325563eec0.jpg","text":"TemporaryFile(/tmp/multipartBody3996694910491371894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487853201,"filename":"image_12042025_20_17_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77f8dd69718af53ddb6efee6104f531e.jpg","text":"TemporaryFile(/tmp/multipartBody3773891220559501576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487853201,"filename":"image_12042025_20_18_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05bad5786e60441a212efc42d5e4dc16.jpg","text":"TemporaryFile(/tmp/multipartBody6098572633092045688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487853201,"filename":"image_12042025_20_18_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6bc57469bab2d31a4f41bece7a5e3fe.jpg","text":"TemporaryFile(/tmp/multipartBody4623920394665773915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487853201,"filename":"image_12042025_20_17_34_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bb01fe81df672478827250c70c25cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1969321075201671610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487853201,"filename":"image_12042025_20_17_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1c1c26dc8402517b545c0a46ea2612b.jpg","text":"TemporaryFile(/tmp/multipartBody3279047480934829526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744487853201,"filename":"image_12042025_20_17_45_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302678","file1":"1352302649","file0":"1352302648","file4":"1352302708","file5":"1352302714","file3":"1352302696"},"map_files_photo_id_array":[{"photo_id":"1352302714","filename":"file5"},{"photo_id":"1352302678","filename":"file2"},{"photo_id":"1352302708","filename":"file4"},{"photo_id":"1352302649","filename":"file1"},{"photo_id":"1352302648","filename":"file0"},{"photo_id":"1352302696","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302648":["hashtag1","hashtag2"]},{"1352302714":["hashtag1","hashtag2"]},{"1352302708":["hashtag1","hashtag2"]},{"1352302649":["hashtag1","hashtag2"]},{"1352302696":["hashtag1","hashtag2"]},{"1352302678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302648, 1352302714, 1352302708, 1352302649, 1352302696, 1352302678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06740951538086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 21:57:33.143858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_24_9355.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_35_10473.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_45_10350.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_55_9456.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_19_05_10355.jpg', '/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_14_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_24_9355.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_35_10473.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_45_10350.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_55_9456.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_19_05_10355.jpg
/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_14_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 21:59:04.058705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_24_9355.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_35_10473.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_45_10350.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_55_9456.jpg', '/home/pi/Desktop/images/12042025/20/18/image_12042025_20_19_05_10355.jpg', '/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_14_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_24_9355.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_35_10473.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_45_10350.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_18_55_9456.jpg
/home/pi/Desktop/images/12042025/20/18/image_12042025_20_19_05_10355.jpg
/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_14_9349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352302759","1352302752","1352302755","1352302749","1352302764","1352302756"],"photo_ids_order":["1352302749","1352302752","1352302755","1352302756","1352302759","1352302764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3700803fc12ca1210d4694a3b5bcef5.jpg","text":"TemporaryFile(/tmp/multipartBody819902743593805174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488004603,"filename":"image_12042025_20_19_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf56be16a107021e252236eabce03931.jpg","text":"TemporaryFile(/tmp/multipartBody658618761927117357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488004603,"filename":"image_12042025_20_18_35_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/001697379d855dbc0855d4c6b3bed475.jpg","text":"TemporaryFile(/tmp/multipartBody3827778951872398679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488004603,"filename":"image_12042025_20_18_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0efb7e99ba4ee37f9c70662c9bf41e34.jpg","text":"TemporaryFile(/tmp/multipartBody3450428029624399272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488004603,"filename":"image_12042025_20_18_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84a0f468169bf280ae28636362332732.jpg","text":"TemporaryFile(/tmp/multipartBody2832106083454430124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488004603,"filename":"image_12042025_20_19_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef2219a0e20ffb0fff1e069cd31e2edc.jpg","text":"TemporaryFile(/tmp/multipartBody8869936467972593816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488004603,"filename":"image_12042025_20_18_55_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352302755","file1":"1352302752","file0":"1352302749","file4":"1352302759","file5":"1352302764","file3":"1352302756"},"map_files_photo_id_array":[{"photo_id":"1352302764","filename":"file5"},{"photo_id":"1352302755","filename":"file2"},{"photo_id":"1352302759","filename":"file4"},{"photo_id":"1352302752","filename":"file1"},{"photo_id":"1352302749","filename":"file0"},{"photo_id":"1352302756","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352302759":["hashtag1","hashtag2"]},{"1352302752":["hashtag1","hashtag2"]},{"1352302755":["hashtag1","hashtag2"]},{"1352302749":["hashtag1","hashtag2"]},{"1352302764":["hashtag1","hashtag2"]},{"1352302756":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352302759, 1352302752, 1352302755, 1352302749, 1352302764, 1352302756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21943235397339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 21:59:42.665847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_25_10471.jpg', '/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_35_10362.jpg', '/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_45_9424.jpg', '/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_55_10379.jpg', '/home/pi/Desktop/images/12042025/20/19/image_12042025_20_20_04_9345.jpg', '/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_15_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_25_10471.jpg
/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_35_10362.jpg
/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_45_9424.jpg
/home/pi/Desktop/images/12042025/20/19/image_12042025_20_19_55_10379.jpg
/home/pi/Desktop/images/12042025/20/19/image_12042025_20_20_04_9345.jpg
/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_15_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352303289","1352303349","1352303319","1352303334","1352302916","1352303326"],"photo_ids_order":["1352302916","1352303289","1352303319","1352303326","1352303334","1352303349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ee040da42b5f379fdc7dda8bcfde6cd.jpg","text":"TemporaryFile(/tmp/multipartBody73965194434086000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488043141,"filename":"image_12042025_20_19_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d3dbd557ba9ba2ecf5c8a53c8a1145c.jpg","text":"TemporaryFile(/tmp/multipartBody3570604636940405663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488043141,"filename":"image_12042025_20_20_15_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/672abab9240751c184f9b269f22818a3.jpg","text":"TemporaryFile(/tmp/multipartBody1547924150275597819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488043141,"filename":"image_12042025_20_19_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58e49eafcf51784b0dd4d7ed4a62c1ab.jpg","text":"TemporaryFile(/tmp/multipartBody48057822553837558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488043141,"filename":"image_12042025_20_20_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce49564cfd32e4f1c26e2155e24211b0.jpg","text":"TemporaryFile(/tmp/multipartBody8216064010415253253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488043141,"filename":"image_12042025_20_19_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40e3f2677f0a7fb0580dd772e2871c18.jpg","text":"TemporaryFile(/tmp/multipartBody1135121226667850595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488043141,"filename":"image_12042025_20_19_55_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352303319","file1":"1352303289","file0":"1352302916","file4":"1352303334","file5":"1352303349","file3":"1352303326"},"map_files_photo_id_array":[{"photo_id":"1352303349","filename":"file5"},{"photo_id":"1352303319","filename":"file2"},{"photo_id":"1352303334","filename":"file4"},{"photo_id":"1352303289","filename":"file1"},{"photo_id":"1352302916","filename":"file0"},{"photo_id":"1352303326","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352303289":["hashtag1","hashtag2"]},{"1352303349":["hashtag1","hashtag2"]},{"1352303319":["hashtag1","hashtag2"]},{"1352303334":["hashtag1","hashtag2"]},{"1352302916":["hashtag1","hashtag2"]},{"1352303326":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352303289, 1352303349, 1352303319, 1352303334, 1352302916, 1352303326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94596004486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:00:32.977006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_25_10401.jpg', '/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_34_9414.jpg', '/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_45_10434.jpg', '/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_54_9353.jpg', '/home/pi/Desktop/images/12042025/20/20/image_12042025_20_21_05_10456.jpg', '/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_15_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_25_10401.jpg
/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_34_9414.jpg
/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_45_10434.jpg
/home/pi/Desktop/images/12042025/20/20/image_12042025_20_20_54_9353.jpg
/home/pi/Desktop/images/12042025/20/20/image_12042025_20_21_05_10456.jpg
/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_15_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352303404","1352303406","1352303399","1352303408","1352303402","1352303407"],"photo_ids_order":["1352303399","1352303402","1352303404","1352303406","1352303407","1352303408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be1d54ebae620e0b8e8fdab1267bdea7.jpg","text":"TemporaryFile(/tmp/multipartBody7966437580025997239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488093461,"filename":"image_12042025_20_20_45_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d07a541454dae98735050791b97f65df.jpg","text":"TemporaryFile(/tmp/multipartBody3042293444868097427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488093461,"filename":"image_12042025_20_20_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ec376da57add5b6ce6179c32a3a52624.jpg","text":"TemporaryFile(/tmp/multipartBody3540999782474051894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488093461,"filename":"image_12042025_20_20_25_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9a3cbb2eea7b9bf2513d10b1d9c976e.jpg","text":"TemporaryFile(/tmp/multipartBody6856716905654783793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488093461,"filename":"image_12042025_20_21_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3da5bbdfb257924bc36aba2f59ef028.jpg","text":"TemporaryFile(/tmp/multipartBody4061511164687044114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488093461,"filename":"image_12042025_20_20_34_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d94aeeb913cb11cc95ce92a4769bd703.jpg","text":"TemporaryFile(/tmp/multipartBody3205806130721492979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488093461,"filename":"image_12042025_20_21_05_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352303404","file1":"1352303402","file0":"1352303399","file4":"1352303407","file5":"1352303408","file3":"1352303406"},"map_files_photo_id_array":[{"photo_id":"1352303408","filename":"file5"},{"photo_id":"1352303404","filename":"file2"},{"photo_id":"1352303407","filename":"file4"},{"photo_id":"1352303402","filename":"file1"},{"photo_id":"1352303399","filename":"file0"},{"photo_id":"1352303406","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352303404":["hashtag1","hashtag2"]},{"1352303406":["hashtag1","hashtag2"]},{"1352303399":["hashtag1","hashtag2"]},{"1352303408":["hashtag1","hashtag2"]},{"1352303402":["hashtag1","hashtag2"]},{"1352303407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352303404, 1352303406, 1352303399, 1352303408, 1352303402, 1352303407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.063761711120605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:01:32.277663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_25_9505.jpg', '/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_35_10403.jpg', '/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_45_9465.jpg', '/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_55_10371.jpg', '/home/pi/Desktop/images/12042025/20/21/image_12042025_20_22_04_9413.jpg', '/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_15_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_25_9505.jpg
/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_35_10403.jpg
/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_45_9465.jpg
/home/pi/Desktop/images/12042025/20/21/image_12042025_20_21_55_10371.jpg
/home/pi/Desktop/images/12042025/20/21/image_12042025_20_22_04_9413.jpg
/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_15_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352303499","1352303477","1352303501","1352303482","1352303485","1352303479"],"photo_ids_order":["1352303477","1352303479","1352303482","1352303485","1352303499","1352303501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a34153134cf8060c836e3cc8d7f7fa3e.jpg","text":"TemporaryFile(/tmp/multipartBody4940258882518952327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488152741,"filename":"image_12042025_20_22_04_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ea9a48fbf4b7df941c332297fd3a5089.jpg","text":"TemporaryFile(/tmp/multipartBody6058440309706804710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488152741,"filename":"image_12042025_20_21_25_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abceee6b4ef9fa4b5eb0916da59064a7.jpg","text":"TemporaryFile(/tmp/multipartBody6140523477883015327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488152741,"filename":"image_12042025_20_22_15_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9408842b8cf890a212525822af8e91ba.jpg","text":"TemporaryFile(/tmp/multipartBody1532116013402980531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488152741,"filename":"image_12042025_20_21_45_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cc09a8e39f66859986ede9473f53dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3294366459938573643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488152741,"filename":"image_12042025_20_21_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1c87ffd318e25cd1fc7046c39955d79b.jpg","text":"TemporaryFile(/tmp/multipartBody5961710575402398484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488152741,"filename":"image_12042025_20_21_35_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352303482","file1":"1352303479","file0":"1352303477","file4":"1352303499","file5":"1352303501","file3":"1352303485"},"map_files_photo_id_array":[{"photo_id":"1352303501","filename":"file5"},{"photo_id":"1352303482","filename":"file2"},{"photo_id":"1352303499","filename":"file4"},{"photo_id":"1352303479","filename":"file1"},{"photo_id":"1352303477","filename":"file0"},{"photo_id":"1352303485","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352303499":["hashtag1","hashtag2"]},{"1352303477":["hashtag1","hashtag2"]},{"1352303501":["hashtag1","hashtag2"]},{"1352303482":["hashtag1","hashtag2"]},{"1352303485":["hashtag1","hashtag2"]},{"1352303479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352303499, 1352303477, 1352303501, 1352303482, 1352303485, 1352303479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35214900970459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:02:32.491798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_25_10385.jpg', '/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_35_9410.jpg', '/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_45_10399.jpg', '/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_54_9367.jpg', '/home/pi/Desktop/images/12042025/20/22/image_12042025_20_23_05_10371.jpg', '/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_15_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_25_10385.jpg
/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_35_9410.jpg
/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_45_10399.jpg
/home/pi/Desktop/images/12042025/20/22/image_12042025_20_22_54_9367.jpg
/home/pi/Desktop/images/12042025/20/22/image_12042025_20_23_05_10371.jpg
/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_15_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352303526","1352303511","1352303528","1352303537","1352303522","1352303530"],"photo_ids_order":["1352303511","1352303522","1352303526","1352303528","1352303530","1352303537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1e1e011fb6e8482b20bb56d5c8edd9eb.jpg","text":"TemporaryFile(/tmp/multipartBody2862853720985675912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488212969,"filename":"image_12042025_20_22_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70a2b6f4e55593986f53384770c3ea42.jpg","text":"TemporaryFile(/tmp/multipartBody6159583521758326300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488212969,"filename":"image_12042025_20_22_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/130c3570cf079d7421cfc3b2ea72cda6.jpg","text":"TemporaryFile(/tmp/multipartBody2210014244439984543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488212969,"filename":"image_12042025_20_22_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6254d72baf9a7492015c9ef86cca3c6.jpg","text":"TemporaryFile(/tmp/multipartBody7498797511507926855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488212969,"filename":"image_12042025_20_23_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/523f688e5224743b5a97e989eb8ef233.jpg","text":"TemporaryFile(/tmp/multipartBody869762345282105673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488212969,"filename":"image_12042025_20_22_35_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0cea8e799d10510a970d17855dc58cb.jpg","text":"TemporaryFile(/tmp/multipartBody5325966644058962835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488212969,"filename":"image_12042025_20_23_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352303526","file1":"1352303522","file0":"1352303511","file4":"1352303530","file5":"1352303537","file3":"1352303528"},"map_files_photo_id_array":[{"photo_id":"1352303537","filename":"file5"},{"photo_id":"1352303526","filename":"file2"},{"photo_id":"1352303530","filename":"file4"},{"photo_id":"1352303522","filename":"file1"},{"photo_id":"1352303511","filename":"file0"},{"photo_id":"1352303528","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352303526":["hashtag1","hashtag2"]},{"1352303511":["hashtag1","hashtag2"]},{"1352303528":["hashtag1","hashtag2"]},{"1352303537":["hashtag1","hashtag2"]},{"1352303522":["hashtag1","hashtag2"]},{"1352303530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352303526, 1352303511, 1352303528, 1352303537, 1352303522, 1352303530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.73929762840271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:03:32.826949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_25_9481.jpg', '/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_35_10464.jpg', '/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_44_9367.jpg', '/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_55_10386.jpg', '/home/pi/Desktop/images/12042025/20/23/image_12042025_20_24_05_10399.jpg', '/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_15_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_25_9481.jpg
/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_35_10464.jpg
/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_44_9367.jpg
/home/pi/Desktop/images/12042025/20/23/image_12042025_20_23_55_10386.jpg
/home/pi/Desktop/images/12042025/20/23/image_12042025_20_24_05_10399.jpg
/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_15_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352303598","1352303602","1352303604","1352303609","1352303590","1352303578"],"photo_ids_order":["1352303578","1352303590","1352303598","1352303602","1352303604","1352303609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/269f1a693024d977f99856b7aa8a7d3d.jpg","text":"TemporaryFile(/tmp/multipartBody1521686318825657760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488273327,"filename":"image_12042025_20_23_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/778677f5d010740d1130bb103823087e.jpg","text":"TemporaryFile(/tmp/multipartBody5952410851923511363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488273327,"filename":"image_12042025_20_23_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/131e748d6540effc27c4b5f415e9bb61.jpg","text":"TemporaryFile(/tmp/multipartBody2979102375127776096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488273327,"filename":"image_12042025_20_24_05_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15abe68586745e9d468fc83c8f399178.jpg","text":"TemporaryFile(/tmp/multipartBody3196606658163199436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488273327,"filename":"image_12042025_20_24_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58631af23fef07c6108446578be51056.jpg","text":"TemporaryFile(/tmp/multipartBody3181541935734614153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488273327,"filename":"image_12042025_20_23_35_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b6cd39fc66d1263dd223d9f96838baa.jpg","text":"TemporaryFile(/tmp/multipartBody7900543900076259051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488273327,"filename":"image_12042025_20_23_25_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352303598","file1":"1352303590","file0":"1352303578","file4":"1352303604","file5":"1352303609","file3":"1352303602"},"map_files_photo_id_array":[{"photo_id":"1352303609","filename":"file5"},{"photo_id":"1352303598","filename":"file2"},{"photo_id":"1352303604","filename":"file4"},{"photo_id":"1352303590","filename":"file1"},{"photo_id":"1352303578","filename":"file0"},{"photo_id":"1352303602","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352303598":["hashtag1","hashtag2"]},{"1352303602":["hashtag1","hashtag2"]},{"1352303604":["hashtag1","hashtag2"]},{"1352303609":["hashtag1","hashtag2"]},{"1352303590":["hashtag1","hashtag2"]},{"1352303578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352303598, 1352303602, 1352303604, 1352303609, 1352303590, 1352303578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.41523313522339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:04:32.924856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_25_10382.jpg', '/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_34_9365.jpg', '/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_45_10390.jpg', '/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_55_10364.jpg', '/home/pi/Desktop/images/12042025/20/24/image_12042025_20_25_04_9369.jpg', '/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_25_10382.jpg
/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_34_9365.jpg
/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_45_10390.jpg
/home/pi/Desktop/images/12042025/20/24/image_12042025_20_24_55_10364.jpg
/home/pi/Desktop/images/12042025/20/24/image_12042025_20_25_04_9369.jpg
/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_15_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352303707","1352303762","1352303810","1352303801","1352303785","1352303737"],"photo_ids_order":["1352303707","1352303737","1352303762","1352303785","1352303801","1352303810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c7ddd787d49520646292577ac0fdd47.jpg","text":"TemporaryFile(/tmp/multipartBody3024698501958560382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488333402,"filename":"image_12042025_20_24_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7aeea8d5d7038b932dbcec2f84dc2ce.jpg","text":"TemporaryFile(/tmp/multipartBody2269098550441913776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488333402,"filename":"image_12042025_20_24_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21375e1e9b86afc5b9af56a74bbf10dc.jpg","text":"TemporaryFile(/tmp/multipartBody21020671634522579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488333402,"filename":"image_12042025_20_25_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/82ec548df693e7083ccdd35fc1c1e3b1.jpg","text":"TemporaryFile(/tmp/multipartBody1823075405282511710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488333402,"filename":"image_12042025_20_25_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac178a31de327f2d7b15deedba6dfa99.jpg","text":"TemporaryFile(/tmp/multipartBody4848377434911705015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488333402,"filename":"image_12042025_20_24_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e14183e3e2c07efdb266dbbbf7ab872.jpg","text":"TemporaryFile(/tmp/multipartBody1349918840310350776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488333402,"filename":"image_12042025_20_24_34_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352303762","file1":"1352303737","file0":"1352303707","file4":"1352303801","file5":"1352303810","file3":"1352303785"},"map_files_photo_id_array":[{"photo_id":"1352303810","filename":"file5"},{"photo_id":"1352303762","filename":"file2"},{"photo_id":"1352303801","filename":"file4"},{"photo_id":"1352303737","filename":"file1"},{"photo_id":"1352303707","filename":"file0"},{"photo_id":"1352303785","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352303707":["hashtag1","hashtag2"]},{"1352303762":["hashtag1","hashtag2"]},{"1352303810":["hashtag1","hashtag2"]},{"1352303801":["hashtag1","hashtag2"]},{"1352303785":["hashtag1","hashtag2"]},{"1352303737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352303707, 1352303762, 1352303810, 1352303801, 1352303785, 1352303737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9715850353241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:05:33.122104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_25_10424.jpg', '/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_35_9396.jpg', '/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_45_10360.jpg', '/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_54_9346.jpg', '/home/pi/Desktop/images/12042025/20/25/image_12042025_20_26_05_10367.jpg', '/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_15_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_25_10424.jpg
/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_35_9396.jpg
/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_45_10360.jpg
/home/pi/Desktop/images/12042025/20/25/image_12042025_20_25_54_9346.jpg
/home/pi/Desktop/images/12042025/20/25/image_12042025_20_26_05_10367.jpg
/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_15_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352304132","1352304062","1352304023","1352304043","1352304109","1352304090"],"photo_ids_order":["1352304023","1352304043","1352304062","1352304090","1352304109","1352304132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9caad7d0758d03b2555a54b8075dfcd1.jpg","text":"TemporaryFile(/tmp/multipartBody5380048576021557357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488393598,"filename":"image_12042025_20_26_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b29d7bbac897e02eb686dd6d55b3ce06.jpg","text":"TemporaryFile(/tmp/multipartBody7933632266443899577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488393598,"filename":"image_12042025_20_25_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a248ab6626f41d64d64bde318560a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody4343195267546747571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488393598,"filename":"image_12042025_20_25_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ef14ef9637711a4b19badf5645a2bb0.jpg","text":"TemporaryFile(/tmp/multipartBody7212167085837806241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488393598,"filename":"image_12042025_20_25_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca462cee11cda8ffc9b32302f556c340.jpg","text":"TemporaryFile(/tmp/multipartBody363147979528026133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488393598,"filename":"image_12042025_20_26_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/86bd1af640d399d7c58b12e6342f540f.jpg","text":"TemporaryFile(/tmp/multipartBody9016913592476554186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488393598,"filename":"image_12042025_20_25_54_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352304062","file1":"1352304043","file0":"1352304023","file4":"1352304109","file5":"1352304132","file3":"1352304090"},"map_files_photo_id_array":[{"photo_id":"1352304132","filename":"file5"},{"photo_id":"1352304062","filename":"file2"},{"photo_id":"1352304109","filename":"file4"},{"photo_id":"1352304043","filename":"file1"},{"photo_id":"1352304023","filename":"file0"},{"photo_id":"1352304090","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352304132":["hashtag1","hashtag2"]},{"1352304062":["hashtag1","hashtag2"]},{"1352304023":["hashtag1","hashtag2"]},{"1352304043":["hashtag1","hashtag2"]},{"1352304109":["hashtag1","hashtag2"]},{"1352304090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352304132, 1352304062, 1352304023, 1352304043, 1352304109, 1352304090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52689743041992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:06:32.315035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_24_9372.jpg', '/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_35_10354.jpg', '/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_45_10393.jpg', '/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_55_9451.jpg', '/home/pi/Desktop/images/12042025/20/26/image_12042025_20_27_05_10439.jpg', '/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_14_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_24_9372.jpg
/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_35_10354.jpg
/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_45_10393.jpg
/home/pi/Desktop/images/12042025/20/26/image_12042025_20_26_55_9451.jpg
/home/pi/Desktop/images/12042025/20/26/image_12042025_20_27_05_10439.jpg
/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_14_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352304549","1352304785","1352304692","1352305220","1352305210","1352304826"],"photo_ids_order":["1352304549","1352304692","1352304785","1352304826","1352305210","1352305220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b7babb97c696b636574189eaf12968c0.jpg","text":"TemporaryFile(/tmp/multipartBody8459172774828608705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488452771,"filename":"image_12042025_20_26_24_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/abef6c5d07da981aa19d9817b4afa32c.jpg","text":"TemporaryFile(/tmp/multipartBody5050615450721324214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488452771,"filename":"image_12042025_20_26_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/004a0d3af60b2873a096982dc5415b09.jpg","text":"TemporaryFile(/tmp/multipartBody5576418910144034887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488452771,"filename":"image_12042025_20_26_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85d83879937991fd8bded790584b15d2.jpg","text":"TemporaryFile(/tmp/multipartBody2227762950491288304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488452771,"filename":"image_12042025_20_27_14_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/972cbed1c059d73b5105a886cf79d71f.jpg","text":"TemporaryFile(/tmp/multipartBody1752881411511677367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488452771,"filename":"image_12042025_20_27_05_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2031ab203d1ac8468124a2535654bc3e.jpg","text":"TemporaryFile(/tmp/multipartBody5429686901286644344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488452771,"filename":"image_12042025_20_26_55_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352304785","file1":"1352304692","file0":"1352304549","file4":"1352305210","file5":"1352305220","file3":"1352304826"},"map_files_photo_id_array":[{"photo_id":"1352305220","filename":"file5"},{"photo_id":"1352304785","filename":"file2"},{"photo_id":"1352305210","filename":"file4"},{"photo_id":"1352304692","filename":"file1"},{"photo_id":"1352304549","filename":"file0"},{"photo_id":"1352304826","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352304549":["hashtag1","hashtag2"]},{"1352304785":["hashtag1","hashtag2"]},{"1352304692":["hashtag1","hashtag2"]},{"1352305220":["hashtag1","hashtag2"]},{"1352305210":["hashtag1","hashtag2"]},{"1352304826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352304549, 1352304785, 1352304692, 1352305220, 1352305210, 1352304826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.86609101295471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:07:32.653818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_25_10419.jpg', '/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_35_10383.jpg', '/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_45_9452.jpg', '/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_55_10443.jpg', '/home/pi/Desktop/images/12042025/20/27/image_12042025_20_28_05_9443.jpg', '/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_25_10419.jpg
/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_35_10383.jpg
/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_45_9452.jpg
/home/pi/Desktop/images/12042025/20/27/image_12042025_20_27_55_10443.jpg
/home/pi/Desktop/images/12042025/20/27/image_12042025_20_28_05_9443.jpg
/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_15_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305235","1352305226","1352305237","1352305231","1352305233","1352305227"],"photo_ids_order":["1352305226","1352305227","1352305231","1352305233","1352305235","1352305237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6dae48d43c9d379ff6344f738106d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2024294140596707231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488513117,"filename":"image_12042025_20_28_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cebc4c665150b1989d04aaceecc042e1.jpg","text":"TemporaryFile(/tmp/multipartBody8206949512586282900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488513117,"filename":"image_12042025_20_27_25_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/103ca56166ddbd54f406e0ed244fad82.jpg","text":"TemporaryFile(/tmp/multipartBody2947013482932207698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488513117,"filename":"image_12042025_20_28_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2960754a48897cf21d465aa77be3ded.jpg","text":"TemporaryFile(/tmp/multipartBody8621528793561261746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488513117,"filename":"image_12042025_20_27_45_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d382f3bab1c34cdf850801890eabbec2.jpg","text":"TemporaryFile(/tmp/multipartBody644920226605337018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488513117,"filename":"image_12042025_20_27_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dbc745b1e588c8738e3795463ef1d6a7.jpg","text":"TemporaryFile(/tmp/multipartBody4046936801059722394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488513117,"filename":"image_12042025_20_27_35_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305231","file1":"1352305227","file0":"1352305226","file4":"1352305235","file5":"1352305237","file3":"1352305233"},"map_files_photo_id_array":[{"photo_id":"1352305237","filename":"file5"},{"photo_id":"1352305231","filename":"file2"},{"photo_id":"1352305235","filename":"file4"},{"photo_id":"1352305227","filename":"file1"},{"photo_id":"1352305226","filename":"file0"},{"photo_id":"1352305233","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352305235":["hashtag1","hashtag2"]},{"1352305226":["hashtag1","hashtag2"]},{"1352305237":["hashtag1","hashtag2"]},{"1352305231":["hashtag1","hashtag2"]},{"1352305233":["hashtag1","hashtag2"]},{"1352305227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352305235, 1352305226, 1352305237, 1352305231, 1352305233, 1352305227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57630705833435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:08:32.854318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_24_9343.jpg', '/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_35_10379.jpg', '/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_45_9945.jpg', '/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_55_10412.jpg', '/home/pi/Desktop/images/12042025/20/28/image_12042025_20_29_04_9403.jpg', '/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_15_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_24_9343.jpg
/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_35_10379.jpg
/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_45_9945.jpg
/home/pi/Desktop/images/12042025/20/28/image_12042025_20_28_55_10412.jpg
/home/pi/Desktop/images/12042025/20/28/image_12042025_20_29_04_9403.jpg
/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_15_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352305961","1352305937","1352305847","1352305897","1352306029","1352305957"],"photo_ids_order":["1352305847","1352305897","1352305937","1352305957","1352305961","1352306029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/22d14b6595c72faf96012e9c0721bffd.jpg","text":"TemporaryFile(/tmp/multipartBody8363039421075921793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488573328,"filename":"image_12042025_20_29_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e77d213b2a7cf7d085435d98cd2bb676.jpg","text":"TemporaryFile(/tmp/multipartBody6597919469660183135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488573328,"filename":"image_12042025_20_28_45_9945.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/852cbea5883616e9d1388627e887ba71.jpg","text":"TemporaryFile(/tmp/multipartBody6551227794263769977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488573328,"filename":"image_12042025_20_28_24_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/328a2d285bdfae131faa008cab037583.jpg","text":"TemporaryFile(/tmp/multipartBody8072728466897112898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488573328,"filename":"image_12042025_20_28_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/408e2af22579962e0d29ac831e49c6d4.jpg","text":"TemporaryFile(/tmp/multipartBody8072889747479465095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488573328,"filename":"image_12042025_20_29_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42cc483313500b1761f7204f58b2fddf.jpg","text":"TemporaryFile(/tmp/multipartBody8991825271509997749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488573328,"filename":"image_12042025_20_28_55_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352305937","file1":"1352305897","file0":"1352305847","file4":"1352305961","file5":"1352306029","file3":"1352305957"},"map_files_photo_id_array":[{"photo_id":"1352306029","filename":"file5"},{"photo_id":"1352305937","filename":"file2"},{"photo_id":"1352305961","filename":"file4"},{"photo_id":"1352305897","filename":"file1"},{"photo_id":"1352305847","filename":"file0"},{"photo_id":"1352305957","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352305961":["hashtag1","hashtag2"]},{"1352305937":["hashtag1","hashtag2"]},{"1352305847":["hashtag1","hashtag2"]},{"1352305897":["hashtag1","hashtag2"]},{"1352306029":["hashtag1","hashtag2"]},{"1352305957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352305961, 1352305937, 1352305847, 1352305897, 1352306029, 1352305957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30349659919739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:09:32.965283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_25_10359.jpg', '/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_35_9437.jpg', '/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_45_10357.jpg', '/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_54_9424.jpg', '/home/pi/Desktop/images/12042025/20/29/image_12042025_20_30_05_10453.jpg', '/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_14_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_25_10359.jpg
/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_35_9437.jpg
/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_45_10357.jpg
/home/pi/Desktop/images/12042025/20/29/image_12042025_20_29_54_9424.jpg
/home/pi/Desktop/images/12042025/20/29/image_12042025_20_30_05_10453.jpg
/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_14_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352306452","1352306425","1352306298","1352306235","1352306450","1352306393"],"photo_ids_order":["1352306235","1352306298","1352306393","1352306425","1352306450","1352306452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/122e38045cbedce8b8d3dafe49ecb10c.jpg","text":"TemporaryFile(/tmp/multipartBody4536698202011654499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488633430,"filename":"image_12042025_20_30_14_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b9402c56955c77e06af98c0ff650d67.jpg","text":"TemporaryFile(/tmp/multipartBody1774678853277318647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488633430,"filename":"image_12042025_20_29_54_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a734b1c15cfe45db431e03543963ae96.jpg","text":"TemporaryFile(/tmp/multipartBody1038791162369848105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488633430,"filename":"image_12042025_20_29_35_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e63ca8b6dd263c21e9b858e8f8335f1e.jpg","text":"TemporaryFile(/tmp/multipartBody1264334078285023570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488633430,"filename":"image_12042025_20_29_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f929ddbe14c8ea33d4f5fb1a889bbcc8.jpg","text":"TemporaryFile(/tmp/multipartBody7076159257504539031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488633430,"filename":"image_12042025_20_30_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d309e2c90a9a7eb8d561ba722e4943dc.jpg","text":"TemporaryFile(/tmp/multipartBody6309034108845198896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488633430,"filename":"image_12042025_20_29_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352306393","file1":"1352306298","file0":"1352306235","file4":"1352306450","file5":"1352306452","file3":"1352306425"},"map_files_photo_id_array":[{"photo_id":"1352306452","filename":"file5"},{"photo_id":"1352306393","filename":"file2"},{"photo_id":"1352306450","filename":"file4"},{"photo_id":"1352306298","filename":"file1"},{"photo_id":"1352306235","filename":"file0"},{"photo_id":"1352306425","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352306452":["hashtag1","hashtag2"]},{"1352306425":["hashtag1","hashtag2"]},{"1352306298":["hashtag1","hashtag2"]},{"1352306235":["hashtag1","hashtag2"]},{"1352306450":["hashtag1","hashtag2"]},{"1352306393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352306452, 1352306425, 1352306298, 1352306235, 1352306450, 1352306393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.370108127593994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:10:32.238244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_25_10412.jpg', '/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_35_10345.jpg', '/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_44_9365.jpg', '/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_55_10369.jpg', '/home/pi/Desktop/images/12042025/20/30/image_12042025_20_31_05_10371.jpg', '/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_15_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_25_10412.jpg
/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_35_10345.jpg
/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_44_9365.jpg
/home/pi/Desktop/images/12042025/20/30/image_12042025_20_30_55_10369.jpg
/home/pi/Desktop/images/12042025/20/30/image_12042025_20_31_05_10371.jpg
/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_15_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352306522","1352306461","1352306506","1352306481","1352306463","1352306465"],"photo_ids_order":["1352306461","1352306463","1352306465","1352306481","1352306506","1352306522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f13a28dd30e451e66fb3a101f39ba76a.jpg","text":"TemporaryFile(/tmp/multipartBody6555242067089982481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488692701,"filename":"image_12042025_20_31_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ab7b507821dcacd69a03926d084c556.jpg","text":"TemporaryFile(/tmp/multipartBody8326436578283975947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488692701,"filename":"image_12042025_20_30_25_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/adc2494de5990c571f9c3b014abba875.jpg","text":"TemporaryFile(/tmp/multipartBody2040756275277319051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488692701,"filename":"image_12042025_20_31_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04ba0c547ea92fa1e13190ff73db42ab.jpg","text":"TemporaryFile(/tmp/multipartBody507906663046789447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488692701,"filename":"image_12042025_20_30_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/29bf2dc7f2a1ce95c379d943bbf0390e.jpg","text":"TemporaryFile(/tmp/multipartBody8079497664353395686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488692701,"filename":"image_12042025_20_30_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/87cc1ac8e0a9f8de6ab1d6a0106099be.jpg","text":"TemporaryFile(/tmp/multipartBody1644621458639560180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488692701,"filename":"image_12042025_20_30_44_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352306465","file1":"1352306463","file0":"1352306461","file4":"1352306506","file5":"1352306522","file3":"1352306481"},"map_files_photo_id_array":[{"photo_id":"1352306522","filename":"file5"},{"photo_id":"1352306465","filename":"file2"},{"photo_id":"1352306506","filename":"file4"},{"photo_id":"1352306463","filename":"file1"},{"photo_id":"1352306461","filename":"file0"},{"photo_id":"1352306481","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352306522":["hashtag1","hashtag2"]},{"1352306461":["hashtag1","hashtag2"]},{"1352306506":["hashtag1","hashtag2"]},{"1352306481":["hashtag1","hashtag2"]},{"1352306463":["hashtag1","hashtag2"]},{"1352306465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352306522, 1352306461, 1352306506, 1352306481, 1352306463, 1352306465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14637303352356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:11:32.458985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_25_10383.jpg', '/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_34_9347.jpg', '/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_45_10442.jpg', '/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_55_10362.jpg', '/home/pi/Desktop/images/12042025/20/31/image_12042025_20_32_05_9426.jpg', '/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_15_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_25_10383.jpg
/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_34_9347.jpg
/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_45_10442.jpg
/home/pi/Desktop/images/12042025/20/31/image_12042025_20_31_55_10362.jpg
/home/pi/Desktop/images/12042025/20/31/image_12042025_20_32_05_9426.jpg
/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_15_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352306930","1352306896","1352306839","1352306973","1352306802","1352306882"],"photo_ids_order":["1352306802","1352306839","1352306882","1352306896","1352306930","1352306973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/13c9615297d8c19552c5b9b031ba879d.jpg","text":"TemporaryFile(/tmp/multipartBody6882279066271073728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488752932,"filename":"image_12042025_20_32_05_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9ccd36f89a315cf85b9a96fb8caddbd.jpg","text":"TemporaryFile(/tmp/multipartBody4356399742171720555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488752932,"filename":"image_12042025_20_31_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0c769a32945234c4cf1bfca081db432.jpg","text":"TemporaryFile(/tmp/multipartBody4170897681618444495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488752932,"filename":"image_12042025_20_31_34_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d22843d3d4102bd4f8ba850d9533af4e.jpg","text":"TemporaryFile(/tmp/multipartBody4617199713919583845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488752932,"filename":"image_12042025_20_32_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28137936ea2a7e2a2abb71ee52663ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5645014395478563206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488752932,"filename":"image_12042025_20_31_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8687dd88b6cdb61ed382fd8b528f7788.jpg","text":"TemporaryFile(/tmp/multipartBody7367020173855857358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488752932,"filename":"image_12042025_20_31_45_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352306882","file1":"1352306839","file0":"1352306802","file4":"1352306930","file5":"1352306973","file3":"1352306896"},"map_files_photo_id_array":[{"photo_id":"1352306973","filename":"file5"},{"photo_id":"1352306882","filename":"file2"},{"photo_id":"1352306930","filename":"file4"},{"photo_id":"1352306839","filename":"file1"},{"photo_id":"1352306802","filename":"file0"},{"photo_id":"1352306896","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352306930":["hashtag1","hashtag2"]},{"1352306896":["hashtag1","hashtag2"]},{"1352306839":["hashtag1","hashtag2"]},{"1352306973":["hashtag1","hashtag2"]},{"1352306802":["hashtag1","hashtag2"]},{"1352306882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352306930, 1352306896, 1352306839, 1352306973, 1352306802, 1352306882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.474141120910645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:12:32.743718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_24_9368.jpg', '/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_35_10369.jpg', '/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_45_10443.jpg', '/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_54_9375.jpg', '/home/pi/Desktop/images/12042025/20/32/image_12042025_20_33_05_10354.jpg', '/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_15_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_24_9368.jpg
/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_35_10369.jpg
/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_45_10443.jpg
/home/pi/Desktop/images/12042025/20/32/image_12042025_20_32_54_9375.jpg
/home/pi/Desktop/images/12042025/20/32/image_12042025_20_33_05_10354.jpg
/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_15_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352307451","1352307241","1352307409","1352307362","1352307323","1352307200"],"photo_ids_order":["1352307200","1352307241","1352307323","1352307362","1352307409","1352307451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5ad0eff063f877ff991cae6b0be46a45.jpg","text":"TemporaryFile(/tmp/multipartBody4861870261714621567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488813215,"filename":"image_12042025_20_33_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75d94163d92ce5f9898f408fe27d7e6e.jpg","text":"TemporaryFile(/tmp/multipartBody405373438070384610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488813215,"filename":"image_12042025_20_32_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6535e0d2513dde7bf6b43666e80f0ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3379074495988163115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488813215,"filename":"image_12042025_20_33_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e99de623e2d2cd92c5db4714332b3af7.jpg","text":"TemporaryFile(/tmp/multipartBody5397956688007421828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488813215,"filename":"image_12042025_20_32_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7359de9bbc8b87823761c9f5294450ef.jpg","text":"TemporaryFile(/tmp/multipartBody6481738009283217888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488813215,"filename":"image_12042025_20_32_45_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c0d91c857ed0c8d80d3648b3cfb3061.jpg","text":"TemporaryFile(/tmp/multipartBody8032810454619383359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488813215,"filename":"image_12042025_20_32_24_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352307323","file1":"1352307241","file0":"1352307200","file4":"1352307409","file5":"1352307451","file3":"1352307362"},"map_files_photo_id_array":[{"photo_id":"1352307451","filename":"file5"},{"photo_id":"1352307323","filename":"file2"},{"photo_id":"1352307409","filename":"file4"},{"photo_id":"1352307241","filename":"file1"},{"photo_id":"1352307200","filename":"file0"},{"photo_id":"1352307362","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352307451":["hashtag1","hashtag2"]},{"1352307241":["hashtag1","hashtag2"]},{"1352307409":["hashtag1","hashtag2"]},{"1352307362":["hashtag1","hashtag2"]},{"1352307323":["hashtag1","hashtag2"]},{"1352307200":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352307451, 1352307241, 1352307409, 1352307362, 1352307323, 1352307200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22380352020264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:13:33.068037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_25_9450.jpg', '/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_35_10398.jpg', '/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_44_9360.jpg', '/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_55_10363.jpg', '/home/pi/Desktop/images/12042025/20/33/image_12042025_20_34_05_10359.jpg', '/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_14_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_25_9450.jpg
/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_35_10398.jpg
/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_44_9360.jpg
/home/pi/Desktop/images/12042025/20/33/image_12042025_20_33_55_10363.jpg
/home/pi/Desktop/images/12042025/20/33/image_12042025_20_34_05_10359.jpg
/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_14_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352307841","1352307934","1352307820","1352307867","1352307906","1352307886"],"photo_ids_order":["1352307820","1352307841","1352307867","1352307886","1352307906","1352307934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/799f742112e77229cb8bd2b7d4e4e283.jpg","text":"TemporaryFile(/tmp/multipartBody6772943539713888625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488873541,"filename":"image_12042025_20_33_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6090a4437b43626de1974cfecf575f14.jpg","text":"TemporaryFile(/tmp/multipartBody4925630898626971192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488873541,"filename":"image_12042025_20_34_14_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/519d284e27b4706cf2aad911459264be.jpg","text":"TemporaryFile(/tmp/multipartBody3772885238833689084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488873541,"filename":"image_12042025_20_33_25_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c13d621c70d04664c9067a634d70fff.jpg","text":"TemporaryFile(/tmp/multipartBody3209431260711421968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488873541,"filename":"image_12042025_20_33_44_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/df17eb479ba2db1507acc5e8708d261f.jpg","text":"TemporaryFile(/tmp/multipartBody2139518164788932995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488873541,"filename":"image_12042025_20_34_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d522468a8b0c2f1bcb5b609974e48718.jpg","text":"TemporaryFile(/tmp/multipartBody5534168065010731466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488873541,"filename":"image_12042025_20_33_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352307867","file1":"1352307841","file0":"1352307820","file4":"1352307906","file5":"1352307934","file3":"1352307886"},"map_files_photo_id_array":[{"photo_id":"1352307934","filename":"file5"},{"photo_id":"1352307867","filename":"file2"},{"photo_id":"1352307906","filename":"file4"},{"photo_id":"1352307841","filename":"file1"},{"photo_id":"1352307820","filename":"file0"},{"photo_id":"1352307886","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352307841":["hashtag1","hashtag2"]},{"1352307934":["hashtag1","hashtag2"]},{"1352307820":["hashtag1","hashtag2"]},{"1352307867":["hashtag1","hashtag2"]},{"1352307906":["hashtag1","hashtag2"]},{"1352307886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352307841, 1352307934, 1352307820, 1352307867, 1352307906, 1352307886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.81822681427002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:14:33.176442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_25_10375.jpg', '/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_35_10372.jpg', '/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_45_9491.jpg', '/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_55_10371.jpg', '/home/pi/Desktop/images/12042025/20/34/image_12042025_20_35_04_9350.jpg', '/home/pi/Desktop/images/12042025/20/35/image_12042025_20_35_15_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_25_10375.jpg
/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_35_10372.jpg
/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_45_9491.jpg
/home/pi/Desktop/images/12042025/20/34/image_12042025_20_34_55_10371.jpg
/home/pi/Desktop/images/12042025/20/34/image_12042025_20_35_04_9350.jpg
/home/pi/Desktop/images/12042025/20/35/image_12042025_20_35_15_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352308035","1352308116","1352308073","1352308037","1352308040","1352308034"],"photo_ids_order":["1352308034","1352308035","1352308037","1352308040","1352308073","1352308116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b6ac4920f2eb1a5215324c8f5801ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5293781154489684008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488933644,"filename":"image_12042025_20_34_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59ec3b3e4b4e48c86ca2bded34e82db3.jpg","text":"TemporaryFile(/tmp/multipartBody2067494004454167219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488933644,"filename":"image_12042025_20_35_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/807da07cad05bd0b357c2ba25089b06e.jpg","text":"TemporaryFile(/tmp/multipartBody5151274051386826963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488933644,"filename":"image_12042025_20_35_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b20c05394eb9163ef37ebcfeb7b5cb7f.jpg","text":"TemporaryFile(/tmp/multipartBody6586398961690572492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488933644,"filename":"image_12042025_20_34_45_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d7ad0e7fc547dd4bd9d9a93705f6600c.jpg","text":"TemporaryFile(/tmp/multipartBody7583227023532488905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488933644,"filename":"image_12042025_20_34_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f0e02a7673a0420b18b310e8d0066cf.jpg","text":"TemporaryFile(/tmp/multipartBody651664687469894782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488933644,"filename":"image_12042025_20_34_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352308037","file1":"1352308035","file0":"1352308034","file4":"1352308073","file5":"1352308116","file3":"1352308040"},"map_files_photo_id_array":[{"photo_id":"1352308116","filename":"file5"},{"photo_id":"1352308037","filename":"file2"},{"photo_id":"1352308073","filename":"file4"},{"photo_id":"1352308035","filename":"file1"},{"photo_id":"1352308034","filename":"file0"},{"photo_id":"1352308040","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352308035":["hashtag1","hashtag2"]},{"1352308116":["hashtag1","hashtag2"]},{"1352308073":["hashtag1","hashtag2"]},{"1352308037":["hashtag1","hashtag2"]},{"1352308040":["hashtag1","hashtag2"]},{"1352308034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352308035, 1352308116, 1352308073, 1352308037, 1352308040, 1352308034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55977487564087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:15:32.408544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/35/image_12042025_20_35_35_9392.jpg', '/home/pi/Desktop/images/12042025/20/35/image_12042025_20_35_45_10356.jpg', '/home/pi/Desktop/images/12042025/20/35/image_12042025_20_35_54_9349.jpg', '/home/pi/Desktop/images/12042025/20/35/image_12042025_20_36_05_10438.jpg', '/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_15_10359.jpg', '/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_24_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/35/image_12042025_20_35_35_9392.jpg
/home/pi/Desktop/images/12042025/20/35/image_12042025_20_35_45_10356.jpg
/home/pi/Desktop/images/12042025/20/35/image_12042025_20_35_54_9349.jpg
/home/pi/Desktop/images/12042025/20/35/image_12042025_20_36_05_10438.jpg
/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_15_10359.jpg
/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_24_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352308822","1352308670","1352308871","1352308616","1352308718","1352308780"],"photo_ids_order":["1352308616","1352308670","1352308718","1352308780","1352308822","1352308871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c1c5c23c15d96fdd402193c27aa15036.jpg","text":"TemporaryFile(/tmp/multipartBody8718770469965857692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488992868,"filename":"image_12042025_20_36_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/044c6747ed174fea4c8731d151aa9bc6.jpg","text":"TemporaryFile(/tmp/multipartBody1632460974504513426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488992868,"filename":"image_12042025_20_35_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/974b7b45744c03ced831a6c6d9a902aa.jpg","text":"TemporaryFile(/tmp/multipartBody7721484076110612006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488992868,"filename":"image_12042025_20_36_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c41d8654eec81ffd191f4eb7f3d873bf.jpg","text":"TemporaryFile(/tmp/multipartBody5989907219098571194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488992868,"filename":"image_12042025_20_35_35_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/55246ec8f1ae9d5779f9cdb3baf52e41.jpg","text":"TemporaryFile(/tmp/multipartBody5649604811712554430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488992868,"filename":"image_12042025_20_35_54_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b10a70da355061e9cf4d1e1165df5793.jpg","text":"TemporaryFile(/tmp/multipartBody5443672070218109505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744488992868,"filename":"image_12042025_20_36_05_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352308718","file1":"1352308670","file0":"1352308616","file4":"1352308822","file5":"1352308871","file3":"1352308780"},"map_files_photo_id_array":[{"photo_id":"1352308871","filename":"file5"},{"photo_id":"1352308718","filename":"file2"},{"photo_id":"1352308822","filename":"file4"},{"photo_id":"1352308670","filename":"file1"},{"photo_id":"1352308616","filename":"file0"},{"photo_id":"1352308780","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352308822":["hashtag1","hashtag2"]},{"1352308670":["hashtag1","hashtag2"]},{"1352308871":["hashtag1","hashtag2"]},{"1352308616":["hashtag1","hashtag2"]},{"1352308718":["hashtag1","hashtag2"]},{"1352308780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352308822, 1352308670, 1352308871, 1352308616, 1352308718, 1352308780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63319253921509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:16:32.557666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_35_10445.jpg', '/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_45_10357.jpg', '/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_55_9434.jpg', '/home/pi/Desktop/images/12042025/20/36/image_12042025_20_37_05_10360.jpg', '/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_14_9342.jpg', '/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_35_10445.jpg
/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_45_10357.jpg
/home/pi/Desktop/images/12042025/20/36/image_12042025_20_36_55_9434.jpg
/home/pi/Desktop/images/12042025/20/36/image_12042025_20_37_05_10360.jpg
/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_14_9342.jpg
/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_25_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352309172","1352309261","1352309144","1352309219","1352309197","1352309245"],"photo_ids_order":["1352309144","1352309172","1352309197","1352309219","1352309245","1352309261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa7959cfd064bd62502e736946fcc14c.jpg","text":"TemporaryFile(/tmp/multipartBody541445419770483527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489053041,"filename":"image_12042025_20_36_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e74ff9cd360d7e83cbb66037d1cf776.jpg","text":"TemporaryFile(/tmp/multipartBody7532858806140441866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489053041,"filename":"image_12042025_20_37_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c74a38de3ee19bbfe25a0464dd7254e1.jpg","text":"TemporaryFile(/tmp/multipartBody3958787709658615008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489053041,"filename":"image_12042025_20_36_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9085c7ab7d4f9db884195a6e043092ea.jpg","text":"TemporaryFile(/tmp/multipartBody6628428948484736865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489053041,"filename":"image_12042025_20_37_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fff061a1ee29c113538728122ed1416.jpg","text":"TemporaryFile(/tmp/multipartBody7635165477031517827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489053041,"filename":"image_12042025_20_36_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da770bc94361e518fa147cade650a7c2.jpg","text":"TemporaryFile(/tmp/multipartBody8476638123402757778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489053041,"filename":"image_12042025_20_37_14_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352309197","file1":"1352309172","file0":"1352309144","file4":"1352309245","file5":"1352309261","file3":"1352309219"},"map_files_photo_id_array":[{"photo_id":"1352309261","filename":"file5"},{"photo_id":"1352309197","filename":"file2"},{"photo_id":"1352309245","filename":"file4"},{"photo_id":"1352309172","filename":"file1"},{"photo_id":"1352309144","filename":"file0"},{"photo_id":"1352309219","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352309172":["hashtag1","hashtag2"]},{"1352309261":["hashtag1","hashtag2"]},{"1352309144":["hashtag1","hashtag2"]},{"1352309219":["hashtag1","hashtag2"]},{"1352309197":["hashtag1","hashtag2"]},{"1352309245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352309172, 1352309261, 1352309144, 1352309219, 1352309197, 1352309245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76982092857361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:17:32.861403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_35_10372.jpg', '/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_45_9409.jpg', '/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_55_10459.jpg', '/home/pi/Desktop/images/12042025/20/37/image_12042025_20_38_04_9349.jpg', '/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_15_10366.jpg', '/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_35_10372.jpg
/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_45_9409.jpg
/home/pi/Desktop/images/12042025/20/37/image_12042025_20_37_55_10459.jpg
/home/pi/Desktop/images/12042025/20/37/image_12042025_20_38_04_9349.jpg
/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_15_10366.jpg
/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352309676","1352309591","1352309744","1352309639","1352309525","1352309728"],"photo_ids_order":["1352309525","1352309591","1352309639","1352309676","1352309728","1352309744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/979aef6806868f49f7375a0a82c4686d.jpg","text":"TemporaryFile(/tmp/multipartBody1810901734380710357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489113334,"filename":"image_12042025_20_38_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/861464e88f1f46631f252155ce87f7bd.jpg","text":"TemporaryFile(/tmp/multipartBody7591077112097264485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489113334,"filename":"image_12042025_20_37_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31699350219f3d60356d0c1e4488af6d.jpg","text":"TemporaryFile(/tmp/multipartBody4277551595743167290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489113334,"filename":"image_12042025_20_38_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f53491692a73c0e82f2266fe698d49ad.jpg","text":"TemporaryFile(/tmp/multipartBody5474235521398277946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489113334,"filename":"image_12042025_20_37_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/768bc7c4b4095597fb869918ab3c6036.jpg","text":"TemporaryFile(/tmp/multipartBody7419608484893692877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489113334,"filename":"image_12042025_20_37_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ea51b5e1c58f3c29024b91f8046b303.jpg","text":"TemporaryFile(/tmp/multipartBody7868632033680216769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489113334,"filename":"image_12042025_20_38_15_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352309639","file1":"1352309591","file0":"1352309525","file4":"1352309728","file5":"1352309744","file3":"1352309676"},"map_files_photo_id_array":[{"photo_id":"1352309744","filename":"file5"},{"photo_id":"1352309639","filename":"file2"},{"photo_id":"1352309728","filename":"file4"},{"photo_id":"1352309591","filename":"file1"},{"photo_id":"1352309525","filename":"file0"},{"photo_id":"1352309676","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352309676":["hashtag1","hashtag2"]},{"1352309591":["hashtag1","hashtag2"]},{"1352309744":["hashtag1","hashtag2"]},{"1352309639":["hashtag1","hashtag2"]},{"1352309525":["hashtag1","hashtag2"]},{"1352309728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352309676, 1352309591, 1352309744, 1352309639, 1352309525, 1352309728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.148436307907104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:18:32.991570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_34_9356.jpg', '/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_45_10433.jpg', '/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_55_10372.jpg', '/home/pi/Desktop/images/12042025/20/38/image_12042025_20_39_05_9383.jpg', '/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_15_10361.jpg', '/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_24_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_34_9356.jpg
/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_45_10433.jpg
/home/pi/Desktop/images/12042025/20/38/image_12042025_20_38_55_10372.jpg
/home/pi/Desktop/images/12042025/20/38/image_12042025_20_39_05_9383.jpg
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_15_10361.jpg
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_24_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352310100","1352310264","1352310177","1352310225","1352310009","1352310061"],"photo_ids_order":["1352310009","1352310061","1352310100","1352310177","1352310225","1352310264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e5545333ac3309f14e02b825b3fb7ae0.jpg","text":"TemporaryFile(/tmp/multipartBody531100217424117842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489173472,"filename":"image_12042025_20_38_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d84c345700575f838d21a0ed7f920bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3774710747486326364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489173472,"filename":"image_12042025_20_39_24_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44af32a0de0cfd2b58c4a061db6f846c.jpg","text":"TemporaryFile(/tmp/multipartBody6342196230815284564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489173472,"filename":"image_12042025_20_39_05_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9152d7c9a86f56243c994de6e060af7c.jpg","text":"TemporaryFile(/tmp/multipartBody5130787620628729687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489173472,"filename":"image_12042025_20_39_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44204c7c00de987c99c032405048d852.jpg","text":"TemporaryFile(/tmp/multipartBody6581942183856891396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489173472,"filename":"image_12042025_20_38_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f1ca94c8c7987b6493cbf46c7c1d3e2.jpg","text":"TemporaryFile(/tmp/multipartBody6195570150817164125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489173472,"filename":"image_12042025_20_38_45_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352310100","file1":"1352310061","file0":"1352310009","file4":"1352310225","file5":"1352310264","file3":"1352310177"},"map_files_photo_id_array":[{"photo_id":"1352310264","filename":"file5"},{"photo_id":"1352310100","filename":"file2"},{"photo_id":"1352310225","filename":"file4"},{"photo_id":"1352310061","filename":"file1"},{"photo_id":"1352310009","filename":"file0"},{"photo_id":"1352310177","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352310100":["hashtag1","hashtag2"]},{"1352310264":["hashtag1","hashtag2"]},{"1352310177":["hashtag1","hashtag2"]},{"1352310225":["hashtag1","hashtag2"]},{"1352310009":["hashtag1","hashtag2"]},{"1352310061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352310100, 1352310264, 1352310177, 1352310225, 1352310009, 1352310061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.722639322280884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:19:32.215996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_35_10363.jpg', '/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_45_10399.jpg', '/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_55_9494.jpg', '/home/pi/Desktop/images/12042025/20/39/image_12042025_20_40_05_10374.jpg', '/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_14_9362.jpg', '/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_25_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_35_10363.jpg
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_45_10399.jpg
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_55_9494.jpg
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_40_05_10374.jpg
/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_14_9362.jpg
/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_25_10468.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3849003314971924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 22:19:42.188092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_35_10363.jpg', '/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_45_10399.jpg', '/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_55_9494.jpg', '/home/pi/Desktop/images/12042025/20/39/image_12042025_20_40_05_10374.jpg', '/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_14_9362.jpg', '/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_25_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_35_10363.jpg
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_45_10399.jpg
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_39_55_9494.jpg
/home/pi/Desktop/images/12042025/20/39/image_12042025_20_40_05_10374.jpg
/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_14_9362.jpg
/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_25_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352310927","1352310881","1352310702","1352310845","1352310800","1352310745"],"photo_ids_order":["1352310702","1352310745","1352310800","1352310845","1352310881","1352310927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a56b75903ec64a6a1d5263cc9f057ad.jpg","text":"TemporaryFile(/tmp/multipartBody824247008781489052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489242654,"filename":"image_12042025_20_40_25_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f57c6665de1a4d9adf184863767a6f25.jpg","text":"TemporaryFile(/tmp/multipartBody3104679203251087531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489242654,"filename":"image_12042025_20_40_14_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d388ff3be873c89d578c6d999125e968.jpg","text":"TemporaryFile(/tmp/multipartBody228723788487089915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489242654,"filename":"image_12042025_20_39_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/160d8237fa5c041c3729d1eee0666cc5.jpg","text":"TemporaryFile(/tmp/multipartBody7555760168324857209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489242654,"filename":"image_12042025_20_40_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5161bb25b5935f26130e5ea695ee23e6.jpg","text":"TemporaryFile(/tmp/multipartBody7370463067863967458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489242654,"filename":"image_12042025_20_39_55_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f547275c461b3418c940c1d214da77e0.jpg","text":"TemporaryFile(/tmp/multipartBody89790288361225665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489242654,"filename":"image_12042025_20_39_45_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352310800","file1":"1352310745","file0":"1352310702","file4":"1352310881","file5":"1352310927","file3":"1352310845"},"map_files_photo_id_array":[{"photo_id":"1352310927","filename":"file5"},{"photo_id":"1352310800","filename":"file2"},{"photo_id":"1352310881","filename":"file4"},{"photo_id":"1352310745","filename":"file1"},{"photo_id":"1352310702","filename":"file0"},{"photo_id":"1352310845","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352310927":["hashtag1","hashtag2"]},{"1352310881":["hashtag1","hashtag2"]},{"1352310702":["hashtag1","hashtag2"]},{"1352310845":["hashtag1","hashtag2"]},{"1352310800":["hashtag1","hashtag2"]},{"1352310745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352310927, 1352310881, 1352310702, 1352310845, 1352310800, 1352310745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51311206817627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:20:32.370969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_35_10393.jpg', '/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_45_9462.jpg', '/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_55_10369.jpg', '/home/pi/Desktop/images/12042025/20/40/image_12042025_20_41_05_9459.jpg', '/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_15_10344.jpg', '/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_35_10393.jpg
/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_45_9462.jpg
/home/pi/Desktop/images/12042025/20/40/image_12042025_20_40_55_10369.jpg
/home/pi/Desktop/images/12042025/20/40/image_12042025_20_41_05_9459.jpg
/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_15_10344.jpg
/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_25_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352311059","1352311020","1352311023","1352311031","1352311034","1352311028"],"photo_ids_order":["1352311020","1352311023","1352311028","1352311031","1352311034","1352311059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4477b29b09972e273aadcf1d76347d6.jpg","text":"TemporaryFile(/tmp/multipartBody2578631916687786040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489292850,"filename":"image_12042025_20_41_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a3a2e9c545e3d9f7c4ad5feeaac2a79.jpg","text":"TemporaryFile(/tmp/multipartBody636296426672602166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489292850,"filename":"image_12042025_20_40_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e06b3316124dceeac9ac3f667d3c275f.jpg","text":"TemporaryFile(/tmp/multipartBody5599409456290664586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489292850,"filename":"image_12042025_20_40_45_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/54b591e465b1b65a1c1cbc202b86209f.jpg","text":"TemporaryFile(/tmp/multipartBody9104165125185431274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489292850,"filename":"image_12042025_20_41_05_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ac35410b72a97421a629c866a31a47b.jpg","text":"TemporaryFile(/tmp/multipartBody3900923436887982455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489292850,"filename":"image_12042025_20_41_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6c144d7eaccc65d4001a82fdc7848d9.jpg","text":"TemporaryFile(/tmp/multipartBody8924692577268321984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489292850,"filename":"image_12042025_20_40_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352311028","file1":"1352311023","file0":"1352311020","file4":"1352311034","file5":"1352311059","file3":"1352311031"},"map_files_photo_id_array":[{"photo_id":"1352311059","filename":"file5"},{"photo_id":"1352311028","filename":"file2"},{"photo_id":"1352311034","filename":"file4"},{"photo_id":"1352311023","filename":"file1"},{"photo_id":"1352311020","filename":"file0"},{"photo_id":"1352311031","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352311059":["hashtag1","hashtag2"]},{"1352311020":["hashtag1","hashtag2"]},{"1352311023":["hashtag1","hashtag2"]},{"1352311031":["hashtag1","hashtag2"]},{"1352311034":["hashtag1","hashtag2"]},{"1352311028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352311059, 1352311020, 1352311023, 1352311031, 1352311034, 1352311028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8184175491333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:21:32.548305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_35_9447.jpg', '/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_45_10438.jpg', '/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_55_9478.jpg', '/home/pi/Desktop/images/12042025/20/41/image_12042025_20_42_05_10364.jpg', '/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_14_9340.jpg', '/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_35_9447.jpg
/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_45_10438.jpg
/home/pi/Desktop/images/12042025/20/41/image_12042025_20_41_55_9478.jpg
/home/pi/Desktop/images/12042025/20/41/image_12042025_20_42_05_10364.jpg
/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_14_9340.jpg
/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_25_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352311761","1352311616","1352311672","1352311511","1352311570","1352311698"],"photo_ids_order":["1352311511","1352311570","1352311616","1352311672","1352311698","1352311761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db4d53542cadcf5d49d420b570de75a4.jpg","text":"TemporaryFile(/tmp/multipartBody2424501509113624271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489353041,"filename":"image_12042025_20_42_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be341873ba17fc8c6594db803c546dab.jpg","text":"TemporaryFile(/tmp/multipartBody6293495491427580014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489353041,"filename":"image_12042025_20_41_55_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7cec4e84f6ce8903c6581d2363f06a5d.jpg","text":"TemporaryFile(/tmp/multipartBody6019950615397311392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489353041,"filename":"image_12042025_20_42_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f365a5912f05e545cad3209b6bce0e0.jpg","text":"TemporaryFile(/tmp/multipartBody4663208546569320072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489353041,"filename":"image_12042025_20_41_35_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cf60c4ae3281fa942be78a299326dea9.jpg","text":"TemporaryFile(/tmp/multipartBody7475936193604998506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489353041,"filename":"image_12042025_20_41_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/402e7e88963ef26c93119ce8927db937.jpg","text":"TemporaryFile(/tmp/multipartBody9169354519593794477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489353041,"filename":"image_12042025_20_42_14_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352311616","file1":"1352311570","file0":"1352311511","file4":"1352311698","file5":"1352311761","file3":"1352311672"},"map_files_photo_id_array":[{"photo_id":"1352311761","filename":"file5"},{"photo_id":"1352311616","filename":"file2"},{"photo_id":"1352311698","filename":"file4"},{"photo_id":"1352311570","filename":"file1"},{"photo_id":"1352311511","filename":"file0"},{"photo_id":"1352311672","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352311761":["hashtag1","hashtag2"]},{"1352311616":["hashtag1","hashtag2"]},{"1352311672":["hashtag1","hashtag2"]},{"1352311511":["hashtag1","hashtag2"]},{"1352311570":["hashtag1","hashtag2"]},{"1352311698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352311761, 1352311616, 1352311672, 1352311511, 1352311570, 1352311698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.42790389060974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:22:32.859699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_35_10416.jpg', '/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_45_9430.jpg', '/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_55_10369.jpg', '/home/pi/Desktop/images/12042025/20/42/image_12042025_20_43_05_10348.jpg', '/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_15_9352.jpg', '/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_35_10416.jpg
/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_45_9430.jpg
/home/pi/Desktop/images/12042025/20/42/image_12042025_20_42_55_10369.jpg
/home/pi/Desktop/images/12042025/20/42/image_12042025_20_43_05_10348.jpg
/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_15_9352.jpg
/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_25_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352312217","1352312048","1352312156","1352312003","1352312107","1352312181"],"photo_ids_order":["1352312003","1352312048","1352312107","1352312156","1352312181","1352312217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/162fa2d2aa7e10197b8f93483d19d465.jpg","text":"TemporaryFile(/tmp/multipartBody3937158993927610967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489413332,"filename":"image_12042025_20_43_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/956969f9019d4383e169b3f85cd9858d.jpg","text":"TemporaryFile(/tmp/multipartBody4278115735759053894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489413332,"filename":"image_12042025_20_42_45_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a39bdff26ba40375dfc6c79b5c145892.jpg","text":"TemporaryFile(/tmp/multipartBody2732493061840505874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489413332,"filename":"image_12042025_20_43_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/423138c3a733b6c090663a67ff6a14dc.jpg","text":"TemporaryFile(/tmp/multipartBody4538762974917689196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489413332,"filename":"image_12042025_20_42_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b1e0c2fc8517c912fa23f9c97fe5eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody2233510937853879260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489413332,"filename":"image_12042025_20_42_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1d1dd3a546a869595ff54705fe41289.jpg","text":"TemporaryFile(/tmp/multipartBody167639701458332556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489413332,"filename":"image_12042025_20_43_15_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352312107","file1":"1352312048","file0":"1352312003","file4":"1352312181","file5":"1352312217","file3":"1352312156"},"map_files_photo_id_array":[{"photo_id":"1352312217","filename":"file5"},{"photo_id":"1352312107","filename":"file2"},{"photo_id":"1352312181","filename":"file4"},{"photo_id":"1352312048","filename":"file1"},{"photo_id":"1352312003","filename":"file0"},{"photo_id":"1352312156","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352312217":["hashtag1","hashtag2"]},{"1352312048":["hashtag1","hashtag2"]},{"1352312156":["hashtag1","hashtag2"]},{"1352312003":["hashtag1","hashtag2"]},{"1352312107":["hashtag1","hashtag2"]},{"1352312181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352312217, 1352312048, 1352312156, 1352312003, 1352312107, 1352312181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18613839149475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:23:33.030340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_34_9448.jpg', '/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_45_10428.jpg', '/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_55_10366.jpg', '/home/pi/Desktop/images/12042025/20/43/image_12042025_20_44_05_9362.jpg', '/home/pi/Desktop/images/12042025/20/44/image_12042025_20_44_24_9347.jpg', '/home/pi/Desktop/images/12042025/20/44/image_12042025_20_44_35_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_34_9448.jpg
/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_45_10428.jpg
/home/pi/Desktop/images/12042025/20/43/image_12042025_20_43_55_10366.jpg
/home/pi/Desktop/images/12042025/20/43/image_12042025_20_44_05_9362.jpg
/home/pi/Desktop/images/12042025/20/44/image_12042025_20_44_24_9347.jpg
/home/pi/Desktop/images/12042025/20/44/image_12042025_20_44_35_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352313551","1352313872","1352313929","1352313379","1352313693","1352313471"],"photo_ids_order":["1352313379","1352313471","1352313551","1352313693","1352313872","1352313929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4e7ae59a9c9876a73db1900e83dcebc.jpg","text":"TemporaryFile(/tmp/multipartBody3746219586647715367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489473511,"filename":"image_12042025_20_43_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46ba2cda2f4a7fc8757e594c25e3f5d6.jpg","text":"TemporaryFile(/tmp/multipartBody5063544052727257523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489473511,"filename":"image_12042025_20_44_24_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/97251fc4f79bab926e12b692d2f9c819.jpg","text":"TemporaryFile(/tmp/multipartBody2011689492693209472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489473511,"filename":"image_12042025_20_44_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8ca1859bdf0b1a63a211c035a49619f3.jpg","text":"TemporaryFile(/tmp/multipartBody6914250246579288118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489473511,"filename":"image_12042025_20_43_34_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ff526285ecdd0d62f63dbf7b7b5cd690.jpg","text":"TemporaryFile(/tmp/multipartBody8952582492397859698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489473511,"filename":"image_12042025_20_44_05_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3749397516d16310475804afdf7df64.jpg","text":"TemporaryFile(/tmp/multipartBody8344657067428439771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489473511,"filename":"image_12042025_20_43_45_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352313551","file1":"1352313471","file0":"1352313379","file4":"1352313872","file5":"1352313929","file3":"1352313693"},"map_files_photo_id_array":[{"photo_id":"1352313929","filename":"file5"},{"photo_id":"1352313551","filename":"file2"},{"photo_id":"1352313872","filename":"file4"},{"photo_id":"1352313471","filename":"file1"},{"photo_id":"1352313379","filename":"file0"},{"photo_id":"1352313693","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352313551":["hashtag1","hashtag2"]},{"1352313872":["hashtag1","hashtag2"]},{"1352313929":["hashtag1","hashtag2"]},{"1352313379":["hashtag1","hashtag2"]},{"1352313693":["hashtag1","hashtag2"]},{"1352313471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352313551, 1352313872, 1352313929, 1352313379, 1352313693, 1352313471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69203853607178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:24:32.262944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/44/image_12042025_20_44_45_10396.jpg', '/home/pi/Desktop/images/12042025/20/44/image_12042025_20_44_55_9418.jpg', '/home/pi/Desktop/images/12042025/20/44/image_12042025_20_45_05_10430.jpg', '/home/pi/Desktop/images/12042025/20/45/image_12042025_20_45_14_9363.jpg', '/home/pi/Desktop/images/12042025/20/45/image_12042025_20_45_25_10394.jpg', '/home/pi/Desktop/images/12042025/20/45/image_12042025_20_45_35_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/44/image_12042025_20_44_45_10396.jpg
/home/pi/Desktop/images/12042025/20/44/image_12042025_20_44_55_9418.jpg
/home/pi/Desktop/images/12042025/20/44/image_12042025_20_45_05_10430.jpg
/home/pi/Desktop/images/12042025/20/45/image_12042025_20_45_14_9363.jpg
/home/pi/Desktop/images/12042025/20/45/image_12042025_20_45_25_10394.jpg
/home/pi/Desktop/images/12042025/20/45/image_12042025_20_45_35_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352314511","1352314564","1352314459","1352314330","1352314435","1352314397"],"photo_ids_order":["1352314330","1352314397","1352314435","1352314459","1352314511","1352314564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eb3ff891c63f774758d42e12c5453e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2788576681696616823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489532720,"filename":"image_12042025_20_45_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/51ea05b38891bb1fe180027b6ee5aa24.jpg","text":"TemporaryFile(/tmp/multipartBody5649466731091391557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489532720,"filename":"image_12042025_20_45_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e902123c8293366937301350e3bee4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4340685257740372758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489532720,"filename":"image_12042025_20_45_14_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b7c2a72dbabee7bc0dc7002b67c4a49.jpg","text":"TemporaryFile(/tmp/multipartBody6629958645789127995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489532720,"filename":"image_12042025_20_44_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8dc015f2f58e93bb9b3d6ec5e39c01c4.jpg","text":"TemporaryFile(/tmp/multipartBody2573831815229666546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489532720,"filename":"image_12042025_20_45_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b880574619980ae0e686e1ad23a7dec.jpg","text":"TemporaryFile(/tmp/multipartBody5892867472104401456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489532720,"filename":"image_12042025_20_44_55_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352314435","file1":"1352314397","file0":"1352314330","file4":"1352314511","file5":"1352314564","file3":"1352314459"},"map_files_photo_id_array":[{"photo_id":"1352314564","filename":"file5"},{"photo_id":"1352314435","filename":"file2"},{"photo_id":"1352314511","filename":"file4"},{"photo_id":"1352314397","filename":"file1"},{"photo_id":"1352314330","filename":"file0"},{"photo_id":"1352314459","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352314511":["hashtag1","hashtag2"]},{"1352314564":["hashtag1","hashtag2"]},{"1352314459":["hashtag1","hashtag2"]},{"1352314330":["hashtag1","hashtag2"]},{"1352314435":["hashtag1","hashtag2"]},{"1352314397":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352314511, 1352314564, 1352314459, 1352314330, 1352314435, 1352314397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4316086769104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:25:32.461237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/45/image_12042025_20_45_55_10441.jpg', '/home/pi/Desktop/images/12042025/20/46/image_12042025_20_46_25_10383.jpg', '/home/pi/Desktop/images/12042025/20/46/image_12042025_20_46_34_9373.jpg', '/home/pi/Desktop/images/12042025/20/46/image_12042025_20_46_45_10448.jpg', '/home/pi/Desktop/images/12042025/20/46/image_12042025_20_46_54_9433.jpg', '/home/pi/Desktop/images/12042025/20/46/image_12042025_20_47_05_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/45/image_12042025_20_45_55_10441.jpg
/home/pi/Desktop/images/12042025/20/46/image_12042025_20_46_25_10383.jpg
/home/pi/Desktop/images/12042025/20/46/image_12042025_20_46_34_9373.jpg
/home/pi/Desktop/images/12042025/20/46/image_12042025_20_46_45_10448.jpg
/home/pi/Desktop/images/12042025/20/46/image_12042025_20_46_54_9433.jpg
/home/pi/Desktop/images/12042025/20/46/image_12042025_20_47_05_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352314727","1352314712","1352314714","1352314899","1352314716","1352314871"],"photo_ids_order":["1352314712","1352314714","1352314716","1352314727","1352314871","1352314899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11ec4b2c58b7594db2d7cda634e75188.jpg","text":"TemporaryFile(/tmp/multipartBody4516496866984094948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489592935,"filename":"image_12042025_20_46_45_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/71ac8b2b213574c33706146a12fb8c19.jpg","text":"TemporaryFile(/tmp/multipartBody4208405704016165384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489592935,"filename":"image_12042025_20_45_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e8962453adcd0897421a61355fb29eb.jpg","text":"TemporaryFile(/tmp/multipartBody1994303106490731787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489592935,"filename":"image_12042025_20_46_25_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/495fd13688a332b8c61e935152bbbd14.jpg","text":"TemporaryFile(/tmp/multipartBody2074538504465269952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489592935,"filename":"image_12042025_20_47_05_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6443578ce67f977e7fed51752923121e.jpg","text":"TemporaryFile(/tmp/multipartBody4014437861325382257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489592935,"filename":"image_12042025_20_46_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a48157a478ebe0240e7bc4d251958425.jpg","text":"TemporaryFile(/tmp/multipartBody8626020884234378446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489592935,"filename":"image_12042025_20_46_54_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352314716","file1":"1352314714","file0":"1352314712","file4":"1352314871","file5":"1352314899","file3":"1352314727"},"map_files_photo_id_array":[{"photo_id":"1352314899","filename":"file5"},{"photo_id":"1352314716","filename":"file2"},{"photo_id":"1352314871","filename":"file4"},{"photo_id":"1352314714","filename":"file1"},{"photo_id":"1352314712","filename":"file0"},{"photo_id":"1352314727","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352314727":["hashtag1","hashtag2"]},{"1352314712":["hashtag1","hashtag2"]},{"1352314714":["hashtag1","hashtag2"]},{"1352314899":["hashtag1","hashtag2"]},{"1352314716":["hashtag1","hashtag2"]},{"1352314871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352314727, 1352314712, 1352314714, 1352314899, 1352314716, 1352314871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.429410219192505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:26:32.778879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/47/image_12042025_20_47_15_10356.jpg', '/home/pi/Desktop/images/12042025/20/47/image_12042025_20_47_25_9482.jpg', '/home/pi/Desktop/images/12042025/20/47/image_12042025_20_47_44_9370.jpg', '/home/pi/Desktop/images/12042025/20/47/image_12042025_20_47_55_10472.jpg', '/home/pi/Desktop/images/12042025/20/47/image_12042025_20_48_05_10370.jpg', '/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_15_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/47/image_12042025_20_47_15_10356.jpg
/home/pi/Desktop/images/12042025/20/47/image_12042025_20_47_25_9482.jpg
/home/pi/Desktop/images/12042025/20/47/image_12042025_20_47_44_9370.jpg
/home/pi/Desktop/images/12042025/20/47/image_12042025_20_47_55_10472.jpg
/home/pi/Desktop/images/12042025/20/47/image_12042025_20_48_05_10370.jpg
/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_15_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352315353","1352315323","1352315248","1352315268","1352315301","1352315225"],"photo_ids_order":["1352315225","1352315248","1352315268","1352315301","1352315323","1352315353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/40aeb88c1acbaf63267abb2445844f00.jpg","text":"TemporaryFile(/tmp/multipartBody4359329826519875148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489653243,"filename":"image_12042025_20_48_15_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4223dbe84fb7807f6aa369f5ce6c030b.jpg","text":"TemporaryFile(/tmp/multipartBody7554048293766084675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489653243,"filename":"image_12042025_20_48_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1eaf81cfd393cffbad5c2772e67b9b86.jpg","text":"TemporaryFile(/tmp/multipartBody2977882742536080922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489653243,"filename":"image_12042025_20_47_25_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/94d7a8146cc77141fc50a45556b32ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2070409988221744384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489653243,"filename":"image_12042025_20_47_44_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e4685a9d437853b6451b880c8a3b2ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2121493562915436702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489653243,"filename":"image_12042025_20_47_55_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/119a949ad23010488583895cd83100c7.jpg","text":"TemporaryFile(/tmp/multipartBody9215200033714585219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489653243,"filename":"image_12042025_20_47_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352315268","file1":"1352315248","file0":"1352315225","file4":"1352315323","file5":"1352315353","file3":"1352315301"},"map_files_photo_id_array":[{"photo_id":"1352315353","filename":"file5"},{"photo_id":"1352315268","filename":"file2"},{"photo_id":"1352315323","filename":"file4"},{"photo_id":"1352315248","filename":"file1"},{"photo_id":"1352315225","filename":"file0"},{"photo_id":"1352315301","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352315353":["hashtag1","hashtag2"]},{"1352315323":["hashtag1","hashtag2"]},{"1352315248":["hashtag1","hashtag2"]},{"1352315268":["hashtag1","hashtag2"]},{"1352315301":["hashtag1","hashtag2"]},{"1352315225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352315353, 1352315323, 1352315248, 1352315268, 1352315301, 1352315225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57484817504883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:27:32.923903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_25_10402.jpg', '/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_34_9412.jpg', '/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_45_10425.jpg', '/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_55_10364.jpg', '/home/pi/Desktop/images/12042025/20/48/image_12042025_20_49_05_9362.jpg', '/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_15_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_25_10402.jpg
/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_34_9412.jpg
/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_45_10425.jpg
/home/pi/Desktop/images/12042025/20/48/image_12042025_20_48_55_10364.jpg
/home/pi/Desktop/images/12042025/20/48/image_12042025_20_49_05_9362.jpg
/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_15_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352316042","1352315976","1352315757","1352315910","1352315861","1352315726"],"photo_ids_order":["1352315726","1352315757","1352315861","1352315910","1352315976","1352316042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17edaf35d9051e5430601bdf58dc36e9.jpg","text":"TemporaryFile(/tmp/multipartBody7594040757306126027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489713394,"filename":"image_12042025_20_49_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9f98ca54d3dad9cdd773f6e3d73c42e.jpg","text":"TemporaryFile(/tmp/multipartBody3869489404444373718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489713394,"filename":"image_12042025_20_49_05_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1814afb8ba7ef357e9343970535db354.jpg","text":"TemporaryFile(/tmp/multipartBody2673597383741321055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489713394,"filename":"image_12042025_20_48_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17e7d1f89b167f6484dbead63e749e3b.jpg","text":"TemporaryFile(/tmp/multipartBody3940261097415992226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489713394,"filename":"image_12042025_20_48_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/07186cf4631b49b400e817069744a916.jpg","text":"TemporaryFile(/tmp/multipartBody3587193518020672537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489713394,"filename":"image_12042025_20_48_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d73754a6e7656a21ce755ec1122b55a4.jpg","text":"TemporaryFile(/tmp/multipartBody7915009350148029768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489713394,"filename":"image_12042025_20_48_25_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352315861","file1":"1352315757","file0":"1352315726","file4":"1352315976","file5":"1352316042","file3":"1352315910"},"map_files_photo_id_array":[{"photo_id":"1352316042","filename":"file5"},{"photo_id":"1352315861","filename":"file2"},{"photo_id":"1352315976","filename":"file4"},{"photo_id":"1352315757","filename":"file1"},{"photo_id":"1352315726","filename":"file0"},{"photo_id":"1352315910","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352316042":["hashtag1","hashtag2"]},{"1352315976":["hashtag1","hashtag2"]},{"1352315757":["hashtag1","hashtag2"]},{"1352315910":["hashtag1","hashtag2"]},{"1352315861":["hashtag1","hashtag2"]},{"1352315726":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352316042, 1352315976, 1352315757, 1352315910, 1352315861, 1352315726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.289146900177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:28:33.132787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_24_9395.jpg', '/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_35_10446.jpg', '/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_45_10363.jpg', '/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_55_9427.jpg', '/home/pi/Desktop/images/12042025/20/49/image_12042025_20_50_05_10369.jpg', '/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_14_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_24_9395.jpg
/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_35_10446.jpg
/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_45_10363.jpg
/home/pi/Desktop/images/12042025/20/49/image_12042025_20_49_55_9427.jpg
/home/pi/Desktop/images/12042025/20/49/image_12042025_20_50_05_10369.jpg
/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_14_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352316429","1352316574","1352316484","1352316610","1352316526","1352316460"],"photo_ids_order":["1352316429","1352316460","1352316484","1352316526","1352316574","1352316610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/04f464e656d8cc42f059097e9e4ebd99.jpg","text":"TemporaryFile(/tmp/multipartBody1595829966684777758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489773587,"filename":"image_12042025_20_49_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e21abcca5a323c4f92e544009dff8b64.jpg","text":"TemporaryFile(/tmp/multipartBody878233695865112321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489773587,"filename":"image_12042025_20_50_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10456cba91aa39703697392a2335d3e4.jpg","text":"TemporaryFile(/tmp/multipartBody7111705161430036924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489773587,"filename":"image_12042025_20_49_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31ba46218dafd011376a63a31051f9f1.jpg","text":"TemporaryFile(/tmp/multipartBody6000367395035675516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489773587,"filename":"image_12042025_20_50_14_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/913beeb4b56caa466ad91e9c1b81d82f.jpg","text":"TemporaryFile(/tmp/multipartBody8226919981508041700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489773587,"filename":"image_12042025_20_49_55_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57b79a220f376104d40207309d3b47f8.jpg","text":"TemporaryFile(/tmp/multipartBody4722155782933155814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489773587,"filename":"image_12042025_20_49_35_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352316484","file1":"1352316460","file0":"1352316429","file4":"1352316574","file5":"1352316610","file3":"1352316526"},"map_files_photo_id_array":[{"photo_id":"1352316610","filename":"file5"},{"photo_id":"1352316484","filename":"file2"},{"photo_id":"1352316574","filename":"file4"},{"photo_id":"1352316460","filename":"file1"},{"photo_id":"1352316429","filename":"file0"},{"photo_id":"1352316526","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352316429":["hashtag1","hashtag2"]},{"1352316574":["hashtag1","hashtag2"]},{"1352316484":["hashtag1","hashtag2"]},{"1352316610":["hashtag1","hashtag2"]},{"1352316526":["hashtag1","hashtag2"]},{"1352316460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352316429, 1352316574, 1352316484, 1352316610, 1352316526, 1352316460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.654375314712524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:29:32.331275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_25_10379.jpg', '/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_35_10437.jpg', '/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_45_9388.jpg', '/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_55_10438.jpg', '/home/pi/Desktop/images/12042025/20/50/image_12042025_20_51_05_9467.jpg', '/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_15_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_25_10379.jpg
/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_35_10437.jpg
/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_45_9388.jpg
/home/pi/Desktop/images/12042025/20/50/image_12042025_20_50_55_10438.jpg
/home/pi/Desktop/images/12042025/20/50/image_12042025_20_51_05_9467.jpg
/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_15_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352316993","1352316870","1352316969","1352316824","1352316898","1352316943"],"photo_ids_order":["1352316824","1352316870","1352316898","1352316943","1352316969","1352316993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2d3825f7f3aa9d698a475ed63da9dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3707751909221729273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489832787,"filename":"image_12042025_20_51_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0fbc4da810bcd3145f1c46554b20171d.jpg","text":"TemporaryFile(/tmp/multipartBody3094627834861129805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489832787,"filename":"image_12042025_20_50_35_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2f5deb23a64eccebc8f07a2f9d051a63.jpg","text":"TemporaryFile(/tmp/multipartBody6270575328486685591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489832787,"filename":"image_12042025_20_51_05_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9bf526b45772cb43d25f395e6c6c57bf.jpg","text":"TemporaryFile(/tmp/multipartBody2160377885177178158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489832787,"filename":"image_12042025_20_50_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7098692ba6bd5a25f8e4ca89a3429f39.jpg","text":"TemporaryFile(/tmp/multipartBody3753246248304263423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489832787,"filename":"image_12042025_20_50_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a11696340c2c0015d5f279cb9d670492.jpg","text":"TemporaryFile(/tmp/multipartBody8076077939875412239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489832787,"filename":"image_12042025_20_50_55_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352316898","file1":"1352316870","file0":"1352316824","file4":"1352316969","file5":"1352316993","file3":"1352316943"},"map_files_photo_id_array":[{"photo_id":"1352316993","filename":"file5"},{"photo_id":"1352316898","filename":"file2"},{"photo_id":"1352316969","filename":"file4"},{"photo_id":"1352316870","filename":"file1"},{"photo_id":"1352316824","filename":"file0"},{"photo_id":"1352316943","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352316993":["hashtag1","hashtag2"]},{"1352316870":["hashtag1","hashtag2"]},{"1352316969":["hashtag1","hashtag2"]},{"1352316824":["hashtag1","hashtag2"]},{"1352316898":["hashtag1","hashtag2"]},{"1352316943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352316993, 1352316870, 1352316969, 1352316824, 1352316898, 1352316943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49598145484924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:30:32.548994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_24_9369.jpg', '/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_35_10365.jpg', '/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_45_10376.jpg', '/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_54_9443.jpg', '/home/pi/Desktop/images/12042025/20/51/image_12042025_20_52_05_10447.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_14_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_24_9369.jpg
/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_35_10365.jpg
/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_45_10376.jpg
/home/pi/Desktop/images/12042025/20/51/image_12042025_20_51_54_9443.jpg
/home/pi/Desktop/images/12042025/20/51/image_12042025_20_52_05_10447.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_14_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352317130","1352317133","1352317127","1352317135","1352317120","1352317123"],"photo_ids_order":["1352317120","1352317123","1352317127","1352317130","1352317133","1352317135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8055a121f587dc48ed3d19ae39eba28.jpg","text":"TemporaryFile(/tmp/multipartBody4458524828073816244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489893009,"filename":"image_12042025_20_51_54_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/616b0f04c80bc2a766f6bf4470d2579c.jpg","text":"TemporaryFile(/tmp/multipartBody2979682066757858752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489893009,"filename":"image_12042025_20_52_05_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05e4a1bc67cb40fac9d7332b5097e617.jpg","text":"TemporaryFile(/tmp/multipartBody3914011613622950707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489893009,"filename":"image_12042025_20_51_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f6d8ef61015008f7901dd4c598f47c2.jpg","text":"TemporaryFile(/tmp/multipartBody3499303602205495740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489893009,"filename":"image_12042025_20_52_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6d67317f58e73416b4e264a76397a57.jpg","text":"TemporaryFile(/tmp/multipartBody3720927889265092375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489893009,"filename":"image_12042025_20_51_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9cdb7ab93ad9608686db551a05d26022.jpg","text":"TemporaryFile(/tmp/multipartBody2979006507543971542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489893009,"filename":"image_12042025_20_51_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352317127","file1":"1352317123","file0":"1352317120","file4":"1352317133","file5":"1352317135","file3":"1352317130"},"map_files_photo_id_array":[{"photo_id":"1352317135","filename":"file5"},{"photo_id":"1352317127","filename":"file2"},{"photo_id":"1352317133","filename":"file4"},{"photo_id":"1352317123","filename":"file1"},{"photo_id":"1352317120","filename":"file0"},{"photo_id":"1352317130","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352317130":["hashtag1","hashtag2"]},{"1352317133":["hashtag1","hashtag2"]},{"1352317127":["hashtag1","hashtag2"]},{"1352317135":["hashtag1","hashtag2"]},{"1352317120":["hashtag1","hashtag2"]},{"1352317123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352317130, 1352317133, 1352317127, 1352317135, 1352317120, 1352317123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4612922668457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:31:32.751756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_25_10384.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_35_10361.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_44_9351.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_55_10442.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_53_05_10356.jpg', '/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_15_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_25_10384.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_35_10361.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_44_9351.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_55_10442.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_53_05_10356.jpg
/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_15_9422.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39809536933898926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 22:31:42.884329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_25_10384.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_35_10361.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_44_9351.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_55_10442.jpg', '/home/pi/Desktop/images/12042025/20/52/image_12042025_20_53_05_10356.jpg', '/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_15_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_25_10384.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_35_10361.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_44_9351.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_52_55_10442.jpg
/home/pi/Desktop/images/12042025/20/52/image_12042025_20_53_05_10356.jpg
/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_15_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352317338","1352317292","1352317223","1352317304","1352317226","1352317276"],"photo_ids_order":["1352317223","1352317226","1352317276","1352317292","1352317304","1352317338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2c1ed7e77ac1490d358cc39c884a9cb.jpg","text":"TemporaryFile(/tmp/multipartBody1214724954990481879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489963356,"filename":"image_12042025_20_53_15_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b9c62e26394b69046217dde6a277a23.jpg","text":"TemporaryFile(/tmp/multipartBody4187642842989498866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489963356,"filename":"image_12042025_20_52_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c9537b4d321920ad132bf918a1f5679.jpg","text":"TemporaryFile(/tmp/multipartBody796801965438001833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489963356,"filename":"image_12042025_20_52_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9d0a88c7c446c74d60e069ef17bc453.jpg","text":"TemporaryFile(/tmp/multipartBody3215057353418881478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489963356,"filename":"image_12042025_20_53_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd604c894b2506192bd9a62a9fa1053c.jpg","text":"TemporaryFile(/tmp/multipartBody4699542567765022082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489963356,"filename":"image_12042025_20_52_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0f42ac9e2f25a040ff16350e9fe3fa1.jpg","text":"TemporaryFile(/tmp/multipartBody2366194360036047461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744489963356,"filename":"image_12042025_20_52_44_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352317276","file1":"1352317226","file0":"1352317223","file4":"1352317304","file5":"1352317338","file3":"1352317292"},"map_files_photo_id_array":[{"photo_id":"1352317338","filename":"file5"},{"photo_id":"1352317276","filename":"file2"},{"photo_id":"1352317304","filename":"file4"},{"photo_id":"1352317226","filename":"file1"},{"photo_id":"1352317223","filename":"file0"},{"photo_id":"1352317292","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352317338":["hashtag1","hashtag2"]},{"1352317292":["hashtag1","hashtag2"]},{"1352317223":["hashtag1","hashtag2"]},{"1352317304":["hashtag1","hashtag2"]},{"1352317226":["hashtag1","hashtag2"]},{"1352317276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352317338, 1352317292, 1352317223, 1352317304, 1352317226, 1352317276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.200579166412354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:32:33.086706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_25_10397.jpg', '/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_34_9402.jpg', '/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_45_10427.jpg', '/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_55_10450.jpg', '/home/pi/Desktop/images/12042025/20/53/image_12042025_20_54_05_9430.jpg', '/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_15_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_25_10397.jpg
/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_34_9402.jpg
/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_45_10427.jpg
/home/pi/Desktop/images/12042025/20/53/image_12042025_20_53_55_10450.jpg
/home/pi/Desktop/images/12042025/20/53/image_12042025_20_54_05_9430.jpg
/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_15_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352317566","1352317608","1352317595","1352317523","1352317546","1352317497"],"photo_ids_order":["1352317497","1352317523","1352317546","1352317566","1352317595","1352317608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/530305560917ca56ffb34f3635f40110.jpg","text":"TemporaryFile(/tmp/multipartBody5359621954069124362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490013558,"filename":"image_12042025_20_53_55_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cba7233584aa862d4e3da901a8f774b5.jpg","text":"TemporaryFile(/tmp/multipartBody5624915446133632168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490013558,"filename":"image_12042025_20_54_15_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bc15868c9aa3a385b7f6290022492359.jpg","text":"TemporaryFile(/tmp/multipartBody2705595724516400625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490013558,"filename":"image_12042025_20_54_05_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39299cc48bcee6f6ba0b918bc1d0ef30.jpg","text":"TemporaryFile(/tmp/multipartBody1139937796493364101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490013558,"filename":"image_12042025_20_53_34_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ba151829db78af05deb9e0fe8716ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8934688414038762725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490013558,"filename":"image_12042025_20_53_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2daa7b4377d53f45630cd7f7541950e5.jpg","text":"TemporaryFile(/tmp/multipartBody1192968640499663145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490013558,"filename":"image_12042025_20_53_25_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352317546","file1":"1352317523","file0":"1352317497","file4":"1352317595","file5":"1352317608","file3":"1352317566"},"map_files_photo_id_array":[{"photo_id":"1352317608","filename":"file5"},{"photo_id":"1352317546","filename":"file2"},{"photo_id":"1352317595","filename":"file4"},{"photo_id":"1352317523","filename":"file1"},{"photo_id":"1352317497","filename":"file0"},{"photo_id":"1352317566","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352317566":["hashtag1","hashtag2"]},{"1352317608":["hashtag1","hashtag2"]},{"1352317595":["hashtag1","hashtag2"]},{"1352317523":["hashtag1","hashtag2"]},{"1352317546":["hashtag1","hashtag2"]},{"1352317497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352317566, 1352317608, 1352317595, 1352317523, 1352317546, 1352317497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07569622993469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:33:32.207260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_25_9424.jpg', '/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_35_10418.jpg', '/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_44_9375.jpg', '/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_55_10429.jpg', '/home/pi/Desktop/images/12042025/20/54/image_12042025_20_55_05_10425.jpg', '/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_15_9495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_25_9424.jpg
/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_35_10418.jpg
/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_44_9375.jpg
/home/pi/Desktop/images/12042025/20/54/image_12042025_20_54_55_10429.jpg
/home/pi/Desktop/images/12042025/20/54/image_12042025_20_55_05_10425.jpg
/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_15_9495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352317743","1352317929","1352318000","1352317957","1352317816","1352318076"],"photo_ids_order":["1352317743","1352317816","1352317929","1352317957","1352318000","1352318076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a754d2a7c4166a5a3960179963297da1.jpg","text":"TemporaryFile(/tmp/multipartBody6008592680537041024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490072665,"filename":"image_12042025_20_54_25_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/815f5f2c7109c22cfd8c392616e83a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7669113019867526072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490072665,"filename":"image_12042025_20_54_44_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fd451c0a551aab419b0916170a88776.jpg","text":"TemporaryFile(/tmp/multipartBody7818142662008608683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490072665,"filename":"image_12042025_20_55_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3fe5a334b76084ad8de68cdeebcaf231.jpg","text":"TemporaryFile(/tmp/multipartBody3278863944235883263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490072665,"filename":"image_12042025_20_54_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6180dc03b60318e4802da99ba33a6638.jpg","text":"TemporaryFile(/tmp/multipartBody5715538120555009489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490072665,"filename":"image_12042025_20_54_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d6e1796a4d4437c3d425a046dceb0d47.jpg","text":"TemporaryFile(/tmp/multipartBody7284748177347178939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490072665,"filename":"image_12042025_20_55_15_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352317929","file1":"1352317816","file0":"1352317743","file4":"1352318000","file5":"1352318076","file3":"1352317957"},"map_files_photo_id_array":[{"photo_id":"1352318076","filename":"file5"},{"photo_id":"1352317929","filename":"file2"},{"photo_id":"1352318000","filename":"file4"},{"photo_id":"1352317816","filename":"file1"},{"photo_id":"1352317743","filename":"file0"},{"photo_id":"1352317957","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352317743":["hashtag1","hashtag2"]},{"1352317929":["hashtag1","hashtag2"]},{"1352318000":["hashtag1","hashtag2"]},{"1352317957":["hashtag1","hashtag2"]},{"1352317816":["hashtag1","hashtag2"]},{"1352318076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352317743, 1352317929, 1352318000, 1352317957, 1352317816, 1352318076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2144775390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:34:32.458271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_25_10397.jpg', '/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_34_9361.jpg', '/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_45_10426.jpg', '/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_54_9395.jpg', '/home/pi/Desktop/images/12042025/20/55/image_12042025_20_56_05_10372.jpg', '/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_15_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_25_10397.jpg
/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_34_9361.jpg
/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_45_10426.jpg
/home/pi/Desktop/images/12042025/20/55/image_12042025_20_55_54_9395.jpg
/home/pi/Desktop/images/12042025/20/55/image_12042025_20_56_05_10372.jpg
/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_15_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352318543","1352318504","1352318599","1352318365","1352318413","1352318457"],"photo_ids_order":["1352318365","1352318413","1352318457","1352318504","1352318543","1352318599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e459d6ddccca4681c413423e64970b55.jpg","text":"TemporaryFile(/tmp/multipartBody6068828544964565807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490132983,"filename":"image_12042025_20_56_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bddf2d77631e7649017e7432f02a180d.jpg","text":"TemporaryFile(/tmp/multipartBody4419085979922595196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490132983,"filename":"image_12042025_20_55_54_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0201d074fdc26e56f747594eca9f78ee.jpg","text":"TemporaryFile(/tmp/multipartBody8410152177899912650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490132983,"filename":"image_12042025_20_56_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd47f9ae77aaffabca1e62c4a92252c0.jpg","text":"TemporaryFile(/tmp/multipartBody2505403284656689479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490132983,"filename":"image_12042025_20_55_25_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2feb17967d61b588219cf4724cba368c.jpg","text":"TemporaryFile(/tmp/multipartBody355806839382256463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490132983,"filename":"image_12042025_20_55_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bf094a225a9f9d16d171cb9dbed9f943.jpg","text":"TemporaryFile(/tmp/multipartBody6530062675758008281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490132983,"filename":"image_12042025_20_55_45_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352318457","file1":"1352318413","file0":"1352318365","file4":"1352318543","file5":"1352318599","file3":"1352318504"},"map_files_photo_id_array":[{"photo_id":"1352318599","filename":"file5"},{"photo_id":"1352318457","filename":"file2"},{"photo_id":"1352318543","filename":"file4"},{"photo_id":"1352318413","filename":"file1"},{"photo_id":"1352318365","filename":"file0"},{"photo_id":"1352318504","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352318543":["hashtag1","hashtag2"]},{"1352318504":["hashtag1","hashtag2"]},{"1352318599":["hashtag1","hashtag2"]},{"1352318365":["hashtag1","hashtag2"]},{"1352318413":["hashtag1","hashtag2"]},{"1352318457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352318543, 1352318504, 1352318599, 1352318365, 1352318413, 1352318457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.075892210006714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:35:32.604970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_24_9351.jpg', '/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_35_10384.jpg', '/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_45_10379.jpg', '/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_55_9430.jpg', '/home/pi/Desktop/images/12042025/20/56/image_12042025_20_57_05_10442.jpg', '/home/pi/Desktop/images/12042025/20/57/image_12042025_20_57_14_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_24_9351.jpg
/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_35_10384.jpg
/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_45_10379.jpg
/home/pi/Desktop/images/12042025/20/56/image_12042025_20_56_55_9430.jpg
/home/pi/Desktop/images/12042025/20/56/image_12042025_20_57_05_10442.jpg
/home/pi/Desktop/images/12042025/20/57/image_12042025_20_57_14_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352319047","1352319020","1352318912","1352318998","1352318941","1352318976"],"photo_ids_order":["1352318912","1352318941","1352318976","1352318998","1352319020","1352319047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5abf912c1d54334b534a059da47a295c.jpg","text":"TemporaryFile(/tmp/multipartBody6624299285601087405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490193078,"filename":"image_12042025_20_57_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/58f1898e428c78cb5ede1366c1506ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2090409932536470782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490193078,"filename":"image_12042025_20_57_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25087cd6dac3c4868be2240d7d112dac.jpg","text":"TemporaryFile(/tmp/multipartBody8064939156518767669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490193078,"filename":"image_12042025_20_56_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0db83f544f89359a04487600a2312767.jpg","text":"TemporaryFile(/tmp/multipartBody4071208555933638443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490193078,"filename":"image_12042025_20_56_55_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ffa56604ece387dc48257f49103b2448.jpg","text":"TemporaryFile(/tmp/multipartBody5549593010577686904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490193078,"filename":"image_12042025_20_56_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c36363a7febd6d5f540a0ccd631b353.jpg","text":"TemporaryFile(/tmp/multipartBody905509131421509271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490193078,"filename":"image_12042025_20_56_45_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352318976","file1":"1352318941","file0":"1352318912","file4":"1352319020","file5":"1352319047","file3":"1352318998"},"map_files_photo_id_array":[{"photo_id":"1352319047","filename":"file5"},{"photo_id":"1352318976","filename":"file2"},{"photo_id":"1352319020","filename":"file4"},{"photo_id":"1352318941","filename":"file1"},{"photo_id":"1352318912","filename":"file0"},{"photo_id":"1352318998","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352319047":["hashtag1","hashtag2"]},{"1352319020":["hashtag1","hashtag2"]},{"1352318912":["hashtag1","hashtag2"]},{"1352318998":["hashtag1","hashtag2"]},{"1352318941":["hashtag1","hashtag2"]},{"1352318976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352319047, 1352319020, 1352318912, 1352318998, 1352318941, 1352318976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.739650011062622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:36:32.841351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/57/image_12042025_20_57_25_10456.jpg', '/home/pi/Desktop/images/12042025/20/57/image_12042025_20_57_34_9361.jpg', '/home/pi/Desktop/images/12042025/20/57/image_12042025_20_57_55_10381.jpg', '/home/pi/Desktop/images/12042025/20/57/image_12042025_20_58_04_9370.jpg', '/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_15_10378.jpg', '/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/57/image_12042025_20_57_25_10456.jpg
/home/pi/Desktop/images/12042025/20/57/image_12042025_20_57_34_9361.jpg
/home/pi/Desktop/images/12042025/20/57/image_12042025_20_57_55_10381.jpg
/home/pi/Desktop/images/12042025/20/57/image_12042025_20_58_04_9370.jpg
/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_15_10378.jpg
/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_25_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352319731","1352319592","1352319649","1352319520","1352319699","1352319616"],"photo_ids_order":["1352319520","1352319592","1352319616","1352319649","1352319699","1352319731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2b7de74cc65bd26d24fc75e9bc805d92.jpg","text":"TemporaryFile(/tmp/multipartBody2436594424675794724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490253327,"filename":"image_12042025_20_58_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/308dfa6d7a7774f4a355f63fe97c4237.jpg","text":"TemporaryFile(/tmp/multipartBody4944327647779110145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490253327,"filename":"image_12042025_20_57_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/762c5dcdc1da193656b5a820ed76900c.jpg","text":"TemporaryFile(/tmp/multipartBody3936378616613145610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490253327,"filename":"image_12042025_20_58_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a009592f81b85cd0fe227129b6e6f187.jpg","text":"TemporaryFile(/tmp/multipartBody7804616772063150471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490253327,"filename":"image_12042025_20_57_25_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de08cffc082a55671712b502293c89b0.jpg","text":"TemporaryFile(/tmp/multipartBody2449758850414265274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490253327,"filename":"image_12042025_20_58_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65a6c416606293eaf1b5b24781847b21.jpg","text":"TemporaryFile(/tmp/multipartBody268824890163013307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490253327,"filename":"image_12042025_20_57_55_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352319616","file1":"1352319592","file0":"1352319520","file4":"1352319699","file5":"1352319731","file3":"1352319649"},"map_files_photo_id_array":[{"photo_id":"1352319731","filename":"file5"},{"photo_id":"1352319616","filename":"file2"},{"photo_id":"1352319699","filename":"file4"},{"photo_id":"1352319592","filename":"file1"},{"photo_id":"1352319520","filename":"file0"},{"photo_id":"1352319649","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352319731":["hashtag1","hashtag2"]},{"1352319592":["hashtag1","hashtag2"]},{"1352319649":["hashtag1","hashtag2"]},{"1352319520":["hashtag1","hashtag2"]},{"1352319699":["hashtag1","hashtag2"]},{"1352319616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352319731, 1352319592, 1352319649, 1352319520, 1352319699, 1352319616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.138845920562744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:37:33.189855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_35_9458.jpg', '/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_45_10371.jpg', '/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_54_9485.jpg', '/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_15_10350.jpg', '/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_25_9444.jpg', '/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_35_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_35_9458.jpg
/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_45_10371.jpg
/home/pi/Desktop/images/12042025/20/58/image_12042025_20_58_54_9485.jpg
/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_15_10350.jpg
/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_25_9444.jpg
/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_35_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352321174","1352320841","1352320916","1352321128","1352321041","1352321081"],"photo_ids_order":["1352320841","1352320916","1352321041","1352321081","1352321128","1352321174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc64b4825d969ca70d4b7dc436b5d0cf.jpg","text":"TemporaryFile(/tmp/multipartBody437653737326194495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490313660,"filename":"image_12042025_20_59_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e41b51cc8e44e79b6e248e19971395a3.jpg","text":"TemporaryFile(/tmp/multipartBody1877181498482052631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490313660,"filename":"image_12042025_20_58_35_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38aa54edf046f706fd61aeb6e4829a37.jpg","text":"TemporaryFile(/tmp/multipartBody1468911020832592464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490313660,"filename":"image_12042025_20_58_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98b7d5cc377d2de41790f8fee35dc264.jpg","text":"TemporaryFile(/tmp/multipartBody4298795959817079083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490313660,"filename":"image_12042025_20_59_25_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efc2f8271144c49171ef77f79a7a3977.jpg","text":"TemporaryFile(/tmp/multipartBody7198547426542007231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490313660,"filename":"image_12042025_20_58_54_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a93ec2185d79a17383b85d2504e7cf1.jpg","text":"TemporaryFile(/tmp/multipartBody2793647958093864699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490313660,"filename":"image_12042025_20_59_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352321041","file1":"1352320916","file0":"1352320841","file4":"1352321128","file5":"1352321174","file3":"1352321081"},"map_files_photo_id_array":[{"photo_id":"1352321174","filename":"file5"},{"photo_id":"1352321041","filename":"file2"},{"photo_id":"1352321128","filename":"file4"},{"photo_id":"1352320916","filename":"file1"},{"photo_id":"1352320841","filename":"file0"},{"photo_id":"1352321081","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352321174":["hashtag1","hashtag2"]},{"1352320841":["hashtag1","hashtag2"]},{"1352320916":["hashtag1","hashtag2"]},{"1352321128":["hashtag1","hashtag2"]},{"1352321041":["hashtag1","hashtag2"]},{"1352321081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352321174, 1352320841, 1352320916, 1352321128, 1352321041, 1352321081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53966760635376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:38:32.575584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_45_9503.jpg', '/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_55_10379.jpg', '/home/pi/Desktop/images/12042025/21/00/image_12042025_21_00_16_10078.jpg', '/home/pi/Desktop/images/12042025/21/00/image_12042025_21_00_26_10378.jpg', '/home/pi/Desktop/images/12042025/21/00/image_12042025_21_00_46_9381.jpg', '/home/pi/Desktop/images/12042025/21/00/image_12042025_21_00_57_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_45_9503.jpg
/home/pi/Desktop/images/12042025/20/59/image_12042025_20_59_55_10379.jpg
/home/pi/Desktop/images/12042025/21/00/image_12042025_21_00_16_10078.jpg
/home/pi/Desktop/images/12042025/21/00/image_12042025_21_00_26_10378.jpg
/home/pi/Desktop/images/12042025/21/00/image_12042025_21_00_46_9381.jpg
/home/pi/Desktop/images/12042025/21/00/image_12042025_21_00_57_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352321543","1352321467","1352321518","1352321496","1352321481","1352321529"],"photo_ids_order":["1352321467","1352321481","1352321496","1352321518","1352321529","1352321543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0717ad38bfaa75c15c63c930a5452abc.jpg","text":"TemporaryFile(/tmp/multipartBody8582461231375134742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490373042,"filename":"image_12042025_21_00_57_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/764a1c10c0911ec1c5dff6e9da04452a.jpg","text":"TemporaryFile(/tmp/multipartBody3039623145245707133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490373042,"filename":"image_12042025_20_59_45_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/967e490ac2ed5ff291dad5b00d78c989.jpg","text":"TemporaryFile(/tmp/multipartBody6573472322716794633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490373042,"filename":"image_12042025_21_00_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bfabcab1f0d73dc8b6bdff3bb35c45a1.jpg","text":"TemporaryFile(/tmp/multipartBody4579431139413737655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490373042,"filename":"image_12042025_21_00_16_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/11ca943535c8c26cf96bd19109c6f97b.jpg","text":"TemporaryFile(/tmp/multipartBody9011899189012987733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490373042,"filename":"image_12042025_20_59_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb94c0a9c24da622f6060ee8e361a898.jpg","text":"TemporaryFile(/tmp/multipartBody8991648160027351469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490373042,"filename":"image_12042025_21_00_46_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352321496","file1":"1352321481","file0":"1352321467","file4":"1352321529","file5":"1352321543","file3":"1352321518"},"map_files_photo_id_array":[{"photo_id":"1352321543","filename":"file5"},{"photo_id":"1352321496","filename":"file2"},{"photo_id":"1352321529","filename":"file4"},{"photo_id":"1352321481","filename":"file1"},{"photo_id":"1352321467","filename":"file0"},{"photo_id":"1352321518","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352321543":["hashtag1","hashtag2"]},{"1352321467":["hashtag1","hashtag2"]},{"1352321518":["hashtag1","hashtag2"]},{"1352321496":["hashtag1","hashtag2"]},{"1352321481":["hashtag1","hashtag2"]},{"1352321529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352321543, 1352321467, 1352321518, 1352321496, 1352321481, 1352321529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69559121131897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:39:32.772597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/00/image_12042025_21_01_06_9364.jpg', '/home/pi/Desktop/images/12042025/21/01/image_12042025_21_01_16_10380.jpg', '/home/pi/Desktop/images/12042025/21/01/image_12042025_21_01_27_10487.jpg', '/home/pi/Desktop/images/12042025/21/01/image_12042025_21_01_36_9359.jpg', '/home/pi/Desktop/images/12042025/21/01/image_12042025_21_01_47_10465.jpg', '/home/pi/Desktop/images/12042025/21/01/image_12042025_21_02_06_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/00/image_12042025_21_01_06_9364.jpg
/home/pi/Desktop/images/12042025/21/01/image_12042025_21_01_16_10380.jpg
/home/pi/Desktop/images/12042025/21/01/image_12042025_21_01_27_10487.jpg
/home/pi/Desktop/images/12042025/21/01/image_12042025_21_01_36_9359.jpg
/home/pi/Desktop/images/12042025/21/01/image_12042025_21_01_47_10465.jpg
/home/pi/Desktop/images/12042025/21/01/image_12042025_21_02_06_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352321930","1352321998","1352322092","1352321931","1352322044","1352321996"],"photo_ids_order":["1352321930","1352321931","1352321996","1352321998","1352322044","1352322092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/492423ba084ea616ff94a17df58a2818.jpg","text":"TemporaryFile(/tmp/multipartBody8167246716525828292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490433271,"filename":"image_12042025_21_01_06_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50b6315f0ffcee5457e6f2f0ef2e3c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3573507640058687277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490433271,"filename":"image_12042025_21_01_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d4cffdb0c5827db841547ae929df0ec.jpg","text":"TemporaryFile(/tmp/multipartBody8079675540242781063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490433271,"filename":"image_12042025_21_02_06_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a197eefff0c18d4de65fdaf854d9160.jpg","text":"TemporaryFile(/tmp/multipartBody8767122397750637784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490433271,"filename":"image_12042025_21_01_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31a03ce6bbda8976c6e9a91fca590931.jpg","text":"TemporaryFile(/tmp/multipartBody4664628662691807120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490433271,"filename":"image_12042025_21_01_47_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d511a7cbbaa5e205a46ef92df2e5a76.jpg","text":"TemporaryFile(/tmp/multipartBody4461927539927953186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490433271,"filename":"image_12042025_21_01_27_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352321996","file1":"1352321931","file0":"1352321930","file4":"1352322044","file5":"1352322092","file3":"1352321998"},"map_files_photo_id_array":[{"photo_id":"1352322092","filename":"file5"},{"photo_id":"1352321996","filename":"file2"},{"photo_id":"1352322044","filename":"file4"},{"photo_id":"1352321931","filename":"file1"},{"photo_id":"1352321930","filename":"file0"},{"photo_id":"1352321998","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352321930":["hashtag1","hashtag2"]},{"1352321998":["hashtag1","hashtag2"]},{"1352322092":["hashtag1","hashtag2"]},{"1352321931":["hashtag1","hashtag2"]},{"1352322044":["hashtag1","hashtag2"]},{"1352321996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352321930, 1352321998, 1352322092, 1352321931, 1352322044, 1352321996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.009212255477905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:40:32.887041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_17_10394.jpg', '/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_26_9368.jpg', '/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_37_10436.jpg', '/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_46_9500.jpg', '/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_56_10325.jpg', '/home/pi/Desktop/images/12042025/21/02/image_12042025_21_03_07_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_17_10394.jpg
/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_26_9368.jpg
/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_37_10436.jpg
/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_46_9500.jpg
/home/pi/Desktop/images/12042025/21/02/image_12042025_21_02_56_10325.jpg
/home/pi/Desktop/images/12042025/21/02/image_12042025_21_03_07_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352322547","1352322383","1352322485","1352322587","1352322635","1352322437"],"photo_ids_order":["1352322383","1352322437","1352322485","1352322547","1352322587","1352322635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b85d3343bade19b88a3488d0dd54b79.jpg","text":"TemporaryFile(/tmp/multipartBody3643984370350120476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490493359,"filename":"image_12042025_21_02_46_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f60ce998319af4f918905e805d6edb8.jpg","text":"TemporaryFile(/tmp/multipartBody6789338878480714293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490493359,"filename":"image_12042025_21_02_17_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/91bced974424052482a5a7259aaf4f12.jpg","text":"TemporaryFile(/tmp/multipartBody519262655052712311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490493359,"filename":"image_12042025_21_02_37_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2d7e22292735d8d3c3857c92b542299a.jpg","text":"TemporaryFile(/tmp/multipartBody5600950930804679732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490493359,"filename":"image_12042025_21_02_56_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d9a684b1b66c7869a9ac44500f185c65.jpg","text":"TemporaryFile(/tmp/multipartBody1895667294284696040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490493359,"filename":"image_12042025_21_03_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac40dc6247190be5e8692505a96a42f1.jpg","text":"TemporaryFile(/tmp/multipartBody9216678213646274217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490493359,"filename":"image_12042025_21_02_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352322485","file1":"1352322437","file0":"1352322383","file4":"1352322587","file5":"1352322635","file3":"1352322547"},"map_files_photo_id_array":[{"photo_id":"1352322635","filename":"file5"},{"photo_id":"1352322485","filename":"file2"},{"photo_id":"1352322587","filename":"file4"},{"photo_id":"1352322437","filename":"file1"},{"photo_id":"1352322383","filename":"file0"},{"photo_id":"1352322547","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352322547":["hashtag1","hashtag2"]},{"1352322383":["hashtag1","hashtag2"]},{"1352322485":["hashtag1","hashtag2"]},{"1352322587":["hashtag1","hashtag2"]},{"1352322635":["hashtag1","hashtag2"]},{"1352322437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352322547, 1352322383, 1352322485, 1352322587, 1352322635, 1352322437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42314338684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:41:33.175288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_16_9345.jpg', '/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_27_10389.jpg', '/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_36_9453.jpg', '/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_46_10385.jpg', '/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_57_10437.jpg', '/home/pi/Desktop/images/12042025/21/03/image_12042025_21_04_06_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_16_9345.jpg
/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_27_10389.jpg
/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_36_9453.jpg
/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_46_10385.jpg
/home/pi/Desktop/images/12042025/21/03/image_12042025_21_03_57_10437.jpg
/home/pi/Desktop/images/12042025/21/03/image_12042025_21_04_06_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352322914","1352322985","1352322940","1352322826","1352323017","1352322872"],"photo_ids_order":["1352322826","1352322872","1352322914","1352322940","1352322985","1352323017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6b64f9f4af234d7c631248bff9d6d405.jpg","text":"TemporaryFile(/tmp/multipartBody6236807569156349134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490553638,"filename":"image_12042025_21_03_36_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c0e997b7d89a598af98a64ba7724ce4.jpg","text":"TemporaryFile(/tmp/multipartBody5449267717043182930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490553638,"filename":"image_12042025_21_03_57_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8321bbb6cab765693789578505645a44.jpg","text":"TemporaryFile(/tmp/multipartBody9080470520790563991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490553638,"filename":"image_12042025_21_03_46_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/448eb41d58c1050b4576e2e770592f93.jpg","text":"TemporaryFile(/tmp/multipartBody922118656974163298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490553638,"filename":"image_12042025_21_03_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d31355d3c5e8ee48cc16f72d4e142d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6429705762160275760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490553638,"filename":"image_12042025_21_04_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d7507c8d05adb740a9f55eede89c7be.jpg","text":"TemporaryFile(/tmp/multipartBody7562969714827616607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490553638,"filename":"image_12042025_21_03_27_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352322914","file1":"1352322872","file0":"1352322826","file4":"1352322985","file5":"1352323017","file3":"1352322940"},"map_files_photo_id_array":[{"photo_id":"1352323017","filename":"file5"},{"photo_id":"1352322914","filename":"file2"},{"photo_id":"1352322985","filename":"file4"},{"photo_id":"1352322872","filename":"file1"},{"photo_id":"1352322826","filename":"file0"},{"photo_id":"1352322940","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352322914":["hashtag1","hashtag2"]},{"1352322985":["hashtag1","hashtag2"]},{"1352322940":["hashtag1","hashtag2"]},{"1352322826":["hashtag1","hashtag2"]},{"1352323017":["hashtag1","hashtag2"]},{"1352322872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352322914, 1352322985, 1352322940, 1352322826, 1352323017, 1352322872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.398500204086304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:42:32.299247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_17_10464.jpg', '/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_26_9365.jpg', '/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_37_10406.jpg', '/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_46_9373.jpg', '/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_56_10368.jpg', '/home/pi/Desktop/images/12042025/21/04/image_12042025_21_05_07_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_17_10464.jpg
/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_26_9365.jpg
/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_37_10406.jpg
/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_46_9373.jpg
/home/pi/Desktop/images/12042025/21/04/image_12042025_21_04_56_10368.jpg
/home/pi/Desktop/images/12042025/21/04/image_12042025_21_05_07_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352323185","1352323293","1352323257","1352323224","1352323280","1352323205"],"photo_ids_order":["1352323185","1352323205","1352323224","1352323257","1352323280","1352323293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/84fd3f911788d4c612b660bf8d6b2340.jpg","text":"TemporaryFile(/tmp/multipartBody2713605533229673223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490612762,"filename":"image_12042025_21_04_17_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d082ee2fb367750a7519522668a48e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8739570984646964735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490612762,"filename":"image_12042025_21_05_07_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/63614048bb1e090e4b0572d1c5b7c8e3.jpg","text":"TemporaryFile(/tmp/multipartBody7967711656308311832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490612762,"filename":"image_12042025_21_04_46_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b3ead4150ef3c0a186cc5408a2173b12.jpg","text":"TemporaryFile(/tmp/multipartBody5548567502611485279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490612762,"filename":"image_12042025_21_04_37_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8cee5534589ed3918970027730c332c4.jpg","text":"TemporaryFile(/tmp/multipartBody4747950582952510924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490612762,"filename":"image_12042025_21_04_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fb29575ef2ad199ad967f7dc7846f677.jpg","text":"TemporaryFile(/tmp/multipartBody835905394716044417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490612762,"filename":"image_12042025_21_04_26_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352323224","file1":"1352323205","file0":"1352323185","file4":"1352323280","file5":"1352323293","file3":"1352323257"},"map_files_photo_id_array":[{"photo_id":"1352323293","filename":"file5"},{"photo_id":"1352323224","filename":"file2"},{"photo_id":"1352323280","filename":"file4"},{"photo_id":"1352323205","filename":"file1"},{"photo_id":"1352323185","filename":"file0"},{"photo_id":"1352323257","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352323185":["hashtag1","hashtag2"]},{"1352323293":["hashtag1","hashtag2"]},{"1352323257":["hashtag1","hashtag2"]},{"1352323224":["hashtag1","hashtag2"]},{"1352323280":["hashtag1","hashtag2"]},{"1352323205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352323185, 1352323293, 1352323257, 1352323224, 1352323280, 1352323205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43005609512329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:43:32.571008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_16_9356.jpg', '/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_26_10370.jpg', '/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_37_10428.jpg', '/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_46_9361.jpg', '/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_57_10368.jpg', '/home/pi/Desktop/images/12042025/21/05/image_12042025_21_06_06_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_16_9356.jpg
/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_26_10370.jpg
/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_37_10428.jpg
/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_46_9361.jpg
/home/pi/Desktop/images/12042025/21/05/image_12042025_21_05_57_10368.jpg
/home/pi/Desktop/images/12042025/21/05/image_12042025_21_06_06_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352323543","1352323557","1352323479","1352323577","1352323607","1352323517"],"photo_ids_order":["1352323479","1352323517","1352323543","1352323557","1352323577","1352323607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ccfaf06f1ace8f98f9e05d2d7077e77.jpg","text":"TemporaryFile(/tmp/multipartBody1229366247752752991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490673039,"filename":"image_12042025_21_05_37_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a83f9d6e7e44491ea91ddadacc2d94b.jpg","text":"TemporaryFile(/tmp/multipartBody8389930566386451396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490673039,"filename":"image_12042025_21_05_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/762a15e15a7c2c66e57961e008305004.jpg","text":"TemporaryFile(/tmp/multipartBody4090829587261993231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490673039,"filename":"image_12042025_21_05_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f03f423c91f8e92b322022f6e4d167d1.jpg","text":"TemporaryFile(/tmp/multipartBody1127019511751544011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490673039,"filename":"image_12042025_21_05_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d167c2455d1cb9d922d9827b16ea58e.jpg","text":"TemporaryFile(/tmp/multipartBody7367461079488851058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490673039,"filename":"image_12042025_21_06_06_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0031625c10ff4d23135774c9573f039.jpg","text":"TemporaryFile(/tmp/multipartBody1134474567426791417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490673039,"filename":"image_12042025_21_05_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352323543","file1":"1352323517","file0":"1352323479","file4":"1352323577","file5":"1352323607","file3":"1352323557"},"map_files_photo_id_array":[{"photo_id":"1352323607","filename":"file5"},{"photo_id":"1352323543","filename":"file2"},{"photo_id":"1352323577","filename":"file4"},{"photo_id":"1352323517","filename":"file1"},{"photo_id":"1352323479","filename":"file0"},{"photo_id":"1352323557","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352323543":["hashtag1","hashtag2"]},{"1352323557":["hashtag1","hashtag2"]},{"1352323479":["hashtag1","hashtag2"]},{"1352323577":["hashtag1","hashtag2"]},{"1352323607":["hashtag1","hashtag2"]},{"1352323517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352323543, 1352323557, 1352323479, 1352323577, 1352323607, 1352323517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74743843078613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:44:32.860616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/06/image_12042025_21_06_16_10356.jpg', '/home/pi/Desktop/images/12042025/21/06/image_12042025_21_06_27_10374.jpg', '/home/pi/Desktop/images/12042025/21/06/image_12042025_21_06_36_9354.jpg', '/home/pi/Desktop/images/12042025/21/06/image_12042025_21_06_56_9353.jpg', '/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_17_10354.jpg', '/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_26_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/06/image_12042025_21_06_16_10356.jpg
/home/pi/Desktop/images/12042025/21/06/image_12042025_21_06_27_10374.jpg
/home/pi/Desktop/images/12042025/21/06/image_12042025_21_06_36_9354.jpg
/home/pi/Desktop/images/12042025/21/06/image_12042025_21_06_56_9353.jpg
/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_17_10354.jpg
/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_26_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352323912","1352323854","1352323800","1352323931","1352323826","1352323876"],"photo_ids_order":["1352323800","1352323826","1352323854","1352323876","1352323912","1352323931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e1291cdb4bf7afbd59634d383dfe44d.jpg","text":"TemporaryFile(/tmp/multipartBody3690533103690068919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490733352,"filename":"image_12042025_21_07_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/187b63cce477ca4558ecfde87ea640fa.jpg","text":"TemporaryFile(/tmp/multipartBody7423935437502611433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490733352,"filename":"image_12042025_21_06_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6fa43f07c22882c9828a95978e2587f0.jpg","text":"TemporaryFile(/tmp/multipartBody2812361236260723203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490733352,"filename":"image_12042025_21_06_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/56da19a150d73c9952fd159faaae0b24.jpg","text":"TemporaryFile(/tmp/multipartBody9033141662276523167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490733352,"filename":"image_12042025_21_07_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0cb6e7552d5deaa74653105d64599c30.jpg","text":"TemporaryFile(/tmp/multipartBody2113416171712492858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490733352,"filename":"image_12042025_21_06_27_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a61ec9ec948aa76d9d0558db59acb9c.jpg","text":"TemporaryFile(/tmp/multipartBody1741115940274749450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490733352,"filename":"image_12042025_21_06_56_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352323854","file1":"1352323826","file0":"1352323800","file4":"1352323912","file5":"1352323931","file3":"1352323876"},"map_files_photo_id_array":[{"photo_id":"1352323931","filename":"file5"},{"photo_id":"1352323854","filename":"file2"},{"photo_id":"1352323912","filename":"file4"},{"photo_id":"1352323826","filename":"file1"},{"photo_id":"1352323800","filename":"file0"},{"photo_id":"1352323876","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352323912":["hashtag1","hashtag2"]},{"1352323854":["hashtag1","hashtag2"]},{"1352323800":["hashtag1","hashtag2"]},{"1352323931":["hashtag1","hashtag2"]},{"1352323826":["hashtag1","hashtag2"]},{"1352323876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352323912, 1352323854, 1352323800, 1352323931, 1352323826, 1352323876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.108177423477173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:45:33.094660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_36_10374.jpg', '/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_47_10441.jpg', '/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_56_9360.jpg', '/home/pi/Desktop/images/12042025/21/07/image_12042025_21_08_07_10388.jpg', '/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_16_9351.jpg', '/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_26_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_36_10374.jpg
/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_47_10441.jpg
/home/pi/Desktop/images/12042025/21/07/image_12042025_21_07_56_9360.jpg
/home/pi/Desktop/images/12042025/21/07/image_12042025_21_08_07_10388.jpg
/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_16_9351.jpg
/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_26_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352324227","1352324107","1352324184","1352324207","1352324129","1352324155"],"photo_ids_order":["1352324107","1352324129","1352324155","1352324184","1352324207","1352324227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f10e0acfa98c9fd0758aff54be6d271a.jpg","text":"TemporaryFile(/tmp/multipartBody1627734295006172577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490793567,"filename":"image_12042025_21_08_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8025085282311f6c7185e6869994e8de.jpg","text":"TemporaryFile(/tmp/multipartBody4407821173614073753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490793567,"filename":"image_12042025_21_07_36_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/639496e38ea5df67fd72dfef0e2d3943.jpg","text":"TemporaryFile(/tmp/multipartBody3153409346081020946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490793567,"filename":"image_12042025_21_08_07_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5efbe2f3aedc78e40f12ec3c3262cf2b.jpg","text":"TemporaryFile(/tmp/multipartBody7560366389222043985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490793567,"filename":"image_12042025_21_08_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5a1b2fe8d757c843f7c1ce4aa7e005aa.jpg","text":"TemporaryFile(/tmp/multipartBody8729493543401668765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490793567,"filename":"image_12042025_21_07_47_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3d2ec05c3d03b9dbefecbba3c21d0c19.jpg","text":"TemporaryFile(/tmp/multipartBody4674030531794658763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490793567,"filename":"image_12042025_21_07_56_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352324155","file1":"1352324129","file0":"1352324107","file4":"1352324207","file5":"1352324227","file3":"1352324184"},"map_files_photo_id_array":[{"photo_id":"1352324227","filename":"file5"},{"photo_id":"1352324155","filename":"file2"},{"photo_id":"1352324207","filename":"file4"},{"photo_id":"1352324129","filename":"file1"},{"photo_id":"1352324107","filename":"file0"},{"photo_id":"1352324184","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352324227":["hashtag1","hashtag2"]},{"1352324107":["hashtag1","hashtag2"]},{"1352324184":["hashtag1","hashtag2"]},{"1352324207":["hashtag1","hashtag2"]},{"1352324129":["hashtag1","hashtag2"]},{"1352324155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352324227, 1352324107, 1352324184, 1352324207, 1352324129, 1352324155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.084181785583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:46:32.360588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_37_10456.jpg', '/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_46_9362.jpg', '/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_57_10523.jpg', '/home/pi/Desktop/images/12042025/21/08/image_12042025_21_09_06_9406.jpg', '/home/pi/Desktop/images/12042025/21/09/image_12042025_21_09_16_10366.jpg', '/home/pi/Desktop/images/12042025/21/09/image_12042025_21_09_27_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_37_10456.jpg
/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_46_9362.jpg
/home/pi/Desktop/images/12042025/21/08/image_12042025_21_08_57_10523.jpg
/home/pi/Desktop/images/12042025/21/08/image_12042025_21_09_06_9406.jpg
/home/pi/Desktop/images/12042025/21/09/image_12042025_21_09_16_10366.jpg
/home/pi/Desktop/images/12042025/21/09/image_12042025_21_09_27_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352324877","1352324815","1352324503","1352324687","1352324746","1352324569"],"photo_ids_order":["1352324503","1352324569","1352324687","1352324746","1352324815","1352324877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/31498d351b2d541bf6030e8d46ecf2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1564956609283981342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490852816,"filename":"image_12042025_21_09_27_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0c8b25a70eb64a8990d7120c955634e.jpg","text":"TemporaryFile(/tmp/multipartBody3914309968421534706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490852816,"filename":"image_12042025_21_09_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c161c3c0bddc3667ed251b9c2d8b0d0f.jpg","text":"TemporaryFile(/tmp/multipartBody1380570023738338367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490852816,"filename":"image_12042025_21_08_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80d832b878693d42e34c1e1dfe8727fd.jpg","text":"TemporaryFile(/tmp/multipartBody664948620053941578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490852816,"filename":"image_12042025_21_08_57_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50b4ad3dd6ceaa19d2f14759d9d41823.jpg","text":"TemporaryFile(/tmp/multipartBody4081952966775905307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490852816,"filename":"image_12042025_21_09_06_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/908b11b37ab56166a29febd103a3867d.jpg","text":"TemporaryFile(/tmp/multipartBody8662791527057131108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490852816,"filename":"image_12042025_21_08_46_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352324687","file1":"1352324569","file0":"1352324503","file4":"1352324815","file5":"1352324877","file3":"1352324746"},"map_files_photo_id_array":[{"photo_id":"1352324877","filename":"file5"},{"photo_id":"1352324687","filename":"file2"},{"photo_id":"1352324815","filename":"file4"},{"photo_id":"1352324569","filename":"file1"},{"photo_id":"1352324503","filename":"file0"},{"photo_id":"1352324746","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352324877":["hashtag1","hashtag2"]},{"1352324815":["hashtag1","hashtag2"]},{"1352324503":["hashtag1","hashtag2"]},{"1352324687":["hashtag1","hashtag2"]},{"1352324746":["hashtag1","hashtag2"]},{"1352324569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352324877, 1352324815, 1352324503, 1352324687, 1352324746, 1352324569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.195229291915894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:47:32.552027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/09/image_12042025_21_09_36_9362.jpg', '/home/pi/Desktop/images/12042025/21/09/image_12042025_21_09_56_9363.jpg', '/home/pi/Desktop/images/12042025/21/09/image_12042025_21_10_06_10382.jpg', '/home/pi/Desktop/images/12042025/21/10/image_12042025_21_10_17_10376.jpg', '/home/pi/Desktop/images/12042025/21/10/image_12042025_21_10_26_9368.jpg', '/home/pi/Desktop/images/12042025/21/10/image_12042025_21_10_37_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/09/image_12042025_21_09_36_9362.jpg
/home/pi/Desktop/images/12042025/21/09/image_12042025_21_09_56_9363.jpg
/home/pi/Desktop/images/12042025/21/09/image_12042025_21_10_06_10382.jpg
/home/pi/Desktop/images/12042025/21/10/image_12042025_21_10_17_10376.jpg
/home/pi/Desktop/images/12042025/21/10/image_12042025_21_10_26_9368.jpg
/home/pi/Desktop/images/12042025/21/10/image_12042025_21_10_37_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352325627","1352325441","1352325584","1352325650","1352325530","1352325332"],"photo_ids_order":["1352325332","1352325441","1352325530","1352325584","1352325627","1352325650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5970fa5cc002b71c49f6f72825c2e2aa.jpg","text":"TemporaryFile(/tmp/multipartBody3110571051563050924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490913052,"filename":"image_12042025_21_10_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c9acfcbddd56f22409a4c26184766faa.jpg","text":"TemporaryFile(/tmp/multipartBody1044380826279311200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490913052,"filename":"image_12042025_21_09_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2770c565c87c5c8d946af008b6668dc4.jpg","text":"TemporaryFile(/tmp/multipartBody4870753849535591333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490913052,"filename":"image_12042025_21_10_17_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92d81ef9b7b87ac04bf41d7a8e939cb8.jpg","text":"TemporaryFile(/tmp/multipartBody5734066052347608451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490913052,"filename":"image_12042025_21_10_37_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/981f27f98f10c1219f35f5c72df55bd9.jpg","text":"TemporaryFile(/tmp/multipartBody2309380772976505711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490913052,"filename":"image_12042025_21_10_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a5437ed2226f66115441babdd49321e3.jpg","text":"TemporaryFile(/tmp/multipartBody774763228319891623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490913052,"filename":"image_12042025_21_09_36_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352325530","file1":"1352325441","file0":"1352325332","file4":"1352325627","file5":"1352325650","file3":"1352325584"},"map_files_photo_id_array":[{"photo_id":"1352325650","filename":"file5"},{"photo_id":"1352325530","filename":"file2"},{"photo_id":"1352325627","filename":"file4"},{"photo_id":"1352325441","filename":"file1"},{"photo_id":"1352325332","filename":"file0"},{"photo_id":"1352325584","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352325627":["hashtag1","hashtag2"]},{"1352325441":["hashtag1","hashtag2"]},{"1352325584":["hashtag1","hashtag2"]},{"1352325650":["hashtag1","hashtag2"]},{"1352325530":["hashtag1","hashtag2"]},{"1352325332":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352325627, 1352325441, 1352325584, 1352325650, 1352325530, 1352325332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82259941101074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:48:32.757968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/10/image_12042025_21_10_57_10520.jpg', '/home/pi/Desktop/images/12042025/21/10/image_12042025_21_11_06_9350.jpg', '/home/pi/Desktop/images/12042025/21/11/image_12042025_21_11_16_10370.jpg', '/home/pi/Desktop/images/12042025/21/11/image_12042025_21_11_27_10453.jpg', '/home/pi/Desktop/images/12042025/21/11/image_12042025_21_11_36_9440.jpg', '/home/pi/Desktop/images/12042025/21/11/image_12042025_21_11_47_10501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/10/image_12042025_21_10_57_10520.jpg
/home/pi/Desktop/images/12042025/21/10/image_12042025_21_11_06_9350.jpg
/home/pi/Desktop/images/12042025/21/11/image_12042025_21_11_16_10370.jpg
/home/pi/Desktop/images/12042025/21/11/image_12042025_21_11_27_10453.jpg
/home/pi/Desktop/images/12042025/21/11/image_12042025_21_11_36_9440.jpg
/home/pi/Desktop/images/12042025/21/11/image_12042025_21_11_47_10501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352326308","1352326070","1352326367","1352326252","1352326126","1352326203"],"photo_ids_order":["1352326070","1352326126","1352326203","1352326252","1352326308","1352326367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a770a8d8e0620f0d4fbd054297c907b.jpg","text":"TemporaryFile(/tmp/multipartBody6604098954485764694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490973287,"filename":"image_12042025_21_11_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba740fcde74e3d047fc81b8e4857004c.jpg","text":"TemporaryFile(/tmp/multipartBody8718813525005123124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490973287,"filename":"image_12042025_21_10_57_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5c740a2fa779f135e74ec3d0255ecb6.jpg","text":"TemporaryFile(/tmp/multipartBody6418510247716088306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490973287,"filename":"image_12042025_21_11_47_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8fac6b9a3b1207aaffd26886f54b72c2.jpg","text":"TemporaryFile(/tmp/multipartBody3465879129490080515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490973287,"filename":"image_12042025_21_11_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ec866963b93e3db1b791a043814c3e1.jpg","text":"TemporaryFile(/tmp/multipartBody2132476199480260575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490973287,"filename":"image_12042025_21_11_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/039d85180cfb12725eb82af6af0bec53.jpg","text":"TemporaryFile(/tmp/multipartBody5555955461715683449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744490973287,"filename":"image_12042025_21_11_16_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352326203","file1":"1352326126","file0":"1352326070","file4":"1352326308","file5":"1352326367","file3":"1352326252"},"map_files_photo_id_array":[{"photo_id":"1352326367","filename":"file5"},{"photo_id":"1352326203","filename":"file2"},{"photo_id":"1352326308","filename":"file4"},{"photo_id":"1352326126","filename":"file1"},{"photo_id":"1352326070","filename":"file0"},{"photo_id":"1352326252","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352326308":["hashtag1","hashtag2"]},{"1352326070":["hashtag1","hashtag2"]},{"1352326367":["hashtag1","hashtag2"]},{"1352326252":["hashtag1","hashtag2"]},{"1352326126":["hashtag1","hashtag2"]},{"1352326203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352326308, 1352326070, 1352326367, 1352326252, 1352326126, 1352326203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61324381828308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:49:32.978711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/11/image_12042025_21_12_06_10351.jpg', '/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_17_10416.jpg', '/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_26_9372.jpg', '/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_37_10471.jpg', '/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_46_9349.jpg', '/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_56_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/11/image_12042025_21_12_06_10351.jpg
/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_17_10416.jpg
/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_26_9372.jpg
/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_37_10471.jpg
/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_46_9349.jpg
/home/pi/Desktop/images/12042025/21/12/image_12042025_21_12_56_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352326691","1352326648","1352326738","1352326788","1352326711","1352326674"],"photo_ids_order":["1352326648","1352326674","1352326691","1352326711","1352326738","1352326788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b90d3896f79a2cd8a095282cbb0a9c90.jpg","text":"TemporaryFile(/tmp/multipartBody2038089871265501966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491033450,"filename":"image_12042025_21_12_26_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b94639cb034a63f5d9d9de4cabf35ff.jpg","text":"TemporaryFile(/tmp/multipartBody6064512439124287619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491033450,"filename":"image_12042025_21_12_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/061c2c16dd274f3c92bef217f4b5a3fb.jpg","text":"TemporaryFile(/tmp/multipartBody7430940053795144729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491033450,"filename":"image_12042025_21_12_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ae29bbdb1084fcc698dd936a34f269cf.jpg","text":"TemporaryFile(/tmp/multipartBody3972839622166929963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491033450,"filename":"image_12042025_21_12_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ff3c8ce67d0021820d3457fb535317f.jpg","text":"TemporaryFile(/tmp/multipartBody4758234866099973049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491033450,"filename":"image_12042025_21_12_37_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0415036d56b3205b012a9d204cbb1f90.jpg","text":"TemporaryFile(/tmp/multipartBody3664004471751804253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491033450,"filename":"image_12042025_21_12_17_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352326691","file1":"1352326674","file0":"1352326648","file4":"1352326738","file5":"1352326788","file3":"1352326711"},"map_files_photo_id_array":[{"photo_id":"1352326788","filename":"file5"},{"photo_id":"1352326691","filename":"file2"},{"photo_id":"1352326738","filename":"file4"},{"photo_id":"1352326674","filename":"file1"},{"photo_id":"1352326648","filename":"file0"},{"photo_id":"1352326711","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352326691":["hashtag1","hashtag2"]},{"1352326648":["hashtag1","hashtag2"]},{"1352326738":["hashtag1","hashtag2"]},{"1352326788":["hashtag1","hashtag2"]},{"1352326711":["hashtag1","hashtag2"]},{"1352326674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352326691, 1352326648, 1352326738, 1352326788, 1352326711, 1352326674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35079526901245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:50:32.181529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/12/image_12042025_21_13_07_10364.jpg', '/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_16_9362.jpg', '/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_27_10479.jpg', '/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_36_9404.jpg', '/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_46_10387.jpg', '/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_57_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/12/image_12042025_21_13_07_10364.jpg
/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_16_9362.jpg
/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_27_10479.jpg
/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_36_9404.jpg
/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_46_10387.jpg
/home/pi/Desktop/images/12042025/21/13/image_12042025_21_13_57_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352327869","1352327509","1352327302","1352327652","1352327721","1352327811"],"photo_ids_order":["1352327302","1352327509","1352327652","1352327721","1352327811","1352327869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5096cf3e0f5e013261a5175f548a1b47.jpg","text":"TemporaryFile(/tmp/multipartBody2450352746402614025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491092644,"filename":"image_12042025_21_13_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a746b1b66698c00988a66c0af1510e5.jpg","text":"TemporaryFile(/tmp/multipartBody1654971341731966171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491092644,"filename":"image_12042025_21_13_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c272c0d8845f58d0f9326dc2857ef918.jpg","text":"TemporaryFile(/tmp/multipartBody1501679107142150746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491092644,"filename":"image_12042025_21_13_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f79eedac4bea3492165236be1dcf99ab.jpg","text":"TemporaryFile(/tmp/multipartBody5036969778024390530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491092644,"filename":"image_12042025_21_13_27_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/80ffb6ca75a5d78397660422b4fc1834.jpg","text":"TemporaryFile(/tmp/multipartBody3400470599454918482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491092644,"filename":"image_12042025_21_13_36_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30aea3d785dd744d79175b9411a77eed.jpg","text":"TemporaryFile(/tmp/multipartBody324243018154395503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491092644,"filename":"image_12042025_21_13_46_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352327652","file1":"1352327509","file0":"1352327302","file4":"1352327811","file5":"1352327869","file3":"1352327721"},"map_files_photo_id_array":[{"photo_id":"1352327869","filename":"file5"},{"photo_id":"1352327652","filename":"file2"},{"photo_id":"1352327811","filename":"file4"},{"photo_id":"1352327509","filename":"file1"},{"photo_id":"1352327302","filename":"file0"},{"photo_id":"1352327721","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352327869":["hashtag1","hashtag2"]},{"1352327509":["hashtag1","hashtag2"]},{"1352327302":["hashtag1","hashtag2"]},{"1352327652":["hashtag1","hashtag2"]},{"1352327721":["hashtag1","hashtag2"]},{"1352327811":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352327869, 1352327509, 1352327302, 1352327652, 1352327721, 1352327811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.54359459877014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:51:32.453560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/13/image_12042025_21_14_06_9358.jpg', '/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_17_10423.jpg', '/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_26_9371.jpg', '/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_36_10398.jpg', '/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_47_10446.jpg', '/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_56_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/13/image_12042025_21_14_06_9358.jpg
/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_17_10423.jpg
/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_26_9371.jpg
/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_36_10398.jpg
/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_47_10446.jpg
/home/pi/Desktop/images/12042025/21/14/image_12042025_21_14_56_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352328209","1352328183","1352328237","1352328345","1352328377","1352328278"],"photo_ids_order":["1352328183","1352328209","1352328237","1352328278","1352328345","1352328377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38dc459469771dc581e4c14e26e13fa9.jpg","text":"TemporaryFile(/tmp/multipartBody5434196074840278785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491152917,"filename":"image_12042025_21_14_17_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d757dde4cea0e1110f57711ace4a2fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3185630486369623112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491152917,"filename":"image_12042025_21_14_06_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ef18daff5ed89c88665cb8339a6c9f1.jpg","text":"TemporaryFile(/tmp/multipartBody6591959511272552262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491152917,"filename":"image_12042025_21_14_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2bbb8206023e1f8055e5802d62f110f.jpg","text":"TemporaryFile(/tmp/multipartBody1117306294063692574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491152917,"filename":"image_12042025_21_14_47_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc4861a73aa81f9e03d76f8bb696f0b3.jpg","text":"TemporaryFile(/tmp/multipartBody7288526848554799820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491152917,"filename":"image_12042025_21_14_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/50352b6d18182b4b018d5e53e8ee7512.jpg","text":"TemporaryFile(/tmp/multipartBody9108183284338283681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491152917,"filename":"image_12042025_21_14_36_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352328237","file1":"1352328209","file0":"1352328183","file4":"1352328345","file5":"1352328377","file3":"1352328278"},"map_files_photo_id_array":[{"photo_id":"1352328377","filename":"file5"},{"photo_id":"1352328237","filename":"file2"},{"photo_id":"1352328345","filename":"file4"},{"photo_id":"1352328209","filename":"file1"},{"photo_id":"1352328183","filename":"file0"},{"photo_id":"1352328278","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352328209":["hashtag1","hashtag2"]},{"1352328183":["hashtag1","hashtag2"]},{"1352328237":["hashtag1","hashtag2"]},{"1352328345":["hashtag1","hashtag2"]},{"1352328377":["hashtag1","hashtag2"]},{"1352328278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352328209, 1352328183, 1352328237, 1352328345, 1352328377, 1352328278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.99998116493225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:52:32.633860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/14/image_12042025_21_15_07_10525.jpg', '/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_16_9384.jpg', '/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_26_10377.jpg', '/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_36_9468.jpg', '/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_46_10369.jpg', '/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_57_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/14/image_12042025_21_15_07_10525.jpg
/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_16_9384.jpg
/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_26_10377.jpg
/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_36_9468.jpg
/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_46_10369.jpg
/home/pi/Desktop/images/12042025/21/15/image_12042025_21_15_57_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352328790","1352328823","1352328717","1352328866","1352328758","1352328697"],"photo_ids_order":["1352328697","1352328717","1352328758","1352328790","1352328823","1352328866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/157176f4c2ef4a45990cd0f2be78feb4.jpg","text":"TemporaryFile(/tmp/multipartBody4349452131625798024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491213105,"filename":"image_12042025_21_15_36_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48d9267c82a2fb9c2af010b5fcdfe59a.jpg","text":"TemporaryFile(/tmp/multipartBody5114603008985805622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491213105,"filename":"image_12042025_21_15_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/de0c02227d1dfc08c3f97e4bd81d74f5.jpg","text":"TemporaryFile(/tmp/multipartBody6189621971354078283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491213105,"filename":"image_12042025_21_15_16_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a601b18cc3dd80c0eb5e1111fe1a4718.jpg","text":"TemporaryFile(/tmp/multipartBody8502519631575329112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491213105,"filename":"image_12042025_21_15_57_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/789122bbc15364fcee68c4f49a6779d1.jpg","text":"TemporaryFile(/tmp/multipartBody5038397849534038475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491213105,"filename":"image_12042025_21_15_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/815b8f9f73b89d1884f3421280106c9b.jpg","text":"TemporaryFile(/tmp/multipartBody5703161948884471315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491213105,"filename":"image_12042025_21_15_07_10525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352328758","file1":"1352328717","file0":"1352328697","file4":"1352328823","file5":"1352328866","file3":"1352328790"},"map_files_photo_id_array":[{"photo_id":"1352328866","filename":"file5"},{"photo_id":"1352328758","filename":"file2"},{"photo_id":"1352328823","filename":"file4"},{"photo_id":"1352328717","filename":"file1"},{"photo_id":"1352328697","filename":"file0"},{"photo_id":"1352328790","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352328790":["hashtag1","hashtag2"]},{"1352328823":["hashtag1","hashtag2"]},{"1352328717":["hashtag1","hashtag2"]},{"1352328866":["hashtag1","hashtag2"]},{"1352328758":["hashtag1","hashtag2"]},{"1352328697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352328790, 1352328823, 1352328717, 1352328866, 1352328758, 1352328697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06244969367981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:53:32.962300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/15/image_12042025_21_16_06_9387.jpg', '/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_16_10349.jpg', '/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_26_9473.jpg', '/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_36_10358.jpg', '/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_47_10444.jpg', '/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_56_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/15/image_12042025_21_16_06_9387.jpg
/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_16_10349.jpg
/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_26_9473.jpg
/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_36_10358.jpg
/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_47_10444.jpg
/home/pi/Desktop/images/12042025/21/16/image_12042025_21_16_56_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352329306","1352329254","1352329193","1352329289","1352329212","1352329169"],"photo_ids_order":["1352329169","1352329193","1352329212","1352329254","1352329289","1352329306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f56d310b0b4f321a97da3c0acc31d19.jpg","text":"TemporaryFile(/tmp/multipartBody6618508335054520567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491273436,"filename":"image_12042025_21_16_56_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f6a2c94ca5c5bd93614bc06ea380be14.jpg","text":"TemporaryFile(/tmp/multipartBody5056764643820365970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491273436,"filename":"image_12042025_21_16_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/781b87218b3994ec28b8dd6125b92a17.jpg","text":"TemporaryFile(/tmp/multipartBody3785312520534244746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491273436,"filename":"image_12042025_21_16_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d297f3dc1fb3786c61ca63d7a36f7e36.jpg","text":"TemporaryFile(/tmp/multipartBody5214870304604384705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491273436,"filename":"image_12042025_21_16_47_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/863f96cfed30a1c18200b9a67a019e00.jpg","text":"TemporaryFile(/tmp/multipartBody7336251739376915522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491273436,"filename":"image_12042025_21_16_26_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af51e88f0e997e20d308b95ef2d1d4d2.jpg","text":"TemporaryFile(/tmp/multipartBody8578159881110492293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491273436,"filename":"image_12042025_21_16_06_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352329212","file1":"1352329193","file0":"1352329169","file4":"1352329289","file5":"1352329306","file3":"1352329254"},"map_files_photo_id_array":[{"photo_id":"1352329306","filename":"file5"},{"photo_id":"1352329212","filename":"file2"},{"photo_id":"1352329289","filename":"file4"},{"photo_id":"1352329193","filename":"file1"},{"photo_id":"1352329169","filename":"file0"},{"photo_id":"1352329254","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352329306":["hashtag1","hashtag2"]},{"1352329254":["hashtag1","hashtag2"]},{"1352329193":["hashtag1","hashtag2"]},{"1352329289":["hashtag1","hashtag2"]},{"1352329212":["hashtag1","hashtag2"]},{"1352329169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352329306, 1352329254, 1352329193, 1352329289, 1352329212, 1352329169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01793670654297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:54:32.228415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/16/image_12042025_21_17_07_10463.jpg', '/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_16_9401.jpg', '/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_26_10390.jpg', '/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_37_10481.jpg', '/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_46_9441.jpg', '/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_57_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/16/image_12042025_21_17_07_10463.jpg
/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_16_9401.jpg
/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_26_10390.jpg
/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_37_10481.jpg
/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_46_9441.jpg
/home/pi/Desktop/images/12042025/21/17/image_12042025_21_17_57_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352329363","1352329368","1352329361","1352329370","1352329358","1352329366"],"photo_ids_order":["1352329358","1352329361","1352329363","1352329366","1352329368","1352329370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f63453f3affe176d526c3713873f2554.jpg","text":"TemporaryFile(/tmp/multipartBody1182785000438425162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491332692,"filename":"image_12042025_21_17_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ceb55006c3538d453fcbc3a6fbef2b6.jpg","text":"TemporaryFile(/tmp/multipartBody8981774202049610969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491332692,"filename":"image_12042025_21_17_46_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c74479d70ca4e558539118e24aff2f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6596633160620802823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491332692,"filename":"image_12042025_21_17_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5c25502c431fcd38531e49f3be951575.jpg","text":"TemporaryFile(/tmp/multipartBody4039393171262081019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491332692,"filename":"image_12042025_21_17_57_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0894a828e027d372a4aa2f31517cda2.jpg","text":"TemporaryFile(/tmp/multipartBody5993558309197518235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491332692,"filename":"image_12042025_21_17_07_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4752824886c59fcef67006256181660c.jpg","text":"TemporaryFile(/tmp/multipartBody3276321217043012064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491332692,"filename":"image_12042025_21_17_37_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352329363","file1":"1352329361","file0":"1352329358","file4":"1352329368","file5":"1352329370","file3":"1352329366"},"map_files_photo_id_array":[{"photo_id":"1352329370","filename":"file5"},{"photo_id":"1352329363","filename":"file2"},{"photo_id":"1352329368","filename":"file4"},{"photo_id":"1352329361","filename":"file1"},{"photo_id":"1352329358","filename":"file0"},{"photo_id":"1352329366","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352329363":["hashtag1","hashtag2"]},{"1352329368":["hashtag1","hashtag2"]},{"1352329361":["hashtag1","hashtag2"]},{"1352329370":["hashtag1","hashtag2"]},{"1352329358":["hashtag1","hashtag2"]},{"1352329366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352329363, 1352329368, 1352329361, 1352329370, 1352329358, 1352329366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.225778341293335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:55:32.639338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/17/image_12042025_21_18_06_9429.jpg', '/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_17_10440.jpg', '/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_26_9375.jpg', '/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_36_10418.jpg', '/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_47_10439.jpg', '/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_56_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/17/image_12042025_21_18_06_9429.jpg
/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_17_10440.jpg
/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_26_9375.jpg
/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_36_10418.jpg
/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_47_10439.jpg
/home/pi/Desktop/images/12042025/21/18/image_12042025_21_18_56_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352329615","1352329590","1352329673","1352329667","1352329643","1352329565"],"photo_ids_order":["1352329565","1352329590","1352329615","1352329643","1352329667","1352329673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7af7d735e1e2cf5b9164a6d6ec6671a8.jpg","text":"TemporaryFile(/tmp/multipartBody4291495833961022336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491393122,"filename":"image_12042025_21_18_26_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f3dafb6c0d1c69ef834ccb8aef7af7f.jpg","text":"TemporaryFile(/tmp/multipartBody9008615014951622142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491393122,"filename":"image_12042025_21_18_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5f272420011dfebfcbec592317f3deee.jpg","text":"TemporaryFile(/tmp/multipartBody597709232261350053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491393122,"filename":"image_12042025_21_18_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd0ae0af0d45a28132491122a04c95a0.jpg","text":"TemporaryFile(/tmp/multipartBody124960456053920067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491393122,"filename":"image_12042025_21_18_47_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/60c86b3b857d03f09a7558dc2ed7b57d.jpg","text":"TemporaryFile(/tmp/multipartBody6753651409608280316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491393122,"filename":"image_12042025_21_18_36_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6485c9d31d568274259c1854cbf67db2.jpg","text":"TemporaryFile(/tmp/multipartBody780004535554353726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491393122,"filename":"image_12042025_21_18_06_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352329615","file1":"1352329590","file0":"1352329565","file4":"1352329667","file5":"1352329673","file3":"1352329643"},"map_files_photo_id_array":[{"photo_id":"1352329673","filename":"file5"},{"photo_id":"1352329615","filename":"file2"},{"photo_id":"1352329667","filename":"file4"},{"photo_id":"1352329590","filename":"file1"},{"photo_id":"1352329565","filename":"file0"},{"photo_id":"1352329643","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352329615":["hashtag1","hashtag2"]},{"1352329590":["hashtag1","hashtag2"]},{"1352329673":["hashtag1","hashtag2"]},{"1352329667":["hashtag1","hashtag2"]},{"1352329643":["hashtag1","hashtag2"]},{"1352329565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352329615, 1352329590, 1352329673, 1352329667, 1352329643, 1352329565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1540687084198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:56:32.916171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_16_9384.jpg', '/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_27_10465.jpg', '/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_36_9423.jpg', '/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_46_10483.jpg', '/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_57_10457.jpg', '/home/pi/Desktop/images/12042025/21/19/image_12042025_21_20_06_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_16_9384.jpg
/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_27_10465.jpg
/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_36_9423.jpg
/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_46_10483.jpg
/home/pi/Desktop/images/12042025/21/19/image_12042025_21_19_57_10457.jpg
/home/pi/Desktop/images/12042025/21/19/image_12042025_21_20_06_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352329735","1352329755","1352329737","1352329818","1352329775","1352329789"],"photo_ids_order":["1352329735","1352329737","1352329755","1352329775","1352329789","1352329818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d11d92ab34cc45849ec56591414be337.jpg","text":"TemporaryFile(/tmp/multipartBody8449602637883627161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491453384,"filename":"image_12042025_21_19_16_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e3466ae3b884b69d82897add3f6c5362.jpg","text":"TemporaryFile(/tmp/multipartBody8980754248351765522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491453384,"filename":"image_12042025_21_19_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bda085a8ac29690da7ecf2180709b97f.jpg","text":"TemporaryFile(/tmp/multipartBody8543358582067294808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491453384,"filename":"image_12042025_21_19_27_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/103eddcf316207bd53c913d31737b254.jpg","text":"TemporaryFile(/tmp/multipartBody5603612363207259055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491453384,"filename":"image_12042025_21_20_06_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c74f399adcfb45da500aa076beaf23bb.jpg","text":"TemporaryFile(/tmp/multipartBody9069235265252705609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491453384,"filename":"image_12042025_21_19_46_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/48b0004ad350807e071f00fa24ecc5b7.jpg","text":"TemporaryFile(/tmp/multipartBody5872322234186897460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491453384,"filename":"image_12042025_21_19_57_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352329755","file1":"1352329737","file0":"1352329735","file4":"1352329789","file5":"1352329818","file3":"1352329775"},"map_files_photo_id_array":[{"photo_id":"1352329818","filename":"file5"},{"photo_id":"1352329755","filename":"file2"},{"photo_id":"1352329789","filename":"file4"},{"photo_id":"1352329737","filename":"file1"},{"photo_id":"1352329735","filename":"file0"},{"photo_id":"1352329775","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352329735":["hashtag1","hashtag2"]},{"1352329755":["hashtag1","hashtag2"]},{"1352329737":["hashtag1","hashtag2"]},{"1352329818":["hashtag1","hashtag2"]},{"1352329775":["hashtag1","hashtag2"]},{"1352329789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352329735, 1352329755, 1352329737, 1352329818, 1352329775, 1352329789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.536967039108276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 22:57:33.105475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_17_10447.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_26_9426.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_37_10452.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_46_9375.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_56_10413.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_21_07_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_17_10447.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_26_9426.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_37_10452.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_46_9375.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_56_10413.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_21_07_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 22:59:04.310612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_17_10447.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_26_9426.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_37_10452.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_46_9375.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_56_10413.jpg', '/home/pi/Desktop/images/12042025/21/20/image_12042025_21_21_07_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_17_10447.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_26_9426.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_37_10452.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_46_9375.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_20_56_10413.jpg
/home/pi/Desktop/images/12042025/21/20/image_12042025_21_21_07_10461.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352329895","1352329898","1352329886","1352329901","1352329891","1352329904"],"photo_ids_order":["1352329886","1352329891","1352329895","1352329898","1352329901","1352329904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98357602aeff6cb13bae8188d5d2e0b5.jpg","text":"TemporaryFile(/tmp/multipartBody8212361119648623610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491604927,"filename":"image_12042025_21_20_37_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8ac1bd2f210765c60b2ba5f1613e280.jpg","text":"TemporaryFile(/tmp/multipartBody3585397947374212235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491604927,"filename":"image_12042025_21_20_46_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1805d25cb478e73927fa5cab1f025cdc.jpg","text":"TemporaryFile(/tmp/multipartBody1633798687637447885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491604927,"filename":"image_12042025_21_20_17_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1aae6d4ad89c7506642369fccaa8900.jpg","text":"TemporaryFile(/tmp/multipartBody415427485028163890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491604927,"filename":"image_12042025_21_20_56_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0590647ea793fbc9e0e4d9f122f14f98.jpg","text":"TemporaryFile(/tmp/multipartBody6336420090529530937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491604927,"filename":"image_12042025_21_20_26_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0b8c1746db76c139454af34ba7313a94.jpg","text":"TemporaryFile(/tmp/multipartBody471285401018729827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491604927,"filename":"image_12042025_21_21_07_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352329895","file1":"1352329891","file0":"1352329886","file4":"1352329901","file5":"1352329904","file3":"1352329898"},"map_files_photo_id_array":[{"photo_id":"1352329904","filename":"file5"},{"photo_id":"1352329895","filename":"file2"},{"photo_id":"1352329901","filename":"file4"},{"photo_id":"1352329891","filename":"file1"},{"photo_id":"1352329886","filename":"file0"},{"photo_id":"1352329898","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352329895":["hashtag1","hashtag2"]},{"1352329898":["hashtag1","hashtag2"]},{"1352329886":["hashtag1","hashtag2"]},{"1352329901":["hashtag1","hashtag2"]},{"1352329891":["hashtag1","hashtag2"]},{"1352329904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352329895, 1352329898, 1352329886, 1352329901, 1352329891, 1352329904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7218279838562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 22:59:43.017161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/21/image_12042025_21_21_16_9383.jpg', '/home/pi/Desktop/images/12042025/21/21/image_12042025_21_21_56_9446.jpg', '/home/pi/Desktop/images/12042025/21/21/image_12042025_21_22_06_10383.jpg', '/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_17_10423.jpg', '/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_26_9367.jpg', '/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_37_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/21/image_12042025_21_21_16_9383.jpg
/home/pi/Desktop/images/12042025/21/21/image_12042025_21_21_56_9446.jpg
/home/pi/Desktop/images/12042025/21/21/image_12042025_21_22_06_10383.jpg
/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_17_10423.jpg
/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_26_9367.jpg
/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_37_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352329911","1352329914","1352329908","1352329913","1352329916","1352329910"],"photo_ids_order":["1352329908","1352329910","1352329911","1352329913","1352329914","1352329916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e56626fe9c31300bce387b942b6b79d9.jpg","text":"TemporaryFile(/tmp/multipartBody8174288632417809760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491643482,"filename":"image_12042025_21_22_06_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f449de5ff7fbe2f42d52091bab9d0013.jpg","text":"TemporaryFile(/tmp/multipartBody3551506690037237032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491643482,"filename":"image_12042025_21_22_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28e2cdeae3fb4a692118f15391680fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7142175479002004046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491643482,"filename":"image_12042025_21_21_16_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/474f8c9c4c5006a18ca3e6793ee5479a.jpg","text":"TemporaryFile(/tmp/multipartBody2736474742886284098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491643482,"filename":"image_12042025_21_22_17_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/46166a64f42798429cdb38d72739266a.jpg","text":"TemporaryFile(/tmp/multipartBody7963715933534401282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491643482,"filename":"image_12042025_21_22_37_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02a5edf5fbed0d11f3bda0ed075cfe18.jpg","text":"TemporaryFile(/tmp/multipartBody527101532664200515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491643482,"filename":"image_12042025_21_21_56_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352329911","file1":"1352329910","file0":"1352329908","file4":"1352329914","file5":"1352329916","file3":"1352329913"},"map_files_photo_id_array":[{"photo_id":"1352329916","filename":"file5"},{"photo_id":"1352329911","filename":"file2"},{"photo_id":"1352329914","filename":"file4"},{"photo_id":"1352329910","filename":"file1"},{"photo_id":"1352329908","filename":"file0"},{"photo_id":"1352329913","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352329911":["hashtag1","hashtag2"]},{"1352329914":["hashtag1","hashtag2"]},{"1352329908":["hashtag1","hashtag2"]},{"1352329913":["hashtag1","hashtag2"]},{"1352329916":["hashtag1","hashtag2"]},{"1352329910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352329911, 1352329914, 1352329908, 1352329913, 1352329916, 1352329910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07916736602783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:00:33.013055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_46_9373.jpg', '/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_56_10403.jpg', '/home/pi/Desktop/images/12042025/21/22/image_12042025_21_23_07_10477.jpg', '/home/pi/Desktop/images/12042025/21/23/image_12042025_21_23_16_9415.jpg', '/home/pi/Desktop/images/12042025/21/23/image_12042025_21_23_27_10374.jpg', '/home/pi/Desktop/images/12042025/21/23/image_12042025_21_23_36_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_46_9373.jpg
/home/pi/Desktop/images/12042025/21/22/image_12042025_21_22_56_10403.jpg
/home/pi/Desktop/images/12042025/21/22/image_12042025_21_23_07_10477.jpg
/home/pi/Desktop/images/12042025/21/23/image_12042025_21_23_16_9415.jpg
/home/pi/Desktop/images/12042025/21/23/image_12042025_21_23_27_10374.jpg
/home/pi/Desktop/images/12042025/21/23/image_12042025_21_23_36_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352330086","1352330062","1352330131","1352330011","1352329974","1352330109"],"photo_ids_order":["1352329974","1352330011","1352330062","1352330086","1352330109","1352330131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a82000be87ea56ee9397dfc1dbb680e4.jpg","text":"TemporaryFile(/tmp/multipartBody4262996738617132214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491693482,"filename":"image_12042025_21_23_16_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a9624cb5818d60496c9174157ec349d4.jpg","text":"TemporaryFile(/tmp/multipartBody5612719713408709387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491693482,"filename":"image_12042025_21_23_07_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d4c4806fff1df1fcfbb66db2940c2e41.jpg","text":"TemporaryFile(/tmp/multipartBody4433340712138144973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491693482,"filename":"image_12042025_21_23_36_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6264782d00f8f0b9ae5cfab2acb5b3a6.jpg","text":"TemporaryFile(/tmp/multipartBody4073936511707359272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491693482,"filename":"image_12042025_21_22_56_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/062448e32e26a4bffe28608008d040db.jpg","text":"TemporaryFile(/tmp/multipartBody1784292859817434736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491693482,"filename":"image_12042025_21_22_46_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/93b941a925134934cb905a43bc8c1436.jpg","text":"TemporaryFile(/tmp/multipartBody9005388963328994746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491693482,"filename":"image_12042025_21_23_27_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352330062","file1":"1352330011","file0":"1352329974","file4":"1352330109","file5":"1352330131","file3":"1352330086"},"map_files_photo_id_array":[{"photo_id":"1352330131","filename":"file5"},{"photo_id":"1352330062","filename":"file2"},{"photo_id":"1352330109","filename":"file4"},{"photo_id":"1352330011","filename":"file1"},{"photo_id":"1352329974","filename":"file0"},{"photo_id":"1352330086","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352330086":["hashtag1","hashtag2"]},{"1352330062":["hashtag1","hashtag2"]},{"1352330131":["hashtag1","hashtag2"]},{"1352330011":["hashtag1","hashtag2"]},{"1352329974":["hashtag1","hashtag2"]},{"1352330109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352330086, 1352330062, 1352330131, 1352330011, 1352329974, 1352330109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.112894773483276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:01:32.281110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/23/image_12042025_21_23_46_10408.jpg', '/home/pi/Desktop/images/12042025/21/23/image_12042025_21_24_06_9368.jpg', '/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_17_10367.jpg', '/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_26_9379.jpg', '/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_36_10369.jpg', '/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_47_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/23/image_12042025_21_23_46_10408.jpg
/home/pi/Desktop/images/12042025/21/23/image_12042025_21_24_06_9368.jpg
/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_17_10367.jpg
/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_26_9379.jpg
/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_36_10369.jpg
/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_47_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352330414","1352330380","1352330335","1352330361","1352330313","1352330399"],"photo_ids_order":["1352330313","1352330335","1352330361","1352330380","1352330399","1352330414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e29b8add6b1b84921e2c9a3f05830ba.jpg","text":"TemporaryFile(/tmp/multipartBody384519452611007343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491752747,"filename":"image_12042025_21_24_47_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9cdf30aeba719389e631341af9264cf.jpg","text":"TemporaryFile(/tmp/multipartBody6801427815095922150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491752747,"filename":"image_12042025_21_24_26_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d8de058e57f92f24b0b175326b0ea968.jpg","text":"TemporaryFile(/tmp/multipartBody4365852136354681594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491752747,"filename":"image_12042025_21_24_06_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d573196210ce5bb192b30338bb47a420.jpg","text":"TemporaryFile(/tmp/multipartBody3612682380391901708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491752747,"filename":"image_12042025_21_24_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dd828484731616d37440b9089abfac6b.jpg","text":"TemporaryFile(/tmp/multipartBody5885070944474495150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491752747,"filename":"image_12042025_21_23_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6747b20fc78fe9b3d45aad2b70becf6d.jpg","text":"TemporaryFile(/tmp/multipartBody8133292980869389143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491752747,"filename":"image_12042025_21_24_36_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352330361","file1":"1352330335","file0":"1352330313","file4":"1352330399","file5":"1352330414","file3":"1352330380"},"map_files_photo_id_array":[{"photo_id":"1352330414","filename":"file5"},{"photo_id":"1352330361","filename":"file2"},{"photo_id":"1352330399","filename":"file4"},{"photo_id":"1352330335","filename":"file1"},{"photo_id":"1352330313","filename":"file0"},{"photo_id":"1352330380","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352330414":["hashtag1","hashtag2"]},{"1352330380":["hashtag1","hashtag2"]},{"1352330335":["hashtag1","hashtag2"]},{"1352330361":["hashtag1","hashtag2"]},{"1352330313":["hashtag1","hashtag2"]},{"1352330399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352330414, 1352330380, 1352330335, 1352330361, 1352330313, 1352330399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.88880372047424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:02:32.478535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_56_9381.jpg', '/home/pi/Desktop/images/12042025/21/24/image_12042025_21_25_07_10409.jpg', '/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_16_9366.jpg', '/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_26_10403.jpg', '/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_37_10459.jpg', '/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_46_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/24/image_12042025_21_24_56_9381.jpg
/home/pi/Desktop/images/12042025/21/24/image_12042025_21_25_07_10409.jpg
/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_16_9366.jpg
/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_26_10403.jpg
/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_37_10459.jpg
/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_46_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352330695","1352330674","1352330626","1352330602","1352330597","1352330648"],"photo_ids_order":["1352330597","1352330602","1352330626","1352330648","1352330674","1352330695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bb82ba3fedbd247e350f34c0af15c05.jpg","text":"TemporaryFile(/tmp/multipartBody2358168947160511029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491812938,"filename":"image_12042025_21_25_46_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ca00b9ee972a36d8942780dca434804.jpg","text":"TemporaryFile(/tmp/multipartBody5098732531888358825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491812938,"filename":"image_12042025_21_25_37_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e1f192a79f7ec75efb0d2d2d04cf16ce.jpg","text":"TemporaryFile(/tmp/multipartBody5726378834956645916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491812938,"filename":"image_12042025_21_25_16_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e0b1612365ce70d8e95d02b2aa956b6f.jpg","text":"TemporaryFile(/tmp/multipartBody5362648292410772546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491812938,"filename":"image_12042025_21_25_07_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4d1ac8e0f82e50409291cdb44d071b0a.jpg","text":"TemporaryFile(/tmp/multipartBody6928469357655358604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491812938,"filename":"image_12042025_21_24_56_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/00e8baa8a6fcae50d31b27fce55be353.jpg","text":"TemporaryFile(/tmp/multipartBody4004859021534318907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491812938,"filename":"image_12042025_21_25_26_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352330626","file1":"1352330602","file0":"1352330597","file4":"1352330674","file5":"1352330695","file3":"1352330648"},"map_files_photo_id_array":[{"photo_id":"1352330695","filename":"file5"},{"photo_id":"1352330626","filename":"file2"},{"photo_id":"1352330674","filename":"file4"},{"photo_id":"1352330602","filename":"file1"},{"photo_id":"1352330597","filename":"file0"},{"photo_id":"1352330648","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352330695":["hashtag1","hashtag2"]},{"1352330674":["hashtag1","hashtag2"]},{"1352330626":["hashtag1","hashtag2"]},{"1352330602":["hashtag1","hashtag2"]},{"1352330597":["hashtag1","hashtag2"]},{"1352330648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352330695, 1352330674, 1352330626, 1352330602, 1352330597, 1352330648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.257182359695435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:03:32.680961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_57_10479.jpg', '/home/pi/Desktop/images/12042025/21/25/image_12042025_21_26_06_9366.jpg', '/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_16_10378.jpg', '/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_27_10438.jpg', '/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_36_9348.jpg', '/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_47_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/25/image_12042025_21_25_57_10479.jpg
/home/pi/Desktop/images/12042025/21/25/image_12042025_21_26_06_9366.jpg
/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_16_10378.jpg
/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_27_10438.jpg
/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_36_9348.jpg
/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_47_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352330992","1352331039","1352331114","1352331018","1352331068","1352331091"],"photo_ids_order":["1352330992","1352331018","1352331039","1352331068","1352331091","1352331114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7f57b4f54a3b154d1a1436ba45e5cba2.jpg","text":"TemporaryFile(/tmp/multipartBody8825236481512704197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491873167,"filename":"image_12042025_21_25_57_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db35b3dcdf7fa0fe805ac7e1ff38bde4.jpg","text":"TemporaryFile(/tmp/multipartBody127736708508682651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491873167,"filename":"image_12042025_21_26_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/70da244318a78924cbf71a774d9b0e08.jpg","text":"TemporaryFile(/tmp/multipartBody7257960704979472785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491873167,"filename":"image_12042025_21_26_47_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1a698768eb8c941388de9f10a117a8af.jpg","text":"TemporaryFile(/tmp/multipartBody107868392732481904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491873167,"filename":"image_12042025_21_26_06_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/683f30a4a33abb3e98a19f0e2c0be43a.jpg","text":"TemporaryFile(/tmp/multipartBody5041534376289719859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491873167,"filename":"image_12042025_21_26_27_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/42fd43a0aa6c6dbabc4a5f5e11cbecd7.jpg","text":"TemporaryFile(/tmp/multipartBody4683443522226146899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491873167,"filename":"image_12042025_21_26_36_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352331039","file1":"1352331018","file0":"1352330992","file4":"1352331091","file5":"1352331114","file3":"1352331068"},"map_files_photo_id_array":[{"photo_id":"1352331114","filename":"file5"},{"photo_id":"1352331039","filename":"file2"},{"photo_id":"1352331091","filename":"file4"},{"photo_id":"1352331018","filename":"file1"},{"photo_id":"1352330992","filename":"file0"},{"photo_id":"1352331068","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352330992":["hashtag1","hashtag2"]},{"1352331039":["hashtag1","hashtag2"]},{"1352331114":["hashtag1","hashtag2"]},{"1352331018":["hashtag1","hashtag2"]},{"1352331068":["hashtag1","hashtag2"]},{"1352331091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352330992, 1352331039, 1352331114, 1352331018, 1352331068, 1352331091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.39232611656189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:04:32.903705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_56_9405.jpg', '/home/pi/Desktop/images/12042025/21/26/image_12042025_21_27_06_10369.jpg', '/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_17_10438.jpg', '/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_26_9361.jpg', '/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_37_10360.jpg', '/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_46_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/26/image_12042025_21_26_56_9405.jpg
/home/pi/Desktop/images/12042025/21/26/image_12042025_21_27_06_10369.jpg
/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_17_10438.jpg
/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_26_9361.jpg
/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_37_10360.jpg
/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_46_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352331552","1352331510","1352331395","1352331482","1352331536","1352331370"],"photo_ids_order":["1352331370","1352331395","1352331482","1352331510","1352331536","1352331552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7b3b962e98de090ba65ab6f37dc212af.jpg","text":"TemporaryFile(/tmp/multipartBody7596529271710223427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491933463,"filename":"image_12042025_21_27_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a51c801caa8c620f424724f6f5a24f7.jpg","text":"TemporaryFile(/tmp/multipartBody1321028759403108561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491933463,"filename":"image_12042025_21_27_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/95862a51d050caa20723fba711f6e68e.jpg","text":"TemporaryFile(/tmp/multipartBody9030698910817010182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491933463,"filename":"image_12042025_21_27_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/024f20ae272c2171ebc67daca592e9dc.jpg","text":"TemporaryFile(/tmp/multipartBody1068444290566066172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491933463,"filename":"image_12042025_21_27_17_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bad199cc53b47c8cacbef6e96ef2f670.jpg","text":"TemporaryFile(/tmp/multipartBody7493404904993378799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491933463,"filename":"image_12042025_21_27_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f31d61622b2153ea6f64edbbf8682d0c.jpg","text":"TemporaryFile(/tmp/multipartBody2072310214380439831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491933463,"filename":"image_12042025_21_26_56_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352331482","file1":"1352331395","file0":"1352331370","file4":"1352331536","file5":"1352331552","file3":"1352331510"},"map_files_photo_id_array":[{"photo_id":"1352331552","filename":"file5"},{"photo_id":"1352331482","filename":"file2"},{"photo_id":"1352331536","filename":"file4"},{"photo_id":"1352331395","filename":"file1"},{"photo_id":"1352331370","filename":"file0"},{"photo_id":"1352331510","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352331552":["hashtag1","hashtag2"]},{"1352331510":["hashtag1","hashtag2"]},{"1352331395":["hashtag1","hashtag2"]},{"1352331482":["hashtag1","hashtag2"]},{"1352331536":["hashtag1","hashtag2"]},{"1352331370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352331552, 1352331510, 1352331395, 1352331482, 1352331536, 1352331370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45775294303894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:05:33.220373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_56_10428.jpg', '/home/pi/Desktop/images/12042025/21/27/image_12042025_21_28_07_10369.jpg', '/home/pi/Desktop/images/12042025/21/28/image_12042025_21_28_27_10431.jpg', '/home/pi/Desktop/images/12042025/21/28/image_12042025_21_28_36_9367.jpg', '/home/pi/Desktop/images/12042025/21/28/image_12042025_21_28_46_10372.jpg', '/home/pi/Desktop/images/12042025/21/28/image_12042025_21_28_57_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/27/image_12042025_21_27_56_10428.jpg
/home/pi/Desktop/images/12042025/21/27/image_12042025_21_28_07_10369.jpg
/home/pi/Desktop/images/12042025/21/28/image_12042025_21_28_27_10431.jpg
/home/pi/Desktop/images/12042025/21/28/image_12042025_21_28_36_9367.jpg
/home/pi/Desktop/images/12042025/21/28/image_12042025_21_28_46_10372.jpg
/home/pi/Desktop/images/12042025/21/28/image_12042025_21_28_57_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352331969","1352332011","1352331924","1352331944","1352331991","1352331892"],"photo_ids_order":["1352331892","1352331924","1352331944","1352331969","1352331991","1352332011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/278ef00539d54f604b0d5bdb4a985560.jpg","text":"TemporaryFile(/tmp/multipartBody4588145461876029265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491993695,"filename":"image_12042025_21_28_36_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99bde3ab0b6a738ff7dd9b380efd3e5a.jpg","text":"TemporaryFile(/tmp/multipartBody6796970072565123919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491993695,"filename":"image_12042025_21_28_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d8e08aeb4aec5a5ba56470d133f42c1.jpg","text":"TemporaryFile(/tmp/multipartBody320607759696677154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491993695,"filename":"image_12042025_21_28_07_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/aa3957154ea0796b6ec577582109e31c.jpg","text":"TemporaryFile(/tmp/multipartBody1377513471756375434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491993695,"filename":"image_12042025_21_28_27_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/59c1035ae198ff59f29da59a10d531d2.jpg","text":"TemporaryFile(/tmp/multipartBody7877546494279471136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491993695,"filename":"image_12042025_21_28_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bbaecd3a232bb7b2842b9d8faf6843b0.jpg","text":"TemporaryFile(/tmp/multipartBody5873713622053236826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744491993695,"filename":"image_12042025_21_27_56_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352331944","file1":"1352331924","file0":"1352331892","file4":"1352331991","file5":"1352332011","file3":"1352331969"},"map_files_photo_id_array":[{"photo_id":"1352332011","filename":"file5"},{"photo_id":"1352331944","filename":"file2"},{"photo_id":"1352331991","filename":"file4"},{"photo_id":"1352331924","filename":"file1"},{"photo_id":"1352331892","filename":"file0"},{"photo_id":"1352331969","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352331969":["hashtag1","hashtag2"]},{"1352332011":["hashtag1","hashtag2"]},{"1352331924":["hashtag1","hashtag2"]},{"1352331944":["hashtag1","hashtag2"]},{"1352331991":["hashtag1","hashtag2"]},{"1352331892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352331969, 1352332011, 1352331924, 1352331944, 1352331991, 1352331892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85094714164734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:06:32.529431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/28/image_12042025_21_29_06_9388.jpg', '/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_16_10356.jpg', '/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_27_10423.jpg', '/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_36_9394.jpg', '/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_47_10430.jpg', '/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_56_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/28/image_12042025_21_29_06_9388.jpg
/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_16_10356.jpg
/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_27_10423.jpg
/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_36_9394.jpg
/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_47_10430.jpg
/home/pi/Desktop/images/12042025/21/29/image_12042025_21_29_56_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352332233","1352332289","1352332331","1352332208","1352332217","1352332183"],"photo_ids_order":["1352332183","1352332208","1352332217","1352332233","1352332289","1352332331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d80b470ed6ade530387fd8a1ec31231f.jpg","text":"TemporaryFile(/tmp/multipartBody6045191415908331688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492053016,"filename":"image_12042025_21_29_36_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/deeb4644b83086814869d5cdec7dea53.jpg","text":"TemporaryFile(/tmp/multipartBody3273856099493696697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492053016,"filename":"image_12042025_21_29_47_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ab3dd91fc424a928ce14fb239e33e77.jpg","text":"TemporaryFile(/tmp/multipartBody8323928932115970405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492053016,"filename":"image_12042025_21_29_56_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dce99c8101ffd5eb7257478ade13dfe3.jpg","text":"TemporaryFile(/tmp/multipartBody6124377430115678493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492053016,"filename":"image_12042025_21_29_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30aced64ddc768ae97d791cb6bef63a9.jpg","text":"TemporaryFile(/tmp/multipartBody2950640722253242989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492053016,"filename":"image_12042025_21_29_27_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d771e66493d70fcb4ceeb9f696111960.jpg","text":"TemporaryFile(/tmp/multipartBody6795442549129155956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492053016,"filename":"image_12042025_21_29_06_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352332217","file1":"1352332208","file0":"1352332183","file4":"1352332289","file5":"1352332331","file3":"1352332233"},"map_files_photo_id_array":[{"photo_id":"1352332331","filename":"file5"},{"photo_id":"1352332217","filename":"file2"},{"photo_id":"1352332289","filename":"file4"},{"photo_id":"1352332208","filename":"file1"},{"photo_id":"1352332183","filename":"file0"},{"photo_id":"1352332233","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352332233":["hashtag1","hashtag2"]},{"1352332289":["hashtag1","hashtag2"]},{"1352332331":["hashtag1","hashtag2"]},{"1352332208":["hashtag1","hashtag2"]},{"1352332217":["hashtag1","hashtag2"]},{"1352332183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352332233, 1352332289, 1352332331, 1352332208, 1352332217, 1352332183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04399561882019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:07:32.671138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/29/image_12042025_21_30_06_10363.jpg', '/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_17_10424.jpg', '/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_26_9383.jpg', '/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_37_10434.jpg', '/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_46_9358.jpg', '/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_56_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/29/image_12042025_21_30_06_10363.jpg
/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_17_10424.jpg
/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_26_9383.jpg
/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_37_10434.jpg
/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_46_9358.jpg
/home/pi/Desktop/images/12042025/21/30/image_12042025_21_30_56_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352332470","1352332527","1352332571","1352332495","1352332549","1352332519"],"photo_ids_order":["1352332470","1352332495","1352332519","1352332527","1352332549","1352332571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8b56c953079812fdd10aa1300d79fda5.jpg","text":"TemporaryFile(/tmp/multipartBody603845501304583862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492113144,"filename":"image_12042025_21_30_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/caae54181aac8b693a7beb69fcc1c888.jpg","text":"TemporaryFile(/tmp/multipartBody5602416598113169301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492113144,"filename":"image_12042025_21_30_37_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3a06dac256ffb7239a12db8148d35eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3479057888486763259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492113144,"filename":"image_12042025_21_30_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4ed4cd88a292e95fb2b32284c2490cfb.jpg","text":"TemporaryFile(/tmp/multipartBody9086594612901802505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492113144,"filename":"image_12042025_21_30_17_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/124e9eab1ff880012e4df2699cbd7728.jpg","text":"TemporaryFile(/tmp/multipartBody7643454333898881898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492113144,"filename":"image_12042025_21_30_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b06a2d866e5d6ac6db4a076e4c3b9ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7956660127863055037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492113144,"filename":"image_12042025_21_30_26_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352332519","file1":"1352332495","file0":"1352332470","file4":"1352332549","file5":"1352332571","file3":"1352332527"},"map_files_photo_id_array":[{"photo_id":"1352332571","filename":"file5"},{"photo_id":"1352332519","filename":"file2"},{"photo_id":"1352332549","filename":"file4"},{"photo_id":"1352332495","filename":"file1"},{"photo_id":"1352332470","filename":"file0"},{"photo_id":"1352332527","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352332470":["hashtag1","hashtag2"]},{"1352332527":["hashtag1","hashtag2"]},{"1352332571":["hashtag1","hashtag2"]},{"1352332495":["hashtag1","hashtag2"]},{"1352332549":["hashtag1","hashtag2"]},{"1352332519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352332470, 1352332527, 1352332571, 1352332495, 1352332549, 1352332519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.29735946655273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:09:32.269218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/30/image_12042025_21_31_07_10447.jpg', '/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_16_9368.jpg', '/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_27_10392.jpg', '/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_36_9381.jpg', '/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_46_10382.jpg', '/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_57_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/30/image_12042025_21_31_07_10447.jpg
/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_16_9368.jpg
/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_27_10392.jpg
/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_36_9381.jpg
/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_46_10382.jpg
/home/pi/Desktop/images/12042025/21/31/image_12042025_21_31_57_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352334589","1352334736","1352334625","1352334780","1352334684","1352334807"],"photo_ids_order":["1352334589","1352334625","1352334684","1352334736","1352334780","1352334807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/52167f07e00b19274f88764455cefd58.jpg","text":"TemporaryFile(/tmp/multipartBody5889799835097693181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492232748,"filename":"image_12042025_21_31_07_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44518c961ed1915dd18a243d32f7b180.jpg","text":"TemporaryFile(/tmp/multipartBody6044917416871453552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492232748,"filename":"image_12042025_21_31_36_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fba4035321de4c96a8d9740bc0e14db.jpg","text":"TemporaryFile(/tmp/multipartBody8437886320986026060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492232748,"filename":"image_12042025_21_31_16_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b103c4f24c8b4f2203b4f4573bbb0e9b.jpg","text":"TemporaryFile(/tmp/multipartBody398521307192561292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492232748,"filename":"image_12042025_21_31_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30eaa24108b3a08f537b4b2bc69b40cd.jpg","text":"TemporaryFile(/tmp/multipartBody8439074862087727074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492232748,"filename":"image_12042025_21_31_27_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/62f933949e55257f9d847669e645d460.jpg","text":"TemporaryFile(/tmp/multipartBody2266210675100441622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492232748,"filename":"image_12042025_21_31_57_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352334684","file1":"1352334625","file0":"1352334589","file4":"1352334780","file5":"1352334807","file3":"1352334736"},"map_files_photo_id_array":[{"photo_id":"1352334807","filename":"file5"},{"photo_id":"1352334684","filename":"file2"},{"photo_id":"1352334780","filename":"file4"},{"photo_id":"1352334625","filename":"file1"},{"photo_id":"1352334589","filename":"file0"},{"photo_id":"1352334736","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352334589":["hashtag1","hashtag2"]},{"1352334736":["hashtag1","hashtag2"]},{"1352334625":["hashtag1","hashtag2"]},{"1352334780":["hashtag1","hashtag2"]},{"1352334684":["hashtag1","hashtag2"]},{"1352334807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352334589, 1352334736, 1352334625, 1352334780, 1352334684, 1352334807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.494388580322266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:10:32.539759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/31/image_12042025_21_32_06_9369.jpg', '/home/pi/Desktop/images/12042025/21/32/image_12042025_21_32_17_10424.jpg', '/home/pi/Desktop/images/12042025/21/32/image_12042025_21_32_36_10368.jpg', '/home/pi/Desktop/images/12042025/21/32/image_12042025_21_32_47_10461.jpg', '/home/pi/Desktop/images/12042025/21/32/image_12042025_21_32_56_9373.jpg', '/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_17_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/31/image_12042025_21_32_06_9369.jpg
/home/pi/Desktop/images/12042025/21/32/image_12042025_21_32_17_10424.jpg
/home/pi/Desktop/images/12042025/21/32/image_12042025_21_32_36_10368.jpg
/home/pi/Desktop/images/12042025/21/32/image_12042025_21_32_47_10461.jpg
/home/pi/Desktop/images/12042025/21/32/image_12042025_21_32_56_9373.jpg
/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_17_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352335447","1352335714","1352335330","1352335560","1352335491","1352335394"],"photo_ids_order":["1352335330","1352335394","1352335447","1352335491","1352335560","1352335714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ccaaa883305b769e7bed33ad4ef14067.jpg","text":"TemporaryFile(/tmp/multipartBody5401826971754129685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492293004,"filename":"image_12042025_21_32_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21108eea9701d923bed4dc39920ddd0f.jpg","text":"TemporaryFile(/tmp/multipartBody5558824552404393499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492293004,"filename":"image_12042025_21_33_17_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88f0af1374a51042598ee45bd05733ea.jpg","text":"TemporaryFile(/tmp/multipartBody2460536891602618405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492293004,"filename":"image_12042025_21_32_06_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b9b7e0110aaef0e45876fbf44294909.jpg","text":"TemporaryFile(/tmp/multipartBody8919929458549215710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492293004,"filename":"image_12042025_21_32_56_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/461527078af2e7e7fc3f905658f5d212.jpg","text":"TemporaryFile(/tmp/multipartBody8876092010944035923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492293004,"filename":"image_12042025_21_32_47_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdbf3ed4f6b997b409efa483f2f7e4b0.jpg","text":"TemporaryFile(/tmp/multipartBody4832471499067812101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492293004,"filename":"image_12042025_21_32_17_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352335447","file1":"1352335394","file0":"1352335330","file4":"1352335560","file5":"1352335714","file3":"1352335491"},"map_files_photo_id_array":[{"photo_id":"1352335714","filename":"file5"},{"photo_id":"1352335447","filename":"file2"},{"photo_id":"1352335560","filename":"file4"},{"photo_id":"1352335394","filename":"file1"},{"photo_id":"1352335330","filename":"file0"},{"photo_id":"1352335491","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352335447":["hashtag1","hashtag2"]},{"1352335714":["hashtag1","hashtag2"]},{"1352335330":["hashtag1","hashtag2"]},{"1352335560":["hashtag1","hashtag2"]},{"1352335491":["hashtag1","hashtag2"]},{"1352335394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352335447, 1352335714, 1352335330, 1352335560, 1352335491, 1352335394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.748148918151855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:11:32.781320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_26_9377.jpg', '/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_37_10476.jpg', '/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_46_9349.jpg', '/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_56_10380.jpg', '/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_16_9365.jpg', '/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_27_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_26_9377.jpg
/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_37_10476.jpg
/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_46_9349.jpg
/home/pi/Desktop/images/12042025/21/33/image_12042025_21_33_56_10380.jpg
/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_16_9365.jpg
/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_27_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352336419","1352336239","1352336472","1352336349","1352336297","1352336205"],"photo_ids_order":["1352336205","1352336239","1352336297","1352336349","1352336419","1352336472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/78da3906bf6c3e1e3e1380539008ee37.jpg","text":"TemporaryFile(/tmp/multipartBody1722285184522326066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492353271,"filename":"image_12042025_21_34_16_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1ee05d63d23c04aad2c14dc5c53ab3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7786504751385275368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492353271,"filename":"image_12042025_21_33_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/379fd447b17918615cc222b491f77211.jpg","text":"TemporaryFile(/tmp/multipartBody6954035230516591066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492353271,"filename":"image_12042025_21_34_27_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b62168f1ff6d3b5329fd69bd50955fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2909013030295542884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492353271,"filename":"image_12042025_21_33_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5becb8fdece06d99caf2d7ea5a657830.jpg","text":"TemporaryFile(/tmp/multipartBody3797628823287272169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492353271,"filename":"image_12042025_21_33_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/09178b891387f76e47d04af6af46921d.jpg","text":"TemporaryFile(/tmp/multipartBody7949564386939373189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492353271,"filename":"image_12042025_21_33_26_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352336297","file1":"1352336239","file0":"1352336205","file4":"1352336419","file5":"1352336472","file3":"1352336349"},"map_files_photo_id_array":[{"photo_id":"1352336472","filename":"file5"},{"photo_id":"1352336297","filename":"file2"},{"photo_id":"1352336419","filename":"file4"},{"photo_id":"1352336239","filename":"file1"},{"photo_id":"1352336205","filename":"file0"},{"photo_id":"1352336349","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352336419":["hashtag1","hashtag2"]},{"1352336239":["hashtag1","hashtag2"]},{"1352336472":["hashtag1","hashtag2"]},{"1352336349":["hashtag1","hashtag2"]},{"1352336297":["hashtag1","hashtag2"]},{"1352336205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352336419, 1352336239, 1352336472, 1352336349, 1352336297, 1352336205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7714729309082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:12:33.199665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_36_9374.jpg', '/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_46_10388.jpg', '/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_57_10404.jpg', '/home/pi/Desktop/images/12042025/21/34/image_12042025_21_35_06_9368.jpg', '/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_17_10487.jpg', '/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_26_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_36_9374.jpg
/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_46_10388.jpg
/home/pi/Desktop/images/12042025/21/34/image_12042025_21_34_57_10404.jpg
/home/pi/Desktop/images/12042025/21/34/image_12042025_21_35_06_9368.jpg
/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_17_10487.jpg
/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_26_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352337153","1352337054","1352337102","1352336916","1352336963","1352337008"],"photo_ids_order":["1352336916","1352336963","1352337008","1352337054","1352337102","1352337153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5d4cf086ba66895b83d568468b7ec4b8.jpg","text":"TemporaryFile(/tmp/multipartBody6037663889117912857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492413679,"filename":"image_12042025_21_35_26_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/861d490656752fddf831794212df5920.jpg","text":"TemporaryFile(/tmp/multipartBody167638861985608696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492413679,"filename":"image_12042025_21_35_06_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/537c8c46a282c3e59d6979a56676bc58.jpg","text":"TemporaryFile(/tmp/multipartBody6438100753071561003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492413679,"filename":"image_12042025_21_35_17_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/02e9587058d2a3d1e60e27d0c41ed6a6.jpg","text":"TemporaryFile(/tmp/multipartBody5155228303449365092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492413679,"filename":"image_12042025_21_34_36_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17525e50e2b08e76037a80b651541a23.jpg","text":"TemporaryFile(/tmp/multipartBody3431015883127712920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492413679,"filename":"image_12042025_21_34_46_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bca5142359ee8431d260991ec2661c78.jpg","text":"TemporaryFile(/tmp/multipartBody5882181939399182175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492413679,"filename":"image_12042025_21_34_57_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352337008","file1":"1352336963","file0":"1352336916","file4":"1352337102","file5":"1352337153","file3":"1352337054"},"map_files_photo_id_array":[{"photo_id":"1352337153","filename":"file5"},{"photo_id":"1352337008","filename":"file2"},{"photo_id":"1352337102","filename":"file4"},{"photo_id":"1352336963","filename":"file1"},{"photo_id":"1352336916","filename":"file0"},{"photo_id":"1352337054","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352337153":["hashtag1","hashtag2"]},{"1352337054":["hashtag1","hashtag2"]},{"1352337102":["hashtag1","hashtag2"]},{"1352336916":["hashtag1","hashtag2"]},{"1352336963":["hashtag1","hashtag2"]},{"1352337008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352337153, 1352337054, 1352337102, 1352336916, 1352336963, 1352337008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55976438522339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:13:32.312665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_36_10372.jpg', '/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_47_10404.jpg', '/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_56_9400.jpg', '/home/pi/Desktop/images/12042025/21/36/image_12042025_21_36_37_10453.jpg', '/home/pi/Desktop/images/12042025/21/36/image_12042025_21_36_46_9369.jpg', '/home/pi/Desktop/images/12042025/21/36/image_12042025_21_36_57_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_36_10372.jpg
/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_47_10404.jpg
/home/pi/Desktop/images/12042025/21/35/image_12042025_21_35_56_9400.jpg
/home/pi/Desktop/images/12042025/21/36/image_12042025_21_36_37_10453.jpg
/home/pi/Desktop/images/12042025/21/36/image_12042025_21_36_46_9369.jpg
/home/pi/Desktop/images/12042025/21/36/image_12042025_21_36_57_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352337616","1352337528","1352337557","1352337452","1352337490","1352337727"],"photo_ids_order":["1352337452","1352337490","1352337528","1352337557","1352337616","1352337727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/772f904fe9f987fdbd9b0f2b7b3b5892.jpg","text":"TemporaryFile(/tmp/multipartBody8604420312446705384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492472783,"filename":"image_12042025_21_36_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05eba174c15ec494088552e5ed195e24.jpg","text":"TemporaryFile(/tmp/multipartBody7272192014183188256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492472783,"filename":"image_12042025_21_35_56_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67795174c8239da039996d188be1ab69.jpg","text":"TemporaryFile(/tmp/multipartBody3351791938582875544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492472783,"filename":"image_12042025_21_36_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/38776c4cee8053145ed646ff89144566.jpg","text":"TemporaryFile(/tmp/multipartBody2787866227543726006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492472783,"filename":"image_12042025_21_35_36_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d2084ca9126d3b7d7aed3601c8ac1aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2830314572862066365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492472783,"filename":"image_12042025_21_35_47_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2cfbc19715df089374f4d681fede352.jpg","text":"TemporaryFile(/tmp/multipartBody8061505620461002806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492472783,"filename":"image_12042025_21_36_57_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352337528","file1":"1352337490","file0":"1352337452","file4":"1352337616","file5":"1352337727","file3":"1352337557"},"map_files_photo_id_array":[{"photo_id":"1352337727","filename":"file5"},{"photo_id":"1352337528","filename":"file2"},{"photo_id":"1352337616","filename":"file4"},{"photo_id":"1352337490","filename":"file1"},{"photo_id":"1352337452","filename":"file0"},{"photo_id":"1352337557","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352337616":["hashtag1","hashtag2"]},{"1352337528":["hashtag1","hashtag2"]},{"1352337557":["hashtag1","hashtag2"]},{"1352337452":["hashtag1","hashtag2"]},{"1352337490":["hashtag1","hashtag2"]},{"1352337727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352337616, 1352337528, 1352337557, 1352337452, 1352337490, 1352337727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.76354384422302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:14:32.674631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/36/image_12042025_21_37_06_9413.jpg', '/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_16_10367.jpg', '/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_26_9499.jpg', '/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_36_10376.jpg', '/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_46_9611.jpg', '/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/36/image_12042025_21_37_06_9413.jpg
/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_16_10367.jpg
/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_26_9499.jpg
/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_36_10376.jpg
/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_46_9611.jpg
/home/pi/Desktop/images/12042025/21/37/image_12042025_21_37_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352338065","1352338131","1352338014","1352337977","1352338096","1352338039"],"photo_ids_order":["1352337977","1352338014","1352338039","1352338065","1352338096","1352338131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e66654359ac818457a483d22dbc6a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody860355226264119697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492533149,"filename":"image_12042025_21_37_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/693542556feceda8809965a06b7cea36.jpg","text":"TemporaryFile(/tmp/multipartBody6846975096284244662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492533149,"filename":"image_12042025_21_37_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef7ed0c95000f39937c5f724252ff383.jpg","text":"TemporaryFile(/tmp/multipartBody1137302427213364651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492533149,"filename":"image_12042025_21_37_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dc3dd41163d31e546eca7e5c8ef2a43a.jpg","text":"TemporaryFile(/tmp/multipartBody8880814313814349781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492533149,"filename":"image_12042025_21_37_06_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77b43bc0b0b81f81abac8c1aa0d6b37b.jpg","text":"TemporaryFile(/tmp/multipartBody8116088818026318507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492533149,"filename":"image_12042025_21_37_46_9611.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0c2c5c303f08f61eae12b0eb24e9e15b.jpg","text":"TemporaryFile(/tmp/multipartBody2275353893985973572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492533149,"filename":"image_12042025_21_37_26_9499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352338039","file1":"1352338014","file0":"1352337977","file4":"1352338096","file5":"1352338131","file3":"1352338065"},"map_files_photo_id_array":[{"photo_id":"1352338131","filename":"file5"},{"photo_id":"1352338039","filename":"file2"},{"photo_id":"1352338096","filename":"file4"},{"photo_id":"1352338014","filename":"file1"},{"photo_id":"1352337977","filename":"file0"},{"photo_id":"1352338065","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352338065":["hashtag1","hashtag2"]},{"1352338131":["hashtag1","hashtag2"]},{"1352338014":["hashtag1","hashtag2"]},{"1352337977":["hashtag1","hashtag2"]},{"1352338096":["hashtag1","hashtag2"]},{"1352338039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352338065, 1352338131, 1352338014, 1352337977, 1352338096, 1352338039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92806363105774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:15:32.832229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/37/image_12042025_21_38_07_10462.jpg', '/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_16_9369.jpg', '/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_27_10499.jpg', '/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_36_9374.jpg', '/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_46_10377.jpg', '/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_57_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/37/image_12042025_21_38_07_10462.jpg
/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_16_9369.jpg
/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_27_10499.jpg
/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_36_9374.jpg
/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_46_10377.jpg
/home/pi/Desktop/images/12042025/21/38/image_12042025_21_38_57_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352338767","1352338536","1352338467","1352338574","1352338706","1352338630"],"photo_ids_order":["1352338467","1352338536","1352338574","1352338630","1352338706","1352338767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a4416cbb8410edf9cd6ae8bdd2d1db1.jpg","text":"TemporaryFile(/tmp/multipartBody6014408980145102718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492593300,"filename":"image_12042025_21_38_57_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b37c382a0972e0b6deeaaa76c3c4504d.jpg","text":"TemporaryFile(/tmp/multipartBody4005230535936132256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492593300,"filename":"image_12042025_21_38_16_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0ad781409ce61b47e61b3d7452dd85f5.jpg","text":"TemporaryFile(/tmp/multipartBody6040386270335310361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492593300,"filename":"image_12042025_21_38_07_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7df809984f12897e314128ffc68a087.jpg","text":"TemporaryFile(/tmp/multipartBody2905714011754237599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492593300,"filename":"image_12042025_21_38_27_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/043f5ae5d2db49b019d2195547ea9319.jpg","text":"TemporaryFile(/tmp/multipartBody1985234451093060814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492593300,"filename":"image_12042025_21_38_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/169b8b0e278a952105c049c38ddb32ee.jpg","text":"TemporaryFile(/tmp/multipartBody258634229391228778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492593300,"filename":"image_12042025_21_38_36_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352338574","file1":"1352338536","file0":"1352338467","file4":"1352338706","file5":"1352338767","file3":"1352338630"},"map_files_photo_id_array":[{"photo_id":"1352338767","filename":"file5"},{"photo_id":"1352338574","filename":"file2"},{"photo_id":"1352338706","filename":"file4"},{"photo_id":"1352338536","filename":"file1"},{"photo_id":"1352338467","filename":"file0"},{"photo_id":"1352338630","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352338767":["hashtag1","hashtag2"]},{"1352338536":["hashtag1","hashtag2"]},{"1352338467":["hashtag1","hashtag2"]},{"1352338574":["hashtag1","hashtag2"]},{"1352338706":["hashtag1","hashtag2"]},{"1352338630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352338767, 1352338536, 1352338467, 1352338574, 1352338706, 1352338630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14396262168884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:16:33.039712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/38/image_12042025_21_39_06_9352.jpg', '/home/pi/Desktop/images/12042025/21/39/image_12042025_21_39_16_10367.jpg', '/home/pi/Desktop/images/12042025/21/39/image_12042025_21_39_26_9523.jpg', '/home/pi/Desktop/images/12042025/21/39/image_12042025_21_39_36_10372.jpg', '/home/pi/Desktop/images/12042025/21/39/image_12042025_21_39_47_10432.jpg', '/home/pi/Desktop/images/12042025/21/39/image_12042025_21_40_07_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/38/image_12042025_21_39_06_9352.jpg
/home/pi/Desktop/images/12042025/21/39/image_12042025_21_39_16_10367.jpg
/home/pi/Desktop/images/12042025/21/39/image_12042025_21_39_26_9523.jpg
/home/pi/Desktop/images/12042025/21/39/image_12042025_21_39_36_10372.jpg
/home/pi/Desktop/images/12042025/21/39/image_12042025_21_39_47_10432.jpg
/home/pi/Desktop/images/12042025/21/39/image_12042025_21_40_07_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352339186","1352339165","1352339129","1352339251","1352339286","1352339206"],"photo_ids_order":["1352339129","1352339165","1352339186","1352339206","1352339251","1352339286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac0e03522c93c5e76227e861d783bcf1.jpg","text":"TemporaryFile(/tmp/multipartBody5332370243285025403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492653508,"filename":"image_12042025_21_39_26_9523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cd3519410586d3dd8fe19f5bc395352.jpg","text":"TemporaryFile(/tmp/multipartBody7125070372355077804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492653508,"filename":"image_12042025_21_39_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a44245d340229ca0261e9cfebbe65d70.jpg","text":"TemporaryFile(/tmp/multipartBody4919060246491238818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492653508,"filename":"image_12042025_21_39_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b335971f4272346ef39fa53188664a65.jpg","text":"TemporaryFile(/tmp/multipartBody8359188523262049656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492653508,"filename":"image_12042025_21_39_47_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/073ef84aae494bd8299b979a3fdc64ef.jpg","text":"TemporaryFile(/tmp/multipartBody6844918406515252836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492653508,"filename":"image_12042025_21_40_07_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d62bf790cdb390d6c3c70add620a865a.jpg","text":"TemporaryFile(/tmp/multipartBody7839260583517208835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492653508,"filename":"image_12042025_21_39_36_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352339186","file1":"1352339165","file0":"1352339129","file4":"1352339251","file5":"1352339286","file3":"1352339206"},"map_files_photo_id_array":[{"photo_id":"1352339286","filename":"file5"},{"photo_id":"1352339186","filename":"file2"},{"photo_id":"1352339251","filename":"file4"},{"photo_id":"1352339165","filename":"file1"},{"photo_id":"1352339129","filename":"file0"},{"photo_id":"1352339206","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352339186":["hashtag1","hashtag2"]},{"1352339165":["hashtag1","hashtag2"]},{"1352339129":["hashtag1","hashtag2"]},{"1352339251":["hashtag1","hashtag2"]},{"1352339286":["hashtag1","hashtag2"]},{"1352339206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352339186, 1352339165, 1352339129, 1352339251, 1352339286, 1352339206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.125688314437866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:17:32.171440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/40/image_12042025_21_40_26_10402.jpg', '/home/pi/Desktop/images/12042025/21/40/image_12042025_21_40_57_10391.jpg', '/home/pi/Desktop/images/12042025/21/41/image_12042025_21_41_16_10366.jpg', '/home/pi/Desktop/images/12042025/21/41/image_12042025_21_41_27_10455.jpg', '/home/pi/Desktop/images/12042025/21/41/image_12042025_21_41_47_10407.jpg', '/home/pi/Desktop/images/12042025/21/41/image_12042025_21_41_56_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/40/image_12042025_21_40_26_10402.jpg
/home/pi/Desktop/images/12042025/21/40/image_12042025_21_40_57_10391.jpg
/home/pi/Desktop/images/12042025/21/41/image_12042025_21_41_16_10366.jpg
/home/pi/Desktop/images/12042025/21/41/image_12042025_21_41_27_10455.jpg
/home/pi/Desktop/images/12042025/21/41/image_12042025_21_41_47_10407.jpg
/home/pi/Desktop/images/12042025/21/41/image_12042025_21_41_56_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352339508","1352339531","1352339578","1352339484","1352339553","1352339613"],"photo_ids_order":["1352339484","1352339508","1352339531","1352339553","1352339578","1352339613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0490270d0a5b191207085bc4c35cf0a1.jpg","text":"TemporaryFile(/tmp/multipartBody3259356439698186099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492712633,"filename":"image_12042025_21_40_57_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9a2446fa07ad7d08f68c78595eb2a2d2.jpg","text":"TemporaryFile(/tmp/multipartBody2780022987705458628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492712633,"filename":"image_12042025_21_41_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd218fb398219d9aa5a71da9eb0e8281.jpg","text":"TemporaryFile(/tmp/multipartBody5981027186862059217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492712633,"filename":"image_12042025_21_41_47_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a39fe23de8130c279038b9713513fe03.jpg","text":"TemporaryFile(/tmp/multipartBody1917563667145043548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492712633,"filename":"image_12042025_21_40_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a4eb9a54589708cb76dba519b4a5f353.jpg","text":"TemporaryFile(/tmp/multipartBody3711120382946170075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492712633,"filename":"image_12042025_21_41_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/db9a3f035a81bd8b0a95f377616b821f.jpg","text":"TemporaryFile(/tmp/multipartBody1879888158281566085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492712633,"filename":"image_12042025_21_41_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352339531","file1":"1352339508","file0":"1352339484","file4":"1352339578","file5":"1352339613","file3":"1352339553"},"map_files_photo_id_array":[{"photo_id":"1352339613","filename":"file5"},{"photo_id":"1352339531","filename":"file2"},{"photo_id":"1352339578","filename":"file4"},{"photo_id":"1352339508","filename":"file1"},{"photo_id":"1352339484","filename":"file0"},{"photo_id":"1352339553","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352339508":["hashtag1","hashtag2"]},{"1352339531":["hashtag1","hashtag2"]},{"1352339578":["hashtag1","hashtag2"]},{"1352339484":["hashtag1","hashtag2"]},{"1352339553":["hashtag1","hashtag2"]},{"1352339613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352339508, 1352339531, 1352339578, 1352339484, 1352339553, 1352339613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79170036315918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:18:32.398442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/41/image_12042025_21_42_06_10373.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_17_10411.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_26_9365.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_37_10466.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_46_9357.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/41/image_12042025_21_42_06_10373.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_17_10411.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_26_9365.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_37_10466.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_46_9357.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_56_10360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3836245536804199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 23:18:42.342015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/41/image_12042025_21_42_06_10373.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_17_10411.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_26_9365.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_37_10466.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_46_9357.jpg', '/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/41/image_12042025_21_42_06_10373.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_17_10411.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_26_9365.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_37_10466.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_46_9357.jpg
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_42_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352340069","1352340006","1352339980","1352340029","1352339950","1352339920"],"photo_ids_order":["1352339920","1352339950","1352339980","1352340006","1352340029","1352340069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/440ff9d9d924e26e4054fc1f8d8d1578.jpg","text":"TemporaryFile(/tmp/multipartBody5257626261633044596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492782815,"filename":"image_12042025_21_42_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f9ed6fd26cfc17116498d8245a431e71.jpg","text":"TemporaryFile(/tmp/multipartBody5707712921156415964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492782815,"filename":"image_12042025_21_42_37_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6bafcf31230199c6fcd14b19c43451c8.jpg","text":"TemporaryFile(/tmp/multipartBody6540348493454288106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492782815,"filename":"image_12042025_21_42_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/88ec268db256d9564dcff8c27b99011d.jpg","text":"TemporaryFile(/tmp/multipartBody5807013133220730175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492782815,"filename":"image_12042025_21_42_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c2fff5a93083bbbf2a91b95bb0c0816e.jpg","text":"TemporaryFile(/tmp/multipartBody3446743231869109690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492782815,"filename":"image_12042025_21_42_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/efe9880797f16a4fbc778ddc11b4eaa8.jpg","text":"TemporaryFile(/tmp/multipartBody3578792902164140045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492782815,"filename":"image_12042025_21_42_06_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352339980","file1":"1352339950","file0":"1352339920","file4":"1352340029","file5":"1352340069","file3":"1352340006"},"map_files_photo_id_array":[{"photo_id":"1352340069","filename":"file5"},{"photo_id":"1352339980","filename":"file2"},{"photo_id":"1352340029","filename":"file4"},{"photo_id":"1352339950","filename":"file1"},{"photo_id":"1352339920","filename":"file0"},{"photo_id":"1352340006","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352340069":["hashtag1","hashtag2"]},{"1352340006":["hashtag1","hashtag2"]},{"1352339980":["hashtag1","hashtag2"]},{"1352340029":["hashtag1","hashtag2"]},{"1352339950":["hashtag1","hashtag2"]},{"1352339920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352340069, 1352340006, 1352339980, 1352340029, 1352339950, 1352339920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.40124988555908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:19:32.593155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/42/image_12042025_21_43_07_10456.jpg', '/home/pi/Desktop/images/12042025/21/43/image_12042025_21_43_16_9376.jpg', '/home/pi/Desktop/images/12042025/21/43/image_12042025_21_43_27_10440.jpg', '/home/pi/Desktop/images/12042025/21/43/image_12042025_21_43_36_9363.jpg', '/home/pi/Desktop/images/12042025/21/43/image_12042025_21_43_46_10368.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_16_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/42/image_12042025_21_43_07_10456.jpg
/home/pi/Desktop/images/12042025/21/43/image_12042025_21_43_16_9376.jpg
/home/pi/Desktop/images/12042025/21/43/image_12042025_21_43_27_10440.jpg
/home/pi/Desktop/images/12042025/21/43/image_12042025_21_43_36_9363.jpg
/home/pi/Desktop/images/12042025/21/43/image_12042025_21_43_46_10368.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_16_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352340252","1352340125","1352340298","1352340166","1352340346","1352340202"],"photo_ids_order":["1352340125","1352340166","1352340202","1352340252","1352340298","1352340346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad82cff7ea0a3396a5da12e9f47fe537.jpg","text":"TemporaryFile(/tmp/multipartBody3811361976366274925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492833059,"filename":"image_12042025_21_43_36_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/af98c00b7c49b86bb9dcf27cf0b563a9.jpg","text":"TemporaryFile(/tmp/multipartBody7412479662158195956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492833059,"filename":"image_12042025_21_43_07_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f8f2bf2d2d67a385ec7edd74ba93d12.jpg","text":"TemporaryFile(/tmp/multipartBody6209821991273910566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492833059,"filename":"image_12042025_21_43_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3927a93feeab374bc6eb69260cda31f9.jpg","text":"TemporaryFile(/tmp/multipartBody8066774287724148734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492833059,"filename":"image_12042025_21_43_16_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3c2d70e1d63ca257285baa8592eecfb4.jpg","text":"TemporaryFile(/tmp/multipartBody6413436308929073863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492833059,"filename":"image_12042025_21_44_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4b8ffa54fc8fa5482c92335e03a301db.jpg","text":"TemporaryFile(/tmp/multipartBody1984483940797456097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492833059,"filename":"image_12042025_21_43_27_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352340202","file1":"1352340166","file0":"1352340125","file4":"1352340298","file5":"1352340346","file3":"1352340252"},"map_files_photo_id_array":[{"photo_id":"1352340346","filename":"file5"},{"photo_id":"1352340202","filename":"file2"},{"photo_id":"1352340298","filename":"file4"},{"photo_id":"1352340166","filename":"file1"},{"photo_id":"1352340125","filename":"file0"},{"photo_id":"1352340252","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352340252":["hashtag1","hashtag2"]},{"1352340125":["hashtag1","hashtag2"]},{"1352340298":["hashtag1","hashtag2"]},{"1352340166":["hashtag1","hashtag2"]},{"1352340346":["hashtag1","hashtag2"]},{"1352340202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352340252, 1352340125, 1352340298, 1352340166, 1352340346, 1352340202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.129199266433716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:20:32.965763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_26_9445.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_36_10381.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_47_10427.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_56_9357.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_45_07_10486.jpg', '/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_16_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_26_9445.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_36_10381.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_47_10427.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_56_9357.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_45_07_10486.jpg
/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_16_9336.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3979055881500244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 23:20:42.964459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_26_9445.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_36_10381.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_47_10427.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_56_9357.jpg', '/home/pi/Desktop/images/12042025/21/44/image_12042025_21_45_07_10486.jpg', '/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_16_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_26_9445.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_36_10381.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_47_10427.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_44_56_9357.jpg
/home/pi/Desktop/images/12042025/21/44/image_12042025_21_45_07_10486.jpg
/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_16_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352341127","1352341229","1352341025","1352340937","1352340844","1352341188"],"photo_ids_order":["1352340844","1352340937","1352341025","1352341127","1352341188","1352341229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c268ec7f958c0682aa1a9add64296bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5820085717454788296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492903429,"filename":"image_12042025_21_44_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/77f9aebec8649e1cd06f231e18704142.jpg","text":"TemporaryFile(/tmp/multipartBody6813480918135214862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492903429,"filename":"image_12042025_21_45_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6ea75e0ae1479c68c9b4998495a4f3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6319893087960312132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492903429,"filename":"image_12042025_21_44_47_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/992a85147fed467c0f1f3a4842a22395.jpg","text":"TemporaryFile(/tmp/multipartBody3682965240415152271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492903429,"filename":"image_12042025_21_44_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c19d717aeb2b696a5a7415972cfa4aba.jpg","text":"TemporaryFile(/tmp/multipartBody5115674997640013397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492903429,"filename":"image_12042025_21_44_26_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/76dcbacedf641189374c28a5f28c17c0.jpg","text":"TemporaryFile(/tmp/multipartBody5085106715424634553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492903429,"filename":"image_12042025_21_45_07_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352341025","file1":"1352340937","file0":"1352340844","file4":"1352341188","file5":"1352341229","file3":"1352341127"},"map_files_photo_id_array":[{"photo_id":"1352341229","filename":"file5"},{"photo_id":"1352341025","filename":"file2"},{"photo_id":"1352341188","filename":"file4"},{"photo_id":"1352340937","filename":"file1"},{"photo_id":"1352340844","filename":"file0"},{"photo_id":"1352341127","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352341127":["hashtag1","hashtag2"]},{"1352341229":["hashtag1","hashtag2"]},{"1352341025":["hashtag1","hashtag2"]},{"1352340937":["hashtag1","hashtag2"]},{"1352340844":["hashtag1","hashtag2"]},{"1352341188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352341127, 1352341229, 1352341025, 1352340937, 1352340844, 1352341188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12595295906067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:21:32.309646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_26_10363.jpg', '/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_37_10463.jpg', '/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_46_9374.jpg', '/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_57_10487.jpg', '/home/pi/Desktop/images/12042025/21/45/image_12042025_21_46_06_9359.jpg', '/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_16_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_26_10363.jpg
/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_37_10463.jpg
/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_46_9374.jpg
/home/pi/Desktop/images/12042025/21/45/image_12042025_21_45_57_10487.jpg
/home/pi/Desktop/images/12042025/21/45/image_12042025_21_46_06_9359.jpg
/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_16_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352341440","1352341394","1352341373","1352341418","1352341348","1352341464"],"photo_ids_order":["1352341348","1352341373","1352341394","1352341418","1352341440","1352341464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e7490de4db6d343eb28aa1c988d8aae7.jpg","text":"TemporaryFile(/tmp/multipartBody5852951501026118380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492952797,"filename":"image_12042025_21_46_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2e6565cb567f2271e29aac683ea868fd.jpg","text":"TemporaryFile(/tmp/multipartBody4881152076225215071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492952797,"filename":"image_12042025_21_45_46_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6905e0b8a8d662d8dc52c440d5e50e5.jpg","text":"TemporaryFile(/tmp/multipartBody4526685275133790092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492952797,"filename":"image_12042025_21_45_37_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b385a3b31ca86f693844162e07583d5.jpg","text":"TemporaryFile(/tmp/multipartBody4731201434222948736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492952797,"filename":"image_12042025_21_45_57_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/139f0f38ec533f0a12f1941e30253440.jpg","text":"TemporaryFile(/tmp/multipartBody8424970315399791890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492952797,"filename":"image_12042025_21_45_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/829bc07fa1e9f3d1e6f0188d8c73f817.jpg","text":"TemporaryFile(/tmp/multipartBody1673933228400646845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744492952797,"filename":"image_12042025_21_46_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352341394","file1":"1352341373","file0":"1352341348","file4":"1352341440","file5":"1352341464","file3":"1352341418"},"map_files_photo_id_array":[{"photo_id":"1352341464","filename":"file5"},{"photo_id":"1352341394","filename":"file2"},{"photo_id":"1352341440","filename":"file4"},{"photo_id":"1352341373","filename":"file1"},{"photo_id":"1352341348","filename":"file0"},{"photo_id":"1352341418","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352341440":["hashtag1","hashtag2"]},{"1352341394":["hashtag1","hashtag2"]},{"1352341373":["hashtag1","hashtag2"]},{"1352341418":["hashtag1","hashtag2"]},{"1352341348":["hashtag1","hashtag2"]},{"1352341464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352341440, 1352341394, 1352341373, 1352341418, 1352341348, 1352341464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00643539428711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:22:32.624495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_27_10492.jpg', '/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_36_9351.jpg', '/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_47_10493.jpg', '/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_56_9364.jpg', '/home/pi/Desktop/images/12042025/21/46/image_12042025_21_47_06_10344.jpg', '/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_17_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_27_10492.jpg
/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_36_9351.jpg
/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_47_10493.jpg
/home/pi/Desktop/images/12042025/21/46/image_12042025_21_46_56_9364.jpg
/home/pi/Desktop/images/12042025/21/46/image_12042025_21_47_06_10344.jpg
/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_17_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352341923","1352341862","1352341820","1352341981","1352341954","1352341884"],"photo_ids_order":["1352341820","1352341862","1352341884","1352341923","1352341954","1352341981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/16bbb64eac8b81dea63396d9d5c55e44.jpg","text":"TemporaryFile(/tmp/multipartBody1860488583508104173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493013088,"filename":"image_12042025_21_46_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c0a5188477fe93b931161af58d11ba00.jpg","text":"TemporaryFile(/tmp/multipartBody7349242081365096871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493013088,"filename":"image_12042025_21_46_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be4e5db43dc9058b4945c9e657c6c942.jpg","text":"TemporaryFile(/tmp/multipartBody1474988020396787936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493013088,"filename":"image_12042025_21_46_27_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc9c7742f207bb98d7751d67cd4d5a15.jpg","text":"TemporaryFile(/tmp/multipartBody1467394035338205196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493013088,"filename":"image_12042025_21_47_17_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/524a6672fc68ab7b1f07b586da594d19.jpg","text":"TemporaryFile(/tmp/multipartBody8708853177430662044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493013088,"filename":"image_12042025_21_47_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/39eb2558febdc60a3fad12540d97a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody9129990133893471879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493013088,"filename":"image_12042025_21_46_47_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352341884","file1":"1352341862","file0":"1352341820","file4":"1352341954","file5":"1352341981","file3":"1352341923"},"map_files_photo_id_array":[{"photo_id":"1352341981","filename":"file5"},{"photo_id":"1352341884","filename":"file2"},{"photo_id":"1352341954","filename":"file4"},{"photo_id":"1352341862","filename":"file1"},{"photo_id":"1352341820","filename":"file0"},{"photo_id":"1352341923","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352341923":["hashtag1","hashtag2"]},{"1352341862":["hashtag1","hashtag2"]},{"1352341820":["hashtag1","hashtag2"]},{"1352341981":["hashtag1","hashtag2"]},{"1352341954":["hashtag1","hashtag2"]},{"1352341884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352341923, 1352341862, 1352341820, 1352341981, 1352341954, 1352341884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27339482307434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:23:32.790263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_26_9376.jpg', '/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_37_10445.jpg', '/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_46_9390.jpg', '/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_56_10394.jpg', '/home/pi/Desktop/images/12042025/21/48/image_12042025_21_48_16_9342.jpg', '/home/pi/Desktop/images/12042025/21/48/image_12042025_21_48_27_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_26_9376.jpg
/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_37_10445.jpg
/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_46_9390.jpg
/home/pi/Desktop/images/12042025/21/47/image_12042025_21_47_56_10394.jpg
/home/pi/Desktop/images/12042025/21/48/image_12042025_21_48_16_9342.jpg
/home/pi/Desktop/images/12042025/21/48/image_12042025_21_48_27_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352342180","1352342243","1352342159","1352342266","1352342196","1352342214"],"photo_ids_order":["1352342159","1352342180","1352342196","1352342214","1352342243","1352342266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/96f076ea0ba5e8e560f6985796f51e0d.jpg","text":"TemporaryFile(/tmp/multipartBody8976170337206318915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493073264,"filename":"image_12042025_21_47_37_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/28d75c939d3e0598454cb100b243dbe5.jpg","text":"TemporaryFile(/tmp/multipartBody3571146113584011771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493073264,"filename":"image_12042025_21_48_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b30bfa640530751a38ee5f757ec1b708.jpg","text":"TemporaryFile(/tmp/multipartBody6650305016207564304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493073264,"filename":"image_12042025_21_47_26_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/729c88dd12aa48126fb4d841fcf4e6f0.jpg","text":"TemporaryFile(/tmp/multipartBody528774470119509350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493073264,"filename":"image_12042025_21_48_27_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6158fb12d5909c788b453326ba5ff349.jpg","text":"TemporaryFile(/tmp/multipartBody1822390457106233774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493073264,"filename":"image_12042025_21_47_46_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bd91fedbd3604d6a1b22be4959dbe3ac.jpg","text":"TemporaryFile(/tmp/multipartBody780641372786984016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493073264,"filename":"image_12042025_21_47_56_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352342196","file1":"1352342180","file0":"1352342159","file4":"1352342243","file5":"1352342266","file3":"1352342214"},"map_files_photo_id_array":[{"photo_id":"1352342266","filename":"file5"},{"photo_id":"1352342196","filename":"file2"},{"photo_id":"1352342243","filename":"file4"},{"photo_id":"1352342180","filename":"file1"},{"photo_id":"1352342159","filename":"file0"},{"photo_id":"1352342214","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352342180":["hashtag1","hashtag2"]},{"1352342243":["hashtag1","hashtag2"]},{"1352342159":["hashtag1","hashtag2"]},{"1352342266":["hashtag1","hashtag2"]},{"1352342196":["hashtag1","hashtag2"]},{"1352342214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352342180, 1352342243, 1352342159, 1352342266, 1352342196, 1352342214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67711687088013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:24:33.042835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/48/image_12042025_21_48_36_9383.jpg', '/home/pi/Desktop/images/12042025/21/48/image_12042025_21_48_57_10358.jpg', '/home/pi/Desktop/images/12042025/21/48/image_12042025_21_49_06_9345.jpg', '/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_16_10374.jpg', '/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_27_10429.jpg', '/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_36_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/48/image_12042025_21_48_36_9383.jpg
/home/pi/Desktop/images/12042025/21/48/image_12042025_21_48_57_10358.jpg
/home/pi/Desktop/images/12042025/21/48/image_12042025_21_49_06_9345.jpg
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_16_10374.jpg
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_27_10429.jpg
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_36_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352342281","1352342278","1352342287","1352342283","1352342285","1352342279"],"photo_ids_order":["1352342278","1352342279","1352342281","1352342283","1352342285","1352342287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ba248fa8ff9a2ddcb8856ed13a2023c0.jpg","text":"TemporaryFile(/tmp/multipartBody1353722445586111381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493133605,"filename":"image_12042025_21_49_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1bec720e4bcc9863ba8d83b9954ef987.jpg","text":"TemporaryFile(/tmp/multipartBody4455740454405382476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493133605,"filename":"image_12042025_21_48_36_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6d2b90dd9393aa03cea4a607d7702aaf.jpg","text":"TemporaryFile(/tmp/multipartBody7985245935000991239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493133605,"filename":"image_12042025_21_49_36_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dab0d312fa4ba584bd85b2619ffd63a9.jpg","text":"TemporaryFile(/tmp/multipartBody6517675034932800749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493133605,"filename":"image_12042025_21_49_16_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a189e4f2fabd7adb7c542693efcadbd.jpg","text":"TemporaryFile(/tmp/multipartBody9065000043073496531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493133605,"filename":"image_12042025_21_49_27_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca4160d060f5132ab4b80597db255143.jpg","text":"TemporaryFile(/tmp/multipartBody9159173155152302772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493133605,"filename":"image_12042025_21_48_57_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352342281","file1":"1352342279","file0":"1352342278","file4":"1352342285","file5":"1352342287","file3":"1352342283"},"map_files_photo_id_array":[{"photo_id":"1352342287","filename":"file5"},{"photo_id":"1352342281","filename":"file2"},{"photo_id":"1352342285","filename":"file4"},{"photo_id":"1352342279","filename":"file1"},{"photo_id":"1352342278","filename":"file0"},{"photo_id":"1352342283","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352342281":["hashtag1","hashtag2"]},{"1352342278":["hashtag1","hashtag2"]},{"1352342287":["hashtag1","hashtag2"]},{"1352342283":["hashtag1","hashtag2"]},{"1352342285":["hashtag1","hashtag2"]},{"1352342279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352342281, 1352342278, 1352342287, 1352342283, 1352342285, 1352342279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.719637870788574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:25:32.399020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_47_10417.jpg', '/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_56_9382.jpg', '/home/pi/Desktop/images/12042025/21/49/image_12042025_21_50_06_10354.jpg', '/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_17_10447.jpg', '/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_26_9489.jpg', '/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_37_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_47_10417.jpg
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_56_9382.jpg
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_50_06_10354.jpg
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_17_10447.jpg
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_26_9489.jpg
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_37_10373.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.398801326751709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-04-12 23:25:42.399019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_47_10417.jpg', '/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_56_9382.jpg', '/home/pi/Desktop/images/12042025/21/49/image_12042025_21_50_06_10354.jpg', '/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_17_10447.jpg', '/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_26_9489.jpg', '/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_37_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_47_10417.jpg
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_49_56_9382.jpg
/home/pi/Desktop/images/12042025/21/49/image_12042025_21_50_06_10354.jpg
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_17_10447.jpg
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_26_9489.jpg
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_37_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352342543","1352342546","1352342519","1352342577","1352342493","1352342535"],"photo_ids_order":["1352342493","1352342519","1352342535","1352342543","1352342546","1352342577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2bbabdd3a7b88997ae8d77452fae55c9.jpg","text":"TemporaryFile(/tmp/multipartBody3029829910678072969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493202871,"filename":"image_12042025_21_50_17_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b69b984b517123812a312ab3885d1817.jpg","text":"TemporaryFile(/tmp/multipartBody5344479712835080458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493202871,"filename":"image_12042025_21_50_26_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8e6e78f8ff1aa831567b2e5f83141cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3414266552944039719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493202871,"filename":"image_12042025_21_49_56_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/685ad1f522f8d2e4307bab79c8eef5e5.jpg","text":"TemporaryFile(/tmp/multipartBody3877601792950633744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493202871,"filename":"image_12042025_21_50_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b9e1718f8142b762b40f7a38aa1d7860.jpg","text":"TemporaryFile(/tmp/multipartBody5637479456854311594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493202871,"filename":"image_12042025_21_49_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f00128350aa216fa6e54964f70459d79.jpg","text":"TemporaryFile(/tmp/multipartBody2913230596039315656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493202871,"filename":"image_12042025_21_50_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352342535","file1":"1352342519","file0":"1352342493","file4":"1352342546","file5":"1352342577","file3":"1352342543"},"map_files_photo_id_array":[{"photo_id":"1352342577","filename":"file5"},{"photo_id":"1352342535","filename":"file2"},{"photo_id":"1352342546","filename":"file4"},{"photo_id":"1352342519","filename":"file1"},{"photo_id":"1352342493","filename":"file0"},{"photo_id":"1352342543","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352342543":["hashtag1","hashtag2"]},{"1352342546":["hashtag1","hashtag2"]},{"1352342519":["hashtag1","hashtag2"]},{"1352342577":["hashtag1","hashtag2"]},{"1352342493":["hashtag1","hashtag2"]},{"1352342535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352342543, 1352342546, 1352342519, 1352342577, 1352342493, 1352342535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.578362941741943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:26:32.537292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_46_9361.jpg', '/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_56_10359.jpg', '/home/pi/Desktop/images/12042025/21/50/image_12042025_21_51_07_10361.jpg', '/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_16_9370.jpg', '/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_27_10553.jpg', '/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_36_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_46_9361.jpg
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_50_56_10359.jpg
/home/pi/Desktop/images/12042025/21/50/image_12042025_21_51_07_10361.jpg
/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_16_9370.jpg
/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_27_10553.jpg
/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_36_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352342756","1352342698","1352342761","1352342733","1352342712","1352342736"],"photo_ids_order":["1352342698","1352342712","1352342733","1352342736","1352342756","1352342761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5091fdb5340875e380e27d33f8b2d2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5678901838481798068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493253020,"filename":"image_12042025_21_51_27_10553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a81fe111ea8bd247af8a53ff16c9b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody5953263192802853143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493253020,"filename":"image_12042025_21_50_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3f8db4c44fb581ddab9742ac963a6a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6929631558742985635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493253020,"filename":"image_12042025_21_51_36_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f2d3af271d0d18e4b146e819d4aa81e3.jpg","text":"TemporaryFile(/tmp/multipartBody1243333641588402039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493253020,"filename":"image_12042025_21_51_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6e3ede1c3cce890ad43209643608b495.jpg","text":"TemporaryFile(/tmp/multipartBody2443651538820914086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493253020,"filename":"image_12042025_21_50_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/863c17357ad05be39ff5c24c153ca9c2.jpg","text":"TemporaryFile(/tmp/multipartBody2291688516455186721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493253020,"filename":"image_12042025_21_51_16_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352342733","file1":"1352342712","file0":"1352342698","file4":"1352342756","file5":"1352342761","file3":"1352342736"},"map_files_photo_id_array":[{"photo_id":"1352342761","filename":"file5"},{"photo_id":"1352342733","filename":"file2"},{"photo_id":"1352342756","filename":"file4"},{"photo_id":"1352342712","filename":"file1"},{"photo_id":"1352342698","filename":"file0"},{"photo_id":"1352342736","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352342756":["hashtag1","hashtag2"]},{"1352342698":["hashtag1","hashtag2"]},{"1352342761":["hashtag1","hashtag2"]},{"1352342733":["hashtag1","hashtag2"]},{"1352342712":["hashtag1","hashtag2"]},{"1352342736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352342756, 1352342698, 1352342761, 1352342733, 1352342712, 1352342736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16238522529602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:27:32.704296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_47_10453.jpg', '/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_56_9363.jpg', '/home/pi/Desktop/images/12042025/21/51/image_12042025_21_52_06_10371.jpg', '/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_17_10385.jpg', '/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_26_9377.jpg', '/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_37_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_47_10453.jpg
/home/pi/Desktop/images/12042025/21/51/image_12042025_21_51_56_9363.jpg
/home/pi/Desktop/images/12042025/21/51/image_12042025_21_52_06_10371.jpg
/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_17_10385.jpg
/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_26_9377.jpg
/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_37_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352342783","1352342777","1352342831","1352342833","1352342775","1352342780"],"photo_ids_order":["1352342775","1352342777","1352342780","1352342783","1352342831","1352342833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/568bc80a357aa8316cef7e66c7cbe8b7.jpg","text":"TemporaryFile(/tmp/multipartBody5805991373280123704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493313176,"filename":"image_12042025_21_52_17_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4e9ea6b680b51f33e523da504897302d.jpg","text":"TemporaryFile(/tmp/multipartBody8519003940796014237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493313176,"filename":"image_12042025_21_51_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2c2b3cb3148f1144fdcbefb8beb09b96.jpg","text":"TemporaryFile(/tmp/multipartBody1890067998953160815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493313176,"filename":"image_12042025_21_52_26_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a74bd8c87a8ab7fce1be4e78be2cb865.jpg","text":"TemporaryFile(/tmp/multipartBody2766311579647784827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493313176,"filename":"image_12042025_21_52_37_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fc21a666c4f0a0fa028c1c46a113d0db.jpg","text":"TemporaryFile(/tmp/multipartBody1756690988528594195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493313176,"filename":"image_12042025_21_51_47_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a0e858f431004cea667574ff689eb9a.jpg","text":"TemporaryFile(/tmp/multipartBody7390329946789480808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493313176,"filename":"image_12042025_21_52_06_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352342780","file1":"1352342777","file0":"1352342775","file4":"1352342831","file5":"1352342833","file3":"1352342783"},"map_files_photo_id_array":[{"photo_id":"1352342833","filename":"file5"},{"photo_id":"1352342780","filename":"file2"},{"photo_id":"1352342831","filename":"file4"},{"photo_id":"1352342777","filename":"file1"},{"photo_id":"1352342775","filename":"file0"},{"photo_id":"1352342783","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352342783":["hashtag1","hashtag2"]},{"1352342777":["hashtag1","hashtag2"]},{"1352342831":["hashtag1","hashtag2"]},{"1352342833":["hashtag1","hashtag2"]},{"1352342775":["hashtag1","hashtag2"]},{"1352342780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352342783, 1352342777, 1352342831, 1352342833, 1352342775, 1352342780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.665356397628784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:28:33.039823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_46_9460.jpg', '/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_56_10377.jpg', '/home/pi/Desktop/images/12042025/21/52/image_12042025_21_53_07_10374.jpg', '/home/pi/Desktop/images/12042025/21/53/image_12042025_21_53_16_9351.jpg', '/home/pi/Desktop/images/12042025/21/53/image_12042025_21_53_46_10371.jpg', '/home/pi/Desktop/images/12042025/21/53/image_12042025_21_53_57_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_46_9460.jpg
/home/pi/Desktop/images/12042025/21/52/image_12042025_21_52_56_10377.jpg
/home/pi/Desktop/images/12042025/21/52/image_12042025_21_53_07_10374.jpg
/home/pi/Desktop/images/12042025/21/53/image_12042025_21_53_16_9351.jpg
/home/pi/Desktop/images/12042025/21/53/image_12042025_21_53_46_10371.jpg
/home/pi/Desktop/images/12042025/21/53/image_12042025_21_53_57_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343085","1352342965","1352342944","1352343048","1352343077","1352343086"],"photo_ids_order":["1352342944","1352342965","1352343048","1352343077","1352343085","1352343086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e2859608eba82efa586f01a8a9c774b2.jpg","text":"TemporaryFile(/tmp/multipartBody4061181392396244319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493373511,"filename":"image_12042025_21_53_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c6590868dc0bbc9b7a571a651b79bec5.jpg","text":"TemporaryFile(/tmp/multipartBody6722343580009200639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493373511,"filename":"image_12042025_21_52_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cd076a4fa734f030a9f2982d7db159ff.jpg","text":"TemporaryFile(/tmp/multipartBody111970539192347939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493373511,"filename":"image_12042025_21_52_46_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/501877db5ddb7788d1e1fd14485af709.jpg","text":"TemporaryFile(/tmp/multipartBody4560035889644899537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493373511,"filename":"image_12042025_21_53_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d7ca099d63b2ef006b3f6a56a94a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody3160618617384154293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493373511,"filename":"image_12042025_21_53_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/da0c32ded64522372b6c7ada899b8ac5.jpg","text":"TemporaryFile(/tmp/multipartBody4981782622453089670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493373511,"filename":"image_12042025_21_53_57_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343048","file1":"1352342965","file0":"1352342944","file4":"1352343085","file5":"1352343086","file3":"1352343077"},"map_files_photo_id_array":[{"photo_id":"1352343086","filename":"file5"},{"photo_id":"1352343048","filename":"file2"},{"photo_id":"1352343085","filename":"file4"},{"photo_id":"1352342965","filename":"file1"},{"photo_id":"1352342944","filename":"file0"},{"photo_id":"1352343077","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343085":["hashtag1","hashtag2"]},{"1352342965":["hashtag1","hashtag2"]},{"1352342944":["hashtag1","hashtag2"]},{"1352343048":["hashtag1","hashtag2"]},{"1352343077":["hashtag1","hashtag2"]},{"1352343086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343085, 1352342965, 1352342944, 1352343048, 1352343077, 1352343086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.012813568115234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:29:32.386588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/53/image_12042025_21_54_06_9355.jpg', '/home/pi/Desktop/images/12042025/21/54/image_12042025_21_54_17_10410.jpg', '/home/pi/Desktop/images/12042025/21/54/image_12042025_21_54_26_9464.jpg', '/home/pi/Desktop/images/12042025/21/54/image_12042025_21_54_36_10376.jpg', '/home/pi/Desktop/images/12042025/21/54/image_12042025_21_54_56_9380.jpg', '/home/pi/Desktop/images/12042025/21/54/image_12042025_21_55_07_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/53/image_12042025_21_54_06_9355.jpg
/home/pi/Desktop/images/12042025/21/54/image_12042025_21_54_17_10410.jpg
/home/pi/Desktop/images/12042025/21/54/image_12042025_21_54_26_9464.jpg
/home/pi/Desktop/images/12042025/21/54/image_12042025_21_54_36_10376.jpg
/home/pi/Desktop/images/12042025/21/54/image_12042025_21_54_56_9380.jpg
/home/pi/Desktop/images/12042025/21/54/image_12042025_21_55_07_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343286","1352343243","1352343284","1352343272","1352343245","1352343248"],"photo_ids_order":["1352343243","1352343245","1352343248","1352343272","1352343284","1352343286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b110b1bc20713d6f213cf40d3c514853.jpg","text":"TemporaryFile(/tmp/multipartBody6997307575420556019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493432845,"filename":"image_12042025_21_55_07_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca803701874ab7ab567821726f3ec2bd.jpg","text":"TemporaryFile(/tmp/multipartBody5412209508595317131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493432845,"filename":"image_12042025_21_54_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/304a20781faeeae5d4ade40bc037bf34.jpg","text":"TemporaryFile(/tmp/multipartBody3852366227099542514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493432845,"filename":"image_12042025_21_54_56_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7d5600f51da730a634baa430579218a2.jpg","text":"TemporaryFile(/tmp/multipartBody1045291419603430321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493432845,"filename":"image_12042025_21_54_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/581e600de381edb6b6af8606633de75c.jpg","text":"TemporaryFile(/tmp/multipartBody5508193533011810204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493432845,"filename":"image_12042025_21_54_17_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5fd05d062e3ee66be5e8496eb84e5fac.jpg","text":"TemporaryFile(/tmp/multipartBody6876401978513461713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493432845,"filename":"image_12042025_21_54_26_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343248","file1":"1352343245","file0":"1352343243","file4":"1352343284","file5":"1352343286","file3":"1352343272"},"map_files_photo_id_array":[{"photo_id":"1352343286","filename":"file5"},{"photo_id":"1352343248","filename":"file2"},{"photo_id":"1352343284","filename":"file4"},{"photo_id":"1352343245","filename":"file1"},{"photo_id":"1352343243","filename":"file0"},{"photo_id":"1352343272","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343286":["hashtag1","hashtag2"]},{"1352343243":["hashtag1","hashtag2"]},{"1352343284":["hashtag1","hashtag2"]},{"1352343272":["hashtag1","hashtag2"]},{"1352343245":["hashtag1","hashtag2"]},{"1352343248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343286, 1352343243, 1352343284, 1352343272, 1352343245, 1352343248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.096073150634766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:30:32.456015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/55/image_12042025_21_55_27_10486.jpg', '/home/pi/Desktop/images/12042025/21/55/image_12042025_21_55_36_9362.jpg', '/home/pi/Desktop/images/12042025/21/55/image_12042025_21_55_57_10477.jpg', '/home/pi/Desktop/images/12042025/21/55/image_12042025_21_56_06_9378.jpg', '/home/pi/Desktop/images/12042025/21/56/image_12042025_21_56_47_10488.jpg', '/home/pi/Desktop/images/12042025/21/56/image_12042025_21_56_56_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/55/image_12042025_21_55_27_10486.jpg
/home/pi/Desktop/images/12042025/21/55/image_12042025_21_55_36_9362.jpg
/home/pi/Desktop/images/12042025/21/55/image_12042025_21_55_57_10477.jpg
/home/pi/Desktop/images/12042025/21/55/image_12042025_21_56_06_9378.jpg
/home/pi/Desktop/images/12042025/21/56/image_12042025_21_56_47_10488.jpg
/home/pi/Desktop/images/12042025/21/56/image_12042025_21_56_56_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343308","1352343302","1352343310","1352343304","1352343312","1352343306"],"photo_ids_order":["1352343302","1352343304","1352343306","1352343308","1352343310","1352343312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2a591501470c71dd7d7fa701ddc21a34.jpg","text":"TemporaryFile(/tmp/multipartBody4386526950969666876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493492917,"filename":"image_12042025_21_56_06_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1d3de5d414aa5a460e04d05f9222d5b1.jpg","text":"TemporaryFile(/tmp/multipartBody5011355170064361515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493492917,"filename":"image_12042025_21_55_27_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/99a2bbbfba7498ab0e939726d4c11868.jpg","text":"TemporaryFile(/tmp/multipartBody2960261113894801505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493492917,"filename":"image_12042025_21_56_47_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/61c47130226509fc327c73d09a9cd19b.jpg","text":"TemporaryFile(/tmp/multipartBody7392519556287581774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493492917,"filename":"image_12042025_21_55_36_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c5a43d6736345c2a0dd19ae1be9282a6.jpg","text":"TemporaryFile(/tmp/multipartBody8604157455684796024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493492917,"filename":"image_12042025_21_56_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d7984ce017d330f1ac26566843d59b9.jpg","text":"TemporaryFile(/tmp/multipartBody6371670236138287683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493492917,"filename":"image_12042025_21_55_57_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343306","file1":"1352343304","file0":"1352343302","file4":"1352343310","file5":"1352343312","file3":"1352343308"},"map_files_photo_id_array":[{"photo_id":"1352343312","filename":"file5"},{"photo_id":"1352343306","filename":"file2"},{"photo_id":"1352343310","filename":"file4"},{"photo_id":"1352343304","filename":"file1"},{"photo_id":"1352343302","filename":"file0"},{"photo_id":"1352343308","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343308":["hashtag1","hashtag2"]},{"1352343302":["hashtag1","hashtag2"]},{"1352343310":["hashtag1","hashtag2"]},{"1352343304":["hashtag1","hashtag2"]},{"1352343312":["hashtag1","hashtag2"]},{"1352343306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343308, 1352343302, 1352343310, 1352343304, 1352343312, 1352343306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31979823112488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:31:32.744485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/57/image_12042025_21_57_26_10383.jpg', '/home/pi/Desktop/images/12042025/21/57/image_12042025_21_57_57_10468.jpg', '/home/pi/Desktop/images/12042025/21/57/image_12042025_21_58_06_9472.jpg', '/home/pi/Desktop/images/12042025/21/58/image_12042025_21_58_47_10447.jpg', '/home/pi/Desktop/images/12042025/21/58/image_12042025_21_58_56_9473.jpg', '/home/pi/Desktop/images/12042025/21/59/image_12042025_21_59_26_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/57/image_12042025_21_57_26_10383.jpg
/home/pi/Desktop/images/12042025/21/57/image_12042025_21_57_57_10468.jpg
/home/pi/Desktop/images/12042025/21/57/image_12042025_21_58_06_9472.jpg
/home/pi/Desktop/images/12042025/21/58/image_12042025_21_58_47_10447.jpg
/home/pi/Desktop/images/12042025/21/58/image_12042025_21_58_56_9473.jpg
/home/pi/Desktop/images/12042025/21/59/image_12042025_21_59_26_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343323","1352343325","1352343334","1352343328","1352343330","1352343332"],"photo_ids_order":["1352343323","1352343325","1352343328","1352343330","1352343332","1352343334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ddf17b5ad6f50f7a1f0917705efd34f7.jpg","text":"TemporaryFile(/tmp/multipartBody2010312607392567519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493553245,"filename":"image_12042025_21_57_26_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2fce29ee67dde2b4cf6a2d5781e92f3b.jpg","text":"TemporaryFile(/tmp/multipartBody2315999819203093653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493553245,"filename":"image_12042025_21_57_57_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a1ec8e7a0afe61cfe3af03afeb7ea59a.jpg","text":"TemporaryFile(/tmp/multipartBody267506008352913691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493553245,"filename":"image_12042025_21_59_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6de31bb66a9693f8bb198ce7bb6224cd.jpg","text":"TemporaryFile(/tmp/multipartBody2610955237580502091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493553245,"filename":"image_12042025_21_58_06_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a4ab37885cac6dba59f7f6e97716659.jpg","text":"TemporaryFile(/tmp/multipartBody4000925403309070639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493553245,"filename":"image_12042025_21_58_47_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca1531b471caee39e3408e95127d5e2c.jpg","text":"TemporaryFile(/tmp/multipartBody2100843377417473805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493553245,"filename":"image_12042025_21_58_56_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343328","file1":"1352343325","file0":"1352343323","file4":"1352343332","file5":"1352343334","file3":"1352343330"},"map_files_photo_id_array":[{"photo_id":"1352343334","filename":"file5"},{"photo_id":"1352343328","filename":"file2"},{"photo_id":"1352343332","filename":"file4"},{"photo_id":"1352343325","filename":"file1"},{"photo_id":"1352343323","filename":"file0"},{"photo_id":"1352343330","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343323":["hashtag1","hashtag2"]},{"1352343325":["hashtag1","hashtag2"]},{"1352343334":["hashtag1","hashtag2"]},{"1352343328":["hashtag1","hashtag2"]},{"1352343330":["hashtag1","hashtag2"]},{"1352343332":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343323, 1352343325, 1352343334, 1352343328, 1352343330, 1352343332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.446018934249878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:32:32.932849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/21/59/image_12042025_21_59_57_10480.jpg', '/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_15_10076.jpg', '/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_25_10389.jpg', '/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_36_10538.jpg', '/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_45_9391.jpg', '/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_56_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/21/59/image_12042025_21_59_57_10480.jpg
/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_15_10076.jpg
/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_25_10389.jpg
/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_36_10538.jpg
/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_45_9391.jpg
/home/pi/Desktop/images/12042025/22/01/image_12042025_22_01_56_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343355","1352343349","1352343352","1352343346","1352343359","1352343344"],"photo_ids_order":["1352343344","1352343346","1352343349","1352343352","1352343355","1352343359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6dea1ec66016f568a257c257e57ad402.jpg","text":"TemporaryFile(/tmp/multipartBody1806212270231938595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493613407,"filename":"image_12042025_22_01_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c8346d502d3cd44fc8d429a399fc39d.jpg","text":"TemporaryFile(/tmp/multipartBody4088587866688988578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493613407,"filename":"image_12042025_22_01_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/168974255647182c1c4c43a8e5549bfa.jpg","text":"TemporaryFile(/tmp/multipartBody5606240332962205420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493613407,"filename":"image_12042025_22_01_36_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a619ba4643a5cea123ac8688ffa9f8d1.jpg","text":"TemporaryFile(/tmp/multipartBody8786770982245203651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493613407,"filename":"image_12042025_22_01_15_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/66664f9c6b82708ec26e79a31692bc9d.jpg","text":"TemporaryFile(/tmp/multipartBody8645719980502971269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493613407,"filename":"image_12042025_22_01_56_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f0af06b3d219b5fdd22c9de536dc5c49.jpg","text":"TemporaryFile(/tmp/multipartBody6951876670250182922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493613407,"filename":"image_12042025_21_59_57_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343349","file1":"1352343346","file0":"1352343344","file4":"1352343355","file5":"1352343359","file3":"1352343352"},"map_files_photo_id_array":[{"photo_id":"1352343359","filename":"file5"},{"photo_id":"1352343349","filename":"file2"},{"photo_id":"1352343355","filename":"file4"},{"photo_id":"1352343346","filename":"file1"},{"photo_id":"1352343344","filename":"file0"},{"photo_id":"1352343352","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343355":["hashtag1","hashtag2"]},{"1352343349":["hashtag1","hashtag2"]},{"1352343352":["hashtag1","hashtag2"]},{"1352343346":["hashtag1","hashtag2"]},{"1352343359":["hashtag1","hashtag2"]},{"1352343344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343355, 1352343349, 1352343352, 1352343346, 1352343359, 1352343344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16706109046936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:33:33.192161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/01/image_12042025_22_02_05_9345.jpg', '/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_15_10350.jpg', '/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_26_10427.jpg', '/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_35_9340.jpg', '/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_45_10382.jpg', '/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_55_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/01/image_12042025_22_02_05_9345.jpg
/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_15_10350.jpg
/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_26_10427.jpg
/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_35_9340.jpg
/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_45_10382.jpg
/home/pi/Desktop/images/12042025/22/02/image_12042025_22_02_55_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343382","1352343403","1352343471","1352343459","1352343456","1352343377"],"photo_ids_order":["1352343377","1352343382","1352343403","1352343456","1352343459","1352343471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b33ff4b41a412c3aea9b08c40a974c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5768783557442937155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493673658,"filename":"image_12042025_22_02_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/35211abad781a40e8d16275fad5283bd.jpg","text":"TemporaryFile(/tmp/multipartBody5332835403255982083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493673658,"filename":"image_12042025_22_02_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d90f3ebe64a587391195a709c622a7c2.jpg","text":"TemporaryFile(/tmp/multipartBody6722420575188838582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493673658,"filename":"image_12042025_22_02_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ce5df49699b8c427d49fb3b1573df6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1000695980222160672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493673658,"filename":"image_12042025_22_02_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65106468b4d024566349473084a9976a.jpg","text":"TemporaryFile(/tmp/multipartBody3975449288567459093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493673658,"filename":"image_12042025_22_02_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b47bb7d9787ac9101291834201c151e4.jpg","text":"TemporaryFile(/tmp/multipartBody2214113765552357858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493673658,"filename":"image_12042025_22_02_05_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343403","file1":"1352343382","file0":"1352343377","file4":"1352343459","file5":"1352343471","file3":"1352343456"},"map_files_photo_id_array":[{"photo_id":"1352343471","filename":"file5"},{"photo_id":"1352343403","filename":"file2"},{"photo_id":"1352343459","filename":"file4"},{"photo_id":"1352343382","filename":"file1"},{"photo_id":"1352343377","filename":"file0"},{"photo_id":"1352343456","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343382":["hashtag1","hashtag2"]},{"1352343403":["hashtag1","hashtag2"]},{"1352343471":["hashtag1","hashtag2"]},{"1352343459":["hashtag1","hashtag2"]},{"1352343456":["hashtag1","hashtag2"]},{"1352343377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343382, 1352343403, 1352343471, 1352343459, 1352343456, 1352343377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18857288360596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:34:32.416678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/02/image_12042025_22_03_05_10381.jpg', '/home/pi/Desktop/images/12042025/22/03/image_12042025_22_03_25_9437.jpg', '/home/pi/Desktop/images/12042025/22/03/image_12042025_22_03_35_10372.jpg', '/home/pi/Desktop/images/12042025/22/03/image_12042025_22_03_45_9368.jpg', '/home/pi/Desktop/images/12042025/22/03/image_12042025_22_03_55_10410.jpg', '/home/pi/Desktop/images/12042025/22/03/image_12042025_22_04_06_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/02/image_12042025_22_03_05_10381.jpg
/home/pi/Desktop/images/12042025/22/03/image_12042025_22_03_25_9437.jpg
/home/pi/Desktop/images/12042025/22/03/image_12042025_22_03_35_10372.jpg
/home/pi/Desktop/images/12042025/22/03/image_12042025_22_03_45_9368.jpg
/home/pi/Desktop/images/12042025/22/03/image_12042025_22_03_55_10410.jpg
/home/pi/Desktop/images/12042025/22/03/image_12042025_22_04_06_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343605","1352343586","1352343588","1352343615","1352343618","1352343635"],"photo_ids_order":["1352343586","1352343588","1352343605","1352343615","1352343618","1352343635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/44e3fdb3dfeb0bfa2fa3d66f2af0c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody8668965152399249053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493732880,"filename":"image_12042025_22_03_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3b9340dced8045149e4913746fb52ea.jpg","text":"TemporaryFile(/tmp/multipartBody739233329285902854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493732880,"filename":"image_12042025_22_03_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0908f2f7268bba30d559300e67f2f7ec.jpg","text":"TemporaryFile(/tmp/multipartBody3915973407273712674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493732880,"filename":"image_12042025_22_03_25_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/368eb5b850c6f79a72083cef45fa6adc.jpg","text":"TemporaryFile(/tmp/multipartBody3109766230361037779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493732880,"filename":"image_12042025_22_03_45_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7716859c3f8a18e61b132f9c61debe83.jpg","text":"TemporaryFile(/tmp/multipartBody705477329699721294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493732880,"filename":"image_12042025_22_03_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f43c351e8f288518d88ca7e3b0a15290.jpg","text":"TemporaryFile(/tmp/multipartBody5923117111211153778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493732880,"filename":"image_12042025_22_04_06_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343605","file1":"1352343588","file0":"1352343586","file4":"1352343618","file5":"1352343635","file3":"1352343615"},"map_files_photo_id_array":[{"photo_id":"1352343635","filename":"file5"},{"photo_id":"1352343605","filename":"file2"},{"photo_id":"1352343618","filename":"file4"},{"photo_id":"1352343588","filename":"file1"},{"photo_id":"1352343586","filename":"file0"},{"photo_id":"1352343615","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343605":["hashtag1","hashtag2"]},{"1352343586":["hashtag1","hashtag2"]},{"1352343588":["hashtag1","hashtag2"]},{"1352343615":["hashtag1","hashtag2"]},{"1352343618":["hashtag1","hashtag2"]},{"1352343635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343605, 1352343586, 1352343588, 1352343615, 1352343618, 1352343635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06087064743042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:35:32.662880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_15_9353.jpg', '/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_25_10365.jpg', '/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_35_9432.jpg', '/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_45_10384.jpg', '/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_56_10468.jpg', '/home/pi/Desktop/images/12042025/22/04/image_12042025_22_05_05_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_15_9353.jpg
/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_25_10365.jpg
/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_35_9432.jpg
/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_45_10384.jpg
/home/pi/Desktop/images/12042025/22/04/image_12042025_22_04_56_10468.jpg
/home/pi/Desktop/images/12042025/22/04/image_12042025_22_05_05_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343718","1352343750","1352343723","1352343726","1352343720","1352343776"],"photo_ids_order":["1352343718","1352343720","1352343723","1352343726","1352343750","1352343776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a59c36976d6e59ffca816112211d6ee.jpg","text":"TemporaryFile(/tmp/multipartBody4173458116788174546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493793136,"filename":"image_12042025_22_04_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c040c5f37be11f2f172a5f49bd46cc41.jpg","text":"TemporaryFile(/tmp/multipartBody6740142129558085786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493793136,"filename":"image_12042025_22_04_56_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/561b95ab12b1bcf00b34ff0ea5e21e27.jpg","text":"TemporaryFile(/tmp/multipartBody2971121598709199213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493793136,"filename":"image_12042025_22_04_35_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1b4f998056a8ef7b8e3847261d2cd3b2.jpg","text":"TemporaryFile(/tmp/multipartBody4689934632669613745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493793136,"filename":"image_12042025_22_04_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/15a0b4d99d17d5c28a17c105ca1137ce.jpg","text":"TemporaryFile(/tmp/multipartBody4592847851402968212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493793136,"filename":"image_12042025_22_04_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0e0a939b8c6e0c91c353d5343acc90fa.jpg","text":"TemporaryFile(/tmp/multipartBody3728564470155192739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493793136,"filename":"image_12042025_22_05_05_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343723","file1":"1352343720","file0":"1352343718","file4":"1352343750","file5":"1352343776","file3":"1352343726"},"map_files_photo_id_array":[{"photo_id":"1352343776","filename":"file5"},{"photo_id":"1352343723","filename":"file2"},{"photo_id":"1352343750","filename":"file4"},{"photo_id":"1352343720","filename":"file1"},{"photo_id":"1352343718","filename":"file0"},{"photo_id":"1352343726","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343718":["hashtag1","hashtag2"]},{"1352343750":["hashtag1","hashtag2"]},{"1352343723":["hashtag1","hashtag2"]},{"1352343726":["hashtag1","hashtag2"]},{"1352343720":["hashtag1","hashtag2"]},{"1352343776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343718, 1352343750, 1352343723, 1352343726, 1352343720, 1352343776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52737522125244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:36:32.793236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_16_10486.jpg', '/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_25_9362.jpg', '/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_35_10360.jpg', '/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_46_10384.jpg', '/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_55_9372.jpg', '/home/pi/Desktop/images/12042025/22/05/image_12042025_22_06_05_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_16_10486.jpg
/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_25_9362.jpg
/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_35_10360.jpg
/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_46_10384.jpg
/home/pi/Desktop/images/12042025/22/05/image_12042025_22_05_55_9372.jpg
/home/pi/Desktop/images/12042025/22/05/image_12042025_22_06_05_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343886","1352343911","1352343913","1352343912","1352343909","1352343899"],"photo_ids_order":["1352343886","1352343899","1352343909","1352343911","1352343912","1352343913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ccd4bcfa59046d4cb8a28bbac6fa195c.jpg","text":"TemporaryFile(/tmp/multipartBody3875970465823616354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493853274,"filename":"image_12042025_22_05_16_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f52d08cf3e19bee8c32d800bcd4583a6.jpg","text":"TemporaryFile(/tmp/multipartBody8954343480174637537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493853274,"filename":"image_12042025_22_05_46_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e25dd23cf2798c205b582aab92b2d295.jpg","text":"TemporaryFile(/tmp/multipartBody4281625768073911669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493853274,"filename":"image_12042025_22_06_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/90061b94845b4035edcd1b521bb4a2ea.jpg","text":"TemporaryFile(/tmp/multipartBody838888888954308459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493853274,"filename":"image_12042025_22_05_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bb3ba7e120e9889dd2a8d9213cc0fad3.jpg","text":"TemporaryFile(/tmp/multipartBody6755263849990746922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493853274,"filename":"image_12042025_22_05_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4a8842558e3800d2c3c3b5b019937725.jpg","text":"TemporaryFile(/tmp/multipartBody8556929001917414470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493853274,"filename":"image_12042025_22_05_25_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343909","file1":"1352343899","file0":"1352343886","file4":"1352343912","file5":"1352343913","file3":"1352343911"},"map_files_photo_id_array":[{"photo_id":"1352343913","filename":"file5"},{"photo_id":"1352343909","filename":"file2"},{"photo_id":"1352343912","filename":"file4"},{"photo_id":"1352343899","filename":"file1"},{"photo_id":"1352343886","filename":"file0"},{"photo_id":"1352343911","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343886":["hashtag1","hashtag2"]},{"1352343911":["hashtag1","hashtag2"]},{"1352343913":["hashtag1","hashtag2"]},{"1352343912":["hashtag1","hashtag2"]},{"1352343909":["hashtag1","hashtag2"]},{"1352343899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343886, 1352343911, 1352343913, 1352343912, 1352343909, 1352343899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.33258867263794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:37:33.031025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_15_9351.jpg', '/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_25_10444.jpg', '/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_36_10386.jpg', '/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_45_9369.jpg', '/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_55_10403.jpg', '/home/pi/Desktop/images/12042025/22/06/image_12042025_22_07_05_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_15_9351.jpg
/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_25_10444.jpg
/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_36_10386.jpg
/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_45_9369.jpg
/home/pi/Desktop/images/12042025/22/06/image_12042025_22_06_55_10403.jpg
/home/pi/Desktop/images/12042025/22/06/image_12042025_22_07_05_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352343991","1352343985","1352343979","1352343993","1352343974","1352343941"],"photo_ids_order":["1352343941","1352343974","1352343979","1352343985","1352343991","1352343993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d042a8a13902537e4949d0e2e0c74ec.jpg","text":"TemporaryFile(/tmp/multipartBody1214884239671286734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493913518,"filename":"image_12042025_22_06_55_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/061033fd42e1b5920df8d3d0cc640a95.jpg","text":"TemporaryFile(/tmp/multipartBody4265518768064907718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493913518,"filename":"image_12042025_22_06_45_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7b9734056ace297123ab4829a9b2a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2838039784405634759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493913518,"filename":"image_12042025_22_06_36_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4924db09fec57fff0719ddec1becdb77.jpg","text":"TemporaryFile(/tmp/multipartBody5865499063040377470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493913518,"filename":"image_12042025_22_07_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b6cb697ff9be8d83a686931f94670603.jpg","text":"TemporaryFile(/tmp/multipartBody5838206059824662424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493913518,"filename":"image_12042025_22_06_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/25d3f46099b53ccb6eb05946432fe62b.jpg","text":"TemporaryFile(/tmp/multipartBody8219054567944354322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493913518,"filename":"image_12042025_22_06_15_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352343979","file1":"1352343974","file0":"1352343941","file4":"1352343991","file5":"1352343993","file3":"1352343985"},"map_files_photo_id_array":[{"photo_id":"1352343993","filename":"file5"},{"photo_id":"1352343979","filename":"file2"},{"photo_id":"1352343991","filename":"file4"},{"photo_id":"1352343974","filename":"file1"},{"photo_id":"1352343941","filename":"file0"},{"photo_id":"1352343985","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352343991":["hashtag1","hashtag2"]},{"1352343985":["hashtag1","hashtag2"]},{"1352343979":["hashtag1","hashtag2"]},{"1352343993":["hashtag1","hashtag2"]},{"1352343974":["hashtag1","hashtag2"]},{"1352343941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352343991, 1352343985, 1352343979, 1352343993, 1352343974, 1352343941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.899312257766724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:38:32.195387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/07/image_12042025_22_07_15_10384.jpg', '/home/pi/Desktop/images/12042025/22/07/image_12042025_22_07_26_10484.jpg', '/home/pi/Desktop/images/12042025/22/07/image_12042025_22_07_45_10401.jpg', '/home/pi/Desktop/images/12042025/22/07/image_12042025_22_07_55_9463.jpg', '/home/pi/Desktop/images/12042025/22/07/image_12042025_22_08_05_10386.jpg', '/home/pi/Desktop/images/12042025/22/08/image_12042025_22_08_36_10513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/07/image_12042025_22_07_15_10384.jpg
/home/pi/Desktop/images/12042025/22/07/image_12042025_22_07_26_10484.jpg
/home/pi/Desktop/images/12042025/22/07/image_12042025_22_07_45_10401.jpg
/home/pi/Desktop/images/12042025/22/07/image_12042025_22_07_55_9463.jpg
/home/pi/Desktop/images/12042025/22/07/image_12042025_22_08_05_10386.jpg
/home/pi/Desktop/images/12042025/22/08/image_12042025_22_08_36_10513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344048","1352344083","1352344053","1352344032","1352344062","1352344044"],"photo_ids_order":["1352344032","1352344044","1352344048","1352344053","1352344062","1352344083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f8d89cea33e02c47a7638c768fe64087.jpg","text":"TemporaryFile(/tmp/multipartBody6981413984304995980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493972671,"filename":"image_12042025_22_07_45_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ac7ad8c578d3dbe22c67cb8ea23bf499.jpg","text":"TemporaryFile(/tmp/multipartBody4667045464642935275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493972671,"filename":"image_12042025_22_08_36_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/05a4c396b114fc955766be359c6f378c.jpg","text":"TemporaryFile(/tmp/multipartBody4190547060944841566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493972671,"filename":"image_12042025_22_07_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ad793e4796ab563180874913071d93fc.jpg","text":"TemporaryFile(/tmp/multipartBody4579484281069313110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493972671,"filename":"image_12042025_22_07_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/17c4a149410535421639ea93e204e105.jpg","text":"TemporaryFile(/tmp/multipartBody5197822472405582055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493972671,"filename":"image_12042025_22_08_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/bdcd889b759409f58ef7299299fc9c89.jpg","text":"TemporaryFile(/tmp/multipartBody6449417310258628054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744493972671,"filename":"image_12042025_22_07_26_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344048","file1":"1352344044","file0":"1352344032","file4":"1352344062","file5":"1352344083","file3":"1352344053"},"map_files_photo_id_array":[{"photo_id":"1352344083","filename":"file5"},{"photo_id":"1352344048","filename":"file2"},{"photo_id":"1352344062","filename":"file4"},{"photo_id":"1352344044","filename":"file1"},{"photo_id":"1352344032","filename":"file0"},{"photo_id":"1352344053","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344048":["hashtag1","hashtag2"]},{"1352344083":["hashtag1","hashtag2"]},{"1352344053":["hashtag1","hashtag2"]},{"1352344032":["hashtag1","hashtag2"]},{"1352344062":["hashtag1","hashtag2"]},{"1352344044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344048, 1352344083, 1352344053, 1352344032, 1352344062, 1352344044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86433815956116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:39:32.507635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/08/image_12042025_22_08_45_9353.jpg', '/home/pi/Desktop/images/12042025/22/08/image_12042025_22_08_55_10438.jpg', '/home/pi/Desktop/images/12042025/22/09/image_12042025_22_09_15_10368.jpg', '/home/pi/Desktop/images/12042025/22/09/image_12042025_22_09_35_9362.jpg', '/home/pi/Desktop/images/12042025/22/09/image_12042025_22_09_45_10390.jpg', '/home/pi/Desktop/images/12042025/22/09/image_12042025_22_09_56_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/08/image_12042025_22_08_45_9353.jpg
/home/pi/Desktop/images/12042025/22/08/image_12042025_22_08_55_10438.jpg
/home/pi/Desktop/images/12042025/22/09/image_12042025_22_09_15_10368.jpg
/home/pi/Desktop/images/12042025/22/09/image_12042025_22_09_35_9362.jpg
/home/pi/Desktop/images/12042025/22/09/image_12042025_22_09_45_10390.jpg
/home/pi/Desktop/images/12042025/22/09/image_12042025_22_09_56_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344096","1352344094","1352344112","1352344109","1352344099","1352344093"],"photo_ids_order":["1352344093","1352344094","1352344096","1352344099","1352344109","1352344112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afff23f4c0d5090852f5795fa4ca3fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7086346955086278738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494032967,"filename":"image_12042025_22_09_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d80f44d4705908c4a2cf6bdd9d05971c.jpg","text":"TemporaryFile(/tmp/multipartBody1512861070385370602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494032967,"filename":"image_12042025_22_08_55_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e43521db3b67dafaef865db3096128e8.jpg","text":"TemporaryFile(/tmp/multipartBody6309600567315139965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494032967,"filename":"image_12042025_22_09_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3983750d34771ff749aa8cca9b30d2b9.jpg","text":"TemporaryFile(/tmp/multipartBody2370246507869792872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494032967,"filename":"image_12042025_22_09_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e8d6763c8ee52e01e43899e36b85c732.jpg","text":"TemporaryFile(/tmp/multipartBody8590542129238668142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494032967,"filename":"image_12042025_22_09_35_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cadfce6dacd72ce6b930474358b3b738.jpg","text":"TemporaryFile(/tmp/multipartBody4547267099505727238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494032967,"filename":"image_12042025_22_08_45_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344096","file1":"1352344094","file0":"1352344093","file4":"1352344109","file5":"1352344112","file3":"1352344099"},"map_files_photo_id_array":[{"photo_id":"1352344112","filename":"file5"},{"photo_id":"1352344096","filename":"file2"},{"photo_id":"1352344109","filename":"file4"},{"photo_id":"1352344094","filename":"file1"},{"photo_id":"1352344093","filename":"file0"},{"photo_id":"1352344099","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344096":["hashtag1","hashtag2"]},{"1352344094":["hashtag1","hashtag2"]},{"1352344112":["hashtag1","hashtag2"]},{"1352344109":["hashtag1","hashtag2"]},{"1352344099":["hashtag1","hashtag2"]},{"1352344093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344096, 1352344094, 1352344112, 1352344109, 1352344099, 1352344093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91191864013672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:40:32.796142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/09/image_12042025_22_10_05_9350.jpg', '/home/pi/Desktop/images/12042025/22/10/image_12042025_22_10_15_10431.jpg', '/home/pi/Desktop/images/12042025/22/10/image_12042025_22_10_25_9456.jpg', '/home/pi/Desktop/images/12042025/22/10/image_12042025_22_10_35_10359.jpg', '/home/pi/Desktop/images/12042025/22/10/image_12042025_22_10_55_9389.jpg', '/home/pi/Desktop/images/12042025/22/11/image_12042025_22_11_15_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/09/image_12042025_22_10_05_9350.jpg
/home/pi/Desktop/images/12042025/22/10/image_12042025_22_10_15_10431.jpg
/home/pi/Desktop/images/12042025/22/10/image_12042025_22_10_25_9456.jpg
/home/pi/Desktop/images/12042025/22/10/image_12042025_22_10_35_10359.jpg
/home/pi/Desktop/images/12042025/22/10/image_12042025_22_10_55_9389.jpg
/home/pi/Desktop/images/12042025/22/11/image_12042025_22_11_15_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344153","1352344162","1352344150","1352344169","1352344157","1352344166"],"photo_ids_order":["1352344150","1352344153","1352344157","1352344162","1352344166","1352344169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a9724bb729ef5ee3a01d8d40da2d840.jpg","text":"TemporaryFile(/tmp/multipartBody3870580452059708323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494093287,"filename":"image_12042025_22_10_15_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/839c0a53e572613e0d149ce8bd8e4a48.jpg","text":"TemporaryFile(/tmp/multipartBody6407320179143357647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494093287,"filename":"image_12042025_22_10_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/65582a8e6e30366f64570d02792f36b8.jpg","text":"TemporaryFile(/tmp/multipartBody5403851423966436058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494093287,"filename":"image_12042025_22_10_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/837f7ef41727bc9c0e07709180f9a3ca.jpg","text":"TemporaryFile(/tmp/multipartBody4228768597139122294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494093287,"filename":"image_12042025_22_11_15_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5522c90d5d851340804b67b15b9cfe84.jpg","text":"TemporaryFile(/tmp/multipartBody3972849886398369914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494093287,"filename":"image_12042025_22_10_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8de7cecf9845036369da118535863147.jpg","text":"TemporaryFile(/tmp/multipartBody207288634632150091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494093287,"filename":"image_12042025_22_10_55_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344157","file1":"1352344153","file0":"1352344150","file4":"1352344166","file5":"1352344169","file3":"1352344162"},"map_files_photo_id_array":[{"photo_id":"1352344169","filename":"file5"},{"photo_id":"1352344157","filename":"file2"},{"photo_id":"1352344166","filename":"file4"},{"photo_id":"1352344153","filename":"file1"},{"photo_id":"1352344150","filename":"file0"},{"photo_id":"1352344162","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344153":["hashtag1","hashtag2"]},{"1352344162":["hashtag1","hashtag2"]},{"1352344150":["hashtag1","hashtag2"]},{"1352344169":["hashtag1","hashtag2"]},{"1352344157":["hashtag1","hashtag2"]},{"1352344166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344153, 1352344162, 1352344150, 1352344169, 1352344157, 1352344166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6254460811615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:41:32.904282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/11/image_12042025_22_11_25_10372.jpg', '/home/pi/Desktop/images/12042025/22/11/image_12042025_22_11_36_10490.jpg', '/home/pi/Desktop/images/12042025/22/11/image_12042025_22_11_45_9420.jpg', '/home/pi/Desktop/images/12042025/22/11/image_12042025_22_12_05_9365.jpg', '/home/pi/Desktop/images/12042025/22/12/image_12042025_22_12_15_10372.jpg', '/home/pi/Desktop/images/12042025/22/12/image_12042025_22_12_25_9484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/11/image_12042025_22_11_25_10372.jpg
/home/pi/Desktop/images/12042025/22/11/image_12042025_22_11_36_10490.jpg
/home/pi/Desktop/images/12042025/22/11/image_12042025_22_11_45_9420.jpg
/home/pi/Desktop/images/12042025/22/11/image_12042025_22_12_05_9365.jpg
/home/pi/Desktop/images/12042025/22/12/image_12042025_22_12_15_10372.jpg
/home/pi/Desktop/images/12042025/22/12/image_12042025_22_12_25_9484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344210","1352344212","1352344206","1352344205","1352344214","1352344208"],"photo_ids_order":["1352344205","1352344206","1352344208","1352344210","1352344212","1352344214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3cfc185b118d23803db4a7fc85cdeaa8.jpg","text":"TemporaryFile(/tmp/multipartBody3923263512802720072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494153385,"filename":"image_12042025_22_12_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4c9b5c4631778e2f5a8085c11c6c88d9.jpg","text":"TemporaryFile(/tmp/multipartBody143091786639227165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494153385,"filename":"image_12042025_22_12_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d09bc9ba24968e2a1a6b3b998cf9920b.jpg","text":"TemporaryFile(/tmp/multipartBody7528561522580268302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494153385,"filename":"image_12042025_22_11_36_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/14ef25d4839e2fb79f60a249de71f0c6.jpg","text":"TemporaryFile(/tmp/multipartBody2653655880720831166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494153385,"filename":"image_12042025_22_11_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/589a8fb29b07169fc38cba2a0cc65391.jpg","text":"TemporaryFile(/tmp/multipartBody937130980720014087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494153385,"filename":"image_12042025_22_12_25_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f1ee20b66061de7be696a6086fabf074.jpg","text":"TemporaryFile(/tmp/multipartBody4276350847241151851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494153385,"filename":"image_12042025_22_11_45_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344208","file1":"1352344206","file0":"1352344205","file4":"1352344212","file5":"1352344214","file3":"1352344210"},"map_files_photo_id_array":[{"photo_id":"1352344214","filename":"file5"},{"photo_id":"1352344208","filename":"file2"},{"photo_id":"1352344212","filename":"file4"},{"photo_id":"1352344206","filename":"file1"},{"photo_id":"1352344205","filename":"file0"},{"photo_id":"1352344210","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344210":["hashtag1","hashtag2"]},{"1352344212":["hashtag1","hashtag2"]},{"1352344206":["hashtag1","hashtag2"]},{"1352344205":["hashtag1","hashtag2"]},{"1352344214":["hashtag1","hashtag2"]},{"1352344208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344210, 1352344212, 1352344206, 1352344205, 1352344214, 1352344208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68197798728943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:42:32.418176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/12/image_12042025_22_12_35_10363.jpg', '/home/pi/Desktop/images/12042025/22/12/image_12042025_22_12_55_9369.jpg', '/home/pi/Desktop/images/12042025/22/12/image_12042025_22_13_05_10362.jpg', '/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_15_9441.jpg', '/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_25_10379.jpg', '/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_36_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/12/image_12042025_22_12_35_10363.jpg
/home/pi/Desktop/images/12042025/22/12/image_12042025_22_12_55_9369.jpg
/home/pi/Desktop/images/12042025/22/12/image_12042025_22_13_05_10362.jpg
/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_15_9441.jpg
/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_25_10379.jpg
/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_36_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344231","1352344225","1352344233","1352344227","1352344235","1352344229"],"photo_ids_order":["1352344225","1352344227","1352344229","1352344231","1352344233","1352344235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c7923a602d9fe8105736ee0643fb99b7.jpg","text":"TemporaryFile(/tmp/multipartBody8807818032438122634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494212903,"filename":"image_12042025_22_13_15_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a514fa9c5353be6fea5163cb4624aa10.jpg","text":"TemporaryFile(/tmp/multipartBody7045700743618150200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494212903,"filename":"image_12042025_22_12_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f27acb767a4c3f877a9c2bc513a5792a.jpg","text":"TemporaryFile(/tmp/multipartBody8281920931016139679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494212903,"filename":"image_12042025_22_13_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e758b58ee50058e951d0fd2060543fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8627974052644225140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494212903,"filename":"image_12042025_22_12_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/556382917e4a1fa90e621406c9b67337.jpg","text":"TemporaryFile(/tmp/multipartBody1418183093977008173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494212903,"filename":"image_12042025_22_13_36_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b914d752db73b672a8034a7a9bf73c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3123090421951506990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494212903,"filename":"image_12042025_22_13_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344229","file1":"1352344227","file0":"1352344225","file4":"1352344233","file5":"1352344235","file3":"1352344231"},"map_files_photo_id_array":[{"photo_id":"1352344235","filename":"file5"},{"photo_id":"1352344229","filename":"file2"},{"photo_id":"1352344233","filename":"file4"},{"photo_id":"1352344227","filename":"file1"},{"photo_id":"1352344225","filename":"file0"},{"photo_id":"1352344231","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344231":["hashtag1","hashtag2"]},{"1352344225":["hashtag1","hashtag2"]},{"1352344233":["hashtag1","hashtag2"]},{"1352344227":["hashtag1","hashtag2"]},{"1352344235":["hashtag1","hashtag2"]},{"1352344229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344231, 1352344225, 1352344233, 1352344227, 1352344235, 1352344229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84881281852722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:43:32.580853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_45_9376.jpg', '/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_55_10379.jpg', '/home/pi/Desktop/images/12042025/22/13/image_12042025_22_14_05_9477.jpg', '/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_15_10483.jpg', '/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_26_10383.jpg', '/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_35_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_45_9376.jpg
/home/pi/Desktop/images/12042025/22/13/image_12042025_22_13_55_10379.jpg
/home/pi/Desktop/images/12042025/22/13/image_12042025_22_14_05_9477.jpg
/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_15_10483.jpg
/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_26_10383.jpg
/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_35_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344249","1352344258","1352344251","1352344245","1352344253","1352344256"],"photo_ids_order":["1352344245","1352344249","1352344251","1352344253","1352344256","1352344258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/eda47a2baa51265a3b549df12c300a0d.jpg","text":"TemporaryFile(/tmp/multipartBody4966159832792166782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494273060,"filename":"image_12042025_22_13_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/345f6074f6442aa007dec8d987a1b5c5.jpg","text":"TemporaryFile(/tmp/multipartBody6254721512239720304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494273060,"filename":"image_12042025_22_14_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/050e9e1844e4ce513cc7eb3b426c30eb.jpg","text":"TemporaryFile(/tmp/multipartBody6228770916658529437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494273060,"filename":"image_12042025_22_14_05_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c7493741679a18a274e6882d9c600d0.jpg","text":"TemporaryFile(/tmp/multipartBody7133787810446305606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494273060,"filename":"image_12042025_22_13_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/621391febc8d5beecdde6fe7bcb824f2.jpg","text":"TemporaryFile(/tmp/multipartBody2731038753838242845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494273060,"filename":"image_12042025_22_14_15_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6cbd181f55303680cc8b43c5bb8de7d3.jpg","text":"TemporaryFile(/tmp/multipartBody870655076578673022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494273060,"filename":"image_12042025_22_14_26_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344251","file1":"1352344249","file0":"1352344245","file4":"1352344256","file5":"1352344258","file3":"1352344253"},"map_files_photo_id_array":[{"photo_id":"1352344258","filename":"file5"},{"photo_id":"1352344251","filename":"file2"},{"photo_id":"1352344256","filename":"file4"},{"photo_id":"1352344249","filename":"file1"},{"photo_id":"1352344245","filename":"file0"},{"photo_id":"1352344253","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344249":["hashtag1","hashtag2"]},{"1352344258":["hashtag1","hashtag2"]},{"1352344251":["hashtag1","hashtag2"]},{"1352344245":["hashtag1","hashtag2"]},{"1352344253":["hashtag1","hashtag2"]},{"1352344256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344249, 1352344258, 1352344251, 1352344245, 1352344253, 1352344256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.08531188964844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:44:32.895571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_45_10388.jpg', '/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_55_9391.jpg', '/home/pi/Desktop/images/12042025/22/14/image_12042025_22_15_05_10416.jpg', '/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_16_10412.jpg', '/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_25_9387.jpg', '/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_35_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_45_10388.jpg
/home/pi/Desktop/images/12042025/22/14/image_12042025_22_14_55_9391.jpg
/home/pi/Desktop/images/12042025/22/14/image_12042025_22_15_05_10416.jpg
/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_16_10412.jpg
/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_25_9387.jpg
/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_35_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344267","1352344276","1352344272","1352344266","1352344274","1352344270"],"photo_ids_order":["1352344266","1352344267","1352344270","1352344272","1352344274","1352344276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8d93c0dac29e91aded5585f155c13fff.jpg","text":"TemporaryFile(/tmp/multipartBody2110677101116040601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494333381,"filename":"image_12042025_22_14_55_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8a416a97280b7cf5b37a591fc8c487f3.jpg","text":"TemporaryFile(/tmp/multipartBody8606069777547269392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494333381,"filename":"image_12042025_22_15_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7af756c80ca9395edc9603185ddcc2ca.jpg","text":"TemporaryFile(/tmp/multipartBody4896561944067285230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494333381,"filename":"image_12042025_22_15_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7c8cd4b52f435d62bf40be6a0f810c3.jpg","text":"TemporaryFile(/tmp/multipartBody3386796467035091477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494333381,"filename":"image_12042025_22_14_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a7ef84dc4e3683eb955b4946d0298570.jpg","text":"TemporaryFile(/tmp/multipartBody8771129887006724023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494333381,"filename":"image_12042025_22_15_25_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f7c64c9c90786fad177ed1e21fcc5541.jpg","text":"TemporaryFile(/tmp/multipartBody396695120593427687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494333381,"filename":"image_12042025_22_15_05_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344270","file1":"1352344267","file0":"1352344266","file4":"1352344274","file5":"1352344276","file3":"1352344272"},"map_files_photo_id_array":[{"photo_id":"1352344276","filename":"file5"},{"photo_id":"1352344270","filename":"file2"},{"photo_id":"1352344274","filename":"file4"},{"photo_id":"1352344267","filename":"file1"},{"photo_id":"1352344266","filename":"file0"},{"photo_id":"1352344272","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344267":["hashtag1","hashtag2"]},{"1352344276":["hashtag1","hashtag2"]},{"1352344272":["hashtag1","hashtag2"]},{"1352344266":["hashtag1","hashtag2"]},{"1352344274":["hashtag1","hashtag2"]},{"1352344270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344267, 1352344276, 1352344272, 1352344266, 1352344274, 1352344270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.433724880218506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:45:33.282952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_45_9364.jpg', '/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_55_10378.jpg', '/home/pi/Desktop/images/12042025/22/15/image_12042025_22_16_06_10501.jpg', '/home/pi/Desktop/images/12042025/22/16/image_12042025_22_16_15_9361.jpg', '/home/pi/Desktop/images/12042025/22/16/image_12042025_22_16_25_10369.jpg', '/home/pi/Desktop/images/12042025/22/16/image_12042025_22_16_35_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_45_9364.jpg
/home/pi/Desktop/images/12042025/22/15/image_12042025_22_15_55_10378.jpg
/home/pi/Desktop/images/12042025/22/15/image_12042025_22_16_06_10501.jpg
/home/pi/Desktop/images/12042025/22/16/image_12042025_22_16_15_9361.jpg
/home/pi/Desktop/images/12042025/22/16/image_12042025_22_16_25_10369.jpg
/home/pi/Desktop/images/12042025/22/16/image_12042025_22_16_35_9487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344305","1352344289","1352344304","1352344307","1352344291","1352344285"],"photo_ids_order":["1352344285","1352344289","1352344291","1352344304","1352344305","1352344307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ef9037808260a0aa6758d4a6bcc96c66.jpg","text":"TemporaryFile(/tmp/multipartBody6973849711373083795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494393748,"filename":"image_12042025_22_16_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cdb9145304053f7f30e407aaf09e01f9.jpg","text":"TemporaryFile(/tmp/multipartBody6957012585504595992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494393748,"filename":"image_12042025_22_15_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4df403596861e4718c6981482e1f1ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6034377006124815230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494393748,"filename":"image_12042025_22_16_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/98507a35209c5b4eea0e2d048e8bb34b.jpg","text":"TemporaryFile(/tmp/multipartBody53947431437059934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494393748,"filename":"image_12042025_22_16_35_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/196e5054ba921ef0d1010baa5e0b2ef1.jpg","text":"TemporaryFile(/tmp/multipartBody4268832002977473202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494393748,"filename":"image_12042025_22_16_06_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d1275a2483cc72d655918867893867c8.jpg","text":"TemporaryFile(/tmp/multipartBody6176077864442642537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494393748,"filename":"image_12042025_22_15_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344291","file1":"1352344289","file0":"1352344285","file4":"1352344305","file5":"1352344307","file3":"1352344304"},"map_files_photo_id_array":[{"photo_id":"1352344307","filename":"file5"},{"photo_id":"1352344291","filename":"file2"},{"photo_id":"1352344305","filename":"file4"},{"photo_id":"1352344289","filename":"file1"},{"photo_id":"1352344285","filename":"file0"},{"photo_id":"1352344304","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344305":["hashtag1","hashtag2"]},{"1352344289":["hashtag1","hashtag2"]},{"1352344304":["hashtag1","hashtag2"]},{"1352344307":["hashtag1","hashtag2"]},{"1352344291":["hashtag1","hashtag2"]},{"1352344285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344305, 1352344289, 1352344304, 1352344307, 1352344291, 1352344285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.682027578353882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:46:32.373083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/16/image_12042025_22_16_55_9439.jpg', '/home/pi/Desktop/images/12042025/22/16/image_12042025_22_17_05_10373.jpg', '/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_16_10466.jpg', '/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_25_9372.jpg', '/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_35_10434.jpg', '/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_45_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/16/image_12042025_22_16_55_9439.jpg
/home/pi/Desktop/images/12042025/22/16/image_12042025_22_17_05_10373.jpg
/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_16_10466.jpg
/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_25_9372.jpg
/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_35_10434.jpg
/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_45_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344327","1352344324","1352344326","1352344320","1352344317","1352344322"],"photo_ids_order":["1352344317","1352344320","1352344322","1352344324","1352344326","1352344327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9bc64a746444eef4e0f6e57b4f592a60.jpg","text":"TemporaryFile(/tmp/multipartBody319198976873459502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494452855,"filename":"image_12042025_22_17_45_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/5186185236ff4efc7802192a99c05e55.jpg","text":"TemporaryFile(/tmp/multipartBody4039792250817488203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494452855,"filename":"image_12042025_22_17_25_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/859a5ccf0bfe9e807ef1d0cf34e6f8c2.jpg","text":"TemporaryFile(/tmp/multipartBody8351328054238339754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494452855,"filename":"image_12042025_22_17_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/dff95920950d3389cad365aeacb50617.jpg","text":"TemporaryFile(/tmp/multipartBody3451721713445913062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494452855,"filename":"image_12042025_22_17_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8f528ee0c6d6ead11bcd987dc38ed703.jpg","text":"TemporaryFile(/tmp/multipartBody7392603984033461083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494452855,"filename":"image_12042025_22_16_55_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9ce9fcbc8845e677a1ceb6586d5f0975.jpg","text":"TemporaryFile(/tmp/multipartBody774319060287397827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494452855,"filename":"image_12042025_22_17_16_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344322","file1":"1352344320","file0":"1352344317","file4":"1352344326","file5":"1352344327","file3":"1352344324"},"map_files_photo_id_array":[{"photo_id":"1352344327","filename":"file5"},{"photo_id":"1352344322","filename":"file2"},{"photo_id":"1352344326","filename":"file4"},{"photo_id":"1352344320","filename":"file1"},{"photo_id":"1352344317","filename":"file0"},{"photo_id":"1352344324","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344327":["hashtag1","hashtag2"]},{"1352344324":["hashtag1","hashtag2"]},{"1352344326":["hashtag1","hashtag2"]},{"1352344320":["hashtag1","hashtag2"]},{"1352344317":["hashtag1","hashtag2"]},{"1352344322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344327, 1352344324, 1352344326, 1352344320, 1352344317, 1352344322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.555316925048828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:47:32.649161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_55_10471.jpg', '/home/pi/Desktop/images/12042025/22/17/image_12042025_22_18_06_10389.jpg', '/home/pi/Desktop/images/12042025/22/18/image_12042025_22_18_15_9361.jpg', '/home/pi/Desktop/images/12042025/22/18/image_12042025_22_18_25_10411.jpg', '/home/pi/Desktop/images/12042025/22/18/image_12042025_22_18_45_10382.jpg', '/home/pi/Desktop/images/12042025/22/18/image_12042025_22_18_55_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/17/image_12042025_22_17_55_10471.jpg
/home/pi/Desktop/images/12042025/22/17/image_12042025_22_18_06_10389.jpg
/home/pi/Desktop/images/12042025/22/18/image_12042025_22_18_15_9361.jpg
/home/pi/Desktop/images/12042025/22/18/image_12042025_22_18_25_10411.jpg
/home/pi/Desktop/images/12042025/22/18/image_12042025_22_18_45_10382.jpg
/home/pi/Desktop/images/12042025/22/18/image_12042025_22_18_55_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344348","1352344336","1352344339","1352344341","1352344343","1352344337"],"photo_ids_order":["1352344336","1352344337","1352344339","1352344341","1352344343","1352344348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/f797c92b2e69c5f5cdc79bc7225eb481.jpg","text":"TemporaryFile(/tmp/multipartBody4411705920978538232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494513135,"filename":"image_12042025_22_18_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0a84e4390c742612e064e92913110132.jpg","text":"TemporaryFile(/tmp/multipartBody5132600891673517832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494513135,"filename":"image_12042025_22_17_55_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/75623fc4b8db6c3845c921437fdb6c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4835898072229907944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494513135,"filename":"image_12042025_22_18_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3997416a6b9f3d3f5ca6cd67abf0d314.jpg","text":"TemporaryFile(/tmp/multipartBody4791776050901198186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494513135,"filename":"image_12042025_22_18_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/68d20ddf6bb5d093e221aaa3202a12c8.jpg","text":"TemporaryFile(/tmp/multipartBody1775038492821050994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494513135,"filename":"image_12042025_22_18_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c596c8a316b30bcd1e9aa0e7befe66e8.jpg","text":"TemporaryFile(/tmp/multipartBody6647111831113993498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494513135,"filename":"image_12042025_22_18_06_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344339","file1":"1352344337","file0":"1352344336","file4":"1352344343","file5":"1352344348","file3":"1352344341"},"map_files_photo_id_array":[{"photo_id":"1352344348","filename":"file5"},{"photo_id":"1352344339","filename":"file2"},{"photo_id":"1352344343","filename":"file4"},{"photo_id":"1352344337","filename":"file1"},{"photo_id":"1352344336","filename":"file0"},{"photo_id":"1352344341","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344348":["hashtag1","hashtag2"]},{"1352344336":["hashtag1","hashtag2"]},{"1352344339":["hashtag1","hashtag2"]},{"1352344341":["hashtag1","hashtag2"]},{"1352344343":["hashtag1","hashtag2"]},{"1352344337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344348, 1352344336, 1352344339, 1352344341, 1352344343, 1352344337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22427749633789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:48:32.855059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_16_10414.jpg', '/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_25_9369.jpg', '/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_35_10384.jpg', '/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_45_9492.jpg', '/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_55_10374.jpg', '/home/pi/Desktop/images/12042025/22/19/image_12042025_22_20_06_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_16_10414.jpg
/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_25_9369.jpg
/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_35_10384.jpg
/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_45_9492.jpg
/home/pi/Desktop/images/12042025/22/19/image_12042025_22_19_55_10374.jpg
/home/pi/Desktop/images/12042025/22/19/image_12042025_22_20_06_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344549","1352344590","1352344593","1352344569","1352344592","1352344571"],"photo_ids_order":["1352344549","1352344569","1352344571","1352344590","1352344592","1352344593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6f6b20a896612b7565e222ab3f3f6f13.jpg","text":"TemporaryFile(/tmp/multipartBody5575371969714851752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494573342,"filename":"image_12042025_22_19_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/c772a1e9c56706977cacab8e20624308.jpg","text":"TemporaryFile(/tmp/multipartBody1736530895425613116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494573342,"filename":"image_12042025_22_19_45_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7a3ff2eaf287f0d6d867880375e5a70c.jpg","text":"TemporaryFile(/tmp/multipartBody5674492150999611777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494573342,"filename":"image_12042025_22_20_06_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9fc7d120d803e4bc7d77c99823bf5295.jpg","text":"TemporaryFile(/tmp/multipartBody4008429140992231218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494573342,"filename":"image_12042025_22_19_25_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/30bb489122ecb959244bf82e295d8a79.jpg","text":"TemporaryFile(/tmp/multipartBody6910350594126813954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494573342,"filename":"image_12042025_22_19_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/10eecbff637b7d8312f90f5b1ac4a1f0.jpg","text":"TemporaryFile(/tmp/multipartBody3119543971517008958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494573342,"filename":"image_12042025_22_19_35_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344571","file1":"1352344569","file0":"1352344549","file4":"1352344592","file5":"1352344593","file3":"1352344590"},"map_files_photo_id_array":[{"photo_id":"1352344593","filename":"file5"},{"photo_id":"1352344571","filename":"file2"},{"photo_id":"1352344592","filename":"file4"},{"photo_id":"1352344569","filename":"file1"},{"photo_id":"1352344549","filename":"file0"},{"photo_id":"1352344590","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344549":["hashtag1","hashtag2"]},{"1352344590":["hashtag1","hashtag2"]},{"1352344593":["hashtag1","hashtag2"]},{"1352344569":["hashtag1","hashtag2"]},{"1352344592":["hashtag1","hashtag2"]},{"1352344571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344549, 1352344590, 1352344593, 1352344569, 1352344592, 1352344571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25210213661194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:49:33.189846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_15_9360.jpg', '/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_25_10425.jpg', '/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_35_9406.jpg', '/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_45_10367.jpg', '/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_56_10530.jpg', '/home/pi/Desktop/images/12042025/22/20/image_12042025_22_21_05_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_15_9360.jpg
/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_25_10425.jpg
/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_35_9406.jpg
/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_45_10367.jpg
/home/pi/Desktop/images/12042025/22/20/image_12042025_22_20_56_10530.jpg
/home/pi/Desktop/images/12042025/22/20/image_12042025_22_21_05_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344609","1352344603","1352344605","1352344608","1352344604","1352344607"],"photo_ids_order":["1352344603","1352344604","1352344605","1352344607","1352344608","1352344609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/92a7afb3376cd08bcb19ff177b65cf70.jpg","text":"TemporaryFile(/tmp/multipartBody7238523026422070991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494633679,"filename":"image_12042025_22_21_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9f411027f8fce9c866e87126ff3014b3.jpg","text":"TemporaryFile(/tmp/multipartBody964523071320690923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494633679,"filename":"image_12042025_22_20_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9c3ea8f52781a338a6b4a86581424c64.jpg","text":"TemporaryFile(/tmp/multipartBody7110763587483211741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494633679,"filename":"image_12042025_22_20_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/117c8d2548018b2f3e97da13d5d96092.jpg","text":"TemporaryFile(/tmp/multipartBody2989614044425631484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494633679,"filename":"image_12042025_22_20_56_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b4bf484c1271f730851fd1d696edc2fb.jpg","text":"TemporaryFile(/tmp/multipartBody684951429300234517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494633679,"filename":"image_12042025_22_20_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7c17d577099243a63dd52a48d3f9ed68.jpg","text":"TemporaryFile(/tmp/multipartBody8202981154915441647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494633679,"filename":"image_12042025_22_20_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344605","file1":"1352344604","file0":"1352344603","file4":"1352344608","file5":"1352344609","file3":"1352344607"},"map_files_photo_id_array":[{"photo_id":"1352344609","filename":"file5"},{"photo_id":"1352344605","filename":"file2"},{"photo_id":"1352344608","filename":"file4"},{"photo_id":"1352344604","filename":"file1"},{"photo_id":"1352344603","filename":"file0"},{"photo_id":"1352344607","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344609":["hashtag1","hashtag2"]},{"1352344603":["hashtag1","hashtag2"]},{"1352344605":["hashtag1","hashtag2"]},{"1352344608":["hashtag1","hashtag2"]},{"1352344604":["hashtag1","hashtag2"]},{"1352344607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344609, 1352344603, 1352344605, 1352344608, 1352344604, 1352344607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.973302602767944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:50:32.278548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_16_10436.jpg', '/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_25_9381.jpg', '/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_35_10381.jpg', '/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_46_10376.jpg', '/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_55_9384.jpg', '/home/pi/Desktop/images/12042025/22/21/image_12042025_22_22_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_16_10436.jpg
/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_25_9381.jpg
/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_35_10381.jpg
/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_46_10376.jpg
/home/pi/Desktop/images/12042025/22/21/image_12042025_22_21_55_9384.jpg
/home/pi/Desktop/images/12042025/22/21/image_12042025_22_22_05_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344702","1352344646","1352344649","1352344640","1352344643","1352344687"],"photo_ids_order":["1352344640","1352344643","1352344646","1352344649","1352344687","1352344702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cbcbadbf7ebec3c7a53644b3fd759856.jpg","text":"TemporaryFile(/tmp/multipartBody2511238349290593204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494692810,"filename":"image_12042025_22_22_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/cb70e43fa556eb75890ac54493f9bab6.jpg","text":"TemporaryFile(/tmp/multipartBody4962693716043108890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494692810,"filename":"image_12042025_22_21_35_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ee5037cf93982722a4b3b9567aae9b33.jpg","text":"TemporaryFile(/tmp/multipartBody2567889079153964610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494692810,"filename":"image_12042025_22_21_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/301abd71f2e543c564668d582ec5b518.jpg","text":"TemporaryFile(/tmp/multipartBody3131910427901696680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494692810,"filename":"image_12042025_22_21_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d5553ea8113c3da74d3168400bee8e6d.jpg","text":"TemporaryFile(/tmp/multipartBody4796870496091298810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494692810,"filename":"image_12042025_22_21_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/85c8c65cead284bb4be7bafcd71182cd.jpg","text":"TemporaryFile(/tmp/multipartBody628892239772175916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494692810,"filename":"image_12042025_22_21_55_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344646","file1":"1352344643","file0":"1352344640","file4":"1352344687","file5":"1352344702","file3":"1352344649"},"map_files_photo_id_array":[{"photo_id":"1352344702","filename":"file5"},{"photo_id":"1352344646","filename":"file2"},{"photo_id":"1352344687","filename":"file4"},{"photo_id":"1352344643","filename":"file1"},{"photo_id":"1352344640","filename":"file0"},{"photo_id":"1352344649","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344702":["hashtag1","hashtag2"]},{"1352344646":["hashtag1","hashtag2"]},{"1352344649":["hashtag1","hashtag2"]},{"1352344640":["hashtag1","hashtag2"]},{"1352344643":["hashtag1","hashtag2"]},{"1352344687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344702, 1352344646, 1352344649, 1352344640, 1352344643, 1352344687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15025734901428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:51:32.520974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_15_9427.jpg', '/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_25_10370.jpg', '/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_36_10359.jpg', '/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_45_9379.jpg', '/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_55_10369.jpg', '/home/pi/Desktop/images/12042025/22/22/image_12042025_22_23_05_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_15_9427.jpg
/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_25_10370.jpg
/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_36_10359.jpg
/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_45_9379.jpg
/home/pi/Desktop/images/12042025/22/22/image_12042025_22_22_55_10369.jpg
/home/pi/Desktop/images/12042025/22/22/image_12042025_22_23_05_9440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344708","1352344734","1352344710","1352344713","1352344739","1352344715"],"photo_ids_order":["1352344708","1352344710","1352344713","1352344715","1352344734","1352344739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e15ecf00c0e5c02b6afc98b542f5bf34.jpg","text":"TemporaryFile(/tmp/multipartBody1665220434830085692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494753006,"filename":"image_12042025_22_22_15_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2ecfa98eec5d87b142de5805fa544b0a.jpg","text":"TemporaryFile(/tmp/multipartBody6449335386307226496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494753006,"filename":"image_12042025_22_22_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0f056b394989db24227bf72f5c7852c2.jpg","text":"TemporaryFile(/tmp/multipartBody978609410833591539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494753006,"filename":"image_12042025_22_22_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/57ab8bd1127d2467d34b0faa748bd085.jpg","text":"TemporaryFile(/tmp/multipartBody4621948370403510993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494753006,"filename":"image_12042025_22_22_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/89739491264aa84837f5f185b29d7913.jpg","text":"TemporaryFile(/tmp/multipartBody5904262911971427788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494753006,"filename":"image_12042025_22_23_05_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/1979b29c416bfc38583a0bf82348eb48.jpg","text":"TemporaryFile(/tmp/multipartBody1691596579526224948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494753006,"filename":"image_12042025_22_22_45_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344713","file1":"1352344710","file0":"1352344708","file4":"1352344734","file5":"1352344739","file3":"1352344715"},"map_files_photo_id_array":[{"photo_id":"1352344739","filename":"file5"},{"photo_id":"1352344713","filename":"file2"},{"photo_id":"1352344734","filename":"file4"},{"photo_id":"1352344710","filename":"file1"},{"photo_id":"1352344708","filename":"file0"},{"photo_id":"1352344715","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344708":["hashtag1","hashtag2"]},{"1352344734":["hashtag1","hashtag2"]},{"1352344710":["hashtag1","hashtag2"]},{"1352344713":["hashtag1","hashtag2"]},{"1352344739":["hashtag1","hashtag2"]},{"1352344715":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344708, 1352344734, 1352344710, 1352344713, 1352344739, 1352344715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2714364528656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:52:32.727810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_15_10349.jpg', '/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_26_10409.jpg', '/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_35_9366.jpg', '/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_45_10395.jpg', '/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_56_10361.jpg', '/home/pi/Desktop/images/12042025/22/23/image_12042025_22_24_05_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_15_10349.jpg
/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_26_10409.jpg
/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_35_9366.jpg
/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_45_10395.jpg
/home/pi/Desktop/images/12042025/22/23/image_12042025_22_23_56_10361.jpg
/home/pi/Desktop/images/12042025/22/23/image_12042025_22_24_05_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344874","1352344868","1352344877","1352344841","1352344871","1352344853"],"photo_ids_order":["1352344841","1352344853","1352344868","1352344871","1352344874","1352344877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/67594f5593c7ba8bc1902942f94da366.jpg","text":"TemporaryFile(/tmp/multipartBody6020327017110561093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494813197,"filename":"image_12042025_22_23_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/23f3572f6c9c8d65e264ff5e9f9fd537.jpg","text":"TemporaryFile(/tmp/multipartBody1056920256385441620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494813197,"filename":"image_12042025_22_23_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/193dee129e7d05642ba6028589219f64.jpg","text":"TemporaryFile(/tmp/multipartBody7227616918137820248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494813197,"filename":"image_12042025_22_24_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/a38b1ce1c0f43b7168f46a285208133e.jpg","text":"TemporaryFile(/tmp/multipartBody2622786278096398780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494813197,"filename":"image_12042025_22_23_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d3142e896ce042e57e5cba81f7313055.jpg","text":"TemporaryFile(/tmp/multipartBody4096176477293005604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494813197,"filename":"image_12042025_22_23_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/beeaea777023503ddba90f524c7d91d1.jpg","text":"TemporaryFile(/tmp/multipartBody7991482086223243099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494813197,"filename":"image_12042025_22_23_26_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344868","file1":"1352344853","file0":"1352344841","file4":"1352344874","file5":"1352344877","file3":"1352344871"},"map_files_photo_id_array":[{"photo_id":"1352344877","filename":"file5"},{"photo_id":"1352344868","filename":"file2"},{"photo_id":"1352344874","filename":"file4"},{"photo_id":"1352344853","filename":"file1"},{"photo_id":"1352344841","filename":"file0"},{"photo_id":"1352344871","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344874":["hashtag1","hashtag2"]},{"1352344868":["hashtag1","hashtag2"]},{"1352344877":["hashtag1","hashtag2"]},{"1352344841":["hashtag1","hashtag2"]},{"1352344871":["hashtag1","hashtag2"]},{"1352344853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344874, 1352344868, 1352344877, 1352344841, 1352344871, 1352344853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61021375656128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:53:32.950215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_15_10390.jpg', '/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_25_9375.jpg', '/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_35_10442.jpg', '/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_46_10372.jpg', '/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_55_9357.jpg', '/home/pi/Desktop/images/12042025/22/24/image_12042025_22_25_05_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_15_10390.jpg
/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_25_9375.jpg
/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_35_10442.jpg
/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_46_10372.jpg
/home/pi/Desktop/images/12042025/22/24/image_12042025_22_24_55_9357.jpg
/home/pi/Desktop/images/12042025/22/24/image_12042025_22_25_05_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352344882","1352344896","1352344884","1352344893","1352344894","1352344888"],"photo_ids_order":["1352344882","1352344884","1352344888","1352344893","1352344894","1352344896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/032dcb2d093721e54d949aef21a60835.jpg","text":"TemporaryFile(/tmp/multipartBody4737973436180896166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494873427,"filename":"image_12042025_22_24_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/73befa55ddcd1811df477d2362418a70.jpg","text":"TemporaryFile(/tmp/multipartBody3212460721232764540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494873427,"filename":"image_12042025_22_25_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/21cdcdae4643f98b7815d0eee53c90a3.jpg","text":"TemporaryFile(/tmp/multipartBody735134987541595263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494873427,"filename":"image_12042025_22_24_25_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/9d33c630775319fc158d95518f185a52.jpg","text":"TemporaryFile(/tmp/multipartBody2902473705306546247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494873427,"filename":"image_12042025_22_24_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6be981721efcab0143f9e70caccf51f8.jpg","text":"TemporaryFile(/tmp/multipartBody5795695192336986082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494873427,"filename":"image_12042025_22_24_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/be68289fe5a37aebb6e8549cbf97080c.jpg","text":"TemporaryFile(/tmp/multipartBody858299888517187436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494873427,"filename":"image_12042025_22_24_35_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352344888","file1":"1352344884","file0":"1352344882","file4":"1352344894","file5":"1352344896","file3":"1352344893"},"map_files_photo_id_array":[{"photo_id":"1352344896","filename":"file5"},{"photo_id":"1352344888","filename":"file2"},{"photo_id":"1352344894","filename":"file4"},{"photo_id":"1352344884","filename":"file1"},{"photo_id":"1352344882","filename":"file0"},{"photo_id":"1352344893","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352344882":["hashtag1","hashtag2"]},{"1352344896":["hashtag1","hashtag2"]},{"1352344884":["hashtag1","hashtag2"]},{"1352344893":["hashtag1","hashtag2"]},{"1352344894":["hashtag1","hashtag2"]},{"1352344888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352344882, 1352344896, 1352344884, 1352344893, 1352344894, 1352344888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51834416389465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:54:32.174799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_15_9363.jpg', '/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_25_10385.jpg', '/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_36_10496.jpg', '/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_45_9367.jpg', '/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_55_10384.jpg', '/home/pi/Desktop/images/12042025/22/25/image_12042025_22_26_05_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_15_9363.jpg
/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_25_10385.jpg
/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_36_10496.jpg
/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_45_9367.jpg
/home/pi/Desktop/images/12042025/22/25/image_12042025_22_25_55_10384.jpg
/home/pi/Desktop/images/12042025/22/25/image_12042025_22_26_05_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352345002","1352345005","1352345012","1352345009","1352344952","1352344987"],"photo_ids_order":["1352344952","1352344987","1352345002","1352345005","1352345009","1352345012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e29323437dd60e0b74235a80225dc80c.jpg","text":"TemporaryFile(/tmp/multipartBody5434558959063242202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494932642,"filename":"image_12042025_22_25_36_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/7e9039adfa00503db36681b60c4404a8.jpg","text":"TemporaryFile(/tmp/multipartBody8825284273084261839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494932642,"filename":"image_12042025_22_25_45_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/ca5dd116eb716e7a238b104b8828de9b.jpg","text":"TemporaryFile(/tmp/multipartBody6290105584935519294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494932642,"filename":"image_12042025_22_26_05_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/0bfe5084d1ae26103de66780a1ddfb02.jpg","text":"TemporaryFile(/tmp/multipartBody8861898219773158088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494932642,"filename":"image_12042025_22_25_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/e639d56d6d441a46dc681905969f56b5.jpg","text":"TemporaryFile(/tmp/multipartBody8233155154070532421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494932642,"filename":"image_12042025_22_25_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cbd4c19dd7c56f117eb7424f14831b1.jpg","text":"TemporaryFile(/tmp/multipartBody7023313744255582704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494932642,"filename":"image_12042025_22_25_25_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352345002","file1":"1352344987","file0":"1352344952","file4":"1352345009","file5":"1352345012","file3":"1352345005"},"map_files_photo_id_array":[{"photo_id":"1352345012","filename":"file5"},{"photo_id":"1352345002","filename":"file2"},{"photo_id":"1352345009","filename":"file4"},{"photo_id":"1352344987","filename":"file1"},{"photo_id":"1352344952","filename":"file0"},{"photo_id":"1352345005","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352345002":["hashtag1","hashtag2"]},{"1352345005":["hashtag1","hashtag2"]},{"1352345012":["hashtag1","hashtag2"]},{"1352345009":["hashtag1","hashtag2"]},{"1352344952":["hashtag1","hashtag2"]},{"1352344987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352345002, 1352345005, 1352345012, 1352345009, 1352344952, 1352344987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2788348197937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:55:32.339444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_15_10384.jpg', '/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_26_10491.jpg', '/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_35_9378.jpg', '/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_46_10487.jpg', '/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_55_9364.jpg', '/home/pi/Desktop/images/12042025/22/26/image_12042025_22_27_05_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_15_10384.jpg
/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_26_10491.jpg
/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_35_9378.jpg
/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_46_10487.jpg
/home/pi/Desktop/images/12042025/22/26/image_12042025_22_26_55_9364.jpg
/home/pi/Desktop/images/12042025/22/26/image_12042025_22_27_05_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352345193","1352345178","1352345183","1352345186","1352345189","1352345180"],"photo_ids_order":["1352345178","1352345180","1352345183","1352345186","1352345189","1352345193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/afdc98333366a2038b2451cc72472e0e.jpg","text":"TemporaryFile(/tmp/multipartBody5019238900675291839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494992811,"filename":"image_12042025_22_27_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/8de7e1ead0d4891c6fd0a4deb2d37431.jpg","text":"TemporaryFile(/tmp/multipartBody8305471773877945102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494992811,"filename":"image_12042025_22_26_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/2aeded73f5dae54ed136720935f02895.jpg","text":"TemporaryFile(/tmp/multipartBody350627520941130394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494992811,"filename":"image_12042025_22_26_35_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/301515ba60b29d6f3ded90591f9ee66c.jpg","text":"TemporaryFile(/tmp/multipartBody6377966213977288136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494992811,"filename":"image_12042025_22_26_46_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/fd6e733023ab548f0400561303f638f9.jpg","text":"TemporaryFile(/tmp/multipartBody5315213504513888971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494992811,"filename":"image_12042025_22_26_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/41abc478ee9216c82e456c59833e682c.jpg","text":"TemporaryFile(/tmp/multipartBody6856582089697240520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744494992811,"filename":"image_12042025_22_26_26_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352345183","file1":"1352345180","file0":"1352345178","file4":"1352345189","file5":"1352345193","file3":"1352345186"},"map_files_photo_id_array":[{"photo_id":"1352345193","filename":"file5"},{"photo_id":"1352345183","filename":"file2"},{"photo_id":"1352345189","filename":"file4"},{"photo_id":"1352345180","filename":"file1"},{"photo_id":"1352345178","filename":"file0"},{"photo_id":"1352345186","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352345193":["hashtag1","hashtag2"]},{"1352345178":["hashtag1","hashtag2"]},{"1352345183":["hashtag1","hashtag2"]},{"1352345186":["hashtag1","hashtag2"]},{"1352345189":["hashtag1","hashtag2"]},{"1352345180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352345193, 1352345178, 1352345183, 1352345186, 1352345189, 1352345180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06763482093811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:56:32.603773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/27/image_12042025_22_27_16_10363.jpg', '/home/pi/Desktop/images/12042025/22/27/image_12042025_22_27_35_10359.jpg', '/home/pi/Desktop/images/12042025/22/27/image_12042025_22_27_45_9377.jpg', '/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_15_9377.jpg', '/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_25_10373.jpg', '/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_35_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/27/image_12042025_22_27_16_10363.jpg
/home/pi/Desktop/images/12042025/22/27/image_12042025_22_27_35_10359.jpg
/home/pi/Desktop/images/12042025/22/27/image_12042025_22_27_45_9377.jpg
/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_15_9377.jpg
/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_25_10373.jpg
/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_35_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352345200","1352345206","1352345208","1352345198","1352345202","1352345204"],"photo_ids_order":["1352345198","1352345200","1352345202","1352345204","1352345206","1352345208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/3b3c2e9640233ce2d5cbed8345f426ec.jpg","text":"TemporaryFile(/tmp/multipartBody766557066218975039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744495053068,"filename":"image_12042025_22_27_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/b12afdd2c647a762b0cdb78f401d1b48.jpg","text":"TemporaryFile(/tmp/multipartBody817953048095079226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744495053068,"filename":"image_12042025_22_28_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/4cfda261bbd8e91210ec75c072b7b034.jpg","text":"TemporaryFile(/tmp/multipartBody2387815463275779638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744495053068,"filename":"image_12042025_22_28_35_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/6a09c6492030bfa43c39926498b06b03.jpg","text":"TemporaryFile(/tmp/multipartBody213623625315621361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744495053068,"filename":"image_12042025_22_27_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/d04350f8e8dcb27a096f1ef9ddefb044.jpg","text":"TemporaryFile(/tmp/multipartBody5701341411505699616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744495053068,"filename":"image_12042025_22_27_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/12/099fcb06fad99a25d3d95364570a789d.jpg","text":"TemporaryFile(/tmp/multipartBody8696723772597654156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744495053068,"filename":"image_12042025_22_28_15_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352345202","file1":"1352345200","file0":"1352345198","file4":"1352345206","file5":"1352345208","file3":"1352345204"},"map_files_photo_id_array":[{"photo_id":"1352345208","filename":"file5"},{"photo_id":"1352345202","filename":"file2"},{"photo_id":"1352345206","filename":"file4"},{"photo_id":"1352345200","filename":"file1"},{"photo_id":"1352345198","filename":"file0"},{"photo_id":"1352345204","filename":"file3"}],"portfolio_id":22311108,"hashtag_by_photo_ids":[{"1352345200":["hashtag1","hashtag2"]},{"1352345206":["hashtag1","hashtag2"]},{"1352345208":["hashtag1","hashtag2"]},{"1352345198":["hashtag1","hashtag2"]},{"1352345202":["hashtag1","hashtag2"]},{"1352345204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22311108 used, photo_id : ArrayBuffer(1352345200, 1352345206, 1352345208, 1352345198, 1352345202, 1352345204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79340147972107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-12 23:57:32.787683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local ASC LIMIT 6;
  port_id : 22311108
  datou_current_id : 2747191
in upload_from_sqlite, uploading in 22311108
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_45_10363.jpg', '/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_56_10520.jpg', '/home/pi/Desktop/images/12042025/22/28/image_12042025_22_29_05_9361.jpg', '/home/pi/Desktop/images/12042025/22/29/image_12042025_22_29_15_10410.jpg', '/home/pi/Desktop/images/12042025/22/29/image_12042025_22_29_25_9463.jpg', '/home/pi/Desktop/images/12042025/22/29/image_12042025_22_29_35_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2747191&datou=0
/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_45_10363.jpg
/home/pi/Desktop/images/12042025/22/28/image_12042025_22_28_56_10520.jpg
/home/pi/Desktop/images/12042025/22/28/image_12042025_22_29_05_9361.jpg
/home/pi/Desktop/images/12042025/22/29/image_12042025_22_29_15_10410.jpg
/home/pi/Desktop/images/12042025/22/29/image_12042025_22_29_25_9463.jpg
/home/pi/Desktop/images/12042025/22/29/image_12042025_22_29_35_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
