I know a real patch would help more, but I don't know how to create one
yet.

Adding a function to the MediaPlayer class in /src/media-player.vala:

+       public bool has_proxy () {
+               return (this.proxy != null)
+       }

Modifying the add_player function in /src/sound-menu.vala:

        var section = new Menu ();
        section.append_item (player_item);
-       section.append_item (playback_item);
+       if (player.has_poxy())
+               section.append_item (playback_item);

>From what I see this would require a restart of indicator-sound if the
MPRIS gets re-enabled, but no sound items would be displayed if the
proxy is absent.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-sound in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1245495

Title:
  Rhythmbox controls and track info broken

Status in Sound Menu:
  Incomplete
Status in “indicator-sound” package in Ubuntu:
  Triaged

Bug description:
  A Rhythmbox section appears in the indicator menu as it should but
  there are several glitches:

  When RB isn't running > click on the icon in the indicator > RB starts as 
expected  :-)
  When RB is running > click on the icon in the indicator > RB icon wiggles in 
launcher but window doesn't come to focus  :-(

  Track info and album art appears in notifications, but is never shown
  in the sound menu.

  Regardless of whether RB is running:
  Sound menu track controls (prev, play/pause, next) do nothing.
  The play/pause button has a dotted orange ring, which turns to an orange 
square on mouseover (see screenshots).

  Ubuntu 13.10 64-bit
  unity: 7.1.2+13.10.20131014.1-0ubuntu1
  indicator-sound: 12.10.2+13.10.20131011-0ubuntu1
  rhythmbox: 2.99.1-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-sound/+bug/1245495/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to