This commit is contained in:
Kiwy Signage Player
2025-12-05 00:36:38 +02:00
parent fba2007bdf
commit f573af0505
8 changed files with 19 additions and 11 deletions

View File

@@ -1 +0,0 @@
1763799978.6257727

1
.player_stop_requested Normal file
View File

@@ -0,0 +1 @@
User requested exit via password

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -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
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

View 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.

View File

@@ -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: