diff --git a/src/trackers/RF.py b/src/trackers/RF.py index a8de6d00d..87eac27cf 100644 --- a/src/trackers/RF.py +++ b/src/trackers/RF.py @@ -106,8 +106,11 @@ async def upload(self, meta, disctype): async def edit_name(self, meta): rf_name = meta['name'] - if meta['tag'] == "": + tag_lower = meta['tag'].lower() + invalid_tags = ["nogrp", "nogroup", "unknown", "-unk-"] + if meta['tag'] == "" or any(invalid_tag in tag_lower for invalid_tag in invalid_tags): rf_name = f"{rf_name}-NoGroup" + return rf_name async def get_cat_id(self, category_name):