[deleted]
[deleted]
I don't think this is possible without a 3rd party service to edit your playlist.
Pretty sure xstream-codes (the service most providers use to broadcast m3u) does not have that option to filter based on URL strings.
( I could be wrong, but that's what I assume anyways)
if you are with vaders this is what you need to do to remove countries from your playlist:
i use this personally to remove all of the non English channels.
Personally I filter my m3u playlist with
"C:\Program Files (x86)\GnuWin32\bin\sed.exe" -f filter.sed provider.m3u > filtered.m3u
Contents of filter.sed
/GINX eSportsTV HD/{N;d}
/NBC Universo 2 HD/{N;d}
/Sony Six/{N;d}
/MiMusica HD/{N;d}
/CBN HD/{N;d}
/Fight Tyme/{N;d}
/FXM Retro HD/{N;d}
/CBS News HD/{N;d}
/group-title="Italy"/{N;d}
/group-title="Thai"/{N;d}
/group-title="Korea"/{N;d}
/group-title="Telugu"/{N;d}
/group-title="Scandinavia"/{N;d}
/group-title="Gujrati"/{N;d}
/group-title="Malayalam"/{N;d}
/group-title="Marathi"/{N;d}
/group-title="Bangla"/{N;d}
/group-title="Afghani"/{N;d}
/group-title="Indian"/{N;d}
/group-title="Pakistan"/{N;d}
/group-title="Punjabi"/{N;d}
/group-title="Tamil"/{N;d}
/group-title="French"/{N;d}
/group-title="Arabic"/{N;d}
/group-title="Ireland"/{N;d}
/group-title="Portugal"/{N;d}
/group-title="Germany"/{N;d}
/group-title="Filipino"/{N;d}
/group-title="Ireland"/{N;d}
I use curl to grab the m3u playlist and I have a script that downloads it, filters it and uploads it filtered to my own web server. Which is a computer on my network running Apache server.
This filters any line that has the matching text and the line bellow which would be the stream url.
I think it depends on the provider, vaders for example lets you filter the countries you don't want to get channels for
http://iptvprovider.tv/vget?username=[my_username]&password=[my_password]&filterCategory=Afghani,Arabic,Bangla,Canada,Filipino,France,Germany,Gujrati,India,Ireland,Italy,Latino,Live%20Events,Malayalam,Marathi,Pakistan,Portugal,Punjabi,Spain,Tamil,United%20States,United%20States%20Regionals&format=ts