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

Feature: Raise player #310

Open
Nickwiz opened this issue Jun 30, 2023 · 0 comments
Open

Feature: Raise player #310

Nickwiz opened this issue Jun 30, 2023 · 0 comments
Assignees
Labels

Comments

@Nickwiz
Copy link

Nickwiz commented Jun 30, 2023

Would be nice if one could raise players, especially when playing a tab among hundreds in browsers :P.

I can use:

gdbus call --session --dest org.mpris.MediaPlayer2.firefox.instance1234 \
--object-path /org/mpris/MediaPlayer2 --method org.mpris.MediaPlayer2.Raise

Which, at least on Linux, results in the active tab being raised and focused.

Had a quick look at the source and tried to add it by simply copying most of pause code but quickly realized it was based on "wrong" interface; MediaPlayer2.Player vs MediaPlayer2. Would have to read more of the code to even have a probable inkling to add it.

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

No branches or pull requests

2 participants