Commit Graph

30 Commits (master)

Author SHA1 Message Date
Philip Howard b4f6137f65
Drop Pirate Audio default pin config for #9
This config is set by the Pirate Audio install script- https://github.com/pimoroni/pirate-audio/blob/master/mopidy/install.sh

Since this library is device agnostic, these defaults don't have to be here, and shouldn't be here. Users should have to explicitly configure and enable the plugin.

See #9 for an example of the default pin config being unexpectedly loaded and causing the plugin to bail.
2020-07-17 11:49:35 +01:00
Phil Howard 9cb6b7a4e6 Merge branch 'wildestpixel-master' 2020-07-15 11:42:52 +01:00
Phil Howard 31ce3bfbf9 Merge branch 'master' of git://github.com/wildestpixel/mopidy-raspberry-gpio into wildestpixel-master 2020-07-15 11:40:57 +01:00
wildestpixel ed6efe066d
Update pinconfig.py 2020-07-15 05:37:24 +01:00
Phil Howard ba47f970b4 Disable by default for #5 2020-07-14 15:12:12 +01:00
Phil Howard 1633402de2 Fix linting issues 2020-07-14 14:50:24 +01:00
wildestpixel d5851339a5
Update frontend.py
Add definition of handle_play_stop which will allow the ALSA playback device to unlock for audio to be played back from an alternative source
2020-07-14 12:15:49 +01:00
Phil Howard 279ddb4f39 Change config to options 2020-03-25 12:31:22 +00:00
Phil Howard ecd9b14a24 Pass options into event handlers 2020-03-25 11:42:57 +00:00
Phil Howard 9499f2e6ee Correct linting errors and tests 2020-03-25 11:08:10 +00:00
Phil Howard e5a18757ba Add support for additional per pin event options 2020-03-25 10:47:49 +00:00
Phil Howard 07759149d6 Apply black reformatting suggestions 2020-01-23 12:46:18 +00:00
Phil Howard 5854f568fe Fix for 3.x API changes
Switches from use of playback controller (deprecated) to mixer volume as mentioned in #1

Uses `get_state()` instead of `state`
2020-01-23 12:37:36 +00:00
Phil Howard 01a4e792ad Fix silly blunder 2020-01-23 11:55:28 +00:00
Phil Howard 68abdf508b dos2unix crlf -> lf 2020-01-23 11:55:28 +00:00
Phil Howard eadc6248df Fix pinconfig encode,decode and linting 2020-01-23 11:55:28 +00:00
Phil Howard 0bc4d3a030 Use f-strings instead of % and .format() 2020-01-23 11:55:28 +00:00
Phil Howard 610ff895fd Use pathlib in Extension 2020-01-23 11:55:27 +00:00
Phil Howard eacc95c9d7 isort -rc . && black . 2020-01-23 11:55:27 +00:00
Phil Howard 87e0d91201 black . 2020-01-23 11:55:27 +00:00
Phil Howard ba32cf7df8 pyupgrade --py37-plus **/*.py 2020-01-23 11:55:27 +00:00
Phil Howard 6058b28934 Bump debounce to 250ms for #2 2019-11-26 15:29:03 +00:00
Phil Howard d35b1e29dd Prep for v0.0.2 2019-11-12 09:58:16 +00:00
Philip Howard c8f8745222
Add defaults for PA control 2019-10-15 15:16:30 +01:00
Phil Howard b2863fd2a3 Fixed volume control limits and steps 2019-10-10 16:08:19 +01:00
Phil Howard b23b666a34 Test cleanup and fixes 2019-10-10 15:52:43 +01:00
Phil Howard d64f7ba650 Make it work 2019-10-10 13:49:20 +01:00
Phil Howard 2dc1e75d32 Need to specify all pins to avoid warnings 2019-10-10 13:49:08 +01:00
Phil Howard cfdf07e3b6 Make magic happen 2019-10-10 13:16:37 +01:00
Phil Howard 2aa3e5b28b Initial commit from CookieCutter project 2019-10-10 11:22:34 +01:00