sure…
step 1:
Login via ssh to your OSMC device and run these commands:
cd /home/osmc
mkdir addonDL
cd addonDL
wget https://github.com/zjoasan/plugin.program.iptv-list_refresh/raw/main/plugin.program.iptv-list_refresh.zip
Now in kodi:
Open Settings-Addon browser->Install from Zip
Navigate Home->addonDL->plugin.program.iptv-list_refresh.zip
You might get a warning about unknown sources, enable that and retry.
Once installed you should have a new icon in “Program” under Homescreen. Mark it and “right click”/“m”/Context menu/“hamburger icon” on osmc remote. Chose settings, enter your providers m3u link, write where to save the filtered m3u (default value is okey).
After you have saved the settings you can now run the addon, There is “a few” ‘Are you sure?’, then it will take a while (depending on the size of original m3u), 5 mins is likely(an indicator is on the todo list). In kodi 19 it will now shut down, change to your new locally stored m3u file and restart iptv simple client with the new list.
ATTENTION
while I just browsed the code that was up on github, i noticed that the last changes i did back in november hasn’t been uploaded. So the actual filter is still hard coded in:
/home/osmc/.kodi/addons/plugin.program.iptv-list_refresh/resources/lib/iptv-list.py
line 80
So i recommend:
nano /home/osmc/.kodi/addons/plugin.program.iptv-list_refresh/resources/lib/iptv-list.py
and change the [‘^Sverige$’, ‘^US$’, ‘^UK$’] to like [‘^IRAN$’, ‘^NORWAY$’]
Now this was just an example, i haven’t seen your original M3U file, but you can look at it “get a feel for the groups you want listed”, the “'^” means that the groupname/category needs to start with the chars following ^ , the $ is the same but has to end with the char just before $.
Here lies some of the work i have to do, this coming weekend.
Hope thias get you up and running