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 704146 - Virtual folders not completely browsable with Samsung UE40ES6760
Virtual folders not completely browsable with Samsung UE40ES6760
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: MediaExport plugin
git master
Other Linux
: Normal normal
: ---
Assigned To: Jens Georg
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2013-07-13 10:30 UTC by Jens Georg
Modified: 2013-08-05 07:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
media-export: Fix invalid browse response (6.29 KB, patch)
2013-07-30 17:27 UTC, Jens Georg
committed Details | Review

Description Jens Georg 2013-07-13 10:30:55 UTC
Music->Artist->Some Artist is empty
Comment 1 Jens Georg 2013-07-13 11:45:19 UTC
That's the request:

<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><ObjectID>virtual-container:c645e0c37237b3c6d2b89ab445865bfb</ObjectID><BrowseFlag>BrowseDirectChildren</BrowseFlag><Filter>*</Filter><StartingIndex>0</StartingIndex><RequestedCount>1</RequestedCount><SortCriteria></SortCriteria></u:Browse></s:Body></s:Envelope>

The answer to that includes two containers, so I think that's the problem.

This might've been caused by f01b33e3f4c2178b95a3d4e83a9202236724f08e
Comment 2 Jens Georg 2013-07-30 17:27:03 UTC
Created attachment 250489 [details] [review]
media-export: Fix invalid browse response

Instead of manually adding the "All" container causing all kinds of issues
with response count and slicing we just generate a "fake" result from the SQL
query so limit and offset work as expected.
Comment 3 Jens Georg 2013-08-05 07:58:18 UTC
Attachment 250489 [details] pushed as ff1ef88 - media-export: Fix invalid browse response