mkweb / pupnp

PHP UPnP MediaGUI
15 stars 5 forks source link

LG Smart TV #8

Open sparc opened 10 years ago

sparc commented 10 years ago

Hi !

First thanx for this code, it works well at recognizing a xupnpd server, but altough it detects my LG Smart TV, it fails to use it as a destination device.

debugging shows this info:

LG Smart+ TV urn:lge-com:service:webos-second-screen:1

clicking on urn:lge-com:service:webos-second-screen:1 gives:

Warning: Invalid argument supplied for foreach() in /usr/local/http-docs/webs/www.ols.es/html/pupnp/templates/devicetest.php on line 30

BTW in resources.php line 51, i had to change "/tmp" by ini_get('upload_tmp_dir') for it to work