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 699477 - [upnp] When filtering is used, containers are hidden
[upnp] When filtering is used, containers are hidden
Status: RESOLVED OBSOLETE
Product: grilo
Classification: Other
Component: plugins
git master
Other Linux
: Normal major
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2013-05-02 15:12 UTC by Bastien Nocera
Modified: 2014-02-21 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2013-05-02 15:12:24 UTC
When filtering by type (audio, video or image) in UPnP, containers are not shown, only the items of that type are shown, not any containers.
Comment 1 Juan A. Suarez Romero 2013-05-02 18:42:31 UTC
This is the expected outcome in search, but not in browse.

So the bug is actually with the browse() operation.
Comment 2 Juan A. Suarez Romero 2013-05-03 08:23:51 UTC
I've checked the browse() operation, and it is using the proper expression.

Maybe the bug is actually in the server, who doesn't handle well the expression.

For instance, getting the containers in Rygel was fixed in 0.17.7 (bug #690360).
Comment 3 Bastien Nocera 2013-05-03 09:50:20 UTC
(In reply to comment #2)
> I've checked the browse() operation, and it is using the proper expression.
> 
> Maybe the bug is actually in the server, who doesn't handle well the
> expression.
> 
> For instance, getting the containers in Rygel was fixed in 0.17.7 (bug
> #690360).

I'm using rygel-0.14.2-1.fc17.x86_64 which is pretty ancient. But doesn't that bug apply to searches?
Comment 4 Juan A. Suarez Romero 2013-05-03 10:06:29 UTC
The specific bug is when filtering by container.

When you're filtering by Video, in search() we get all elements that are only Videos; in browse() we get all elements that are either a Video or a Container (and that of course belongs to the container we are browsing). 

That's why it only applies to browse().

It would be good if you can test it with a newer version.
Comment 5 Juan A. Suarez Romero 2013-09-12 20:46:29 UTC
If no other comments are provided, I'll close this bug as INVALID, as it seems the problem is in an older version of Rygel, that has been already fixed,
Comment 6 Bastien Nocera 2013-09-13 03:05:40 UTC
Looks like bug 707678 could be a reoccurence of that problem and still happens with the latest Rygel versions.
Comment 7 Juan A. Suarez Romero 2013-09-17 18:05:27 UTC
Adding Jens to the loop, Rygel maintainer.
Comment 8 Jens Georg 2013-09-18 07:06:11 UTC
Well, bug 707678 talks about 0.16.4 which is < 0.17.7 :) In the meantime I've fixed the fix (which was more of an hack), perhaps that's causing issues. I'll check
Comment 9 Jens Georg 2013-09-18 07:10:48 UTC
Checked against 0.18.4 on debian sid and 0.19.7 in jhbuild with totem + grilo from jhbuild and it works fine against MediaExport and Tracker back-end.
Comment 10 Bastien Nocera 2014-02-21 12:41:13 UTC
This works fine now.