Skip to content

Commit

Permalink
* Include PV namespace if pv attributes are requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Maggard committed Dec 15, 2011
1 parent c4b76ee commit 5543af4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upnpsoap.c
Expand Up @@ -1090,9 +1090,9 @@ BrowseContentDirectory(struct upnphttp * h, const char * action)
args.iface = h->iface;
args.filter = set_filter_flags(Filter, h);
if( args.filter & FILTER_DLNA_NAMESPACE )
{
ret = strcatf(&str, DLNA_NAMESPACE);
}
if( args.filter & FILTER_PV_SUBTITLE_FILE_TYPE|FILTER_PV_SUBTITLE_FILE_URI )
ret = strcatf(&str, PV_NAMESPACE);
strcatf(&str, ">\n");

args.returned = 0;
Expand Down
2 changes: 2 additions & 0 deletions upnpsoap.h
Expand Up @@ -30,6 +30,8 @@
" xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\""
#define DLNA_NAMESPACE \
" xmlns:dlna=\"urn:schemas-dlna-org:metadata-1-0/\""
#define PV_NAMESPACE \
" xmlns:pv=\"http://www.pv.com/pvns/\""

struct Response
{
Expand Down

0 comments on commit 5543af4

Please sign in to comment.