vityevato / beardie

Beardie is a utility that allows you to control various media players with your keyboard.
163 stars 4 forks source link

[Request] App Priority Control #3

Closed panosru closed 3 years ago

panosru commented 3 years ago

Hi! I saw your post here, and really appreciate the effort!

Is it possible to place Apple Music after iTunes or even provide the ability to rearrange the priority?

thanks!

UPDATE: I'm not sure actually if the order of the apps in the list implies the priority, for example, if you have Apple Music running and if the app is above Spotify in the list then it should be controlled, and so on.

vityevato commented 3 years ago

@panosru Have you tried the latest alpha? Beardie automatically chooses which player to control. The user does not need to prioritize. You can keep several players running, the "desired one" will be controlled. :) Such magic... :)

Also, if you are not satisfied with the current player, you can switch between running players using hotkeys

panosru commented 3 years ago

@Stillness-2 yeap! I downloaded at the time I wrote the "issue" :D

I see what you mean by magic, it is cool, it actually tracks the last active player and keeps routes the media keys to it, meaning that if I have a YouTube tab open in Edge, Apple Music open and Spotify as well, then the media keys will be talking to the last player with which you interacted.

That is cool, if I may, a couple of things that I would also love to have:

  1. I have set Spotify to launch on startup, but if after a boot I just hit the play button, Apple Music is launched, I would like for the app to be able to detect that a) a media app is already running, b) if more than one media apps are running then handle the one with higher priority (order) in the list.
  2. Be able to disable the magic and just have a priority-based system that would always handle the running application with the highest priority, if none is running then will launch the application with the highest priority. For instance, I may have Spotify, Apple Music and YouTube running, but I want my media buttons to handle only Spotify (which I had placed in higher priority in the apps list). One could argue why would you want to do that; I have multiple sound sources and there is a scenario where Spotify is playing on a sound source that is emitting to the whole house for example, like background soft music, but on the sound-source that I have set for my desktop I'm watching a youtube video (which I control with j k l almost always).

Again, thanks a lot for the project!

vityevato commented 3 years ago

@panosru

  1. This is a bug, and it seems I fixed it in the latest build. If the Beadie app is running, the Music app should not launch when you press play button.
  2. You propose a completely different concept of the application. I am not ready to change the current concept, as it suits me completely. As a customization of the behavior, you can try disabling adapters/strategies in the application settings. :)