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 664184 - XBox shows songs multiple times in "Songs"
XBox shows songs multiple times in "Songs"
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Zeeshan Ali
Depends on:
Blocks:
 
 
Reported: 2011-11-16 10:38 UTC by Jens Georg
Modified: 2012-02-15 20:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
core: Prevent XBox showing songs multiple times (3.39 KB, patch)
2012-02-10 14:37 UTC, Jens Georg
committed Details | Review

Description Jens Georg 2011-11-16 10:38:54 UTC
When you browse the "Songs" folder it can happen that each song is listed at least twice.

Reason for that is that our XBox support flattens the special folder id "4" which the XBox uses to "0" and just runs the search (upnp:class derivedFrom "object.item.musicItem") there, which returns all elements containing @refID. 

I think this is best fixed in modifying the search request in XBox hacks to include "@refID exists false" for the "4" case, just like WMP 12 does.
Comment 1 Jens Georg 2011-11-16 10:39:49 UTC
Note: This doesn't affect MediaExport plugin since the search does not include @refID items there, but wouldn't do any harm either.
Comment 2 Jens Georg 2012-02-10 14:37:02 UTC
Created attachment 207257 [details] [review]
core: Prevent XBox showing songs multiple times

Due to the way we handle the XBox's search requests it might happen
that the search result includes items having a @refID which are
just "aliases" to the real items.
Comment 3 Jens Georg 2012-02-15 20:54:50 UTC
Attachment 207257 [details] pushed as 9aff5d6 - core: Prevent XBox showing songs multiple times