Enhancement: Add m3u_id parameter to generate_hash_key and update related calls

This commit is contained in:
SergeantPanda 2025-10-02 09:14:22 -05:00
parent c99456f77d
commit a3e4f23891
4 changed files with 9 additions and 5 deletions

View file

@ -774,7 +774,7 @@ def process_xc_category_direct(account_id, batch, groups, hash_keys):
group_title = group_name
stream_hash = Stream.generate_hash_key(
name, url, tvg_id, hash_keys
name, url, tvg_id, hash_keys, m3u_id=str(account_id)
)
stream_props = {
"name": name,
@ -942,7 +942,7 @@ def process_m3u_batch_direct(account_id, batch, groups, hash_keys):
)
continue
stream_hash = Stream.generate_hash_key(name, url, tvg_id, hash_keys)
stream_hash = Stream.generate_hash_key(name, url, tvg_id, hash_keys, m3u_id=str(account_id))
stream_props = {
"name": name,
"url": url,