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
151 stars 32 forks source link

Using the "fe" query attribute does not follow the frontend numbering in WebIF, for using frontends connected to different LNBs #158

Closed patacalas closed 1 year ago

patacalas commented 2 years ago

Hi again. I can't find the way to configure my Sat>IP server on a Gigablue UHD Quad receiver with an extra PnP tuner. FBC tuners (frontends 0-7) are using Unicable LNBs: Astra - Position A Hotbird - Position B Hispasat - Position C

I've just added an extra twin tuner (frontends 8-9), using a twin legacy LNB for Eutelsat 7B/C, and getting signal from that satellite via Sat>IP is impossible for me.

Frontends 8 and 9 are set as LNB (no diseqc), but when I try to get an Eutelsat 7B/C channel Sat>IP serves the first frontend available and not the correct one, even using the "fe" query attribute. The only way I can get Eutelsat 7B/C is disabling frontends 0 to 7.

How can I get it working?

Thanks in advance for your response.

Barracuda09 commented 2 years ago

Hi @patacalas

So fe=8 does not select frontend 8? Could you make an example request with VLC (with fe=8)and give the log of SatPI?

Thanks for testing.

patacalas commented 2 years ago

Hi @Barracuda09 I think that I've found the solution. The issue is about the frontend numbering. If I request fe=8 SatPI serves frontend 7. I just thought that I should use the same frontend numbering showed in SatPI web interface.

For example: TRT WORLD (Eutelsat 7B/C) http://192.168.194.39:8875/?freq=10886&sr=30000&msys=dvbs2&mtype=qpsk&fec=56&pol=v&src=1&fe=8&pids=0,1,16,17,18,37,2337,3335

Log: Tue May 10 15:08:46.3179 2022  7  HTTP Stream data from client None with IP 192.168.194.72 on Port 49271: GET /?freq=10886&sr=30000&msys=dvbs2&mtype=qpsk&fec=56&pol=v&src=1&fe=8&pids=0,1,16,17,18,37,2337,3335 HTTP/1.0 Tue May 10 15:08:46.3179 2022  7  Host: 192.168.194.39:8875 Tue May 10 15:08:46.3179 2022  7  User-Agent: VLC/3.0.17.3 LibVLC/3.0.17.3 Tue May 10 15:08:46.3179 2022  7  Icy-MetaData: 1 Tue May 10 15:08:46.3179 2022  7   Tue May 10 15:08:46.3180 2022  6  Found FrondtendID: 7 (fe=8) StreamID: -1 SessionID: 0248711337 Tue May 10 15:08:46.3181 2022  6  Frontend: 7, New session but this stream is in use, skipping... Tue May 10 15:08:46.3181 2022  6  Frontend: 0, New session but this stream is not enabled, skipping... Tue May 10 15:08:46.3181 2022  6  Frontend: 1, New session but this stream is not enabled, skipping... Tue May 10 15:08:46.3182 2022  6  Frontend: 2, New session but this stream is not enabled, skipping... Tue May 10 15:08:46.3182 2022  6  Frontend: 3, New session but this stream is not enabled, skipping...

If I request fe=10 SatPI serves frontend 9 and everything works fine.

Thanks for helping.

Barracuda09 commented 2 years ago

Hi @patacalas

Yes you are correct, this is not intuitive. I have to maybe number the Frontends in the WebIF accordingly. (I always keep confusing this as well) according to the specs fe=x should be between 1 and 255

Thanks for testing