hoshsadiq / m3ufilter

ABANDONED - A tool that allows to filter specific items from an m3u filter designed for IPTV.
GNU General Public License v2.0
48 stars 18 forks source link

use filters and replace features for epg as is on m3u provider #38

Open nmocruz opened 3 years ago

nmocruz commented 3 years ago

I have a m3u with channel aaa, the epg grabber generates channel ids aa.provider.com to make most part to match I change the id of the m3u channel to be tvg_id(Name)+".provider.com"

but I wondering if possible to leave the channel id as is and have a function to map like

epg_providers.channel_id_matcher

hoshsadiq commented 3 years ago

Currently not supported. What grabber are you using? If you're using xmltv-util, you should be able to specify the IDs. If not, as a workaround, I suggest to just append .provider.com to the id in the m3u: - id: Id+".provider.com".

nmocruz commented 3 years ago

@hoshsadiq I'm using tv_grab_pt_vodafone, not sure if is related to xmltv-util but I was not able to see how to set the ids, seems like the script is adding .vodafone.pt when making the channel ids,

hoshsadiq commented 3 years ago

Ah I was hoping there would be a mapping file similar to tv_grab_uk_tvguide.

I'll have to see what the best solution would be. I've changed the core to rely on csv inputs, which is a lot faster, memory efficient but also easier to maintain (e.g. when you change providers). As such I've removed the expression core as part of that, so I'll have to think of what the best solution is for this.