5

I tried the following command to integrate mpv into the Ubuntu sound menu.

$ gsettings set com.canonical.indicator.sound interested-media-players "['lollypop', 'mpv']"

This adds an entry for mpv but it misses the playback controls.

Screenshot mpv sound menu

Zanna
  • 69,223
  • 56
  • 216
  • 327
orschiro
  • 12,987
  • 16
  • 82
  • 157
  • 1
    With clementine the playback buttons appear, when you start the program. Maybe that feature needs to be implemented in mpv Media Player. You might want to open an issue and label it as feature request on https://github.com/mpv-player/mpv/issues I did not found any issue regarding sound indicator. – mondjunge Nov 04 '16 at 08:24
  • Thank you, @mondjunge! :-) Issue created: https://github.com/mpv-player/mpv/issues/3767 – orschiro Nov 04 '16 at 08:26

1 Answers1

4

We can integrate any music player (or other application) into the sound indicator as shown here but this will only make it controllable if the player supports dbus (mpris) controls.

Sadly this is not the case for MPV.

There is an external plugin which claims to add mpris support. I haven't tried it myself but it may be worth a shot.

Takkat
  • 140,996
  • 54
  • 308
  • 426
  • thanks for your answer! On a side note, which player would you recommend that comes closest to MPV but supports dbus (mpris) controls? – orschiro Nov 04 '16 at 10:44
  • Sadly the user script is not working on Ubuntu 16.10: https://github.com/dodo/lua-mpris/issues/7 – orschiro Nov 04 '16 at 11:57
  • Too bad - I can't help with a similar player. MPV is rather good and it is lightweight. Do you need video? – Takkat Nov 04 '16 at 12:14
  • Yes, I prefer to have one player for both audio and video. Indeed, I like MPV a lot as well. – orschiro Nov 04 '16 at 16:16