#173: RFE: question: dvbapi adapter offset

Support forum for minisatip
9000h
Posts: 89
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h »

do we handle the dvbapi net demux offset right with multiple servers, and whats about a switch like vdr plugin has?
reference: https://github.com/catalinii/minisatip/issues/103
catalinii
Posts: 0
Joined: Wed Nov 18, 2015 5:41 am

Post by catalinii »

I did not see the need for it until now :)
9000h
Posts: 89
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h »

this is what Manio did in the vdr dvbapi plugin
https://github.com/manio/vdr-plugin-dvb ... cc5bc60124
so it looks not that complicated to implement

there are sometimes issues with multiple connects with the same user to the same dvbapi network demux adapter index on the oscam side like:

```
015/10/02 19:54:02 34F3CF4E c (dvbapi) ERROR: Could not close demuxer socket fd (errno=4 Interrupted system call)
```
9000h
Posts: 89
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h »

btw. would it not make sense to move this error log
```
--- socketworks.c.orig 2015-10-02 09:26:51.755618057 +0200
+++ socketworks.c 2015-10-02 09:27:15.941235709 +0200
@@ -252,10 +252,10 @@

if (connect(sock, (struct sockaddr *) serv, sizeof(*serv)) < 0)
{
- LOGL(0, tcp_connect: failed: connect to %s:%d failed: %s, addr, port,
- strerror(errno));
if (errno != EINPROGRESS)
{
+ LOGL(0, tcp_connect: failed: connect to %s:%d failed: %s, addr, port,
+ strerror(errno));
close(sock);
return -1;
}
```
9000h
Posts: 89
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h »

do you have any plan to move up to dvbapi protocol version 2 ?
https://github.com/manio/vdr-plugin-dvb ... t-95874618
catalinii
Posts: 0
Joined: Wed Nov 18, 2015 5:41 am

Post by catalinii »

v2 sounds like a good idea and it will be implemented at some point ... depending on the time
9000h
Posts: 89
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h »

will try the commit from today, what do think about to make the detected pmt pid also available to status.html page
catalinii
Posts: 0
Joined: Wed Nov 18, 2015 5:41 am

Post by catalinii »

You mean the pmt pid for a key?
9000h
Posts: 89
Joined: Tue May 12, 2015 1:49 pm

Post by 9000h »

I mean the pmt pid which the the client provides in the url or the detected one for the channel which should be the same one at the end.
catalinii
Posts: 0
Joined: Wed Nov 18, 2015 5:41 am

Post by catalinii »

I just added it...
Post Reply