First of all, great project! I had started playing around with something similar a while ago but got stuck with the native side so I stopped. Stumbling upon your repo got me motivated again :smile:.
I went ahead and re-wrote the javascript side in order for the extension to be able to also detect HTMLMediaElements on other websites. I also made it more modular so it should be easier to create new providers by extending the project's main classes.
I know it's a big PR (most files are .md & conf). I made the repo compile to a esdoc site browser-mpris2
If you want i can remove all non-js files from the PR.
Anyway, if you have the time, please let me know what you think.
Hi!
First of all, great project! I had started playing around with something similar a while ago but got stuck with the native side so I stopped. Stumbling upon your repo got me motivated again :smile:.
I went ahead and re-wrote the javascript side in order for the extension to be able to also detect
HTMLMediaElements
on other websites. I also made it more modular so it should be easier to create new providers by extending the project's main classes.I know it's a big PR (most files are .md & conf). I made the repo compile to a esdoc site browser-mpris2
If you want i can remove all non-js files from the PR.
Anyway, if you have the time, please let me know what you think.
Cheers