nginx-dlna-module
nginx-dlna-module copied to clipboard
DLNA
Fixes following errors when building on MacOS + clang 7 ``` nginx-dlna-module/ngx_ssdp_dlna.c:273:60: error: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Werror,-Wincompatible-pointer-types] n =...
/usr/src/nginx-dlna-module/ngx_http_dlna.c:537:32: error: variable ‘type’ set but not used [-Werror=unused-but-set-variable] u_char type, *filename, *last, *leaf; ^~~~ /usr/src/nginx-dlna-module/ngx_http_dlna.c: In function ‘ngx_http_dlna_postconfiguration’: /usr/src/nginx-dlna-module/ngx_http_dlna.c:1240:42: error: ‘ngx_http_listen_opt_t {aka struct }’ has no member named ‘u’...
envirment 👍centos7 ,plan to complie nginx 1.15 wget http://nginx.org/download/nginx-1.15.7.tar.gz /usr/local/src/nginx-dlna-module/ngx_http_dlna.c: In function ‘ngx_http_dlna_browse’: /usr/local/src/nginx-dlna-module/ngx_http_dlna.c:537:32: error: variable ‘type’ set but not used [-Werror=unused-but-set-variable] u_char type, *filename, *last, *leaf; ^ /usr/local/src/nginx-dlna-module/ngx_http_dlna.c: In...
Client (I used vlc) doesn't even sent Browse requests before I put this random-ua@ 781833f017e78785507c0513e7b660938a0262cf XML service descriptor into /.upnp/resp.xml. After this fix client started making :ContentDirectory:1#Browse requests, just to...