Closed Reverz3 closed 6 years ago
Ok i downloaded your project, yarned it, and did a modif myself, it run like a charm Modifications are in index.js if (name.search(filter.name) !== -1) { channel = filter.channel found = true return false }
replaced by if (name.search(filter.name) !== -1) { if (filter.channel != "-1") {channel = filter.channel} else {defaultChannel++} found = true return false }
So, when putting -1 in channel number of the filter, it will hold all channels having the "name" of the filter in it.
My sample is that i have 14000+ channels but needed only the one's with "FR: " of "BE: " in it. If i set the channel number to -1 in the filter, the channel number will be the defaultchannel and that one is incremented.
Thanks again for your work. I think you saved my relationship with my wife :D
Name on filter settings files are regex, you need to escape the \
and you are good ;-)
Regarding the similar name feature you are asking; having an example will help me to implement a better approach.
Are the filters reggex ? It would be really usefull to filter a really too large all-world iptv list !
if not, is it possible to add the feature ?
Thank you for the good work