forked from mihirlad55/polybar-spotify-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Spotify takes an agonizingly long time to register the artist and track information with the Mpris player interface in DBus at launch. Depending on how fast your machine spins up the spotify client, it could take upward of a full second for DBus to have all poll-able information about the current track.
I've added a 1.25 seconds sleep between name owner change detection and polling for the track/artist information which appears to give spotify enough time, at least on my devices.
This may not be acceptable for slower devices, though, so I will look into something a little more robust that polls dbus until the artist and track name are not empty strings before updating the module.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working