[rygel] media-export: Virtual containers are not trackable



commit f239d400a75be2e28afc4d75d56d1e53479fb7b2
Author: Jens Georg <jensg openismus com>
Date:   Mon Jan 21 12:45:40 2013 +0100

    media-export: Virtual containers are not trackable

 .../rygel-media-export-object-factory.vala         |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-object-factory.vala b/src/plugins/media-export/rygel-media-export-object-factory.vala
index 4570f04..32a685d 100644
--- a/src/plugins/media-export/rygel-media-export-object-factory.vala
+++ b/src/plugins/media-export/rygel-media-export-object-factory.vala
@@ -54,6 +54,10 @@ internal class Rygel.MediaExport.ObjectFactory : Object {
             return factory.create_from_hashed_id (id, title);
         }
 
+        if (id.has_prefix ("virtual-parent:")) {
+            return new DBContainer (id, title);
+        }
+
         if (uri == null) {
             return new TrackableDbContainer (id, title);
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]