ceae310901
[snapcast
] Merged backend logic into the plugin.
...
Closes : #283
2023-11-10 02:48:07 +01:00
c3337ccc6c
[ #311 ] Docs deps autogen sphinx plugin.
...
Added an `add_dependencies` plugin to the Sphinx build process that
parses the manifest files of the scanned backends and plugins and
automatically generates the documentation for the required dependencies
and triggered events.
This means that those dependencies are no longer required to be listed
in the docstring of the class itself.
Also in this commit:
- Black/LINT for some integrations that hadn't been touched in a long
time.
- Deleted some leftovers from previous refactors (deprecated
`backend.mqtt`, `backend.zwave.mqtt`, `backend.http.request.rss`).
- Deleted deprecated `inotify` backend - replaced by `file.monitor` (see
#289 ).
2023-09-24 17:00:08 +02:00
761f2768cb
[ #316 ] Added RPM dependencies.
2023-09-21 23:20:06 +02:00
c2b3ec8ce3
Fixed manifest files with outdated formats.
2023-08-19 12:54:33 +02:00
98e9abde18
Extended manifest files with Python system packages (if available).
...
- If a Python optional dependency is available as a system package on
the target system, try and install it that route rather than pip. It's
usually faster and it decreases the risk of breaking system packages.
- Added support for apk dependencies in manifest files. This brings the
number of distros officially supported by all the extensions to four:
- Alpine
- Arch
- Debian
- Ubuntu
2023-08-16 22:43:51 +02:00
0dc380fa94
Removed dependency from prctl.
...
Also, black'd and LINT-fixed some files that hadn't been touched in a
while.
2023-07-23 19:17:30 +02:00
b432488876
Prevent null pointer on music.spotify backend stop if the Librespot process has already been terminated
2021-11-15 00:10:40 +01:00
de25719563
Replaced deprecated arguments in librespot
2021-11-07 01:19:34 +01:00
3bfc5b83ef
Moved to manifest files for describing plugins and backends and their dependencies
2021-09-16 17:53:40 +02:00
1483d602f8
Added music.spotify UI integration
2021-07-20 01:35:21 +02:00
35c4a30a63
Added music.spotify plugin and refactored MusicPlugin
2021-07-17 22:14:15 +02:00
1f6c7aae60
get_redis() should be a general utility method
2021-06-26 11:14:26 +02:00
a6c7d64511
Removed audio_format option from Spotify Connect backend (not supported by all versions of Librespot)
2021-06-25 23:20:21 +02:00
af7977bcf7
Added music.spotify.connect backend
2021-06-25 22:47:40 +02:00
99831bf0c7
Fix compatibility with all versions of websocket-client, regardless of the list of arguments required by the callbacks (either ws as a first argument or not)
2021-04-02 19:27:25 +02:00
2800bac3fb
Make sure that all hanging threads, backends and services are stopped and their resources cleaned up when the application stops.
2021-02-23 23:09:26 +01:00
Fabio Manganiello
b4fc734a15
music.mpd panel migration - WIP
2020-12-26 15:03:12 +01:00
Fabio Manganiello
403076e6ab
Fixed method name
2020-08-19 23:56:23 +02:00
Fabio Manganiello
5302d3143e
Better reconnection logic for mopidy backend
2020-08-19 20:23:33 +02:00
Fabio Manganiello
b880a02ef6
Fixed websocket on_error handler signature
2019-12-25 20:43:20 +01:00
Fabio Manganiello
29789461d7
Added Todoist integration
2019-12-25 20:33:26 +01:00
Fabio Manganiello
f04f42caef
Refactored and simplified Snapcast backend. Moreover the "grace sleep"
...
should happen in any case of errors, not only on disconnect errors,
to prevent a tight loop of retries.
2019-11-05 18:11:04 +01:00
Fabio Manganiello
c78789e644
Added Kodi support to new media webplayer
2019-06-29 00:06:03 +02:00
Fabio Manganiello
32efebe405
Fixed typos and warnings in snapcast backend
2019-06-16 21:59:31 +02:00
Fabio Manganiello
91ef6f3ce2
Finalized new Snapcast webpanel plugin
2019-06-10 15:11:24 +02:00
Fabio Manganiello
7a74b83c76
music.mpd plugin vue.js refactoring - WIP
2019-05-30 02:07:28 +02:00
Fabio Manganiello
9d36688a61
Don't fail hard if it's not possible yet to retrieve the mopidy status in the backend constructor
2019-03-17 02:06:56 +01:00
Fabio Manganiello
7d1c9275f5
Make it 10 seconds when it comes to poll time
2019-02-16 20:21:04 +01:00
Fabio Manganiello
55f1a33d90
Keep a sleep between polls to the Snapcast servers
2019-02-16 20:17:15 +01:00
Fabio Manganiello
a287a10bcc
Propagate a MusicStopEvent upon playback stop even when the context of the current track is not available
2019-02-13 17:38:58 +01:00
Fabio Manganiello
7c817ba0c6
Position is expressed in milliseconds on mopidy websocket, convert to seconds
2019-02-13 17:25:56 +01:00
Fabio Manganiello
34e2dffe99
Catching music stop events both on track_playback_ended and playback_state_changed
2019-02-13 00:58:40 +01:00
Fabio Manganiello
8a9c868f77
Bringing more consistency in music.mpd.js regardless of the backend
2019-02-13 00:50:58 +01:00
Fabio Manganiello
3190d3c6c8
Fixing music.mpd.js both for mpd and mopidy backends
2019-02-13 00:27:36 +01:00
Fabio Manganiello
71c6ba2d34
More compatibility between TCP-based mpd and websocket-based mopidy backends when it comes to how the track time is reported
2019-02-12 23:48:18 +01:00
Fabio Manganiello
77a76370a5
Returning flat representation for artist and renamed 'name' attribute for consistency with the mpd backend
2019-02-12 23:24:16 +01:00
Fabio Manganiello
1c4edf93bf
Another typo
2019-02-12 23:19:36 +01:00
Fabio Manganiello
18d2c51b4e
Forgot an enumerate
2019-02-12 23:08:48 +01:00
Fabio Manganiello
e5c169a549
on_message requires two arguments
2019-02-12 23:00:16 +01:00
Fabio Manganiello
6024eddd2d
on_open requires ws as a parameter
2019-02-12 22:58:22 +01:00
Fabio Manganiello
c18515bd3c
Few more fixes on mopidy backend
2019-02-12 22:57:09 +01:00
Fabio Manganiello
ee3df8fe8c
Switched mopidy backend from websockets to websocket-client
2019-02-12 22:52:29 +01:00
Fabio Manganiello
b555777cc8
Use another event loop for the synchronous websocket communication method
2019-02-12 20:49:10 +01:00
Fabio Manganiello
73d7e9a3ef
Fixes on mopidy backend
2019-02-12 20:45:40 +01:00
Fabio Manganiello
148d25f1cb
Added mopidy backend functionalities
2019-02-12 20:34:17 +01:00
Fabio Manganiello
7b99842225
Added draft for mopidy backend over websocket
2019-02-12 17:29:24 +01:00
Fabio Manganiello
630850ee9a
Reset the connection to a Snapcast server if it starts failing
2019-02-10 11:08:04 +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
2d8b2ba55a
Removed pp- prefix from the name of the spawned processes and threads
2019-01-13 20:41:15 +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