You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
raise exception
This commit is contained in:
@@ -71,7 +71,7 @@ class PlaylistParser:
|
||||
if seen is None: seen = set()
|
||||
if not path.exists():
|
||||
self.logger.error(f"Playlist not found: {path.name}")
|
||||
return []
|
||||
raise Exception("Playlist doesn't exist")
|
||||
lines = [line.strip() for line in path.read_text().splitlines() if line.strip()]
|
||||
|
||||
out = []
|
||||
|
||||
Reference in New Issue
Block a user