See https://github.com/f1u77y/web-media-controller#this-project-is-now-abandoned-due-to-its-redundancy
glib2
json-glib
$ git clone https://github.com/f1u77y/wmc-mpris.git
$ cd wmc-mpris
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make
Now you can install this with sudo make install
and uninstall with
cat install_manifest.txt | sudo xargs rm
(both commands should be run from build/
).
No other actions required.
If you don't have sudo
privilidges, replace the last 2 commands with the following:
cmake -DCMAKE_BUILD_TYPE=Release -DINSTALL_FOR_CURRENT_USER=On ..
make
And then make install
won't need sudo
.
Alternatively, you could build with meson
(will be the only option in near future):
$ meson build --buildtype release
$ ninja -C build
And then install with sudo ninja -C build install
and uninstall with
sudo ninja -C build uninstall
.
In addition to installing/building the web-media-controller, you will need to install this browser extension. When both the extension and this program installed, the extension will interact with it in the background and you should be able to go to one of the supported websites and be able to control it with every MPRIS client. Here are a few examples:
Some of these tools supports controlling the player via media keys, which is the initial goal of the project.