[rygel] renderer: Don't loop on image playlists
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] renderer: Don't loop on image playlists
- Date: Wed, 9 Oct 2013 13:35:39 +0000 (UTC)
commit 1e59b6678a7ea679a32be18bfcec5c7a0e119df6
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]