After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704917 - upnp: Avoid warning on empty resolve result
upnp: Avoid warning on empty resolve result
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
unspecified
Other All
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2013-07-26 07:55 UTC by Bastien Nocera
Modified: 2013-08-02 14:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
upnp: Avoid warning on empty resolve result (1.83 KB, patch)
2013-07-26 07:55 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2013-07-26 07:55:13 UTC
.
Comment 1 Bastien Nocera 2013-07-26 07:55:15 UTC
Created attachment 250182 [details] [review]
upnp: Avoid warning on empty resolve result

Fix warning when browsing a Synology UPnP server which returns
an empty DIDL.

(grilo-test-ui-0.2:7898): Grilo-WARNING **: [upnp] grl-upnp.c:1151: Failed to parse DIDL result: Empty 'DIDL-Lite' node in the DIDL-Lite
XML: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:sec="http://www.sec.co.kr/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"></DIDL-Lite>
Comment 2 Juan A. Suarez Romero 2013-08-02 14:11:32 UTC
commit a3b550b0d495ffe175e13589062dbc5a66fb7bd8
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Jul 26 09:53:19 2013 +0200

    upnp: Avoid warning on empty resolve result
    
    Fix warning when browsing a Synology UPnP server which returns
    an empty DIDL.
    
    (grilo-test-ui-0.2:7898): Grilo-WARNING **: [upnp] grl-upnp.c:1151: Failed t
    XML: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:d
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704917

 src/upnp/grl-upnp.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)