Totem does not implement DBus standrad for MediaPlayer.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
totem (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: totem
Hello,
I have an application that needs to interact with various media players. This application uses DBus to watch signals that media players send.
Many good media players (like Amarok and Guayadeque player) now implement the DBus API and standard well, but Totem seems to lag behind development. AFAIK, Totem does not use DBus to inform other applications about its doings.
My application wants to track the media players' "TrackChange" signal/message on the DBus.
Dbus-monitor is a nice tool to peek what messages applications send to/via DBus.
Start dbus-monitor
$ dbus-monitor
Here is a typical output of a standards following media player.
The output shows a "TrackChange" signal on the DBus. It is sent when media player changes to a new song/radio-channel or track.
Signal sender=:1.477 -> dest=(null destination) serial=65 path=/Player; interface=
array [
dict entry(
string "location"
)
dict entry(
string "title"
)
dict entry(
string "artist"
)
dict entry(
string "album"
)
dict entry(
string "tracknumber"
)
dict entry(
string "genre"
)
]
Other applications can catch and react to this message.
Important links:
http://
http://
http://
BTW: RhythmBox does use DBus but the interface and signal names are totally different from standard.
I think its interface name is "org.gnome.
and eg. it calls "TrackChange" signal for "playingUriChan
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: totem 2.30.2-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-
NonfreeKernelMo
Architecture: i386
Date: Sat Sep 18 17:48:30 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: totem
hello,
Ok, I try to use the GLib binding with DBus.
The reference manual is missing couple of methods dbus.freedeskto p.org/doc/ dbus-glib/ dbus-glib- DBusGProxy. html
http://
It is missing at least proxy_call_ with_timeout (DBusGProxy *proxy, const char *method, int timeout, GError **error, GType first_arg_type,...)
dbus_g_
this is quite important.
Maemo.org has more update manual page maemo.org/ api_refs/ 4.0/dbus- glib/group_ _DBusGLib. html
http://