PDA

View Full Version : [Zgemma H7] some adults channel scanned even though hide sections used.



bmitie
03-05-23, 16:29
This is a new one but when I use abm and use the hide sections ie adult, channels are still scanning in under all channels, some are FTA and others are locked. babe is one or name similar, xxx is another!!

And how do I delete those channels so that even if I do run ABM they wont be scanned?

LraiZer
03-05-23, 19:11
Not sure if ABM hides Adult services in service lists when Adult bouquet is hidden,
but a patch was recently added to AutoBouquets to stop Adult service from showing when Adult bouquet is hidden.

Maybe ask if this modification could also be implemented in AutoBouquetsMaker?


use dxDontshow flag with services in Adult/Gaming and Dating bouquets
this hides services in all service lists when Hide Adult option is selected.


https://github.com/LraiZer/AutoBouquets/commit/b74942671bd9935c2206e5e1877bf34063393699#diff-2564426058d29ba78ec3ab3d4d23e07fc4005bbbc529bdd369 99cbb02d815b01R1785-R1786

bmitie
05-05-23, 22:25
Thats gone way over my head but others may understand and thanks for replying. It only matters if ABM is set to run nightly and that can be disabled.

LraiZer
06-05-23, 00:12
Assuming you are hiding Adult bouquet in sat_282_sky_uk.xml?
maybe test adding a similar patch code to <servicehacks>
dxDontshow = 0x2

if service["number"] >= 900 and service["number"] < 950:
service["service_flags"] = dxDontshow

LraiZer
06-05-23, 15:50
Looks like there may be a BUG in ABM!

When you hide Adult bouquet these hidden services appear in service lists when you include not indexed services.

A hide service option should override and not a show a not indexed service option in a service list?

you can test by dropping this sat_282_sky_uk.xml in /etc/enigma2/AutoBouquetsMaker/providers/ folder until they fix this possible issue.

bmitie
07-05-23, 15:58
Just to say that did the trick, how long before it gets into the next image update?

LraiZer
08-05-23, 21:36
Just to say that did the trick, how long before it gets into the next image update?
Sadly i very much doubt any of this will make it into a next image update, as there has been no feedback post from image development team.

For now this parental control patch will have to be a self managed provider file patch to replace your original file.

My own personal view on this parental control content issue here is, if a user has chosen to hide an Adult Bouquet selection that is provided in a provider file then Adult content for that provider. should not be shown in any lists.

The patch did need a little tweak to make hiding provider Adult services conditional on provider Adult Bouquet setting being hidden.

diff --git a/AutoBouquetsMaker/providers/sat_282_sky_uk.xml b/AutoBouquetsMaker/providers/sat_282_sky_uk.xml
index f6a15ab..7a494dc 100644
--- a/AutoBouquetsMaker/providers/sat_282_sky_uk.xml
+++ b/AutoBouquetsMaker/providers/sat_282_sky_uk.xml
@@ -343,6 +343,7 @@ except:
custom = True if "custom" in bouquet_key else False

dxNoSDT = 0x1 # details of lamedb flags are in README.txt
+ dxDontshow = 0x2 # details of lamedb flags are in README.txt
dxHoldName = 0x8 # details of lamedb flags are in README.txt

# slot some extra channels into vacant slots in the provider list if "custom" == True
@@ -565,10 +566,14 @@ elif custom and service["service_type"] in DvbScanner.HD_ALLOWED_TYPES and servi
elif custom and ("channel_id" in service and service["channel_id"] in blacklist_by_id):
skip.skip = True

+hidden_sections = config.autobouquetsmaker.hidesections.value.split("|")
+
new_numbers = []
for number in service["numbers"]:
if number >= 3000 and number <= 3999: # radio
new_numbers.append(number - 3000)
+ elif number >= 900 and number < 950 and "sat_282_sky_uk:900" in hidden_sections:
+ service["service_flags"] = dxDontshow
elif number >= 1050 and number <= max(LCNs_in_use): # not indexed channels
new_numbers.append(number)
elif number > 999 or number < 101:

abu baniaz
08-05-23, 22:27
I have no objection to it.

Ideally we need a parental control option that is toggled per provider that then adds the parental control flag.
And a custom mode option. We can then cuts the number of regions in half. A further HD/SD selection option would cut those in half again. I should really learn to code!

abu baniaz
09-05-23, 01:18
This has been committed to the official provider file. If you have your own provider file in /etc/enigma2/AutoBouquetsMaker/providers/best to delete it and then update the official one.

bmitie
10-05-23, 21:54
How do I update the official one?