[rygel] player: Fix transport actions



commit 1d300175f97c52beeca86b466915e4b0cba5e57d
Author: Milan Plzik <milan plzik streamunlimited com>
Date:   Thu Sep 12 12:07:20 2013 +0200

    player: Fix transport actions
    
    Report correct transport actions for STOPPED and PAUSED state
    
    Signed-off-by: Milan Plzik <milan plzik streamunlimited com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707962

 src/librygel-renderer/rygel-player-controller.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-player-controller.vala 
b/src/librygel-renderer/rygel-player-controller.vala
index 9aec132..a101e92 100644
--- a/src/librygel-renderer/rygel-player-controller.vala
+++ b/src/librygel-renderer/rygel-player-controller.vala
@@ -84,8 +84,10 @@ internal class Rygel.PlayerController : Object {
                     actions = "Stop,Seek,Pause";
                     break;
                 case "STOPPED":
+                    actions = "Play";
+                    break;
                 case "PAUSED_PLAYBACK":
-                    actions = "Play,Seek";
+                    actions = "Stop,Play,Seek";
                     break;
                 default:
                     break;


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