Fabio Manganiello
d59044fa2d
Added MPlayer plugin
2019-02-01 09:34:50 +01:00
Fabio Manganiello
2d6dfc86ac
typo
2019-01-30 10:04:42 +01:00
Fabio Manganiello
2956a9ca63
Restart the assistant connection on error
2019-01-30 09:21:35 +01:00
Fabio Manganiello
05a1713b92
Make sure that extra arguments on the Spotify URI are discarded during the URI parse
2019-01-30 09:08:29 +01:00
Fabio Manganiello
ee0040fba6
More robust Spotify URI parsing that discards optional arguments (e.g. si=) passed to the URL
2019-01-30 09:04:18 +01:00
Fabio Manganiello
7a80cd08ce
Handling dashboards widget configuration as a list instead of a hash to preserve the order of the widgets
2019-01-28 23:14:12 +01:00
Fabio Manganiello
339d1eb132
Better way to log the impacted plugin and action in case of uncaught exceptions in requests
2019-01-27 17:51:07 +01:00
Fabio Manganiello
947fc8f583
Better handling of Hue bridge first-time pairing
2019-01-27 17:26:15 +01:00
Fabio Manganiello
235ddc6c2d
More robust logging system and options to disable stdout/stderr logging capture
2019-01-27 00:53:30 +01:00
Fabio Manganiello
e1920700ec
Handle backend stop/disconnection on MQTT
2019-01-18 04:10:27 +01:00
Fabio Manganiello
1f4efbb427
Better handling for the lights blink animation for groups
2019-01-20 00:42:07 +01:00
Fabio Manganiello
d1b9fef740
Passing socket_timeout=transition_seconds attribute to _get_redis
2019-01-20 00:36:07 +01:00
Fabio Manganiello
c7decd81f2
Lazy inizialitation for the Redis object in light.hue to prevent race conditions on start/stop animation
2019-01-20 00:29:58 +01:00
Fabio Manganiello
122978c6f0
Support for extra args/kwargs passed to light.hue actions
2019-01-19 23:23:58 +01:00
Fabio Manganiello
2b38f1b03f
Added alarm, timer and error event handlers on assistant backend
2019-01-19 01:55:32 +01:00
Fabio Manganiello
03bdf5c547
Implemented get_timeout/get_timeouts/get_interval/get_intervals util methods
2019-01-14 20:44:40 +01:00
Fabio Manganiello
0e6f8bbb0b
typo
2019-01-14 19:54:59 +01:00
Fabio Manganiello
ca24243449
As python-mpd2 doesn't seem to be quite thread-safe, the mpd plugin entry-point has now got a reentrant lock
2019-01-14 19:52:54 +01:00
Fabio Manganiello
d9e21d22d3
python-prctl commented out in requirements.txt as well for the sake of ReadTheDocs
2019-01-14 00:06:44 +01:00
Fabio Manganiello
a25965e3e4
prctl moved to optional dependencies as it requires libcap which is not supported by ReadTheDocs
2019-01-14 00:00:28 +01:00
Fabio Manganiello
d96ffe4d9f
typo
2019-01-13 23:47:35 +01:00
Fabio Manganiello
f38b2db273
Fixed interaction with modal dialogs to prevent browser race conditions when touchscreen events are involved
2019-01-13 23:45:03 +01:00
Fabio Manganiello
740063c23b
Clear the timeout handler from the map once the execution is terminated
2019-01-13 22:58:18 +01:00
Fabio Manganiello
2d8b2ba55a
Removed pp- prefix from the name of the spawned processes and threads
2019-01-13 20:41:15 +01:00
Fabio Manganiello
e5d1dd3791
Version bump 0.9.4 -> 0.9.5
2019-01-13 20:12:12 +01:00
Fabio Manganiello
db4e68e247
Do exception logging at Request level and discard duplicate exception messages between retries
2019-01-13 20:09:25 +01:00
Fabio Manganiello
8ea0519954
Support for set/clear timeout/interval utils actions and error handling refactor
...
- Added set/cler timeout/interval actions in the utils plugin to
dynamically set or stop timed actions from your custom logic
- Actions error handling refactoring. If a Response is processed with
some errors, then just log the error and return it to the caller,
without raising an exception. If instead the action execution raised an
uncaught exception, then handle the retries properly and return errors
as a list with the output from all the retries, without being too
verbose with the returning and logging the whole stack trace multiple
times.
2019-01-13 19:29:08 +01:00
Fabio Manganiello
2a52eb770b
Renamed value variable in expand_value_from_context to _value to prevent common name clashes with attributes named 'value' in the context
2019-01-12 22:43:01 +01:00
Fabio Manganiello
3587fa7cb4
Force music.mpd plugin reload when the mpd backend fails to get the state
2019-01-12 02:15:24 +01:00
Fabio Manganiello
bb8a21ed13
Revert "Sort Adafruit IO received data by timestamp"
...
This reverts commit 2739dda266
.
2019-01-12 02:08:04 +01:00
Fabio Manganiello
2739dda266
Sort Adafruit IO received data by timestamp
2019-01-12 02:06:38 +01:00
Fabio Manganiello
78d44364cf
Casting data to number whenever possible on FeedUpdateEvent as well
2019-01-12 01:58:35 +01:00
Fabio Manganiello
d63ad91b2a
Implemented receive_next and receive_previous wrappers in Adafruit IO and rationalized returned types
2019-01-12 01:52:39 +01:00
Fabio Manganiello
ca855fce5d
Improved Adafruit IO data handling
2019-01-12 01:38:17 +01:00
Fabio Manganiello
3b6c4a836f
Added missing docs
2019-01-12 01:12:17 +01:00
Fabio Manganiello
1087dae197
Added Adafruit IO backend
2019-01-12 01:07:38 +01:00
Fabio Manganiello
212cfb63c4
Lazy initialization of WeMo environment
2019-01-11 19:58:43 +01:00
Fabio Manganiello
33fd226fa1
Don't throw the exception if a certain Snapcast host is not reachable
2019-01-11 11:50:37 +01:00
Fabio Manganiello
29be2945cc
Log trace before attempting a Snapcast connection
2019-01-11 11:46:13 +01:00
Fabio Manganiello
b6ac4cbf6d
python-prctl is the right name for the dependency
2019-01-10 23:49:34 +01:00
Fabio Manganiello
fbf3600e91
Setting thread and process names properly through prctl
2019-01-10 23:45:13 +01:00
Fabio Manganiello
56c7258c74
Setting names for threads
2019-01-10 23:08:29 +01:00
Fabio Manganiello
0bbfaf4498
If the mpd frontend receives an empty PlaylistChangeEvent, trigger an initPlaylist to update the playlist
2019-01-10 22:27:44 +01:00
Fabio Manganiello
a190184b0c
Using an auxiliary map to keep track of the playing hosts to prevent errors when the items are removed by the worker threads while iterating them
2019-01-10 18:14:41 +01:00
Fabio Manganiello
2c8099e7ae
Apply stream name filtering logic also to HTTP streams
2019-01-10 18:01:24 +01:00
Fabio Manganiello
f156e9c199
Refactored plugin so that errors are properly returned up the stack, client connections are lazy and re-initialized upon error
2019-01-10 17:51:33 +01:00
Fabio Manganiello
8759dafa0e
Let plugin fail if unable to retrieve the status, so it can rely on the automatic reload mechanism instead of swallowing the error
2019-01-10 17:28:49 +01:00
Fabio Manganiello
abe80db47e
Changed default for exclude_local from True to False
2019-01-10 17:25:25 +01:00
Fabio Manganiello
c619d89fa4
Added method to programmatically get the list of active Snapcast connections
2019-01-10 17:22:52 +01:00
Fabio Manganiello
a349b45ba4
Removed get_plugin utils method from web server, it messes up with also with the reentrant locks as it runs in another process. Refactored Snapcast frontend to get the backend hosts asynchronously through a plugin method
2019-01-10 11:52:39 +01:00