update
This commit is contained in:
@@ -1 +0,0 @@
|
||||
1763799978.6257727
|
||||
1
.player_stop_requested
Normal file
1
.player_stop_requested
Normal file
@@ -0,0 +1 @@
|
||||
User requested exit via password
|
||||
BIN
media/edited_media/AGC_20250704_204105932_e_v1.jpg
Normal file
BIN
media/edited_media/AGC_20250704_204105932_e_v1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"time_of_modification": "2025-12-05T00:20:29.292050",
|
||||
"original_name": "AGC_20250704_204105932.jpg",
|
||||
"new_name": "AGC_20250704_204105932_e_v1.jpg",
|
||||
"original_path": "/home/pi/Desktop/Kiwy-Signage/media/AGC_20250704_204105932.jpg",
|
||||
"version": 1
|
||||
}
|
||||
BIN
media/edited_media/Cindrel_1_e_v1.jpg
Normal file
BIN
media/edited_media/Cindrel_1_e_v1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
7
media/edited_media/Cindrel_1_e_v1_metadata.json
Normal file
7
media/edited_media/Cindrel_1_e_v1_metadata.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"time_of_modification": "2025-12-05T00:23:14.473276",
|
||||
"original_name": "Cindrel_1.jpg",
|
||||
"new_name": "Cindrel_1_e_v1.jpg",
|
||||
"original_path": "/home/pi/Desktop/Kiwy-Signage/media/Cindrel_1.jpg",
|
||||
"version": 1
|
||||
}
|
||||
Binary file not shown.
14
src/main.py
14
src/main.py
@@ -39,7 +39,7 @@ from kivy.animation import Animation
|
||||
from kivy.lang import Builder
|
||||
from kivy.graphics import Rectangle
|
||||
from kivy.graphics.texture import Texture
|
||||
from get_playlists import (
|
||||
from get_playlists_v2 import (
|
||||
update_playlist_if_needed,
|
||||
send_playing_status_feedback,
|
||||
send_playlist_restart_feedback,
|
||||
@@ -1046,20 +1046,14 @@ class SignagePlayer(Widget):
|
||||
# Run blocking network I/O in thread pool
|
||||
loop = asyncio.get_event_loop()
|
||||
|
||||
# Find latest playlist file
|
||||
latest_playlist = await loop.run_in_executor(
|
||||
None,
|
||||
self.get_latest_playlist_file
|
||||
)
|
||||
|
||||
# Check for updates (network I/O in thread pool)
|
||||
# Note: get_playlists_v2 doesn't need latest_playlist parameter
|
||||
updated = await loop.run_in_executor(
|
||||
None,
|
||||
update_playlist_if_needed,
|
||||
latest_playlist,
|
||||
self.config,
|
||||
self.media_dir,
|
||||
self.playlists_dir
|
||||
self.playlists_dir,
|
||||
self.media_dir
|
||||
)
|
||||
|
||||
if updated:
|
||||
|
||||
Reference in New Issue
Block a user