Bug #2096
Updated by Mark Clarkstone over 10 years ago
after compiling latest git today my config got screwed up. i got inputs from 2 diffrent nics eth1/228.x.x.x/24 and eth2/239.x.x.x/24
everything from eth1 stopped working with error: [ ERROR] iptv: getaddrinfo: 228.1.1.5: Servname not supported for ai_socktype
config file :
<pre>
{
"iptv_url": "udp://228.1.1.5:49410",
"iptv_interface": "eth1",
"iptv_atsc": false,
"enabled": true,
"onid": 1,
"tsid": 15,
"initscan": true,
"charset": "AUTO"
}
service config:
{
"sid": 13842,
"lcn": 0,
"svcname": "Eurosport",
"provider": "Eutelsat",
"dvb_servicetype": 1,
"prefcapid": 6103,
"enabled": true,
"pcr": 2577,
"pmt": 288,
"stream": [
{
"pid": 2577,
"type": "MPEG2VIDEO",
"position": 0,
"width": 720,
"height": 576,
"duration": 3600
},
{
"pid": 2585,
"type": "MPEG2AUDIO",
"position": 0,
"audio_type": 0
},
{
"pid": 5055,
"type": "CA",
"position": 262144,
"caidlist": [
{
"caid": 21766
}
]
},
{
"pid": 6103,
"type": "CA",
"position": 262144,
"caidlist": [
{
"caid": 2816
}
]
}
]
}
i got like 200 channels from that interface, none of them are working
here a working config:
{
"iptv_url": "udp://239.1.1.5:5555",
"iptv_interface": "eth2",
"iptv_atsc": false,
"enabled": true,
"onid": 1,
"tsid": 21,
"initscan": true,
"charset": "AUTO"
service config:
{
"sid": 21,
"lcn": 0,
"svcname": "HBO HD",
"provider": "provider2",
"dvb_servicetype": 1,
"prefcapid": 0,
"enabled": true,
"pcr": 500,
"pmt": 502,
"stream": [
{
"pid": 500,
"type": "H264",
"position": 0,
"width": 1920,
"height": 1080,
"duration": 3600
},
{
"pid": 501,
"type": "MPEG2AUDIO",
"position": 0,
"language": "eng",
"audio_type": 0
},
{
"pid": 3851,
"type": "CA",
"position": 262144,
"caidlist": [
{
"caid": 19182
}
]
}
]
}
</pre>
everything from eth1 stopped working with error: [ ERROR] iptv: getaddrinfo: 228.1.1.5: Servname not supported for ai_socktype
config file :
<pre>
{
"iptv_url": "udp://228.1.1.5:49410",
"iptv_interface": "eth1",
"iptv_atsc": false,
"enabled": true,
"onid": 1,
"tsid": 15,
"initscan": true,
"charset": "AUTO"
}
service config:
{
"sid": 13842,
"lcn": 0,
"svcname": "Eurosport",
"provider": "Eutelsat",
"dvb_servicetype": 1,
"prefcapid": 6103,
"enabled": true,
"pcr": 2577,
"pmt": 288,
"stream": [
{
"pid": 2577,
"type": "MPEG2VIDEO",
"position": 0,
"width": 720,
"height": 576,
"duration": 3600
},
{
"pid": 2585,
"type": "MPEG2AUDIO",
"position": 0,
"audio_type": 0
},
{
"pid": 5055,
"type": "CA",
"position": 262144,
"caidlist": [
{
"caid": 21766
}
]
},
{
"pid": 6103,
"type": "CA",
"position": 262144,
"caidlist": [
{
"caid": 2816
}
]
}
]
}
i got like 200 channels from that interface, none of them are working
here a working config:
{
"iptv_url": "udp://239.1.1.5:5555",
"iptv_interface": "eth2",
"iptv_atsc": false,
"enabled": true,
"onid": 1,
"tsid": 21,
"initscan": true,
"charset": "AUTO"
service config:
{
"sid": 21,
"lcn": 0,
"svcname": "HBO HD",
"provider": "provider2",
"dvb_servicetype": 1,
"prefcapid": 0,
"enabled": true,
"pcr": 500,
"pmt": 502,
"stream": [
{
"pid": 500,
"type": "H264",
"position": 0,
"width": 1920,
"height": 1080,
"duration": 3600
},
{
"pid": 501,
"type": "MPEG2AUDIO",
"position": 0,
"language": "eng",
"audio_type": 0
},
{
"pid": 3851,
"type": "CA",
"position": 262144,
"caidlist": [
{
"caid": 19182
}
]
}
]
}
</pre>