Mousewheel up will play next song, down will play previous song
This commit is contained in:
parent
32c1b36c93
commit
f5520e220b
@ -104,3 +104,15 @@ class MPD(IntervalModule):
|
|||||||
self._mpd_command(self.s, "next")
|
self._mpd_command(self.s, "next")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def on_upscroll(self):
|
||||||
|
try:
|
||||||
|
self._mpd_command(self.s, "next")
|
||||||
|
except Exception as e:
|
||||||
|
pass
|
||||||
|
|
||||||
|
def on_downscroll(self):
|
||||||
|
try:
|
||||||
|
self._mpd_command(self.s, "previous")
|
||||||
|
except Exception as e:
|
||||||
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user