jacklul / pihole-updatelists

Update Pi-hole's lists from remote sources easily
MIT License
1.42k stars 82 forks source link

[Feature request] Assign Group_ID to multiple groups #111

Closed dannykorpan closed 2 years ago

dannykorpan commented 2 years ago

It would be great to assign ADLISTS_URL, WHITELIST_URL, REGEX_WHITELIST_URL, BLACKLIST_URL and REGEX_BLACKLIST_URL to multiple groups.

jacklul commented 2 years ago

Pointless since you can have one group with updated lists while also having custom groups assigned to the clients

dannykorpan commented 2 years ago

O.k. maybe I have a problem in understanding the docs. I set up a remote adblock list URL in pihole-updatelists.conf. How is it possible to assign all lists from the remote adblock URL to e.g. group 1,3 and 5?

jacklul commented 2 years ago

You don't because it's not supported and adding it would add a lot of complexity to the current logic and probably break stuff. You simple create new group (for example with ID=9) and add that group to your clients in addition to groups 1, 3 and 5. You can have multiple groups per client.

dannykorpan commented 2 years ago

Ok, thank you. Even if it's not what I wanted to hear. :-)