/*
* Copyright (C) 2012 Intel Corporation.
+ * Copyright (C) 2013 Jens Georg <mail@jensge.org>
*
* Author: Jens Georg <jensg@openismus.com>
+ * Jens Georg <mail@jensge.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Boston, MA 02110-1301, USA.
*/
+#include <string.h>
+
#include <libgupnp-av/gupnp-media-collection.h>
/* Flat DIDL_S playlist */
" xmlns:dc=\"http://purl.org/dc/elements/1.1/\"" \
" xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\"" \
" xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\"" \
+" xmlns:pv=\"http://www.pv.com/pvns/\"" \
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" \
" xsi:schemaLocation=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" \
" http://www.upnp.org/schemas/av/didl-lite-v2-20060531.xsd" \
" xmlns:dc=\"http://purl.org/dc/elements/1.1/\"" \
" xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\"" \
" xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\"" \
+" xmlns:pv=\"http://www.pv.com/pvns/\"" \
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" \
" xsi:schemaLocation=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" \
" http://www.upnp.org/schemas/av/didl-lite-v2-20060531.xsd" \
"<DIDL-Lite " \
"xmlns:dc=\"http://purl.org/dc/elements/1.1/\" " \
"xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\" " \
- "xmlns:dlna=\"urn:schemas-dlna-org:metadata-1-0/\" " \
+ "xmlns:pv=\"http://www.pv.com/pvns/\" " \
"xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\">" \
"<item restricted=\"1\">" \
"<dc:title>Song1</dc:title>" \
"<DIDL-Lite " \
"xmlns:dc=\"http://purl.org/dc/elements/1.1/\" " \
"xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\" " \
- "xmlns:dlna=\"urn:schemas-dlna-org:metadata-1-0/\" " \
+ "xmlns:pv=\"http://www.pv.com/pvns/\" " \
"xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\">" \
"<container>" \
"<dc:title>TestCollection1</dc:title>" \
"<DIDL-Lite " \
"xmlns:dc=\"http://purl.org/dc/elements/1.1/\" " \
"xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\" " \
- "xmlns:dlna=\"urn:schemas-dlna-org:metadata-1-0/\" " \
+ "xmlns:pv=\"http://www.pv.com/pvns/\" " \
"xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\">" \
"<container>" \
"<item restricted=\"1\">" \
#define ERROR_MESSAGE "Failed to parse DIDL-Lite: No 'DIDL-Lite' node in the DIDL-Lite XML:"
static gboolean
-ignore_xml_parse_error (const gchar *log_domain,
- GLogLevelFlags log_level,
- const gchar *message,
- gpointer user_data)
+ignore_xml_parse_error (G_GNUC_UNUSED const gchar *log_domain,
+ G_GNUC_UNUSED GLogLevelFlags log_level,
+ const gchar *message,
+ G_GNUC_UNUSED gpointer user_data)
{
if (strncmp (message,
ERROR_MESSAGE,