updated version
This commit is contained in:
@@ -66,6 +66,12 @@ class SimpleTkPlayer:
|
||||
print(f"[CONFIG] Error getting playlist version: {e}")
|
||||
return None
|
||||
|
||||
def update_playlist_version(self):
|
||||
"""Update the current playlist version - call when playlist changes"""
|
||||
self.playlist_version = self.get_current_playlist_version()
|
||||
print(f"[CONFIG] Updated playlist version to: {self.playlist_version}")
|
||||
return self.playlist_version
|
||||
|
||||
def send_error_feedback(self, error_message):
|
||||
"""Send error feedback to server"""
|
||||
try:
|
||||
@@ -421,6 +427,8 @@ class SimpleTkPlayer:
|
||||
if new_playlist:
|
||||
self.playlist = new_playlist
|
||||
self.current_index = 0
|
||||
# Update playlist version after reloading
|
||||
self.update_playlist_version()
|
||||
print("[PLAYER] Playlist reloaded. Continuing playback.")
|
||||
self.show_current_media()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user