0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00
This commit is contained in:
Kuba
2025-10-18 19:51:14 +02:00
parent c2b2a63ce8
commit 40b299f2de
8 changed files with 86 additions and 76 deletions

View File

@@ -1,14 +1,4 @@
class PlaylistAdvisor:
"""
Only one of a playlist advisor can be loaded. This module picks the playlist file to play, this can be a scheduler or just a static file
"""
def advise(self, arguments: str | None) -> str: return "/path/to/playlist.txt"
def new_playlist(self) -> int:
"""
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
"""
return 0
from . import PlaylistAdvisor
import os, datetime, log95
logger = log95.log95("ADVISOR")