Package Details: gnome-shell-extension-mediaplayer-git r551-1

Git Clone URL: (read-only)
Package Base: gnome-shell-extension-mediaplayer-git
Description: A mediaplayer indicator for the Gnome Shell
Upstream URL:
Licenses: GPL2
Conflicts: gnome-shell-extension-mediaplayer
Provides: gnome-shell-extension-mediaplayer=r551
Submitter: alucryd
Maintainer: XZS
Last Packager: XZS
Votes: 112
Popularity: 0.961784
First Submitted: 2011-05-27 08:35
Last Updated: 2016-09-21 23:22

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

XZS commented on 2016-04-09 22:22

An extension compatible to current shell version should drop the upper version bound as it is likely to be compatible with coming updates. The lines from the PKGBUILD you mention were actually intended to do exactly this, but fail to do so. I already spotted the bug to blame and will fix it soon. In the same course, I will try to get things rolling towards 3.20 updates to all of my gnome-shell-extension packages about next week.

If you do not want to postpone an update, you can switch compatibility checks off with the -d flag, so "pacman -Syud" will update ignoring incompatibilities. Nonetheless, as the extension itself does not declare compatible with shell 3.20, it will not work. This is what the package dependencies actually reflect.

vinadoros commented on 2016-04-09 14:44

@XZS Please remove the if/else statement below in the PKGBUILD at lines 59-63, which sets the depends as gnome-shell<=[current version+1]. When gnome shell is upgraded, this package conflicts with the upgrade for this reason (and it is more than likely that the upstream will have fixed the extension to work with new versions of gnome shell). I think it is easier for the user to bear responsibility for making sure the extension they have installed from the AUR is compatible with the Arch official packages.

if [ "3.$max" != $(
gnome-shell --version | grep -Po '(?<=GNOME Shell 3\.)[[:digit:]]+'
) ]; then
depends+=("gnome-shell<3.$((${max%%.*} + 1))")

kaptoxic commented on 2015-04-13 01:18

Works nicely in Gnome 3.16, thanks!

Peace4all commented on 2013-10-09 09:11

This temporary PKGBUILD uses the Gnome 3.10 branch, if anyone requires it:

donniezazen commented on 2012-10-27 20:26

My mistake I had MPRIS D-Bus Interface disabled in Banshee. Thanks for replying.

alucryd commented on 2012-10-17 07:15

@donniezazen: Nobody will be able to troubleshoot your problem if you don't provide any detail. It's working perfectly fine on my 3 machines, did you enable it? If so, what does looking glass say about it? Alt+F2 and enter "lg", in the extension tab, click on show errors.

donniezazen commented on 2012-10-17 05:15

It has worked for me previously but not working anymore.

alucryd commented on 2012-04-08 09:35

@the_mike: Sorry to hear it doesn't work. 3.4 should be in extra real soon (still I'll check the PKGBUILD, maybe my git checkout is wrong, though it works to checkout branches in the official GNOME repos for other extensions).

Anonymous comment on 2012-04-08 09:19

Alucryd: It does not work, but its no big deal, as I'm hoping GNOME 3.4 will be in the normal repos soon, i can wait.

alucryd commented on 2012-04-07 14:20

Thx for the tip grawity. Then you can use this PKGBUILD the_mike (download the tarball and overwrite the existing one):
I can't test it right now, plus I've already updated to 3.4, please tell me if it doesn't work.

grawity commented on 2012-04-07 14:06

GNOME 3.2 users can still use the "gnome-shell-3.2" branch, but it will be missing several new features.

alucryd commented on 2012-04-07 13:57

That's because it has been updated for <GNOME 3.4. Either update GNOME to 3.4, or add 3.2.1 in metadata.json (most likely this won't work, eonpatapon must have removed 3.2 from metadata.json because updating to 3.4 broke 3.2 support).

Anonymous comment on 2012-04-07 13:44

The extension is not showing up in the list of installed extensions on gnome shell Version 3.2.1. Installed with firefox from it works, but is not configurable.

alucryd commented on 2012-03-19 15:42

I just noticed that the aspect ratio of the cover in the extension is the right one. Then the extension is able to read the cover file (at least its aspect ratio) in /tmp but can't display the image.

