Jump to content


Photo

Show fallback IP in infobar


  • Please log in to reply
4 replies to this topic

#1 jpuigs

  • Senior Member
  • 1,051 posts

+24
Neutral

Posted 22 September 2020 - 18:10

I would like to see the fallbacktuner IP when the box is streaming from another one, either on 1st. infobar or on pliextrainfo (2nd. infobar).

That would be interesting in case of having more than one fallback ip (main + alternative URLs).

 

I know that on the server side, if we use something like self.streamServer.getConnectedClients() we get the connected client addresses, but on the client side (the one I want to work) this command doesn't show anything.

 

Which python instruction should I use ?

 

 

 


Spoiler

Re: Show fallback IP in infobar #2 littlesat

  • PLi® Core member
  • 52,176 posts

+591
Excellent

Posted 22 September 2020 - 18:55

Depending on the type of source (dvb-s/t/c or atsc) it is always a fixed ip...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Show fallback IP in infobar #3 jpuigs

  • Senior Member
  • 1,051 posts

+24
Neutral

Posted 22 September 2020 - 19:32

yes, but although it is always a fixed IP, how could I know it (to show it) ?

 

I have two fallback IPs (main + DVB-T altern), and I'd like to see where is connecting to, on infobar.


Edited by jpuigs, 22 September 2020 - 19:34.

Spoiler

Re: Show fallback IP in infobar #4 Dimitrij

  • PLi® Core member
  • 7,194 posts

+235
Excellent

Posted 23 September 2020 - 05:29

 

self.streamServer.getConnectedClients()

This stream client and its detection slows down the system.


Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)


Re: Show fallback IP in infobar #5 jpuigs

  • Senior Member
  • 1,051 posts

+24
Neutral

Posted 23 September 2020 - 07:12

But I don't need this stream client detection, because it detects clients streaming from this box (connecting to this box).

 

I want to see fallback tuner IP, where own box is connecting to, in other words, where it's streaming from in case you have (like me) several fallback IPs


Edited by jpuigs, 23 September 2020 - 07:14.

Spoiler




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users