[rygel/rygel-0-20] renderer: Don't loop on image playlists



commit bbc83ff0162d98b3426a43af740a38c731481cb4
Author: Jens Georg <jensg openismus com>
Date:   Tue Oct 8 15:33:09 2013 +0200

    renderer: Don't loop on image playlists
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707054

 src/librygel-renderer/rygel-player-controller.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-player-controller.vala 
b/src/librygel-renderer/rygel-player-controller.vala
index a101e92..2b010c7 100644
--- a/src/librygel-renderer/rygel-player-controller.vala
+++ b/src/librygel-renderer/rygel-player-controller.vala
@@ -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);
             }
         }


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