Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: totem (Ubuntu) Status: New => Confirmed
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to totem in Ubuntu. https://bugs.launchpad.net/bugs/1182301 Title: Totem DBus pause method doesn't work Status in totem package in Ubuntu: Confirmed Bug description: The Play() method works, as does the PlayPause() method, but the Pause() method does nothing. I'm writing an application that uses the Pause() method for media players, and Rhythmbox and VLC work fine, but Totem requires the workaround that Pause() be replaced by PlayPause(). If you're using qdbusviewer or something like that, you can locate the bug here: Session Bus Service: org.mpris.MediaPlayer2.totem Object: /org/mpris/MediaPlayer2 Interface: org.mpris.MediaPlayer2.Player Method: Pause Relevant files: /usr/lib/totem/plugins/dbus I tried to fix the bug by changing the contents of the Pause(self) method to @dbus.service.method (dbus_interface = 'org.mpris.MediaPlayer2.Player', in_signature = '', # pylint: disable-msg=C0103 out_signature = '') def Pause (self): if not self.totem.is_playing (): return self.totem.action_play_pause () because the Play and PlayPause methods work fine, but this wasn't successful. Related problems: * Totem's Unity right-click menu is inconsistent with Rhythmbox's. Totem's menu has play/pause as one entry Rhythmbox lists play and pause separately, but play does nothing if Rhythmbox is playing and pause does nothing if Rhythmbox is already paused. * Totem doesn't have DBus enabled by default. * Totem's DBus integration is nonstandard (Bug #642172) Thanks. ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: totem-plugins 3.6.3-0ubuntu6 ProcVersionSignature: Ubuntu 3.8.0-21.32-generic 3.8.8 Uname: Linux 3.8.0-21-generic x86_64 ApportVersion: 2.9.2-0ubuntu8 Architecture: amd64 Date: Mon May 20 18:59:31 2013 InstallationDate: Installed on 2012-12-22 (149 days ago) InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5) MarkForUpload: True SourcePackage: totem UpgradeStatus: Upgraded to raring on 2013-02-03 (106 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1182301/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp