Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 15 of 49

Thread: Freesat - Wrong local BBC HD channel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #33

    Title
    V.I.P
    Join Date
    Jan 2011
    Posts
    265
    Thanks
    60
    Thanked 572 Times in 188 Posts
    Quote Originally Posted by abu baniaz View Post
    There is a bug which makes this hit and miss. As I said, please use the regional bouquet until we fix it.
    region_id has been changed to a list but is not tested as a list in some conditional statements, this patch should fix it.

    Code:
    index 271c684..65ffe68 100644
    --- a/AutoBouquetsMaker/src/scanner/dvbscanner.py
    +++ b/AutoBouquetsMaker/src/scanner/dvbscanner.py
    @@ -1212,7 +1212,7 @@ class DvbScanner():
     			key = "%x:%x:%x" % (service["transport_stream_id"], service["original_network_id"], service["service_id"])
     			if key in tmp_services_dict:
     				tmp_services_dict[key]["numbers"].append(service["number"])
    -				if service["region_id"] == region_id:
    +				if service["region_id"] == region_id[0]:
     					tmp_services_dict[key]["region_id"] = service["region_id"]  # Overwrite the region if this is not the generic region. Makes the table order irrelevant.
     			else:
     				service["numbers"] = [service["number"]]
    @@ -1251,7 +1251,7 @@ class DvbScanner():
     		for key in tmp_services_dict:
     			if tmp_double_numbers and len(tmp_services_dict[key]["numbers"]) > 1:
     				for n in tmp_services_dict[key]["numbers"]:
    -					if n in tmp_double_numbers and tmp_services_dict[key]["region_id"] != region_id:  # only delete duplicate if this is not the user defined region.
    +					if n in tmp_double_numbers and tmp_services_dict[key]["region_id"] != region_id[0]:  # only delete duplicate if this is not the user defined region.
     						print("[ABM-DvbScanner] Deleted double LCN: %d" % (tmp_services_dict[key]["numbers"][0]), file=log)
     						tmp_services_dict[key]["numbers"].remove(n)
     						tmp_double_numbers.remove(n)

  2. The Following User Says Thank You to LraiZer For This Useful Post:

    abu baniaz (10-12-23)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.