Handle item as interactive if it's size is known.
authorZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Tue, 13 Jan 2009 14:33:35 +0000 (14:33 +0000)
committerZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Tue, 13 Jan 2009 14:33:35 +0000 (14:33 +0000)
svn path=/trunk/; revision=440

src/rygel/rygel-streamer.vala

index 7b66379..48449a5 100644 (file)
@@ -141,7 +141,7 @@ public class Rygel.Streamer : GLib.Object {
             return;
         }
 
-        if (item.upnp_class.has_prefix (MediaItem.IMAGE_CLASS)) {
+        if (item.res.size > 0) {
             this.handle_interactive_item (msg, item, seek);
         } else {
             this.handle_streaming_item (msg, item);