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

Default player, and player queue #13

Open
PMunch opened this issue Jan 9, 2023 · 2 comments
Open

Default player, and player queue #13

PMunch opened this issue Jan 9, 2023 · 2 comments

Comments

@PMunch
Copy link

PMunch commented Jan 9, 2023

I have two scenarios that currently aren't covered by mpris2controller but which I believe should be both fairly easy to implement, and within the scope of the project.

The first is rather simple, when I first boot up my machine I want to have the play button start my default audio player and start playing. This could be done by e.g. setting an environment variable and then if there are no active players then run whatever is specified in the environment variable.

The second might be a bit more complex, but still fairly simple. Essentially if I listen to something in my music player and for some reason watch e.g. a YouTube clip, I pause the music and interact with the video. Then after the video is done playing I close the tab and want to start my music again, but now mpris2controller is no longer seeing my music player as the latest player and refuses to start it. Essentially if it fails to control the last player it should go down the list of recently used players and play the next one.

@dreua
Copy link

dreua commented Jan 9, 2023

For the second issue: I've switched back from mpris2controller to the built in Gnome features and it handles those cases quite well, falling back to the last Player whenever one is closed. (I think since Gnome 42, maybe earlier.)

@PMunch
Copy link
Author

PMunch commented Jan 9, 2023

My setups use i3 and generally don't have a lot of Gnome things installed (and they tend to all depend on each other) so I'd generally want a more light-weight standalone tool like this.

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

No branches or pull requests

2 participants