All Projects → jsmnbom → Mpris Integration

jsmnbom / Mpris Integration

Licence: mit
Adds mpris integration for certain sites using a Firefox Webextension.

Programming Languages

typescript
32286 projects
rust
11053 projects

Projects that are alternatives of or similar to Mpris Integration

Session-resurrection
Save your browser sessions and restore them any time
Stars: ✭ 36 (+16.13%)
Mutual labels:  webextension, firefox-extension
Ext Saladict
🥗 All-in-one professional pop-up dictionary and page translator which supports multiple search modes, page translations, new word notebook and PDF selection searching.
Stars: ✭ 8,418 (+27054.84%)
Mutual labels:  webextension, firefox-extension
linguist
Linguist is a powerful browser extension for translate pages and text, which are ready to replace your favorite translate service
Stars: ✭ 21 (-32.26%)
Mutual labels:  webextension, firefox-extension
csgo-trader-extension
CSGO Trader Browser Extension to help with CS:GO item trading, marketing and much more
Stars: ✭ 86 (+177.42%)
Mutual labels:  webextension, firefox-extension
webpageScanner
Extension for Firefox
Stars: ✭ 16 (-48.39%)
Mutual labels:  webextension, firefox-extension
web-extension-boilerplate
The web extension boilerplate help to set up project quickly using typescript, jest, webpack, githook, prettier and github actions
Stars: ✭ 35 (+12.9%)
Mutual labels:  webextension, firefox-extension
page-modeller
⚙️ Browser DevTools extension for modelling web pages for automation.
Stars: ✭ 66 (+112.9%)
Mutual labels:  webextension, firefox-extension
ipfs-companion
Browser extension that simplifies access to IPFS resources on the web
Stars: ✭ 1,745 (+5529.03%)
Mutual labels:  webextension, firefox-extension
Google Music Hotkeys
Browser extension that adds keyboard control to Google / YouTube Music
Stars: ✭ 25 (-19.35%)
Mutual labels:  firefox-extension, webextension
paxmod
🕊️ Firefox add-on for multi-row tabs and site-dependent tab colors
Stars: ✭ 123 (+296.77%)
Mutual labels:  webextension, firefox-extension
youtube-audio
Disable videos on Youtube saves resource usage (Youtube becomes audio only)
Stars: ✭ 13 (-58.06%)
Mutual labels:  webextension, firefox-extension
Read Aloud
An awesome browser extension that reads aloud webpage content with one click
Stars: ✭ 444 (+1332.26%)
Mutual labels:  firefox-extension, webextension
image-picka
A Firefox/Chrome extension helping you download images.
Stars: ✭ 114 (+267.74%)
Mutual labels:  webextension, firefox-extension
grammarly-markdown-extension
🖋 Convert Grammarly to Markdown (browser extension)
Stars: ✭ 23 (-25.81%)
Mutual labels:  webextension, firefox-extension
copy all tabs
Browser add-on to copy all URLs and titles from the open tabs in a browser window as a text list to the system clipboard. Links can also be pasted to a browser window to restore a list of tabs.
Stars: ✭ 21 (-32.26%)
Mutual labels:  webextension, firefox-extension
page-shadow
A Chrome, Firefox, Opera and Edge extension to increase contrast, decrase brightness and invert color of websites
Stars: ✭ 14 (-54.84%)
Mutual labels:  webextension, firefox-extension
perfect-home
firefox newtab/home replacement
Stars: ✭ 101 (+225.81%)
Mutual labels:  webextension, firefox-extension
fb-post-screenshot
Firefox Web Extension to save Facebook posts as images
Stars: ✭ 18 (-41.94%)
Mutual labels:  webextension, firefox-extension
AntiRickRoll
Chrome extension that blocks Rickrolls!
Stars: ✭ 22 (-29.03%)
Mutual labels:  webextension, firefox-extension
Webextension Toolbox
Small CLI toolbox for cross-browser WebExtension development
Stars: ✭ 365 (+1077.42%)
Mutual labels:  firefox-extension, webextension

Firefox now supports mrpis natively, so this extension is no longer needed, and is not in active development
For more info see: https://github.com/jsmnbom/mpris-integration/issues/9

Mpris integration

Adds mpris integration for certain sites using a Firefox Webextension.

It allows you to have proper media key support for webplayers like youtube and spotify.

Sites

The extension currently works with the following sites

  • Spotify (open.spotify.com)
  • Youtube (youtube.com)

Getting started

Prerequisites

The following software is required to use this project.

  • A fairly recent version of firefox (anything above version 64.0 should be fine)
  • glib, dbus (install using your package manager)
  • Something to interact with mpris players (like playerctl or gnome shell)

Installing

  1. Install the webextension
  2. Install the native host
    • Compiled version from here.
    • Or compile it yourself (see below)
  3. Add a native manifest file
    • Copy the mpris_integration_native.json file to ~/.mozilla/native-messaging-hosts/ and replace the path key with the location of the native host binary.

If you're running Arch Linux, steps 2 and 3 can be replaced by installing the AUR package media-integration-native-host (not yet released).

Compiling yourself

Compile prerequisites

In addition to the prerequisites above you will also need

The extension

  1. In the add-on/ directory
    • Run tsc --build to build the source typescript files into javascript, which is placed in the add-on/dist folder.
    • Run the web-ext build command. The build extension will be placed as a .zip in add-on/web-ext-artifacts. To install it, look here.
  2. Run cargo build (optionally with the --release flag to make an optimized build). The binary will be placed in target/{debug,release}.

Don't forget to also add a native manifest file as described in the installation section.

License

This webextension and native host is licensed under the MIT license.

Acknowledgements

Icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].