renderer: Don't loop on image playlists
authorJens Georg <jensg@openismus.com>
Tue, 8 Oct 2013 13:33:09 +0000 (15:33 +0200)
committerJens Georg <jensg@openismus.com>
Wed, 9 Oct 2013 13:04:49 +0000 (15:04 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=707054

src/librygel-renderer/rygel-player-controller.vala

index a101e92..2b010c7 100644 (file)
@@ -215,7 +215,8 @@ internal class Rygel.PlayerController : Object {
                                         (item.get_xml_string ());
             this.player.uri = res.get_uri ();
             if (item.upnp_class.has_prefix ("object.item.image") &&
-                this.collection != null) {
+                this.collection != null &&
+                this.player.playback_state != "STOPPED") {
                 this.setup_image_timeouts (item.lifetime);
             }
         }