Declare Test and DVB items, live.
authorZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Wed, 7 Jan 2009 12:55:50 +0000 (12:55 +0000)
committerZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Wed, 7 Jan 2009 12:55:50 +0000 (12:55 +0000)
svn path=/trunk/; revision=411

src/plugins/dvb/rygel-dvb-channel.vala
src/plugins/test/rygel-test-item.vala

index aaea4f9..94203b3 100644 (file)
@@ -48,6 +48,9 @@ public class Rygel.DVBChannel : MediaItem {
               "Unknown",        /* UPnP Class Unknown at this point */
               streamer);
 
+        // This is a live media
+        this.live = true;
+
         this.cid = cid;
         this.channel_list = channel_list;
 
index f0cdb21..c679cc2 100644 (file)
@@ -49,6 +49,9 @@ public abstract class Rygel.TestItem : Rygel.MediaItem {
         this.author = TEST_AUTHOR;
         this.path= path;
 
+        // This is a live media
+        this.live = true;
+
         this.res.uri = streamer.create_uri_for_path (path);
 
         streamer.stream_available += this.on_stream_available;