GNOME Bugzilla – Bug 721303
Grilo doesn't list available channels on HD Homerun Prime
Last modified: 2014-02-22 06:53:50 UTC
Steps to reproduce: 1. Confirm that an HD Homerun Prime tuner appears in the "Browse" sidebar pane 2. Double-click the HD Homerun Prime entry 3. Double-click on the "Cable Channels" folder 4. Double-click on a subscribed, non-premium channel (i. e. an over-the-air network like NBC) Expected results: Every double-click expands another tree, until double-clicking on a channel starts playback. Received results: Performing step 2 once yields a message prompt with the message "Browse Error: Invalid Action". If I perform step 2 again, nothing happens: no error message, no playback, no tree expansion. Other Info: The product in question: http://www.silicondust.com/products/hdhomerun/prime/ An HD Homerun is a television tuner that can deliver channels over a local network. The channels can be accessed via MPEG2 streams by another application via DLNA. I can use grilo-test-ui 0.2.7 to successfully identify available DLNA shares, list available channels on the HD Homerun Prime, and play subscribed non-premium channels via totem, so I am confident that grilo works. It is an issue with the totem plugin.
Can you get a Grilo debug from the Totem Grilo plugin please? Run: GRL_DEBUG=*:* G_MESSAGES_DEBUG=all totem &> debug.log then reproduce the problem and attach the resulting debug.log here please.
Created attachment 265981 [details] Totem-grilo plugin debug log Attached is the requested debug output.
Thanks. Here’s the relevant section of the log: (totem:15853): Grilo-DEBUG: [upnp] grl-upnp.c:218: grl_upnp_source_new (totem:15853): Grilo-DEBUG: [registry] grl-registry.c:678: New source available: 'grl-upnp-uuid:D6EC0D14-8464-3D03-80B4-CB859A766C9A' (totem:15853): Grilo-DEBUG: [registry] grl-registry.c:207: Source rank 'grl-upnp-uuid:D6EC0D14-8464-3D03-80B4-CB859A766C9A' : 0 (totem:15853): Grilo-DEBUG: [source] grl-source.c:3535: requested fast keys (totem:15853): Grilo-DEBUG: [source] grl-source.c:918: operation_set_ongoing (1) (totem:15853): Grilo-DEBUG: [source] grl-source.c:2338: browse_idle (totem:15853): Grilo-DEBUG: [source] grl-source.c:779: operation_set_started (1) (totem:15853): Grilo-DEBUG: [upnp] grl-upnp.c:1208: grl_upnp_source_browse (totem:15853): Grilo-DEBUG: [upnp] grl-upnp.c:1211: filter: 'upnp:artist,res@duration,res,title' (totem:15853): Grilo-DEBUG: [upnp] grl-upnp.c:1060: gupnp_browse_cb (totem:15853): Grilo-DEBUG: [upnp] grl-upnp.c:1072: Got no results (totem:15853): Grilo-DEBUG: [source] grl-source.c:2163: browse_result_relay_cb (totem:15853): Grilo-DEBUG: [media] data/grl-media.c:75: grl_media_finalize ((null)) (totem:15853): Grilo-DEBUG: [source] grl-source.c:845: operation_set_completed (1) (totem:15853): Grilo-DEBUG: [source] grl-source.c:813: operation_set_finished (1) The ‘Got no results’ line is probably accompanied by the error you’re receiving, which is coming straight from libgupnp. Would you be able to get a debug log from libgupnp as well please? GUPNP_DEBUG=1 GRL_DEBUG=*:* G_MESSAGES_DEBUG=all totem &> debug.log Thanks.
Created attachment 266162 [details] Debug log with GUPNP debub output Attached is the requested debug output where GUPNP_DEBUG=1.
Thanks for the logs. The problem isn’t at all obvious to me, since I don’t know UPnP. I’m moving this to Grilo in the home that one of the Grilo people will know. The search query which returns an error from the UPnP device is: <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Search xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ContainerID>0</ContainerID><SearchCriteria>( ( upnp:class derivedfrom "object.item.videoItem" ) or upnp:class derivedfrom "object.container" ) and @parentID = "0"</SearchCriteria><Filter>upnp:artist,res@duration,res,title</Filter><StartingIndex>0</StartingIndex><RequestedCount>50</RequestedCount><SortCriteria></SortCriteria></u:Search></s:Body></s:Envelope>
Created attachment 266318 [details] Debug output from grilo-test-ui I included this debug output for the sake of comparison. I can use grilo-test-ui-0.2 to successfully list and view channels. This was generated with: GUPNP_DEBUG=1 grilo-test-ui-0.2 &> debug3.log
There were a couple of fixes for the UPnP source in grilo-plugins 0.2.9. Any chance for you to test it, and re-attach a debug log if there's still a problem?
Do I have to be running Totem 3.11, or can I test grilo-plugins 0.2.9 with Totem 3.10.
You can use grilo-plugins 0.2.9 (or newer) with Totem 3.10 without any problems.
Also make sure to use grilo 0.2.9 (released about 10 days ago). This might be a duplicate of bug 709208.
Using grilo 0.2.9 and grilo-plugins 0.2.9 solves the issue.
*** This bug has been marked as a duplicate of bug 709208 ***