You've already forked RadioPlayer
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user