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 740265 - gupnp-av warns if protocolInfo is missing in DIDL-Lite XML
gupnp-av warns if protocolInfo is missing in DIDL-Lite XML
Status: RESOLVED FIXED
Product: gupnp-av
Classification: Other
Component: General
0.20.x
Other Linux
: Normal normal
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-17 16:15 UTC by Sven Neumann
Modified: 2019-02-22 05:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to deal more gracefully with missing protocolInfo (1.82 KB, patch)
2014-11-17 16:16 UTC, Sven Neumann
committed Details | Review

Description Sven Neumann 2014-11-17 16:15:58 UTC
There are some UPnP servers that do not follow the specifications completely and fail to provide protocolInfo in the resource elements. The gupnp-av code then starts to emit critical warnings:

 CRITICAL **: gupnp_didl_lite_resource_get_protocol_info: assertion 'protocol_info != NULL' failed
 CRITICAL **: gupnp_protocol_info_is_compatible: assertion 'GUPNP_IS_PROTOCOL_INFO (info2)' failed
Comment 1 Sven Neumann 2014-11-17 16:16:57 UTC
Created attachment 290862 [details] [review]
Patch to deal more gracefully with missing protocolInfo
Comment 2 Jens Georg 2014-12-24 11:05:07 UTC
Review of attachment 290862 [details] [review]:

+1