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

@ -513,7 +513,7 @@ def rehash_streams(keys):
for obj in batch:
# Generate new hash
new_hash = Stream.generate_hash_key(obj.name, obj.url, obj.tvg_id, keys)
new_hash = Stream.generate_hash_key(obj.name, obj.url, obj.tvg_id, keys, m3u_id=obj.m3u_account_id)
# Check if this hash already exists in our tracking dict or in database
if new_hash in hash_keys: