summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-12-03 15:40:51 +0000
committerBastien Nocera <hadess@src.gnome.org>2008-12-03 15:40:51 +0000
commitafe75ebd558b241e858017d7f899ed3b1d21a6af (patch)
treea021404216051e0d2e761bae7032f314e39bb594 /bindings
parentd956bac59408d90a34c37d4f46507a77ce99b34c (diff)
downloadtotem-afe75ebd558b241e858017d7f899ed3b1d21a6af.tar.gz
Add add_to_playlist_and_play to the bindings, add toggle-aspect and stop
2008-12-03 Bastien Nocera <hadess@hadess.net> * bindings/python/totem.defs: Add add_to_playlist_and_play to the bindings, add toggle-aspect and stop to the possible remote commands svn path=/trunk/; revision=5815
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/totem.defs14
1 files changed, 13 insertions, 1 deletions
diff --git a/bindings/python/totem.defs b/bindings/python/totem.defs
index 8cc287b27..e13223a87 100644
--- a/bindings/python/totem.defs
+++ b/bindings/python/totem.defs
@@ -62,6 +62,7 @@
'("unknown" "TOTEM_REMOTE_COMMAND_UNKNOWN")
'("play" "TOTEM_REMOTE_COMMAND_PLAY")
'("pause" "TOTEM_REMOTE_COMMAND_PAUSE")
+ '("stop" "TOTEM_REMOTE_COMMAND_STOP")
'("playpause" "TOTEM_REMOTE_COMMAND_PLAYPAUSE")
'("next" "TOTEM_REMOTE_COMMAND_NEXT")
'("previous" "TOTEM_REMOTE_COMMAND_PREVIOUS")
@@ -88,10 +89,10 @@
'("eject" "TOTEM_REMOTE_COMMAND_EJECT")
'("play-dvd" "TOTEM_REMOTE_COMMAND_PLAY_DVD")
'("mute" "TOTEM_REMOTE_COMMAND_MUTE")
+ '("toggle-aspect" "TOTEM_REMOTE_COMMAND_TOGGLE_ASPECT")
)
)
-
;; From totem-plugin.h
(define-function totem_plugin_error_quark
@@ -389,6 +390,17 @@
(return-type "gint64")
)
+(define-method add_to_playlist_and_play
+ (of-object "Totem")
+ (c-name "totem_add_to_playlist_and_play")
+ (return-type "none")
+ (parameters
+ '("const-char*" "uri")
+ '("const-char*" "display_name")
+ '("gboolean" "add_to_recent")
+ )
+)
+
(define-method get_current_mrl
(of-object "TotemObject")
(c-name "totem_get_current_mrl")