chore:multicast cache

This commit is contained in:
guorong.zheng 2024-12-11 17:29:40 +08:00
parent 1824b76b08
commit 8cfa2351fa

@ -48,7 +48,8 @@ async def get_channels_by_multicast(names, callback=None):
"rb",
) as file:
cache = pickle.load(file) or {}
channels = cache.get("multicast", {})
multicast_data = cache.get("multicast", {})
channels = {key: value for key, value in multicast_data.items() if key in names}
except:
pass
if config.open_request: