CRITICAL FIX - This was the main issue preventing edited images from appearing! Problem: - Edited media was being uploaded to server successfully - Server updated the playlist (new version returned: 34) - BUT player never reloaded the playlist - So edited images stayed invisible until restart Solution: 1. EditPopup now sets should_refresh_playlist flag when upload succeeds 2. Main player checks this flag in check_playlist_and_play() 3. When flag is set, player immediately reloads playlist 4. Edited media appears instantly without needing restart Testing: - Created diagnostic script test_edited_media_upload.py - Confirmed server accepts edited media and returns new playlist version - Verified SSL fix works correctly (verify=False) Now edited images should appear immediately after save!
8 lines
234 B
JSON
8 lines
234 B
JSON
{
|
|
"time_of_modification": "2026-01-17T21:53:55.318456",
|
|
"original_name": "4k1.jpg",
|
|
"new_name": "4k1_e_v1.jpg",
|
|
"original_path": "/home/pi/Desktop/Kiwy-Signage/media/4k1.jpg",
|
|
"version": 1,
|
|
"user_card_data": "0007206239"
|
|
} |