Code Monkey home page Code Monkey logo

Comments (5)

eonpatapon avatar eonpatapon commented on July 28, 2024

Hello,

This player implements its own dbus interface. To be compatible with this extension it must implements the MPRIS specification too

See http://www.mpris.org/2.1/spec/

from gnome-shell-extensions-mediaplayer.

kokoko3k avatar kokoko3k commented on July 28, 2024

I asked benoit minisini to add the ability to register a gambas app to a path different from org.gambas.appname, he replied that he doesn't understand why mpris devs choose "to force applications to use an unique bus name like that", but maybe a future gambas version will make possible to change the 'entry point'

from gnome-shell-extensions-mediaplayer.

eonpatapon avatar eonpatapon commented on July 28, 2024

Well, it's not a matter of just changing the dbus name of org.gambas.xt7.player, but adding a new interface with properties and methods that follow the MPRIS spec

from gnome-shell-extensions-mediaplayer.

kokoko3k avatar kokoko3k commented on July 28, 2024

I can implement those properties/methods with very little work, but unfortunately i've no control over the dbus name.
So, if i understood properly mpris spec, Is the name my real blocking problem.

from gnome-shell-extensions-mediaplayer.

grawity avatar grawity commented on July 28, 2024

Just for the record, a program can claim multiple bus names (custom interface, MPRIS, MPRIS2...)

Both org.gambas.xt7.player and org.mpris.MediaPlayer2.xt7 at once would be okay, and many other players already do that.

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.