Fix: disable SSL verification for edited media server upload

Root cause identified from logs:
  [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate

The server uses a self-signed certificate (like production), but the edited media
upload endpoint was not disabling SSL verification while other API calls do.

Solution:
- Add verify=False to requests.post() call in _upload_to_server()
- Matches the SSL verification handling in get_playlists_v2.py
- Add warning about SSL verification being disabled
- Now edited images can upload successfully to server

This fixes the upload failures that were preventing edited images from being
synced to the server.
This commit is contained in:
Kiwy Player
2026-01-17 21:53:07 +02:00
parent eeb2a61ef7
commit 9b58f6b63d
4 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"time_of_modification": "2026-01-17T21:40:13.194566",
"time_of_modification": "2026-01-17T21:51:37.035997",
"original_name": "2026efvev-1428673176.jpg",
"new_name": "2026efvev-1428673176_e_v1.jpg",
"original_path": "/home/pi/Desktop/Kiwy-Signage/media/2026efvev-1428673176.jpg",