Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit d478342

Browse files
committed
Modified checks for private broadcast
1 parent c177c5d commit d478342

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

main.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,11 @@ def run(self):
339339
description = source.get("server_description", "No description")
340340
title = host.title()
341341
icecast_source = "https://hbniaudio.hbni.net"
342-
is_private = source.get("is_private", False) or source.get("genre", "various") == "private"
342+
is_private = (
343+
source.get("is_private", False)
344+
or "private" in source.get("genre", "various")
345+
or any(keyword in host.lower() for keyword in ("private", "priv", "prv"))
346+
)
343347
is_recording = source.get("genre", "various") == "RECORDING"
344348

345349
if (

0 commit comments

Comments
 (0)