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 721303 - Grilo doesn't list available channels on HD Homerun Prime
Grilo doesn't list available channels on HD Homerun Prime
Status: RESOLVED DUPLICATE of bug 709208
Product: grilo
Classification: Other
Component: plugins
unspecified
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-01 15:26 UTC by Tristian Celestin
Modified: 2014-02-22 06:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Totem-grilo plugin debug log (18.53 KB, text/plain)
2014-01-11 01:34 UTC, Tristian Celestin
Details
Debug log with GUPNP debub output (373.77 KB, text/plain)
2014-01-13 13:26 UTC, Tristian Celestin
Details
Debug output from grilo-test-ui (239.57 KB, text/x-log)
2014-01-15 01:31 UTC, Tristian Celestin
Details

Description Tristian Celestin 2014-01-01 15:26:20 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.
Comment 1 Philip Withnall 2014-01-10 19:21:07 UTC
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.
Comment 2 Tristian Celestin 2014-01-11 01:34:34 UTC
Created attachment 265981 [details]
Totem-grilo plugin debug log

Attached is the requested debug output.
Comment 3 Philip Withnall 2014-01-13 00:25:28 UTC
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.
Comment 4 Tristian Celestin 2014-01-13 13:26:13 UTC
Created attachment 266162 [details]
Debug log with GUPNP debub output

Attached is the requested debug output where GUPNP_DEBUG=1.
Comment 5 Philip Withnall 2014-01-14 23:44:50 UTC
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 &quot;object.item.videoItem&quot; ) or upnp:class derivedfrom &quot;object.container&quot; ) and @parentID = &quot;0&quot;</SearchCriteria><Filter>upnp:artist,res@duration,res,title</Filter><StartingIndex>0</StartingIndex><RequestedCount>50</RequestedCount><SortCriteria></SortCriteria></u:Search></s:Body></s:Envelope>
Comment 6 Tristian Celestin 2014-01-15 01:31:42 UTC
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
Comment 7 Bastien Nocera 2014-02-21 13:17:10 UTC
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?
Comment 8 Tristian Celestin 2014-02-21 23:47:21 UTC
Do I have to be running Totem 3.11, or can I test grilo-plugins 0.2.9 with Totem 3.10.
Comment 9 Bastien Nocera 2014-02-21 23:57:19 UTC
You can use grilo-plugins 0.2.9 (or newer) with Totem 3.10 without any problems.
Comment 10 Bastien Nocera 2014-02-22 00:08:36 UTC
Also make sure to use grilo 0.2.9 (released about 10 days ago). This might be a duplicate of bug 709208.
Comment 11 Tristian Celestin 2014-02-22 04:12:43 UTC
Using grilo 0.2.9 and grilo-plugins 0.2.9 solves the issue.
Comment 12 Bastien Nocera 2014-02-22 06:53:50 UTC
*** This bug has been marked as a duplicate of bug 709208 ***