catalinii / minisatip

minisatip is an SATIP server for linux using local DVB-S2, DVB-C, DVB-T or ATSC cards
https://minisatip.org
330 stars 81 forks source link

PNR auto filter #1049

Open odehalaa opened 1 year ago

odehalaa commented 1 year ago

Hi all, Please I need to ask if possible to auto filter the pids by request only by set the pnr ?

Best Regards

lars18th commented 1 year ago

Hi,

It's a good idea. I've been thinking about implementing it for some time.

lars18th commented 1 year ago

Hi @catalinii ,

Because I don't have sufficient knowlegment of the PMT processing inside minisatip, perhaps you will want to implement this:

The idea is to not remove or close any pid automatically. Only add the pids readed from the PMT. This will be useful for a direct program selection with clients like VideoLAN. Or to add all pids of a program automatically if you're using a simple pid list with only the PMT and main video and audio pids.

I feel it could be easy because the actions of reading the PAT and PMT tables are already implement. What you think?

Jalle19 commented 1 year ago

I vote no. This is minisatip, not megasatip.

lars18th commented 1 year ago

I vote no. This is minisatip, not megasatip.

I see that you want to maintain the size and foodprint small. And I agree with you. 😉 Anyway most of the code is already implemented: PAT and PMT processing (because the CI and DVBAPI support). So adding a simple parameter to add some pids that are already processed at some point could be a lightweight task. And in this case, why not?