Open TomaszGasior opened 5 years ago
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 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
Thanks fixed.
Also not working. Process started, but controls disappeared after video start. PS: binary compiled from GH master.
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.