otommod / browser-mpris2

Implements the MPRIS2 interface for Chrome and Firefox
92 stars 21 forks source link

Chrome extension fails to load #19

Closed pacho2 closed 5 years ago

pacho2 commented 5 years ago

I get this error: Error in event handler for (unknown): Error: Attempting to use a disconnected port object background.js:16 (función anónima) (anonymous function) programPort.postMessage(msg); -> is highlighted in the error report at extensions section in Google Chrome

Thanks

otommod commented 5 years ago

Have you installed companion program? Try running chrome/chromium from a terminal (there must not be another window running) and see if anything weird (specifically, a Python exception) pops up in the logs.

pacho2 commented 5 years ago

Sorry for the delay :/

Indeed I see this in the terminal: LaunchProcess: failed to execvp: /home/pacho/bin/

But I have the executable there: $ ls -l /home/pacho/bin/chrome-mpris2 -rwxr-xr-x 1 pacho pacho 16794 sep 5 10:31 /home/pacho/bin/chrome-mpris2

YasserRabee commented 5 years ago

I came across the same problem. it seems like the steps to install on the README are not easy enough for average user. I followed steps from here and it works fine with me