Giter Site home page Giter Site logo

Comments (6)

eonpatapon avatar eonpatapon commented on June 9, 2024

That's something I would like to do. The problem is how to determine which player to show in the menu. I thought I could show the last used player and be abe to start it.

from gnome-shell-extensions-mediaplayer.

joshtriplett avatar joshtriplett commented on June 9, 2024

GNOME2, at least, had a setting for "default music player"; I don't know if GNOME3 still does. If it does, that seems like a good place to start.

Barring that, "last music player I used" seems pretty sensible, as does "the only music player available via D-Bus".

from gnome-shell-extensions-mediaplayer.

eonpatapon avatar eonpatapon commented on June 9, 2024

Indeed GNOME 3 has a default music player setting so I could use that
default setting. Then if another player is used, display it by default
instead of the GNOME 3 default setting.

About DBus activation, I don't see any reference to this in the MPRIS2
spec.

Thanks for your input

Le vendredi 23 mars 2012 à 01:46 -0700, Josh Triplett a écrit :

GNOME2, at least, had a setting for "default music player"; I don't know if GNOME3 still does. If it does, that seems like a good place to start.

Barring that, "last music player I used" seems pretty sensible, as does "the only music player available via D-Bus".


Reply to this email directly or view it on GitHub:
#57 (comment)

from gnome-shell-extensions-mediaplayer.

joshtriplett avatar joshtriplett commented on June 9, 2024

Indeed GNOME 3 has a default music player setting so I could use that default setting. Then if another player is used, display it by default instead of the GNOME 3 default setting.

I'd suggest just always using the GNOME 3 music player setting; if a user wants to use a different music player, they can set it as the default music player. I can't think of any scenario where it makes sense to have one music player set as the default in GNOME but have this extension activate a different music player by default.

About DBus activation, I don't see any reference to this in the MPRIS2 spec.

On the front page http://www.mpris.org/2.1/spec/ : "This allows clients to list available media players (either already running or which can be started via D-Bus activation) "

from gnome-shell-extensions-mediaplayer.

eonpatapon avatar eonpatapon commented on June 9, 2024

I think you're right about the default setting.

About MPRIS activation all players doesn't follows this so it can't be used effectively. Anyway I don't think I'll need it.

In /usr/share/dbus-1/services/ I have only clementine that follows the standard : org.mpris.MediaPlayer2.clementine.service
For Banshee it is: org.bansheeproject.Banshee.service
For Rhythmbox: org.gnome.Rhythmbox3.service
And no quodlibet there ;-)

from gnome-shell-extensions-mediaplayer.

joshtriplett avatar joshtriplett commented on June 9, 2024

Bug filed for Quod Libet: https://code.google.com/p/quodlibet/issues/detail?id=949

from gnome-shell-extensions-mediaplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.