1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

use ip address 0.0.0.0 instead of 192.168.0.6

so the script does not depend on this ip address
This commit is contained in:
seahawk1986 2017-07-31 09:15:13 +02:00 committed by GitHub
parent 732e28d0f0
commit 923de45109

View File

@ -31,7 +31,7 @@ try:
except: except:
pass pass
sock.settimeout(1) sock.settimeout(1)
sock.bind(("192.168.0.6", SSDP_PORT)) sock.bind(("0.0.0.0", SSDP_PORT))
sock.sendto(ssdpRequest, (SSDP_ADDR, SSDP_PORT)) sock.sendto(ssdpRequest, (SSDP_ADDR, SSDP_PORT))
try: try:
while 1: while 1: