Added channel whitelist

This commit is contained in:
oxixes
2023-04-22 13:40:11 +02:00
parent 73d1a024f3
commit 975b2690a4

View File

@@ -61,6 +61,9 @@ async def process_playstatus(
)
if vid_id:
print(f"ID: {vid_id[0]}, Channel ID: {vid_id[1]}")
for i in whitelist:
if vid_id[1] == i["id"]:
return
segments = await api_helpers.get_segments(vid_id, web_session, categories)
print(segments)
await time_to_segment(