playerctl icon indicating copy to clipboard operation
playerctl copied to clipboard

send command to specific tab in browser

Open treeshateorcs opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. I know this is not possible right now, but we need to solve it. I use qutebrowser, spotify, and sway (a wayland compositor, which the official spotify client is not available on), so i need a way to send a playerctl command to the spotify tab (usually the first one) ONLY in my QB.

Describe the solution you'd like I really hope this is clear enough to not require further explanation

Describe alternatives you've considered using spotifyd, but it isn't activated on start, i have to choose it on the spotify page

this is a crosspost from the spotifyd repo, where i put it accidentally

treeshateorcs avatar Nov 09 '20 09:11 treeshateorcs

Web browsers seem to only be giving me one interface for the whole browser. I'm not sure if that's specified in the web spec, but if it is, that would be difficult to change. If the browser gave you one interface per tab, then what you want would be possible. You need to find out if that's allowed by the spec. If it is, you can open an issue with the browser to change their implementation. If not, you'll either need to get the web spec changed or look into developing a browser plugin.

acrisci avatar Nov 09 '20 15:11 acrisci