Martin Felis
651da1c896
Fixed more flake8 and black tests
2021-03-14 13:09:28 +01:00
Martin Felis
5c97976f15
Fixes of additional flake8 errors
2021-03-13 20:40:43 +01:00
Martin Felis
b3778d8cd2
Applied formatting using black
2021-03-13 20:35:31 +01:00
Martin Felis
a65b65ab13
Added configuration examples for rotation encoder support
2021-03-13 20:18:32 +01:00
Martin Felis
97592cb790
Added rotenc tests in frontend.
2021-03-13 16:39:40 +01:00
Martin Felis
3f0a4a33a5
Initial works to add support for rotary encoders.
2021-03-13 14:54:59 +01:00
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
Philip Howard
7e886d267e
Document Mopidy user permissions for #9
2020-07-17 10:38:41 +01:00
Phil Howard
57a61b5cc9
Prep for v1.0.2
2020-07-15 11:54:59 +01:00
Phil Howard
1c8da1b576
Add test for play_stop for #6
2020-07-15 11:50:51 +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
3c787cc94c
Prep for v1.0.1
2020-07-14 15:34:28 +01:00
Phil Howard
cd3ebc6884
Add long_description_content_type to setup to fix warnings
2020-07-14 15:34:12 +01:00
Phil Howard
00762da445
Fix config test to match default enabled state
2020-07-14 15:20:16 +01:00
Phil Howard
ba47f970b4
Disable by default for #5
2020-07-14 15:12:12 +01:00
Phil Howard
8246c890bc
Show diff for black
2020-07-14 14:51:05 +01:00
Phil Howard
cdf2075168
Merge branch 'wildestpixel-master'
2020-07-14 14:50:33 +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
Philip Howard
d2f4003970
Merge pull request #4 from pimoroni/extra-event-options
...
Add support for additional per pin event options
2020-03-25 13:41:53 +00:00
Phil Howard
f44bbf59ab
Document new step option
2020-03-25 13:40:15 +00:00
Phil Howard
279ddb4f39
Change config to options
2020-03-25 12:31:22 +00:00
Phil Howard
4cbbe2dbd1
Update handler tests to pass settings
2020-03-25 12:16:18 +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
e40219c254
Prep for v1.0.0
2020-01-30 10:48:56 +00:00
Philip Howard
bcceb6001f
Merge pull request #3 from pimoroni/python3
...
Port to python3 for next major Mopidy release
2020-01-30 10:15:33 +00:00
Phil Howard
6b903871e2
Fix tests hanging
2020-01-23 13:53:49 +00:00
Phil Howard
844cead5ba
Black/Flake8 linting fixes
2020-01-23 13:44:58 +00:00
Phil Howard
c669f5e35c
Supplied dummy Mopidy Core to frontend for testing
...
This currently uses three files copy-n-pasted from upstream Mopidy to provide dummy interfaces for mixer, backend and audio.
These dummy files seem a little janky- should they be part of a mopidy-test package so that they stay in-sync with Mopidy's API? Since otherwise tests may?? pass that fail against the real Mopidy. Maybe?
2020-01-23 13:35:08 +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
Philip Howard
838156d2ff
Poke CircleCI to recompile config
2020-01-23 11:55:28 +00:00
Phil Howard
7e8c441100
Remove cookiecutter raw markup
2020-01-23 11:55:28 +00:00
Phil Howard
6aa1e7a8b6
Expand frontend test coverage
2020-01-23 11:55:28 +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
145fbf38d8
Use unittest.mock instead of mock
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
d6df8e5726
Update project to match cookiecutter-mopidy-ext
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