You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if i have something like spotify and youtube opened, the way windows worked was when i pressed my play media key it played/paused the last media that i had paused/played, but playerctl defaulted to youtube even though i played spotify more recently, just because i had opened firefox before spotify, and i tried making a script for it but the script only played whichever media player came first in the array, since spotify was first in the array the script prioritized spotify, how do i make the script take into account which media player was most recently played, like if i just paused a youtube video and pressed my play media key, some random spotify song from 15 minutes ago shouldn't play, the video should, and vice versa, i eventually just gave up and resorted to asking you all, thanks in advance!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
if i have something like spotify and youtube opened, the way windows worked was when i pressed my play media key it played/paused the last media that i had paused/played, but playerctl defaulted to youtube even though i played spotify more recently, just because i had opened firefox before spotify, and i tried making a script for it but the script only played whichever media player came first in the array, since spotify was first in the array the script prioritized spotify, how do i make the script take into account which media player was most recently played, like if i just paused a youtube video and pressed my play media key, some random spotify song from 15 minutes ago shouldn't play, the video should, and vice versa, i eventually just gave up and resorted to asking you all, thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions