platypush/platypush
Fabio Manganiello f99f6bdab9
[media.chromecast] Resource clean up + new API adaptations.
- `pychromecast.get_chromecasts` returns both a list of devices and a
  browser object. Since the Chromecast plugin is the most likely culprit
  of the excessive number of open MDNS sockets, it seems that we may
  need to explicitly stop discovery on the browser and close the
  ZeroConf object after the discovery is done.

- I was still using an ancient version of pychromecast on my RPi4, and I
  didn't notice that more recent versions implemented several breaking
  changes. Adapted the code to cope with those changes.
2024-04-17 02:49:31 +02:00
..
app Added --db CLI option and support for configuration over environment. 2024-04-05 02:54:45 +02:00
backend Unregister a Zeroconf instance if it already exists before publishing a backend service. 2024-04-16 00:12:55 +02:00
builder Removed typing.Final from some of the most commonly used modules. 2023-09-26 23:50:10 +02:00
bus Removed typing.Final from some of the most commonly used modules. 2023-09-26 23:50:10 +02:00
commands Removed typing-extensions dependency. 2023-09-18 14:05:39 +02:00
common Marshmallow has replaced field.default with field.dump_default. 2024-01-05 02:56:10 +01:00
config Added --db CLI option and support for configuration over environment. 2024-04-05 02:54:45 +02:00
context [#302] Merged pushbullet backend and plugin. 2024-01-09 23:46:07 +00:00
cron Added wait_stop method to the entities engine and cron scheduler. 2023-08-14 23:49:47 +02:00
entities [alarm] Added media_repeat configuration. 2023-12-18 13:46:45 +01:00
event Removed dependency from prctl. 2023-07-23 19:17:30 +02:00
exceptions Added support for JWT token-based authentication 2021-02-12 22:43:34 +01:00
install Reduced Docker images to a single layer. 2024-01-15 21:54:22 +01:00
message [#349] Refactored/rewritten telegram plugin. 2024-03-03 15:39:47 +01:00
migrations Pass the configuration file used by the application to the Alembic process. 2023-08-19 13:23:20 +02:00
platydock Added Fedora to the available Docker base images. 2023-09-22 19:02:13 +02:00
platyvenv [platyvenv] Add the venv bin directory to the PATH. 2023-10-22 02:28:31 +02:00
plugins [media.chromecast] Resource clean up + new API adaptations. 2024-04-17 02:49:31 +02:00
procedure [#366] Context variables should be dynamically assigned through locals() instead of exec(). 2024-02-26 21:29:35 +01:00
process Removed typing-extensions dependency. 2023-09-18 14:05:39 +02:00
runner Ensure that the application always terminates on Ctrl+C. 2023-10-22 02:33:15 +02:00
schemas [WIP] music.mopidy refactor, initial backend rewrite. 2024-04-03 23:01:22 +00:00
user LINT/format fixes. 2023-04-25 10:36:27 +02:00
utils [WIP] music.mopidy refactor, initial backend rewrite. 2024-04-03 23:01:22 +00:00
__init__.py Expose run on the base package level. 2023-11-03 20:54:46 +00:00
__main__.py The __main__ function should take no arguments. 2023-08-17 01:35:39 +02:00
cli.py Added --db CLI option and support for configuration over environment. 2024-04-05 02:54:45 +02:00
components.json.gz [Automatic] Updated components cache 2024-04-08 21:05:46 +00:00
logger.py Refactored structure of main application and startup scripts. 2023-07-23 23:12:36 +02:00