Open semeion opened 7 years ago
I wonder if this reproducible with python 3.4 and/or with other video file?
$ dlnap.py --device tv --play https://qgy18.com/jsvideo/MPEG1/fox.mpg --proxy --log debug
INFO:DlnapDevice:=> New DlnapDevice (ip = 10.0.200.86) initialization..
INFO:DlnapDevice:location: http://10.0.200.86:7676/smp_11_
INFO:DlnapDevice:port: 7676
DEBUG:DlnapDevice:description xml: {'root': [{'specVersion': [{'major': ['1'], 'minor': ['0']}], 'device': [{'deviceType': ['urn:schemas-upnp-org:device:MediaRenderer:1'], 'pnpx:X_compatibleId': ['MS_DigitalMediaDeviceClass_DMR_V001'], 'df:X_deviceCategory': ['Display.TV.LCD Multimedia.DMR'], 'dlna:X_DLNADOC': ['DMR-1.50'], 'friendlyName': ['[TV]Samsung LED32'], 'manufacturer': ['Samsung Electronics'], 'manufacturerURL': ['http://www.samsung.com/sec'], 'modelDescription': ['Samsung TV DMR'], 'modelName': ['UN32J4303'], 'modelNumber': ['AllShare1.0'], 'modelURL': ['http://www.samsung.com/sec'], 'serialNumber': ['20110517DMR'], 'UDN': ['uuid:1017df81-000e-1000-aa9a-b8bbaff0dbce'], 'sec:deviceID': ['CPCHDC2MYPGGE'], 'iconList': [{'icon': [{'mimetype': ['image/jpeg'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.jpg']}, {'mimetype': ['image/jpeg'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.jpg']}, {'mimetype': ['image/png'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.png']}, {'mimetype': ['image/png'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.png']}]}], 'serviceList': [{'service': [{'serviceType': ['urn:schemas-upnp-org:service:RenderingControl:1'], 'serviceId': ['urn:upnp-org:serviceId:RenderingControl'], 'controlURL': ['/smp_13_'], 'eventSubURL': ['/smp_14_'], 'SCPDURL': ['/smp_12_']}, {'serviceType': ['urn:schemas-upnp-org:service:ConnectionManager:1'], 'serviceId': ['urn:upnp-org:serviceId:ConnectionManager'], 'controlURL': ['/smp_16_'], 'eventSubURL': ['/smp_17_'], 'SCPDURL': ['/smp_15_']}, {'serviceType': ['urn:schemas-upnp-org:service:AVTransport:1'], 'serviceId': ['urn:upnp-org:serviceId:AVTransport'], 'controlURL': ['/smp_19_'], 'eventSubURL': ['/smp_20_'], 'SCPDURL': ['/smp_18_']}]}], 'sec:ProductCap': ['Y2014,WebURIPlayable,SeekTRACK_NR,NavigateInPause,ScreenMirroringP2PMAC=5e:49:7d:b3:1d:2b'], 'pnpx:X_hardwareId': ['VEN_0105&DEV_VD0001']}]}]}
INFO:DlnapDevice:friendlyName: [TV]Samsung LED32
INFO:DlnapDevice:control_url: /smp_19_
INFO:DlnapDevice:rendering_control_url: /smp_13_
INFO:DlnapDevice:=> Initialization completed
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Stop>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 540
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><CurrentURI>http://10.0.200.24:8000/https://qgy18.com/jsvideo/MPEG1/fox.mpg</CurrentURI><CurrentURIMetaData></CurrentURIMetaData>
</u:SetAVTransportURI>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Play>
</s:Body>
</s:Envelope>
----------------------------------------
Exception happened during processing of request from ('10.0.200.86', 36510)
Traceback (most recent call last):
File "/usr/lib/python3.6/socketserver.py", line 317, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 348, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.6/socketserver.py", line 696, in __init__
self.handle()
File "/usr/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
method()
File "/home/mnemonic/bin/dlnap.py", line 295, in do_GET
shutil.copyfileobj(f, self.wfile)
File "/usr/lib/python3.6/shutil.py", line 82, in copyfileobj
fdst.write(buf)
File "/usr/lib/python3.6/socketserver.py", line 775, in write
self._sock.sendall(b)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------
[TV]Samsung LED32 @ 10.0.200.86
$ dlnap.py --device tv --play https://www.youtube.com/watch?v=q0eWOaLxlso --log debug
INFO:DlnapDevice:=> New DlnapDevice (ip = 10.0.200.86) initialization..
INFO:DlnapDevice:location: http://10.0.200.86:7676/smp_11_
INFO:DlnapDevice:port: 7676
DEBUG:DlnapDevice:description xml: {u'root': [{u'device': [{u'manufacturerURL': [u'http://www.samsung.com/sec'], u'serviceList': [{u'service': [{u'controlURL': [u'/smp_13_'], u'serviceType': [u'urn:schemas-upnp-org:service:RenderingControl:1'], u'serviceId': [u'urn:upnp-org:serviceId:RenderingControl'], u'eventSubURL': [u'/smp_14_'], u'SCPDURL': [u'/smp_12_']}, {u'controlURL': [u'/smp_16_'], u'serviceType': [u'urn:schemas-upnp-org:service:ConnectionManager:1'], u'serviceId': [u'urn:upnp-org:serviceId:ConnectionManager'], u'eventSubURL': [u'/smp_17_'], u'SCPDURL': [u'/smp_15_']}, {u'controlURL': [u'/smp_19_'], u'serviceType': [u'urn:schemas-upnp-org:service:AVTransport:1'], u'serviceId': [u'urn:upnp-org:serviceId:AVTransport'], u'eventSubURL': [u'/smp_20_'], u'SCPDURL': [u'/smp_18_']}]}], u'modelName': [u'UN32J4303'], u'iconList': [{u'icon': [{u'mimetype': [u'image/jpeg'], u'width': [u'48'], u'depth': [u'24'], u'url': [u'/dmr/icon_SML.jpg'], u'height': [u'48']}, {u'mimetype': [u'image/jpeg'], u'width': [u'120'], u'depth': [u'24'], u'url': [u'/dmr/icon_LRG.jpg'], u'height': [u'120']}, {u'mimetype': [u'image/png'], u'width': [u'48'], u'depth': [u'24'], u'url': [u'/dmr/icon_SML.png'], u'height': [u'48']}, {u'mimetype': [u'image/png'], u'width': [u'120'], u'depth': [u'24'], u'url': [u'/dmr/icon_LRG.png'], u'height': [u'120']}]}], u'dlna:X_DLNADOC': [u'DMR-1.50'], u'df:X_deviceCategory': [u'Display.TV.LCD Multimedia.DMR'], u'serialNumber': [u'20110517DMR'], u'sec:deviceID': [u'CPCHDC2MYPGGE'], u'pnpx:X_compatibleId': [u'MS_DigitalMediaDeviceClass_DMR_V001'], u'sec:ProductCap': [u'Y2014,WebURIPlayable,SeekTRACK_NR,NavigateInPause,ScreenMirroringP2PMAC=5e:49:7d:b3:1d:2b'], u'modelNumber': [u'AllShare1.0'], u'deviceType': [u'urn:schemas-upnp-org:device:MediaRenderer:1'], u'friendlyName': [u'[TV]Samsung LED32'], u'modelURL': [u'http://www.samsung.com/sec'], u'modelDescription': [u'Samsung TV DMR'], u'UDN': [u'uuid:1017df81-000e-1000-aa9a-b8bbaff0dbce'], u'pnpx:X_hardwareId': [u'VEN_0105&DEV_VD0001'], u'manufacturer': [u'Samsung Electronics']}], u'specVersion': [{u'major': [u'1'], u'minor': [u'0']}]}]}
INFO:DlnapDevice:friendlyName: [TV]Samsung LED32
INFO:DlnapDevice:control_url: /smp_19_
INFO:DlnapDevice:rendering_control_url: /smp_13_
INFO:DlnapDevice:=> Initialization completed
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Stop>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 1738
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><CurrentURIMetaData></CurrentURIMetaData><CurrentURI>http://10.0.200.24:8000/https://r1---sn-vnu5g5uxaxjvh-bpbe.googlevideo.com/videoplayback?id=ab479639a2f196ca&itag=137&source=youtube&requiressl=yes&initcwndbps=392500&mm=31&mn=sn-vnu5g5uxaxjvh-bpbe&mv=m&ei=0kvmWcKyF4GR-gW8yb3oDA&ms=au&pl=19&ratebypass=yes&mime=video/mp4&gir=yes&clen=126989687&lmt=1486383738500759&dur=416.123&mt=1508264808&signature=6B08D938EACE000751998FB4D8ED0F8EEC41DA2F.35A6392920E3335CD352BE919EF9F5112035AA87&key=dg_yt0&ip=179.109.145.17&ipbits=0&expire=1508286514&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,mm,mn,mv,ei,ms,pl,ratebypass,mime,gir,clen,lmt,dur
https://r1---sn-vnu5g5uxaxjvh-bpbe.googlevideo.com/videoplayback?mv=m&mt=1508264808&ms=au&source=youtube&keepalive=yes&mime=audio%2Fmp4&requiressl=yes&clen=20042266&mn=sn-vnu5g5uxaxjvh-bpbe&mm=31&itag=258&signature=5A7F7ABF91F8CE1A259660A0C2393CE3E38F0F06.9B862088C658FB70FD7FF36311025AD26C0F87BE&ipbits=0&gir=yes&pl=19&expire=1508286513&dur=416.213&initcwndbps=392500&id=o-ALaVzkruPUwhH5MoK-1xushEfK09J7Olg2YIv6svFPqR&ei=0UvmWdToFtSk-QWMv7aACw&lmt=1486385023514874&ip=179.109.145.17&key=yt6&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&ratebypass=yes
</CurrentURI>
</u:SetAVTransportURI>
</s:Body>
</s:Envelope>
ERROR:root:Resource not found
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Play>
</s:Body>
</s:Envelope>
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 654, in __init__
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 713, in finish
self.wfile.close()
File "/usr/lib/python2.7/socket.py", line 283, in close
self.flush()
File "/usr/lib/python2.7/socket.py", line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
[TV]Samsung LED32 @ 10.0.200.86
----------------------------------------
Exception happened during processing of request from ('10.0.200.86', 58538)
----------------------------------------
$ dlnap.py --device tv --play http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8 --log debug
INFO:DlnapDevice:=> New DlnapDevice (ip = 10.0.200.86) initialization..
INFO:DlnapDevice:location: http://10.0.200.86:7676/smp_11_
INFO:DlnapDevice:port: 7676
DEBUG:DlnapDevice:description xml: {'root': [{'specVersion': [{'major': ['1'], 'minor': ['0']}], 'device': [{'deviceType': ['urn:schemas-upnp-org:device:MediaRenderer:1'], 'pnpx:X_compatibleId': ['MS_DigitalMediaDeviceClass_DMR_V001'], 'df:X_deviceCategory': ['Display.TV.LCD Multimedia.DMR'], 'dlna:X_DLNADOC': ['DMR-1.50'], 'friendlyName': ['[TV]Samsung LED32'], 'manufacturer': ['Samsung Electronics'], 'manufacturerURL': ['http://www.samsung.com/sec'], 'modelDescription': ['Samsung TV DMR'], 'modelName': ['UN32J4303'], 'modelNumber': ['AllShare1.0'], 'modelURL': ['http://www.samsung.com/sec'], 'serialNumber': ['20110517DMR'], 'UDN': ['uuid:1017df81-000e-1000-aa9a-b8bbaff0dbce'], 'sec:deviceID': ['CPCHDC2MYPGGE'], 'iconList': [{'icon': [{'mimetype': ['image/jpeg'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.jpg']}, {'mimetype': ['image/jpeg'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.jpg']}, {'mimetype': ['image/png'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.png']}, {'mimetype': ['image/png'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.png']}]}], 'serviceList': [{'service': [{'serviceType': ['urn:schemas-upnp-org:service:RenderingControl:1'], 'serviceId': ['urn:upnp-org:serviceId:RenderingControl'], 'controlURL': ['/smp_13_'], 'eventSubURL': ['/smp_14_'], 'SCPDURL': ['/smp_12_']}, {'serviceType': ['urn:schemas-upnp-org:service:ConnectionManager:1'], 'serviceId': ['urn:upnp-org:serviceId:ConnectionManager'], 'controlURL': ['/smp_16_'], 'eventSubURL': ['/smp_17_'], 'SCPDURL': ['/smp_15_']}, {'serviceType': ['urn:schemas-upnp-org:service:AVTransport:1'], 'serviceId': ['urn:upnp-org:serviceId:AVTransport'], 'controlURL': ['/smp_19_'], 'eventSubURL': ['/smp_20_'], 'SCPDURL': ['/smp_18_']}]}], 'sec:ProductCap': ['Y2014,WebURIPlayable,SeekTRACK_NR,NavigateInPause,ScreenMirroringP2PMAC=5e:49:7d:b3:1d:2b'], 'pnpx:X_hardwareId': ['VEN_0105&DEV_VD0001']}]}]}
INFO:DlnapDevice:friendlyName: [TV]Samsung LED32
INFO:DlnapDevice:control_url: /smp_19_
INFO:DlnapDevice:rendering_control_url: /smp_13_
INFO:DlnapDevice:=> Initialization completed
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Stop>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 530
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><CurrentURI>http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8</CurrentURI><CurrentURIMetaData></CurrentURIMetaData>
</u:SetAVTransportURI>
</s:Body>
</s:Envelope>
ERROR:root:Resource not found
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Play>
</s:Body>
</s:Envelope>
[TV]Samsung LED32 @ 10.0.200.86
^^^ (here script imediately exited without errors, but no play)
$ dlnap.py --device tv --play ~/Videos/Fraudes_e_Lavagem_de_dinheiro_nas_Loterias_Federais.flv --proxy --log debug
INFO:DlnapDevice:=> New DlnapDevice (ip = 10.0.200.86) initialization..
INFO:DlnapDevice:location: http://10.0.200.86:7676/smp_11_
INFO:DlnapDevice:port: 7676
DEBUG:DlnapDevice:description xml: {'root': [{'specVersion': [{'major': ['1'], 'minor': ['0']}], 'device': [{'deviceType': ['urn:schemas-upnp-org:device:MediaRenderer:1'], 'pnpx:X_compatibleId': ['MS_DigitalMediaDeviceClass_DMR_V001'], 'df:X_deviceCategory': ['Display.TV.LCD Multimedia.DMR'], 'dlna:X_DLNADOC': ['DMR-1.50'], 'friendlyName': ['[TV]Samsung LED32'], 'manufacturer': ['Samsung Electronics'], 'manufacturerURL': ['http://www.samsung.com/sec'], 'modelDescription': ['Samsung TV DMR'], 'modelName': ['UN32J4303'], 'modelNumber': ['AllShare1.0'], 'modelURL': ['http://www.samsung.com/sec'], 'serialNumber': ['20110517DMR'], 'UDN': ['uuid:1017df81-000e-1000-aa9a-b8bbaff0dbce'], 'sec:deviceID': ['CPCHDC2MYPGGE'], 'iconList': [{'icon': [{'mimetype': ['image/jpeg'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.jpg']}, {'mimetype': ['image/jpeg'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.jpg']}, {'mimetype': ['image/png'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.png']}, {'mimetype': ['image/png'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.png']}]}], 'serviceList': [{'service': [{'serviceType': ['urn:schemas-upnp-org:service:RenderingControl:1'], 'serviceId': ['urn:upnp-org:serviceId:RenderingControl'], 'controlURL': ['/smp_13_'], 'eventSubURL': ['/smp_14_'], 'SCPDURL': ['/smp_12_']}, {'serviceType': ['urn:schemas-upnp-org:service:ConnectionManager:1'], 'serviceId': ['urn:upnp-org:serviceId:ConnectionManager'], 'controlURL': ['/smp_16_'], 'eventSubURL': ['/smp_17_'], 'SCPDURL': ['/smp_15_']}, {'serviceType': ['urn:schemas-upnp-org:service:AVTransport:1'], 'serviceId': ['urn:upnp-org:serviceId:AVTransport'], 'controlURL': ['/smp_19_'], 'eventSubURL': ['/smp_20_'], 'SCPDURL': ['/smp_18_']}]}], 'sec:ProductCap': ['Y2014,WebURIPlayable,SeekTRACK_NR,NavigateInPause,ScreenMirroringP2PMAC=5e:49:7d:b3:1d:2b'], 'pnpx:X_hardwareId': ['VEN_0105&DEV_VD0001']}]}]}
INFO:DlnapDevice:friendlyName: [TV]Samsung LED32
INFO:DlnapDevice:control_url: /smp_19_
INFO:DlnapDevice:rendering_control_url: /smp_13_
INFO:DlnapDevice:=> Initialization completed
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Stop>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 578
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><CurrentURI>http://10.0.200.24:8000//home/mnemonic/Videos/Fraudes_e_Lavagem_de_dinheiro_nas_Loterias_Federais.flv</CurrentURI><CurrentURIMetaData></CurrentURIMetaData>
</u:SetAVTransportURI>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Play>
</s:Body>
</s:Envelope>
----------------------------------------
Exception happened during processing of request from ('10.0.200.86', 48228)
Traceback (most recent call last):
File "/usr/lib/python3.6/socketserver.py", line 317, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 348, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.6/socketserver.py", line 696, in __init__
self.handle()
File "/usr/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
method()
File "/home/mnemonic/bin/dlnap.py", line 295, in do_GET
shutil.copyfileobj(f, self.wfile)
File "/usr/lib/python3.6/shutil.py", line 79, in copyfileobj
buf = fsrc.read(length)
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 54: invalid start byte
----------------------------------------
[TV]Samsung LED32 @ 10.0.200.86
$ dlnap.py --device tv --play ~/Videos/Logitech_Mouse_Trackman_M570__Repair_Left_Click_Problem.mkv --proxy --log debug
INFO:DlnapDevice:=> New DlnapDevice (ip = 10.0.200.86) initialization..
INFO:DlnapDevice:location: http://10.0.200.86:7676/smp_11_
INFO:DlnapDevice:port: 7676
DEBUG:DlnapDevice:description xml: {'root': [{'specVersion': [{'major': ['1'], 'minor': ['0']}], 'device': [{'deviceType': ['urn:schemas-upnp-org:device:MediaRenderer:1'], 'pnpx:X_compatibleId': ['MS_DigitalMediaDeviceClass_DMR_V001'], 'df:X_deviceCategory': ['Display.TV.LCD Multimedia.DMR'], 'dlna:X_DLNADOC': ['DMR-1.50'], 'friendlyName': ['[TV]Samsung LED32'], 'manufacturer': ['Samsung Electronics'], 'manufacturerURL': ['http://www.samsung.com/sec'], 'modelDescription': ['Samsung TV DMR'], 'modelName': ['UN32J4303'], 'modelNumber': ['AllShare1.0'], 'modelURL': ['http://www.samsung.com/sec'], 'serialNumber': ['20110517DMR'], 'UDN': ['uuid:1017df81-000e-1000-aa9a-b8bbaff0dbce'], 'sec:deviceID': ['CPCHDC2MYPGGE'], 'iconList': [{'icon': [{'mimetype': ['image/jpeg'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.jpg']}, {'mimetype': ['image/jpeg'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.jpg']}, {'mimetype': ['image/png'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.png']}, {'mimetype': ['image/png'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.png']}]}], 'serviceList': [{'service': [{'serviceType': ['urn:schemas-upnp-org:service:RenderingControl:1'], 'serviceId': ['urn:upnp-org:serviceId:RenderingControl'], 'controlURL': ['/smp_13_'], 'eventSubURL': ['/smp_14_'], 'SCPDURL': ['/smp_12_']}, {'serviceType': ['urn:schemas-upnp-org:service:ConnectionManager:1'], 'serviceId': ['urn:upnp-org:serviceId:ConnectionManager'], 'controlURL': ['/smp_16_'], 'eventSubURL': ['/smp_17_'], 'SCPDURL': ['/smp_15_']}, {'serviceType': ['urn:schemas-upnp-org:service:AVTransport:1'], 'serviceId': ['urn:upnp-org:serviceId:AVTransport'], 'controlURL': ['/smp_19_'], 'eventSubURL': ['/smp_20_'], 'SCPDURL': ['/smp_18_']}]}], 'sec:ProductCap': ['Y2014,WebURIPlayable,SeekTRACK_NR,NavigateInPause,ScreenMirroringP2PMAC=5e:49:7d:b3:1d:2b'], 'pnpx:X_hardwareId': ['VEN_0105&DEV_VD0001']}]}]}
INFO:DlnapDevice:friendlyName: [TV]Samsung LED32
INFO:DlnapDevice:control_url: /smp_19_
INFO:DlnapDevice:rendering_control_url: /smp_13_
INFO:DlnapDevice:=> Initialization completed
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Stop>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 582
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><CurrentURI>http://10.0.200.24:8000//home/mnemonic/Videos/Logitech_Mouse_Trackman_M570__Repair_Left_Click_Problem.mkv</CurrentURI><CurrentURIMetaData></CurrentURIMetaData>
</u:SetAVTransportURI>
</s:Body>
</s:Envelope>
ERROR:root:Illegal MIME-type
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Play>
</s:Body>
</s:Envelope>
----------------------------------------
Exception happened during processing of request from ('10.0.200.86', 48234)
Traceback (most recent call last):
File "/usr/lib/python3.6/socketserver.py", line 317, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 348, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.6/socketserver.py", line 696, in __init__
self.handle()
File "/usr/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
method()
File "/home/mnemonic/bin/dlnap.py", line 295, in do_GET
shutil.copyfileobj(f, self.wfile)
File "/usr/lib/python3.6/shutil.py", line 79, in copyfileobj
buf = fsrc.read(length)
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 54: invalid start byte
----------------------------------------
[TV]Samsung LED32 @ 10.0.200.86
$ dlnap.py --device tv --play Galantis\ -\ Runaway\ \(U\ \&\ I\)\ \(Kaskade\ Remix\).mp3 --proxy --log debug
INFO:DlnapDevice:=> New DlnapDevice (ip = 10.0.200.86) initialization..
INFO:DlnapDevice:location: http://10.0.200.86:7676/smp_11_
INFO:DlnapDevice:port: 7676
DEBUG:DlnapDevice:description xml: {'root': [{'specVersion': [{'major': ['1'], 'minor': ['0']}], 'device': [{'deviceType': ['urn:schemas-upnp-org:device:MediaRenderer:1'], 'pnpx:X_compatibleId': ['MS_DigitalMediaDeviceClass_DMR_V001'], 'df:X_deviceCategory': ['Display.TV.LCD Multimedia.DMR'], 'dlna:X_DLNADOC': ['DMR-1.50'], 'friendlyName': ['[TV]Samsung LED32'], 'manufacturer': ['Samsung Electronics'], 'manufacturerURL': ['http://www.samsung.com/sec'], 'modelDescription': ['Samsung TV DMR'], 'modelName': ['UN32J4303'], 'modelNumber': ['AllShare1.0'], 'modelURL': ['http://www.samsung.com/sec'], 'serialNumber': ['20110517DMR'], 'UDN': ['uuid:1017df81-000e-1000-aa9a-b8bbaff0dbce'], 'sec:deviceID': ['CPCHDC2MYPGGE'], 'iconList': [{'icon': [{'mimetype': ['image/jpeg'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.jpg']}, {'mimetype': ['image/jpeg'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.jpg']}, {'mimetype': ['image/png'], 'width': ['48'], 'height': ['48'], 'depth': ['24'], 'url': ['/dmr/icon_SML.png']}, {'mimetype': ['image/png'], 'width': ['120'], 'height': ['120'], 'depth': ['24'], 'url': ['/dmr/icon_LRG.png']}]}], 'serviceList': [{'service': [{'serviceType': ['urn:schemas-upnp-org:service:RenderingControl:1'], 'serviceId': ['urn:upnp-org:serviceId:RenderingControl'], 'controlURL': ['/smp_13_'], 'eventSubURL': ['/smp_14_'], 'SCPDURL': ['/smp_12_']}, {'serviceType': ['urn:schemas-upnp-org:service:ConnectionManager:1'], 'serviceId': ['urn:upnp-org:serviceId:ConnectionManager'], 'controlURL': ['/smp_16_'], 'eventSubURL': ['/smp_17_'], 'SCPDURL': ['/smp_15_']}, {'serviceType': ['urn:schemas-upnp-org:service:AVTransport:1'], 'serviceId': ['urn:upnp-org:serviceId:AVTransport'], 'controlURL': ['/smp_19_'], 'eventSubURL': ['/smp_20_'], 'SCPDURL': ['/smp_18_']}]}], 'sec:ProductCap': ['Y2014,WebURIPlayable,SeekTRACK_NR,NavigateInPause,ScreenMirroringP2PMAC=5e:49:7d:b3:1d:2b'], 'pnpx:X_hardwareId': ['VEN_0105&DEV_VD0001']}]}]}
INFO:DlnapDevice:friendlyName: [TV]Samsung LED32
INFO:DlnapDevice:control_url: /smp_19_
INFO:DlnapDevice:rendering_control_url: /smp_13_
INFO:DlnapDevice:=> Initialization completed
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Stop>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 547
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><CurrentURI>http://10.0.200.24:8000/Galantis - Runaway (U & I) (Kaskade Remix).mp3</CurrentURI><CurrentURIMetaData></CurrentURIMetaData>
</u:SetAVTransportURI>
</s:Body>
</s:Envelope>
ERROR:root:Resource not found
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Play>
</s:Body>
</s:Envelope>
----------------------------------------
Exception happened during processing of request from ('10.0.200.86', 48282)
Traceback (most recent call last):
File "/usr/lib/python3.6/socketserver.py", line 317, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 348, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.6/socketserver.py", line 696, in __init__
self.handle()
File "/usr/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
method()
File "/home/mnemonic/bin/dlnap.py", line 295, in do_GET
shutil.copyfileobj(f, self.wfile)
File "/usr/lib/python3.6/shutil.py", line 79, in copyfileobj
buf = fsrc.read(length)
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 54: invalid start byte
----------------------------------------
[TV]Samsung LED32 @ 10.0.200.86
Thanks for answering!
Well, I do not have python 3.4, but the error occurs with all file types.
The error occurs in the last step of the process after the "<u: Play xmlns: u =" urn: schemas-upnp-org: service: AVTransport: 1 "
After the #Play, Smart TV is activated, "Loading ..." appears and after a few seconds the connection fails, it has to check the network.
Sometimes the error happens very fast (without the TV get activated). and sometimes a blue dialog box appears on the TV screen saying that the type is not supported.
Can it be a problem with 'timeouts'?
I tested 'minidlnad' and others DLNA servers and they worked fine. I have no idea what is happening...
Maybe it can help in something:
Model: Smart TV LED 32" Samsung 32J4300 HD
https://i.imgur.com/3hNoYDm.png
http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM_ICO,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG_ICO,http-get:*:image/png:DLNA.ORG_PN=PNG_TN,http-get:*:image/png:DLNA.ORG_PN=PNG_SM_ICO,http-get:*:image/png:DLNA.ORG_PN=PNG_LRG_ICO,http-get:*:image/png:DLNA.ORG_PN=PNG_LRG,http-get:*:audio/vnd.dolby.dd-raw:DLNA.ORG_PN=AC3;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AMR_3GPP;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AMR_WBplus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_MULT5_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L3_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L3_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG1;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_NA_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_XAC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_XAC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_XAC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_XAC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_XAC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_XAC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_XAC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_XAC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_MP_LL_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_MP_LL_AAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_MP_LL_AAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_ES_PAL;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_ES_NTSC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_ES_PAL_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_ES_NTSC_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_ATRAC3plus;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L2_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L2_AMR;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_SP_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_SP_AAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_SP_AAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_SP_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_SP_MPEG1_L3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_SP_MPEG1_L3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_SP_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_SP_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_SP_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_SP_MPEG2_L2;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_SP_MPEG2_L2_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_SP_MPEG2_L2_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=MPEG4_P2_ASF_SP_G726;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_VGA_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_VGA_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_HEAAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_ATRAC3plus;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_ASP_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_ASP_AAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_ASP_AAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_ASP_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_ASP_MPEG1_L3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_ASP_MPEG1_L3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_ASP_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_ASP_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_ASP_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_L5_SO_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_L5_SO_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_L5_SO_HEAAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=MPEG4_P2_ASF_ASP_L5_SO_G726;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_L4_SO_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_L4_SO_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_L4_SO_HEAAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-asf:DLNA.ORG_PN=MPEG4_P2_ASF_ASP_L4_SO_G726;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_H263_MP4_P0_L10_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_H263_3GPP_P0_L10_AMR_WBplus;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_CO_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_CO_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_CO_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_CO_MPEG2_L2;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG4_P2_TS_CO_MPEG2_L2_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG4_P2_TS_CO_MPEG2_L2_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_P2_3GPP_SP_L0B_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_P2_3GPP_SP_L0B_AMR;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_H263_3GPP_P3_L10_AMR;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_HEAAC_L2;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_HEAAC_L2_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_HEAAC_L2_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT7;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT7_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_BSAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_BSAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_BSAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_HEAAC_L2;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_LTP_MULT7;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_ATRAC3plus;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3L_SD_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3L_SD_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3_SD_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_BSAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_HEAAC_L2;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_HEAAC_L2_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_HEAAC_L2_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_MPEG1_L3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_MPEG1_L3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_940;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_940_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_940_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_HEAAC_L2;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L2_CIF30_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_BSAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_BSAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_940;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AMR;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_HEAAC_L2;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_HEAAC_L2_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_HEAAC_L2_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT7;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT7_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_540;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_540_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_540_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_LTP_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_LTP_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_BSAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_BSAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF15_BSAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_LTP_520;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_BSAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L12_CIF15_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L1B_QCIF15_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_CIF30_AMR_WBplus;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_CIF15_AMR_WBplus;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_QCIF15_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_QCIF15_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_QCIF15_HEAAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_QCIF15_AMR_WBplus;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_QCIF15_AMR;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHM_BASE;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPLL_BASE;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_BASE;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_MP3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_NA_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_NA_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:text/xml:SEC.COM_DIDLSIMAGE=1;SEC.COM_DIDLSAUDIO=1;SEC.COM_DIDLSVIDEO=1,http-get:*:image/jpeg:*,http-get:*:image/png:*,http-get:*:image/bmp:*,http-get:*:image/mpo:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/mp4:*,http-get:*:audio/x-m4a:*,http-get:*:audio/3ga:*,http-get:*:audio/ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-flac:*,http-get:*:smi/caption:*,http-get:*:video/x-msvideo:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-divx:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-mkv:*,http-get:*:video/mp4:*,http-get:*:video/x-avi:*,http-get:*:video/avi:*,http-get:*:video/x-flv:*,http-get:*:video/mpeg:*,http-get:*:video/3gpp:*,http-get:*:video/webm:*
I tested with python 2.7 minutes ago and exact same errors happens...
Finally I was able to figure out the problem, unfortunately the problem is the internal python proxy server that does not seem to work properly. The --proxy option does not work as it should.
I installed apache and set up a URL pointing to it and it worked correctly.
USING APACHE LIKE PROXY WORKED:
$ dlnap.py --device tv --play http://10.0.200.24/~mnemonic/aviao.mp4 --log debug
INFO:DlnapDevice:=> New DlnapDevice (ip = 10.0.200.86) initialization..
INFO:DlnapDevice:location: http://10.0.200.86:7676/smp_11_
INFO:DlnapDevice:port: 7676
DEBUG:DlnapDevice:description xml: {u'root': [{u'device': [{u'manufacturerURL': [u'http://www.samsung.com/sec'], u'serviceList': [{u'service': [{u'controlURL': [u'/smp_13_'], u'serviceType': [u'urn:schemas-upnp-org:service:RenderingControl:1'], u'serviceId': [u'urn:upnp-org:serviceId:RenderingControl'], u'eventSubURL': [u'/smp_14_'], u'SCPDURL': [u'/smp_12_']}, {u'controlURL': [u'/smp_16_'], u'serviceType': [u'urn:schemas-upnp-org:service:ConnectionManager:1'], u'serviceId': [u'urn:upnp-org:serviceId:ConnectionManager'], u'eventSubURL': [u'/smp_17_'], u'SCPDURL': [u'/smp_15_']}, {u'controlURL': [u'/smp_19_'], u'serviceType': [u'urn:schemas-upnp-org:service:AVTransport:1'], u'serviceId': [u'urn:upnp-org:serviceId:AVTransport'], u'eventSubURL': [u'/smp_20_'], u'SCPDURL': [u'/smp_18_']}]}], u'modelName': [u'UN32J4303'], u'iconList': [{u'icon': [{u'mimetype': [u'image/jpeg'], u'width': [u'48'], u'depth': [u'24'], u'url': [u'/dmr/icon_SML.jpg'], u'height': [u'48']}, {u'mimetype': [u'image/jpeg'], u'width': [u'120'], u'depth': [u'24'], u'url': [u'/dmr/icon_LRG.jpg'], u'height': [u'120']}, {u'mimetype': [u'image/png'], u'width': [u'48'], u'depth': [u'24'], u'url': [u'/dmr/icon_SML.png'], u'height': [u'48']}, {u'mimetype': [u'image/png'], u'width': [u'120'], u'depth': [u'24'], u'url': [u'/dmr/icon_LRG.png'], u'height': [u'120']}]}], u'dlna:X_DLNADOC': [u'DMR-1.50'], u'df:X_deviceCategory': [u'Display.TV.LCD Multimedia.DMR'], u'serialNumber': [u'20110517DMR'], u'sec:deviceID': [u'CPCHDC2MYPGGE'], u'pnpx:X_compatibleId': [u'MS_DigitalMediaDeviceClass_DMR_V001'], u'sec:ProductCap': [u'Y2014,WebURIPlayable,SeekTRACK_NR,NavigateInPause,ScreenMirroringP2PMAC=5e:49:7d:b3:1d:2b'], u'modelNumber': [u'AllShare1.0'], u'deviceType': [u'urn:schemas-upnp-org:device:MediaRenderer:1'], u'friendlyName': [u'[TV]Samsung LED32'], u'modelURL': [u'http://www.samsung.com/sec'], u'modelDescription': [u'Samsung TV DMR'], u'UDN': [u'uuid:1017df81-000e-1000-aa9a-b8bbaff0dbce'], u'pnpx:X_hardwareId': [u'VEN_0105&DEV_VD0001'], u'manufacturer': [u'Samsung Electronics']}], u'specVersion': [{u'major': [u'1'], u'minor': [u'0']}]}]}
INFO:DlnapDevice:friendlyName: [TV]Samsung LED32
INFO:DlnapDevice:control_url: /smp_19_
INFO:DlnapDevice:rendering_control_url: /smp_13_
INFO:DlnapDevice:=> Initialization completed
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Stop>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 515
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><CurrentURIMetaData></CurrentURIMetaData><CurrentURI>http://10.0.200.24/~mnemonic/aviao.mp4</CurrentURI>
</u:SetAVTransportURI>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /smp_19_ HTTP/1.1
User-Agent: /home/mnemonic/bin/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 10.0.200.86:7676
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Play>
</s:Body>
</s:Envelope>
[TV]Samsung LED32 @ 10.0.200.86
I also maybe noticed a bug in the script, when using a local URL the address sometimes goes wrong with // between the URLs
For example, using the command:
$ dlnap.py --device tv --play ~/Videos/Logitech_Mouse_Trackman_M570__Repair_Left_Click_Problem.mkv --proxy --log debug
It will cause a CurrentURI:
<InstanceID>0</ InstanceID><CurrentURI>http://10.0.200.24:8000//home/mnemonic/Videos/Logitech_Mouse_Trackman_M570__Repair_Left_Click_Problem.mkv</CurrentURI><CurrentURIMetaData></ CurrentURIMetaData></u: SetAVTransportURI>
Note that the address is // inserted, i don´t know if it is a bug in the script.
About the python internal proxy error, i googled the error and found somethings, maybe it help you to fix the bug:
https://stackoverflow.com/questions/5525915/python-socketserver-error-upon-connection https://stackoverflow.com/questions/12019189/python-socket-server-error https://stackoverflow.com/questions/28779942/python-http-server-giving-error-when-connected-to https://github.com/Steveice10/FBI/issues/318
I am not a python developer, but i think the proxy implementation in the script have a bug.
I hope you can fix it because this script is very nice.
Thank you in advance.
IT IS WORKING!
I have no idea what happened, but after using apache and successfully playing videos stored locally on my PC, it seems that the --proxy option worked correctly even after apache was disabled.
So it looks like there is no bug ??? I believe that some parameter was initialized on Smart TV or something sinister happened that prevented the program from working in the examples cited above.
I think I was putting the URL in the wrong way ... I'll keep watching ...
i got that commands working:
dlnap.py --device tv --play ~/Videos/aviao.mp4 --proxy
dlnap.py --device tv --play /home/mnemonic/Videos/aviao.mp4 --proxy
dlnap.py --device tv --play http://10.0.200.24:8000/aviao.mp4 --proxy
dlnap.py --device tv --play ~/Videos/Fraudes_e_Lavagem_de_dinheiro_nas_Loterias_Federais.flv --proxy
Almost the same error. Python 2.7 and Python 3.5:
/home/balancer/src/dlnap/dlnap/dlnap.py --device tv --log debug --play /tmp/111/1.avi
INFO:DlnapDevice:=> New DlnapDevice (ip = 192.168.1.202) initialization..
INFO:DlnapDevice:location: http://192.168.1.202:52235/dmr/SamsungMRDesc.xml
INFO:DlnapDevice:port: 52235
DEBUG:DlnapDevice:description xml: {u'root': [{u'device': [{u'manufacturerURL': [u'http://www.samsung.com/sec'], u'serviceList': [{u'service': [{u'controlURL': [u'/upnp/control/RenderingControl1'], u'serviceType': [u'urn:schemas-upnp-org:service:RenderingControl:1'], u'serviceId': [u'urn:upnp-org:serviceId:RenderingControl'], u'eventSubURL': [u'/upnp/event/RenderingControl1'], u'SCPDURL': [u'RenderingControl1.xml']}, {u'controlURL': [u'/upnp/control/ConnectionManager1'], u'serviceType': [u'urn:schemas-upnp-org:service:ConnectionManager:1'], u'serviceId': [u'urn:upnp-org:serviceId:ConnectionManager'], u'eventSubURL': [u'/upnp/event/ConnectionManager1'], u'SCPDURL': [u'ConnectionManager1.xml']}, {u'controlURL': [u'/upnp/control/AVTransport1'], u'serviceType': [u'urn:schemas-upnp-org:service:AVTransport:1'], u'serviceId': [u'urn:upnp-org:serviceId:AVTransport'], u'eventSubURL': [u'/upnp/event/AVTransport1'], u'SCPDURL': [u'AVTransport1.xml']}]}], u'modelName': [u'UE32D6100'], u'iconList': [{u'icon': [{u'mimetype': [u'image/jpeg'], u'width': [u'48'], u'depth': [u'24'], u'url': [u'/dmr/icon_SML.jpg'], u'height': [u'48']}, {u'mimetype': [u'image/jpeg'], u'width': [u'120'], u'depth': [u'24'], u'url': [u'/dmr/icon_LRG.jpg'], u'height': [u'120']}, {u'mimetype': [u'image/png'], u'width': [u'48'], u'depth': [u'24'], u'url': [u'/dmr/icon_SML.png'], u'height': [u'48']}, {u'mimetype': [u'image/png'], u'width': [u'120'], u'depth': [u'24'], u'url': [u'/dmr/icon_LRG.png'], u'height': [u'120']}]}], u'dlna:X_DLNADOC': [u'DMR-1.50'], u'df:X_deviceCategory': [u'Display.TV.LCD Multimedia.DMR'], u'serialNumber': [u'20081224DMR'], u'sec:deviceID': [u'7XCFP7UYENKTG'], u'pnpx:X_compatibleId': [u'MS_DigitalMediaDeviceClass_DMR_V001'], u'modelNumber': [u'AllShare1.0'], u'deviceType': [u'urn:schemas-upnp-org:device:MediaRenderer:1'], u'friendlyName': [u'[TV]UE32D6100'], u'modelURL': [u'http://www.samsung.com/sec'], u'modelDescription': [u'Samsung TV DMR'], u'UDN': [u'uuid:1f1d093e-f59f-1269-b946-a7c624c9d87b'], u'manufacturer': [u'Samsung Electronics']}], u'specVersion': [{u'major': [u'1'], u'minor': [u'0']}]}]}
INFO:DlnapDevice:friendlyName: [TV]UE32D6100
INFO:DlnapDevice:control_url: /upnp/control/AVTransport1
INFO:DlnapDevice:rendering_control_url: /upnp/control/RenderingControl1
INFO:DlnapDevice:=> Initialization completed
[TV]UE32D6100 @ 192.168.1.202
DEBUG:DlnapDevice:POST /upnp/control/AVTransport1 HTTP/1.1
User-Agent: /home/balancer/src/dlnap/dlnap/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 192.168.1.202:52235
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Stop"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Stop xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Stop>
</s:Body>
</s:Envelope>
DEBUG:DlnapDevice:POST /upnp/control/AVTransport1 HTTP/1.1
User-Agent: /home/balancer/src/dlnap/dlnap/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 192.168.1.202:52235
Content-Length: 491
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><CurrentURIMetaData></CurrentURIMetaData><CurrentURI>/tmp/111/1.avi</CurrentURI>
</u:SetAVTransportURI>
</s:Body>
</s:Envelope>
ERROR:root:Resource not found
DEBUG:DlnapDevice:POST /upnp/control/AVTransport1 HTTP/1.1
User-Agent: /home/balancer/src/dlnap/dlnap/dlnap.py/0.15
Accept: */*
Content-Type: text/xml; charset="utf-8"
HOST: 192.168.1.202:52235
Content-Length: 401
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0</InstanceID><Speed>1</Speed>
</u:Play>
</s:Body>
</s:Envelope>
ERROR:root:No contents