cannot retrieve any Videos/Music from Synology NAS using Upnp - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: cannot retrieve any Videos/Music from Synology NAS using Upnp (/showthread.php?tid=307942) |
cannot retrieve any Videos/Music from Synology NAS using Upnp - kwtux - 2017-02-23 Hi, I am facing the following issue for all devices running kodi (Android Smartphone, FireTV box, Windows, Linux Client) - using kodi 17.0 - I added a video repo using the Upnp service - all Video Files get listed without any issues - access to Videos seems to fail due to a connection timeout - using the same URL request by kodi in order to access a view with a browser like FirefoFox streams the requested video - Taking a LAN trace the difference between the browser and kodi seems to be based on the HTTP Range header allowing to send data as partial content (HTTP 206) Failing stream with kodi ============================= GET /vs/NDLNA/XXX.mpg HTTP/1.1 Host: 192.168.100.5:50002 Range: bytes=0- User-Agent: Kodi/17.0 (Windows NT 6.1; WOW64) App_Bitness/32 Version/17.0-Git:20170201-a10c504 Accept: */* Accept-Charset: UTF-8,*;q=0.8 HTTP/1.1 206 Partial Content transferMode.dlna.org: Streaming Content-Type: video/mpeg Accept-Ranges: bytes Last-Modified: Sat, 20 May 2006 17:20:19 GMT Content-Range: bytes 0-3140781433/3140781434 Content-Length: 3140781434 Date: Thu, 23 Feb 2017 16:16:23 GMT Server: lighttpd/1.4.43 ============================= Working stream requesting the same resource using a browser ============================= GET /vs/NDLNA/XXX.mpg HTTP/1.1 Host: 192.168.100.5:50002 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.9,ja;q=0.7,zh-TW;q=0.6,de;q=0.4,zh-CN;q=0.3,fr;q=0.1 Accept-Encoding: gzip, deflate Cookie: stay_login=0; id=Po9TcsglKrH3QC6KQN01315 Connection: keep-alive Upgrade-Insecure-Requests: 1 HTTP/1.1 200 OK transferMode.dlna.org: Streaming Content-Type: video/mpeg Accept-Ranges: bytes Last-Modified: Mon, 08 Aug 2016 15:00:53 GMT Content-Length: 51292007 Date: Thu, 23 Feb 2017 16:16:23 GMT Server: lighttpd/1.4.43 ============================= In order to double check this I configured kodi to make use of a forward proxy (squid) whch strips off the Range header In this scenario streams are working as well without any problems. Somehow it looks like kodi has a problem to stream data returned by a service making use of Partial Content. Any help to identify if I am going something wrong or this should go into a bug report would be more than great Cheers kwtux |