The players list should be customizable

Bug #685725 reported by Yuriy Voziy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Sound Menu
Fix Released
Medium
Conor Curran

Bug Description

I have several Players installed and I want links to other players to be hidden when one is running. Why would one need running two players at once?
If there will be a need of running two players at once the user can always run another player from menu.

Tags: wishlist

Related branches

Yuriy Voziy (yuretsz)
tags: added: wishlist
description: updated
Revision history for this message
Conor Curran (cjcurran) wrote :

The player list will in future be determined by the gsettings entry for indicator sound (from release 0.5.4 targeted 23/12/2010). More information can be found on the spec about this.

https://wiki.ubuntu.com/SoundMenu#Registration%20process

This will allow users to add or subtract individual players from the menu at any given time from the preferences of the individual players.

Changed in indicator-sound:
importance: Undecided → Low
assignee: nobody → Conor Curran (cjcurran)
Revision history for this message
Conor Curran (cjcurran) wrote :

This should be fixed as of today's release. It up to the clients to their side of the work to write the Gsettings entry.

Changed in indicator-sound:
milestone: none → 0.5.4
status: New → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Yuriy Voziy (yuretsz) wrote :

status: Fix Released → Fix Committed

But how can I remove links to other player?

Conor Curran (cjcurran)
Changed in indicator-sound:
status: Fix Committed → In Progress
Revision history for this message
Conor Curran (cjcurran) wrote :

Each player should follow the spec on the wiki (wiki.ubuntu.com/SoundMenu) which outlines the preferred UI to enable players to be added or removed from the menu. As it stands currently this is simply achieved by adding or removing the desktop file name of the application (minus the .desktop extension) to or from the blacklist-media-players gsettings entry for com.canonical.indicators.sound.
Hopefully for alpha2 I will make this even easier whereby it will be just a simple dbus method call.
If you want to remove other players for an interim solution (until players have their UI in order) you can use gsettings command line tool to manually add the name of the player(s) that you would not like to see in the menu.
The name being the name of the players desktop file minus the .desktop extension.

An example would be

gsettings set com.canonical.indicators.sound blacklisted-media-players "['$PLAYERS-DESKTOP-FILE-NAME']"

Changed in indicator-sound:
milestone: 0.5.4 → 0.5.7
Revision history for this message
Yuriy Voziy (yuretsz) wrote :

gsettings set com.canonical.indicators.sound blacklisted-media-players "['rhythmbox']"

GLib-GIO-ERROR **: Settings schema 'com.canonical.indicators.sound' is not installed

aborting...

Revision history for this message
Yuriy Voziy (yuretsz) wrote :

Sorry, I was using 0.5.0.1-0ubuntu2 version.

Conor Curran (cjcurran)
Changed in indicator-sound:
milestone: 0.5.7 → none
Conor Curran (cjcurran)
Changed in indicator-sound:
milestone: none → 0.5.9
Revision history for this message
Conor Curran (cjcurran) wrote :

Okay to be ultimately complete this, I have provided a dbus method to simply add or remove a player from the menu, Obviously it uses gsettings in the background but for those of you who can't touch gsettings please use this instead.

Changed in indicator-sound:
importance: Low → Medium
Conor Curran (cjcurran)
Changed in indicator-sound:
status: In Progress → Fix Committed
Conor Curran (cjcurran)
Changed in indicator-sound:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.