alucryd commented on 2012-03-18 08:26

Oh yes, when I said the file is there, I meant there and valid (btw there are 2 JPGs, both are valid).

grawity commented on 2012-03-17 15:48

Yes, but does the artUrl file actually contain a valid image, or just a black square? Open it with eog or another image viewer. If it contains album art, the problem is with Shell or the extension; if the .jpg file is all-black, the problem is with Clementine.

The filesystem and kernel version shouldn't matter at all.

alucryd commented on 2012-03-17 09:09

It seems to be working, here is what I get :

method return sender=:1.75 -> dest=:1.81 reply_serial=2
variant array [
dict entry(
string "mpris:artUrl"
variant string "file:///tmp/clementine-art-dT1576.jpg"
dict entry(
string "mpris:length"
variant int32 210000000
dict entry(
string "mpris:trackid"
variant string "/org/mpris/MediaPlayer2/Track/3"
dict entry(
string "xesam:album"
variant string "Du & Jag Döden"
dict entry(
string "xesam:albumArtist"
variant array [
string "Kent"
dict entry(
string "xesam:artist"
variant array [
string "Kent"
dict entry(
string "xesam:autoRating"
variant int32 50
dict entry(
string "xesam:contentCreated"
variant string "2012-01-28T14:26:35"
dict entry(
string "xesam:genre"
variant array [
string "Alternative"
dict entry(
string "xesam:lastUsed"
variant string "2012-03-02T23:30:27"
dict entry(
string "xesam:title"
variant string "Du Var Min Armé"
dict entry(
string "xesam:trackNumber"
variant int32 4
dict entry(
string "xesam:url"
variant string "file:///media/Data/Music/Kent/Du & Jag Döden/04. Du Var Min Armé.mp3"
dict entry(
string "xesam:useCount"
variant int32 1

I checked in /tmp, and the file is there. tmpfs for /tmp is disabled since I've only got 4GB of memory, and half of it is not enough to build things like xbmc, but it shouldn't be a problem. I'm using catalyst 12.2 on xserver 1.11.4 and linux-ck 3.2.11 kernel if it matters. (I will try booting linux 3.2.11 and see if it changes anything.)

grawity commented on 2012-03-16 22:38

@Alucryd: Works for me here. Could you run the following, and check if the "mpris:artUrl" entry points to a valid image?

dbus-send --session --print-reply --dest=org.mpris.MediaPlayer2.clementine \
/org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get \
string:org.mpris.MediaPlayer2.Player string:Metadata

Should display something like

dict entry(
string "mpris:artUrl"
variant string "file:///tmp/clementine-art-y36933.jpg"

alucryd commented on 2012-03-15 15:15

Does anyone get black covers from clementine or is it only me? Covers appear correctly in clementine, but not in the extension.

alucryd commented on 2012-01-24 09:42

Thx for the heads up, I copied another pkgbuild of mine and didn't pay attention to the GPL version. Package updated.

grawity commented on 2012-01-23 17:17

PKGBUILD update - the license appears to be GPL2, not GPL3 (according to

grawity commented on 2011-12-26 02:51

@instant: The plugin, I forgot, is aur/deadbeef-plugins-mpris

grawity commented on 2011-12-26 02:49

@instant: Already supported. You need to enable the "MPRIS" plugin and make sure it is configured for MPRIS v2.

Anonymous comment on 2011-12-26 02:35

Might we get Deadbeef support?

grawity commented on 2011-11-21 01:41

@david.runge: That's strange, gmusicbrowser does not show up here. Is there a specific option or plugin I need to enable? I don't see MPRIS2 listed. (MPRIS version 1 is ugly and irrelevant.)

- It is mpDris2 connecting to mpd, not vice versa. mpd is always the server, waiting for connections.
- mpDris2 should show up on the Session bus, not System. (The System bus is restricted to root.)
- Try updating both the extension and mpDris2 to latest git master versions.

dvzrv commented on 2011-11-20 22:41

@grawity: thanks for the info! :)
gmusicbrowser does in fact support mpdris and mpdris2 (both show up in session bus). Filed an issue for inclusion.

For the mpd part: Seems my mpd is not connecting to mpdris/2 and not starting correctly. Only getting an instance in system bus with changing name ":0.1.11"-something.
Guess I have to recheck my config... :>

grawity commented on 2011-11-20 19:41

@david.runge: Also make sure you're looking in the right place -- the extension now embeds itself in the "Volume" menu by default.

grawity commented on 2011-11-20 18:46

@david.runge: I'm not even sure. It just works for me. The start order may be related, though -- make sure mpd is started first, and that mpDris2 can successfully connect to it. Also use `d-feet` to check if mpDris2 appears on the session bus; look for "org.mpris.MediaPlayer2.mpd".

For support of additional players: If the player supports MPRIS2, find out the player's D-Bus name (use `d-feet` → File → Session Bus, look for "org.mpris.MediaPlayer2.<foo>") and open an issue at

However, gmusicbrowser does not have MPRIS2 support, only a custom D-Bus interface, so it won't work with this extension.

dvzrv commented on 2011-11-20 12:25

@grawity: how did you make it work with mpd and mpdris2? I can't seem to get it to work. At least the extension is not showing up, when mpd is started.
Support of gmusicbrowser would be cool.

alucryd commented on 2011-11-06 23:13

Turns out it was the official catalyst drivers which didn't get along with the extension... Reverted to OSS and now everything works fine.

alucryd commented on 2011-11-05 16:07

Thx for the heads up, the problem comes from my end then.

grawity commented on 2011-11-05 13:33

Works for me with mpd, Banshee, Quod Libet and Clementine.

alucryd commented on 2011-11-05 11:53

I've updated the package with an install file to compile the gschemas (once again sorry and thx nagisa, I reacted before checking, but still next time state your reason for flagging out of date so people know what's wrong). BUT my shell crashes each time I click on the extension icon while music is being played (I try playing with the new gsettings, to no avail). When my player (clementine) is running but not playing anything, no crashes. Please tell me if you guys have got the same problem so I can determine where it comes from.

grawity commented on 2011-11-04 23:59

The extension now uses GSettings, and running `glib-compile-schemas` is required after installing a new GSettings schema.

This should be added to the package's post_install script:

glib-compile-schemas usr/share/glib-2.0/schemas

alucryd commented on 2011-11-04 22:55

Now my shell crashes every time I click on the extension... I'll look into it tomorrow, since right now I've got such a crappy connection I'm not even sure you'll read this

alucryd commented on 2011-11-04 22:39

No you were right and I apologize, I thought it was once again somebody who had a problem installing and didn't think twice before flagging out of date. Due to recent changes in the git, the gschemas need to be compiled now. Thanks for the tip!

alucryd commented on 2011-11-04 22:35

No you were right and I apologize, I thought it was once again somebody who had a problem installing and didn't think twice before flagging out of date. Due to recent changes in the git, the gschemas need to be compiled now. Thanks for the tip!

nagisa commented on 2011-11-04 21:24

Sorry for that (I mean flagging it).
Anyway, you should add install file with:, which would compile gschemas automatically.

alucryd commented on 2011-11-04 20:22

What's with these guys who can't install a package properly and flag out of date without saying why?

alucryd commented on 2011-11-01 14:58

Wow! Now with sound menu integration^^

stefanwilkens commented on 2011-10-24 23:03

just an f.y.i.

This is still working great on gnome 3.2.1 in combination with various other extensions.

alucryd commented on 2011-10-24 20:29

Weird... I recall a similar thing happened before, something about the user theme extension not being compatible with many others, have you tried disabling all extensions but this one?

Necopinus commented on 2011-10-24 20:26

I may be having a similar problem as Andyvec... After updating sometime during the past few days, the extension disappeared from gnome-shell. Gnome-Tweak-Tool shows the extension as loaded, everything looks sane in dconf, there are no obvious errors in .xsession-errors, and if I use dbus-monitor I can see the messages on the session bus - but no icon.

Interestingly, pidgin-gnome-shell-extension-git has also stopped working for me, but hamster-shell-extension-git is still working fine.

alucryd commented on 2011-10-20 13:25

To all people who wonder which player is supported, please check eonpatapon's git page (link above) to see a list with players and their requirements (like an MPRIS plugin).

giowck commented on 2011-10-20 11:14

To get this working with banshee, I had to activate the "MPRIS DBus Interface" extension from banshee.

After that, the indicator finally shows up!

stefanwilkens commented on 2011-10-19 22:04

Andy, the extension seems to work perfectly for me. Using clementine media player.

Andyvec commented on 2011-10-14 20:57

The extension it loads without errors but is not working (tested with pragha, rythmbox and mpdris2-git)

alucryd commented on 2011-10-02 07:51

I'd like to have at least the beginning of a slightly good reason for flagging this package out of date max.bra. As you can see on this screenshot:; it works perfectly fine under gnome-shell 3.2.

alucryd commented on 2011-10-01 10:55

Most extensions for 3.0 are not compatible with 3.2, most likely those updated for 3.2 won't work on 3.0. Try updating gnome-shell to 3.2. BTW, the fact that it does not appear is normal, it only appears when a supported mediaplayer is running.

Anonymous comment on 2011-10-01 10:12

Hm... now it doesn't work even with Banshee. It doesn't appear at gnome-panel... May be I should add something to Startup Applications or something?

alucryd commented on 2011-10-01 10:02

Well it should, it has just been added in the supported list. Check if there is a mpris plugin to activate or something.

Anonymous comment on 2011-10-01 09:56

I mean gnome-shell 3.2 update. And by the way, I switched to Amarok today, which is an awesome player, but it doesn't work with this extension.

alucryd commented on 2011-10-01 08:55

Weird, you should talk to the author about it. By 3.2, do you mean update to gnome-shell or to the extension? The extension is already updated and works perfectly well on gnome-shell 3.2 with clementine here.

Anonymous comment on 2011-10-01 05:59

I've noticed that every 3-5 minutes I get GNOME-shell freezes with this extension and Banshee running. Waiting for the 3.2 update.

alucryd commented on 2011-09-26 07:36

Well no point asking here, Exaile lacks a MPRIS2 plugin. You can either ask the Exaile devs, or this guy: His plugin works for ubuntu's sound indicator, but I couldn't get it to work with this extension.

Anonymous comment on 2011-09-26 06:51

Please, support for Exaile :)

Anonymous comment on 2011-07-19 15:25

I obsolete this package

Please use gnome-shell-extension-mediaplayer-git ( which use the same code


defcon commented on 2011-07-18 15:34

Thanks :)

grawity commented on 2011-07-18 07:07

defcon, Banshee works if you enable the "MPRIS D-Bus Interface" extension in Preferences.

Anonymous comment on 2011-07-18 07:05

It does with the MPRIS plugin

defcon commented on 2011-07-17 08:40

Doesn't work here with banshee :-(

defcon commented on 2011-07-17 08:39

Doesn't work here with banshee :-(

defcon commented on 2011-07-17 07:37

Banshee is tested but it is not shown in mediaplayer-extension

alium commented on 2011-07-15 10:16

alium commented on 2011-07-15 10:16

works good with Pragha! :D thanks!

alium commented on 2011-07-15 10:15

works good with Pragha! :D thanks!

alucryd commented on 2011-07-13 12:49

Fortunately, some people are more knowlegeable than I am ^^ Thx for the heads up!

Anonymous comment on 2011-07-12 15:42

Actually it's a Quod Libet bug.
I've open an issue upstream :

Anonymous comment on 2011-07-12 13:19


Actually no, I didn't see someone had packaged my extension before me
Maybe I should removed mine as it seems more used :)

grawity commented on 2011-07-12 10:30

Is there any difference between this package and ?

alucryd commented on 2011-06-27 07:27

Well, I would think this is a limitation of the mpris2 protocol, since all the extension does is resizing the picture (somebody correct me if I'm wrong). The easiest fix would be to resize your covers to 500x500 (all of mine are at that resolution and work fine), just keep the one at a higher resolution in your music folder if you want.

alphazo commented on 2011-06-26 21:27

Cover support in gnome-shell-extension-mediaplayer is a great addition.

I'm using Quod Libet and noticed that most of my covers won't show up in the extension. It looks likes the extension doesn't render covers with a resolution above 600x600. I usually have high-resolution covers coming from Amazon embedded in my FLAC files.

Is this something that can be easily be fixed?

Anonymous comment on 2011-06-20 16:50


Updated package !

nDray commented on 2011-06-20 16:44

Yet another comment, sorry. But I think this way it will be right! :P

(Nice work, by the way!)

nDray commented on 2011-06-20 16:43

Please change gitroot to your public access link ""

Also add intltool and pkgconfig as a makedepend, and gnome-common as a depend, right?

Finally, move your
./ --prefix=/usr; make

to the build function, instead of package.

Anonymous comment on 2011-06-20 16:43

Ops thank you, fixed

nDray commented on 2011-06-20 16:37

Please change gitroot to your public access link ""

Also add intltool as a makedepend, and gnome-common as a depend, right?

nDray commented on 2011-06-20 16:34

Please change gitroot to your public access link ""

Anonymous comment on 2011-06-20 02:24

New design looks great! Autodetection is also awesome.

alucryd commented on 2011-06-19 16:58

You're right, I forgot to add it. Thx for the reminder!
Also, no need to have an install file anymore, the extension now autodetects the mediaplayer. Now shows covers too, nice! (no more shuffle & repeat though...)

alucryd commented on 2011-06-19 16:54

You're right, I forgot to add it. Thx for the reminder!
Oh and the extension now shows covers, nice! (no more shuffle & repeat though...)

simon04 commented on 2011-06-19 14:35

Please add mpdris2-git to optdepends, as this is required to get the extension working with MPD.

simon04 commented on 2011-06-19 14:24

Please add mpdris2-git to optdepends, as this is required to get the extension working with MPD.

alucryd commented on 2011-06-14 12:23

You can find a fix for the shell disregarding custom css in extensions when using the user-theme extension ont the following page : (it will not fix your problem though bwat47). With this buttons (backward, play, stop and forward) will be their normal size even when using a custom theme.

alucryd commented on 2011-06-13 19:20

@bwat47, regarding your problem, Elementary provide the playback icons as SVGs only, while Faenza and gnome provide PNGs too. Try adding PNGs of the following icons for all sizes you find in the folder, 16x16, 22x22... : media-playback-start, media-playback-pause, media-playback-stop, media-skip-backward, media-skip-forward.

alucryd commented on 2011-06-13 18:06

Moved player selection to install file, and added intltool and gnome-common to makedeps.

LeCrayonVert commented on 2011-06-13 12:27

And intltool as well...

LeCrayonVert commented on 2011-06-13 12:25

Please add gnome-common to depends array. Thx ;)

nDray commented on 2011-06-12 21:18

bwat47, maybe you have to report it in github, then...

Anonymous comment on 2011-06-12 21:01

I removed user-theme and its a little better, but the problem is still there when using elementary. I now have the smaller buttons with borders around them, but inside the borders the problem is still somewhat similar to my first screenshot.

Huulivoide commented on 2011-06-12 14:31

Please move the player selection into install file or
to shellscript, so that this is a player independent
and can be distrubuted on custom repos.

nDray commented on 2011-06-11 17:36

bwat47, your problem is most likely due to having the "theme selector" extension installed. I have noticed that it prevents other extensions from loading their custom css so, in this case, the mediaplayer extension fails to correctly set the size of the buttons with css...

I hope that's the case, and it solves your problem. Other icon themes work probably because the icons are correctly sized for that use.

There is also a "problem" with the PKGBUILD i added for the mpdris2. mpdris2 needs to be running at all times. It has to be turned into a daemon, and maybe added to the gnome-session-properties to launch at startup, if that works =)

I'm not using this extension, as it doesn't allow me to select playlists or songs, so it's rather unusable, though it's heading somewhere =)

alucryd commented on 2011-06-10 14:55

Try comparing the icons the extension points to between the 3 packs, and maybe edit the elementary ones, it should be a matter of resolution. I can't look into this right now, I won't have my arch box for the week-end.

Anonymous comment on 2011-06-10 14:51

It seems to just do it with the elementary icon theme. Gnome and faenza themes work.

Anonymous comment on 2011-06-10 14:46

It seems to just do it with the elementary icon theme. Gnome and faenza themes work.

Anonymous comment on 2011-06-10 14:46

It seems to just do it with the elementary icon theme. Gnome and faenza themes work.

alucryd commented on 2011-06-10 14:42

It looks okay here, please try changing your shell theme and/or icon theme to see whether the problem comes from them (I'm using the deviantArt theme by half-left and the Faenza icons by tiheum).

Anonymous comment on 2011-06-10 14:36

Today's update makes this unusable for me. The play/previous/next/stop buttons are massive.

alucryd commented on 2011-06-10 11:03

Added mpdris2-git, Please test if it works for you!

alucryd commented on 2011-06-10 09:35

Thx, it wasn't there when I last checked (and I couldn't test cause I don't use MPD). Thx for the pkgbuild, I'll add it soon!

nDray commented on 2011-06-10 09:27

You need this for it to work with mpd. The dev created this mpDris2 because mpDris is for version1 of MPRIS, and he's using version 2 in the extension.
Alucryd, support this package if you want to ;)

alucryd commented on 2011-06-08 17:27

There, up to date git, the things I added are already in there. And to French people out there, a translation is included.

alucryd commented on 2011-06-08 15:03

Thx for the tip! I'll check it out as soon as I can.

nDray commented on 2011-06-08 14:59

This one won't be supported anymore. The most active fork is Jean-Philippe Braun's, here

alucryd commented on 2011-06-08 14:56

Yeah I knew about it, but I prefer the layout of this one, I can pkgbuild the other if somebody wants it. In fact I checked that one to see how the cover was displayed, but I had to understand javascript first, and it wasn't not easy since I know no language at all. I've been able to understand most of it, but the part involving the cover still eludes me...

webmeister commented on 2011-06-08 13:36

There is already a fork on GitHub, that adds some of these features and more:

alucryd commented on 2011-06-08 12:30

I made a patch to add a volume slider and a repeat switch to the menu. I'm planning to add the cover too but can't seem to get it to work (and the shell keeps crashing whenever I make a mistake in the code...). Enjoy!

alphazo commented on 2011-06-07 20:48

Thanks for the tip. Didn't know I had to enable it. Works great now!

alucryd commented on 2011-06-07 13:20

Did you activate the MPRIS plugin ?

alphazo commented on 2011-06-07 13:09

On my machine, it doesn't work with Quod Libet. It keeps showing Unknown Artist / Unknown Album / Unknown Title. Buttons don't have any impact on Quod Libet behavior. BTW it worked with Rhythmbox.

alucryd commented on 2011-06-06 18:50

Updated to the main git, the one I was using was a fork for banshee. I made a nice bash script which will prompt you for your mediaplayer upon installation. Tested and working are : Rhythmbox, Banshee, Quod Libet and Clementine.
Feel free to say it if you managed to manually make it work with your mediaplayer, I'll add it to the list.

alucryd commented on 2011-06-06 18:10

Updated to the main git, the one I was using was a fork for banshee, this one works by default only with rhythmbox, but you can change to the player of your choice using the tip below (there are two instances to change). Feel free to say it if you managed to make it work with your mediaplayer. Tested and working are : Rhythmbox, Banshee, Quod Libet and Clementine.

alucryd commented on 2011-05-29 16:37

Works for clementine, and for rhythmbox too, just change org.mpris.MediaPlayer2."your mediaplayer here" to the player of your choice. Thanks webmeister for the tip!

alucryd commented on 2011-05-27 18:22

Nice, I'll try to change this for clementine too as soon as I can and see what happens!

webmeister commented on 2011-05-27 16:06

Works with Quod Libet as well, if you activate the MPRIS plugin from quodlibet-plugins and change "org.mpris.MediaPlayer2.banshee" to "org.mpris.MediaPlayer2.quodlibet" in extension.js.

alucryd commented on 2011-05-27 08:36

Seems to work only with rhythmbox and banshee for now, had no luck with clementine.