mpris-integration icon indicating copy to clipboard operation
mpris-integration copied to clipboard

Does not work

Open TomaszGasior opened this issue 6 years ago • 4 comments

  • Arch Linux
  • Host binary downloaded from GH
  • Firefox 67

If I have disabled autoplay for youtube.com. When I open page of some video on youtube.com, gnome shell shows mpris controls but they does not work. Also, when I start video these controls disappear.

TomaszGasior avatar Jul 04 '19 12:07 TomaszGasior

Works here (Arch, Firefox 69), this is what I did:

mkdir -p ~/.mozilla/native-messaging-hosts

wget -O ~/.mozilla/native-messaging-hosts/mpris_integration_native.json https://github.com/jsmnbom/mpris-integration/raw/master/mpris_integration_native.json

wget -O ~/.mozilla/mpris-integration-native https://github.com/jsmnbom/mpris-integration/releases/download/v0.2/mpris-integration-native

chmod u+x ~/.mozilla/mpris-integration-native

sed -i "s#PATH_TO_NATIVE_BINARY#$(realpath ~/.mozilla/mpris-integration-native)#" ~/.mozilla/native-messaging-hosts/mpris_integration_native.json

Alternatively you can use (if you use KDE) https://community.kde.org/Plasma/Browser_Integration

kevinlekiller avatar Sep 26 '19 01:09 kevinlekiller

@kevinlekiller I suspect there is a typo in the paths you shared: i.e.

mkdir -p ~/.mozilla/native-messaing-hosts -> mkdir -p ~/.mozilla/native-messaging-hosts

compiaffe avatar Nov 20 '19 15:11 compiaffe

Thanks fixed.

kevinlekiller avatar Nov 20 '19 16:11 kevinlekiller

Also not working. Process started, but controls disappeared after video start. Screenshot from 2019-11-25 15-21-03 PS: binary compiled from GH master.

x-user avatar Nov 25 '19 11:11 x-user