mihirlad55 / polybar-spotify-module

A collection of lightweight programs for use with a Polybar Spotify Module
GNU General Public License v3.0
140 stars 9 forks source link

Fix Play/Pause #29

Closed FryDay closed 2 years ago

FryDay commented 2 years ago

The only way I can think to solve this issue is to save off the spotify dbus sender id and then compare it to the message's sender id. It's the only unique value in the dbus message that we can use.

Fixes #26

mihirlad55 commented 2 years ago

Almost exactly how I was planning to do it. PR looks perfect. Once again great work and thanks for the help @FryDay. I will merge the PR and update the AUR package.