Controllers of Player not Working
joaoeudes7 opened this issue · 1 comments
joaoeudes7 commented
This code is not working in Arch Linux, because media controls do not respond
Note: I used debtap to convert to Arch package
globalShortcut.register 'MediaPlayPause', -> runJS "dzPlayer.control.togglePause();"
globalShortcut.register 'MediaStop', -> runJS "dzPlayer.control.pause();"
globalShortcut.register 'MediaNextTrack', -> runJS "dzPlayer.control.nextSong();"
globalShortcut.register 'MediaPreviousTrack', -> runJS "dzPlayer.control.prevSong();"
imanel commented
This is well known problem with Arch Linux (it works with other distributions). Unfortunately there's nothing I can do about it - it's on system level, and messing with dbus directly sounds like a horrible idea.