Barracuda09 / SATPI

SATIP server for linux, suitable to run on an Raspberry Pi, Vu+, GigaBlue or any other linux box. currently supporting DVB-S/S2/T/C and transform DVB-S requests to DVB-C
http://barracuda09.github.io/SATPI
GNU General Public License v2.0
155 stars 32 forks source link

BUG: ChildPIPE doesn't support " && " #101

Closed lars18th closed 3 years ago

lars18th commented 4 years ago

Hi @Barracuda09 ,

I want to setup one ChildPIPE input using two/three commands. Example: echo '1' > /dev/frontend && cat /dev/tuner. However, when using the && inside the ChildPIPE nothing is received.

Please, can you provide some support to execute multiple commands?

Futhermore, I suggest for the ChildPIPE and the other virtual inputs to add one debug line when the first valid TS packet is received. This can be considered as a LOCK signal. So, if the source is generating the TS packets and the SatPI is receiving packets, then you can print this LOCK message. This will simplifies a lot the debug/setup of these inputs, as if the LOCK is missing implies that something is wrong in the chain.

I hope you agree. Regards.

lars18th commented 3 years ago

Hi,

As this functionality can be achieved using scripts, as commented in #102 , then I close this issue.

Regards.