[rygel] media-export: Use UPnP classes from items
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Use UPnP classes from items
- Date: Mon, 23 May 2011 20:01:34 +0000 (UTC)
commit 1749910732620431aac120ab14c38c2ebf8a3108
Author: Jens Georg <mail jensge org>
Date: Sun Apr 17 11:18:54 2011 +0300
media-export: Use UPnP classes from items
.../rygel-media-export-root-container.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 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 ebf6d4f..c5b9efc 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -405,12 +405,12 @@ public class Rygel.MediaExport.RootContainer : Rygel.MediaExport.DBContainer {
private void add_default_virtual_folders () {
try {
this.add_virtual_containers_for_class (_("Music"),
- "object.item.audioItem.musicTrack",
- virtual_folders_music);
+ MusicItem.UPNP_CLASS,
+ virtual_folders_music);
this.add_virtual_containers_for_class (_("Pictures"),
- "object.item.imageItem.photo");
+ PhotoItem.UPNP_CLASS);
this.add_virtual_containers_for_class (_("Videos"),
- "object.item.videoItem");
+ VideoItem.UPNP_CLASS);
} catch (Error error) {};
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]