imanel / deezplayer

Deezer Desktop app for Windows, Linux and macOS
https://deezplayer.imanel.org
50 stars 14 forks source link

Controllers of Player not Working #25

Closed joaoeudes7 closed 5 years ago

joaoeudes7 commented 5 years ago

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 5 years ago

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.