Open Barbaross93 opened 3 years ago
What player are you using?
The spotify official client
This is very likely a bug in playerctl introduced in the last release. I'm looking into it now.
Indeed, downgrading to 2.2.1 seems to work fine
In case someone lands here looking for similar problems with spotifyd: they lie in spotifyd itself. Check this PR to spotifyd for solution.
Sorry for the spam but I thought this issue applied to me; I hope by posting this the next person finds the right solution.
I just tested this again on current master branch and it works correctly. I think the way I was reproducing this before was wrong.
Looks like the current master branch does indeed work. Did you make any changes? It's strange it wasn't working with 2.3.1 if there weren't any direct changes to address this
I'm trying to write a script that monitors the output of
playerctl --follow metadata mpris:artUrl
to execute some command whenever the artUrl changes. An abbreviated version of what I have so far is:The problem with this is that $arturl doesn't update until I kill
playerctl
; that is, even though playerctl knows about the changes, it doesn't feed them into the while loop until the process is killed. I figured this must be becauseplayerctl --follow
's output must be buffered. So i triedto disable buffering. Unfortunately that doesn't seem to work. Is there some way around this problem?