0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 13:52:00 +01:00

get rid of quiet reloads

This commit is contained in:
Kuba
2025-10-23 19:43:18 +02:00
parent eea8b9c608
commit 17c08bb51a
3 changed files with 10 additions and 14 deletions

View File

@@ -37,11 +37,11 @@ class PlaylistAdvisor:
Arguments are the arguments passed to the program on startup
"""
return "/path/to/playlist.txt"
def new_playlist(self) -> int:
def new_playlist(self) -> bool:
"""
Whether to play a new playlist, if this is 1, then the player will refresh, if this is two then the player will refresh quietly
Whether to play a new playlist, if this is True, then the player will refresh and fetch a new playlist, calling advise
"""
return 0
return False
def imc(self, imc: 'InterModuleCommunication'):
"""
Receive an IMC object