Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow duplicate 'instances' for a particular browser (support multiple tabs) #687

Open
JeffersonBledsoe opened this issue Feb 27, 2024 · 3 comments

Comments

@JeffersonBledsoe
Copy link

If I'm using Browser Mod as a media player and I open a second tab with Home Assistant in it, we end up playing the audio twice. Is there anyway we could have an 'exclusive' mode (configurable or always on) so that there is only one media instance running no matter how many tabs are open?

@orzechszek
Copy link

Great idea. I have similar problem. I usually open few instances in browser. Would be nice to have possibility to update only in one browser tab, not all of them :).

@evercape
Copy link

I just read through the documentation again and noticed that the popup-card does exactly that, it opens the popup only in that view.

I even tried to open 2x the same tab with the same view and clicked (more) on an entity and only that particular popup opened up, which is great.

However, that means that one has to use this "workaround" instead of using the fire-dom-event service with a disallow duplicate / restrict to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants