Dbus-plugin does not work right.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
totem (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Totem's DBus-plugin may have a bug. I try to control the Totem-player from Audio-Recorder. Audio-recorder does see the player on the DBus but Totem does not reply requests.
This same bug was reported last year too. And year before. Now this annoying bug is back!
What the H* are they doing?
I run totem v3.16.2 on Ubuntu 15.10 (test).
$ totem --version
totem 3.16.2
--------
Totem fails to return "PlaybackStatus". Run the following dbus-send command in a terminal window. It is a long one-line command:
$ dbus-send --print-reply --session --dest=
Error org.freedesktop
File "/usr/lib/
retval = candidate_
File "/usr/lib/
return self.GetAll (interface_
File "/usr/lib/
if self.totem.
AttributeError: 'Object' object has no attribute 'action_
-------
Totem fails to return "Metadata". Run the following dbus-send command in a terminal window. It is a long one-line command:
$ dbus-send --print-reply --session --dest=
dbus-send --print-reply --session --dest=
Error org.freedesktop
File "/usr/lib/
retval = candidate_
File "/usr/lib/
return self.GetAll (interface_
File "/usr/lib/
if self.totem.
AttributeError: 'Object' object has no attribute 'action_
-------
Good samples:
Here are correct replies from the RhythmBox player:
Get PlaybackStatus from RhythmBox:
$ dbus-send --print-reply --session --dest=
method return time=1441188372
variant string "Playing"
-----------------
And get Metadata from RhytmBox:
$ dbus-send --print-reply --session --dest=
method return time=1441188535
variant array [
dict entry(
string "mpris:trackid"
variant string "/org/mpris/
)
dict entry(
string "xesam:url"
variant string "http://
)
dict entry(
string "xesam:title"
variant string "After Midnight Dejavu (2006)"
)
dict entry(
string "xesam:genre"
variant array [
]
)
dict entry(
string "rhythmbox:
variant string "HBR1.com - Tronic Lounge"
)
....
....
BTW: I can see in the Audio-recorder (when debugging) that Totems sends some DBus-messages repeatedly. Audio-recorder gets mad by receiving 20 STOP, START, PAUSE, START, STOP, PAUSE, STOP... messages. I programmed a special workaround for Totem in Audio-Recorder.
Ref:
http://
https:/
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: totem 3.16.2-1ubuntu3
ProcVersionSign
Uname: Linux 4.1.0-3-generic x86_64
ApportVersion: 2.18-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Sep 2 15:10:10 2015
InstallationDate: Installed on 2015-08-29 (3 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150827)
SourcePackage: totem
UpgradeStatus: No upgrade log present (probably fresh install)