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
Philip Howard
c8f8745222
Add defaults for PA control
2019-10-15 15:16:30 +01:00
Phil Howard
f9c55894ee
Update README to match SEKRET SAUCE
2019-10-11 15:12:31 +01:00
Phil Howard
b2c68e17a4
Remove unecessary config noise
2019-10-11 14:45:05 +01:00
Phil Howard
b2863fd2a3
Fixed volume control limits and steps
2019-10-10 16:08:19 +01:00
Phil Howard
4c9be3f665
README.rst
2019-10-10 15:55:39 +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