jonathangarelick / SoundSeer

SoundSeer is a macOS app that shows your current song & controls in the menu bar.
122 stars 2 forks source link

Apple Music state is prioritized even when Spotify is playing #36

Closed jonathangarelick closed 2 weeks ago

jonathangarelick commented 2 weeks ago

The issue is here:

if Utils.isAppRunning(MusicApplication.bundleID) {
    playerState = MusicApplication.getPlayerState()
} else if Utils.isAppRunning(SpotifyApplication.bundleID) {
    playerState = SpotifyApplication.getPlayerState()
} else {
    Logger.model.debug("Neither app is running")
}

Repro: have Apple Music and Spotify running, and Spotify is currently playing. The song will not appear.