5ca27551da
* Only send artUrl to the signal if it's not empty * Fix for double signals What I've found while using dbus-monitor is that playerctl sends a bunch of messages whenever media is changed, with the first one always having the artUrl empty. If the media does have an artUrl, the next messages will contain the artUrl resulting in artUrl ~= last_artUrl becoming true and triggering another signal The hacky method in the commit will only trigger a new signal if artUrl is not empty, or on the second message sent (as some media don't provide any art) * Revert "Only send artUrl to the signal if it's not empty" This reverts commit |
||
---|---|---|
.. | ||
playerctl | ||
init.lua |