[OPEN] Implement the specification of MPRIS to xt7

Have a tour of xt7-player features and make
suggestions about features you would like to be added to it.

[OPEN] Implement the specification of MPRIS to xt7

Postby 1Kla$ on Fri Nov 25, 2011 9:47 pm

The specification is needed for some extensions in the gnome-shell, which control isn`t possible via panel.
Controlling the application from the panel by the default D-Bus support it is not possible and only after the implementing the MPRIS specification.

MPRIS specification http://www.mpris.org/2.1/spec/
ImageImage
1Kla$
 
Posts: 3
Joined: Tue Nov 15, 2011 9:05 am

Re: Implement the specification of MPRIS to xt7-player

Postby kokoko3k on Sun Nov 27, 2011 10:00 am

It's not that easy because gambas apps uses org.gambas.applicationname as root and seems there is no way to change it; mpris requires org.mpris.MediaPlayer2.applicationname

-EDIT-
Asked to gambas dev, waiting for an answer...
User avatar
kokoko3k
Site Admin
 
Posts: 309
Joined: Wed Nov 05, 2008 12:29 pm

Re: Implement the specification of MPRIS to xt7-player

Postby kokoko3k on Wed Dec 28, 2011 8:53 pm

The latest gambas version contains some changes i asked to minisini that should let me implement mpris specs.
Unfortunately there are still some blocking bugs, but something is definitely moving on.
User avatar
kokoko3k
Site Admin
 
Posts: 309
Joined: Wed Nov 05, 2008 12:29 pm

Re: Implement the specification of MPRIS to xt7-player

Postby kokoko3k on Wed Jan 04, 2012 5:46 pm

latest xt7 git now supports mpris methods/properties:
loop,shuffle,volume,play,pause,play/pause,stop,previous,next,open uri,seek

Anyway gambas is still unable to raise dbus signals; this means that if the mpris client
says to xt7 to change volume and then expect xt7 to call him back to say:
"ok, volume changed", it can wait forever, but maybe it will workaround.

So, i'd like you to try with your favourite mpris client and report back any problem with this, thanks.

--edit
sorry eloaders,
by mistake i deleted your post about media player indicator that won't work with gnome shell.
User avatar
kokoko3k
Site Admin
 
Posts: 309
Joined: Wed Nov 05, 2008 12:29 pm

Re: [NEED INFO] Implement the specification of MPRIS to xt7

Postby eloaders on Fri Jan 06, 2012 3:34 pm

I checked the gnome-shell-extensions-mediaplayer, unfortunately no support for xt7-player
eloaders
 
Posts: 26
Joined: Sat Jan 15, 2011 3:45 pm

Re: [NEED INFO] Implement the specification of MPRIS to xt7

Postby eloaders on Sat Jan 07, 2012 7:25 pm

No support for mpris lies with the xt7-player.
Extension for gnome-shell also supports players from outside the list. So this is a bug xt7
See the code:
https://github.com/eonpatapon/gnome-she ... rc/dbus.js
eloaders
 
Posts: 26
Joined: Sat Jan 15, 2011 3:45 pm

Re: [NEED INFO] Implement the specification of MPRIS to xt7

Postby kokoko3k on Sun Jan 08, 2012 1:55 am

Yes, usually mpris clients shouldn't add support for specific player.
Unfortunately what happens is that not all the players support mpris specs at 100%, some of them are just implemented wrong, some others just partially, and others offers a mix of various mpris versions.
So, the clients are forced to workaround (this is what the sentence: 'supported player' means in this context)
I'll do whatever is in my possibilities to obey to mpris, but, as i said, i'm still limited by gambas with callback signals.

--EDIT
I'm assuming you enabled dbus support under "general options" and using gambas >=2.99.7, right?
User avatar
kokoko3k
Site Admin
 
Posts: 309
Joined: Wed Nov 05, 2008 12:29 pm

Re: [OPEN] Implement the specification of MPRIS to xt7

Postby eloaders on Sun Jan 08, 2012 6:15 pm

MPRIS v2.1 enabled
Gambas version = 3.0.0
eloaders
 
Posts: 26
Joined: Sat Jan 15, 2011 3:45 pm


Return to Features and requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron

SourceForge.net Logo