[rygel] core: Don't use storageFolder for common containers



commit df1d44c21e1d95b3088a444836d8c8ead8fb919c
Author: Jens Georg <mail jensge org>
Date:   Fri May 27 17:11:18 2011 +0200

    core: Don't use storageFolder for common containers
    
    storageFolder is supposed to represent something with a size and has
    to have the mandatory upnp:storageUsed property.
    
    Partially fixes UPnP CTT AV-CD:1-4.1

 src/rygel/rygel-media-container.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-container.vala b/src/rygel/rygel-media-container.vala
index f6fab05..e10a710 100644
--- a/src/rygel/rygel-media-container.vala
+++ b/src/rygel/rygel-media-container.vala
@@ -89,7 +89,7 @@ public abstract class Rygel.MediaContainer : MediaObject {
         this.title = title;
         this.child_count = child_count;
         this.update_id = 0;
-        this.upnp_class = STORAGE_FOLDER;
+        this.upnp_class = UPNP_CLASS;
 
         this.container_updated.connect (on_container_updated);
     }



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