allow flac
This commit is contained in:
parent
ae91ed44c4
commit
0e2e849483
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ class MpdRenderer(Renderer):
|
|||
|
||||
def get_tracks(self, path: str) -> list[str]:
|
||||
all_files = os.listdir(path)
|
||||
return sorted([f for f in all_files if f.endswith(".mp3")])
|
||||
return sorted([f for f in all_files if (f.endswith(".mp3") or f.endswith(".flac"))])
|
||||
|
||||
def play(self, path: str, from_time: int) -> None:
|
||||
log.info(f"MpdRenderer: play({path}, {from_time})")
|
||||
|
|
Loading…
Reference in a new issue