[rygel] media-export: Fix Artist view on XBox 360
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Fix Artist view on XBox 360
- Date: Sat, 21 May 2016 10:15:24 +0000 (UTC)
commit 18991d9d4d44c331900ac27f216ff64fb5214da2
Author: Jens Georg <mail jensge org>
Date: Sat May 21 12:12:39 2016 +0200
media-export: Fix Artist view on XBox 360
Was broken by the introduction of dc:creator with commit 7e2af489c.
Instead of re-inventing the definitions, just re-use the definitions we use in
the virtual folder hierarchy
Signed-off-by: Jens Georg <mail jensge org>
.../rygel-media-export-root-container.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala
b/src/plugins/media-export/rygel-media-export-root-container.vala
index 362083b..03aa1ec 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -258,15 +258,15 @@ public class Rygel.MediaExport.RootContainer : TrackableDbContainer {
string id = SEARCH_CONTAINER_PREFIX;
switch (expression.operand2) {
case MediaContainer.MUSIC_ALBUM:
- id += "upnp:album,?";
+ id += VIRTUAL_FOLDERS_MUSIC[1].definition;
break;
case MediaContainer.MUSIC_ARTIST:
- id += "dc:creator,?,upnp:album,?";
+ id += VIRTUAL_FOLDERS_MUSIC[0].definition;
break;
case MediaContainer.MUSIC_GENRE:
- id += "dc:genre,?";
+ id += VIRTUAL_FOLDERS_MUSIC[2].definition;
break;
case MediaContainer.PLAYLIST:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]