98c99c7888
[Automatic] Updated components cache
2024-04-17 02:09:18 +00:00
e123463804
[media.chromecast] Refactored implementation.
...
Explicitly use a `CastBrowser` object initialized at plugin boot instead
of relying on blocking calls to `pychromecast.get_chromecasts`.
1. It enables better event handling via callbacks instead of
synchronously waiting for scan batches.
2. It optimizes resources - only one Zeroconf and one CastBrowser object
will be created in the plugin, and destroyed upon stop.
3. No need for separate `get_chromecast`/`_refresh_chromecasts` methods:
all the scanning is run continuously, so we can just return the
results from the maps.
2024-04-17 03:56:45 +02:00
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
4972c8bdcf
Unregister a Zeroconf instance if it already exists before publishing a backend service.
...
`mdns` connection are another culprit for the increasing number of open
files in the process.
2024-04-16 00:12:55 +02:00
33d4c8342d
[ #389 ] Possible fix for "Too many open files" media issue.
...
It seems that the process keeps a lot of open connections to Chromecast
devices during playback.
The most likely culprit is the `_refresh_chromecasts` logic.
We should start a `cast` object and register a status listener only if a
Chromecast with the same identifier isn't already registered in the
plugin.
2024-04-15 23:01:10 +02:00
027bcea612
[Automatic] Updated components cache
2024-04-08 21:05:46 +00:00
b4d0716bc5
Added layer of compatibility with both paho.mqtt >= 2.0.0 and < 2.0.0.
...
See 28aa2e6b26/ChangeLog.txt (L6)
2024-04-08 23:01:54 +02:00
584f226b62
mqtt CallbackAPIVersion fix for paho.mqtt >= 2.0.0
...
fix to work with paho.mqtt >= 2.0.0
2024-04-08 16:05:27 +02:00
dba0acb82e
[Automatic] Updated components cache
2024-04-05 18:57:53 +00:00
a026a101cd
Removed stt.deepspeech
integration.
...
The project hasn't seen a commit in three years and it's probably been
abandoned by Mozilla.
New and better maintained speech-to-text integrations will be
investigated.
2024-04-05 20:56:45 +02:00
b00623f655
[Automatic] Updated UI files
2024-04-05 02:00:03 +00:00
03765ad652
[UI] Better style for music widget.
2024-04-05 03:58:12 +02:00
96f3420c8e
[Automatic] Updated components cache
2024-04-05 01:47:09 +00:00
c31180dae8
[music.mopidy] Fixed parsing of new_state
upon playback_state_changed
.
2024-04-05 03:46:01 +02:00
b1498bfc28
[Automatic] Updated components cache
2024-04-05 01:41:38 +00:00
083c9e250e
[music.mopidy] Better handling of client events.
2024-04-05 03:40:27 +02:00
88ffc3b795
[Automatic] Updated components cache
2024-04-05 00:56:48 +00:00
5f6fd4aa54
Added --db
CLI option and support for configuration over environment.
...
Closes : #280
2024-04-05 02:54:45 +02:00
c8361aa475
[Automatic] Updated components cache
2024-04-04 00:53:18 +00:00
496a3f4911
Updated docs
2024-04-04 00:52:30 +00:00
d2ec93b798
[ #297 ] Removed music.spotify
backend.
...
1. I no longer I use a Spotify account (I switched to Tidal after
Spotify deprecated libspotify), and I wouldn't like to create one
just to test this integration.
2. After a couple of years, the libspotify open fork (Librespot) seems
to be still in an unstable stage and it's already been discontinued
once - I would avoid rebuilding the integration against a dependency
that may change a lot in the near future.
2024-04-04 00:52:30 +00:00
73cc47b964
[Automatic] Updated UI files
2024-04-03 23:57:10 +00:00
787b6a6af6
[UI] A more consistent light style for the music widget.
2024-04-04 01:54:52 +02:00
6f24504cc4
[Automatic] Updated UI files
2024-04-03 23:11:49 +00:00
5d9a201a5b
[ #297 ] Mopidy/MPD refactor+migration, UI side.
2024-04-04 01:07:05 +02:00
e2246c8d30
[Automatic] Updated components cache
2024-04-03 23:02:09 +00:00
58518a4d63
Better timeout management on mopidy status refresh.
2024-04-03 23:01:22 +00:00
5346833152
[WIP] API adaptations for music.mpd
2024-04-03 23:01:22 +00:00
89d618b35f
[WIP] music.mopidy
refactor, initial backend rewrite.
2024-04-03 23:01:22 +00:00
d2e5e5230b
[music.mpd] Removed deprecated actions.
...
- `setvol` ➡️ `set_volume`
- `seekcur` ➡️ `seek`
- `playlistinfo` ➡️ `get_tracks`
- `listplaylists` ➡️ `get_playlists`
- `listplaylist` ➡️ `get_playlist`
- `listplaylistinfo` ➡️ `get_playlist`
- `playlistadd` ➡️ `add_to_playlist`
- `playlistdelete` ➡️ `remove_from_playlist`
- `playlistmove` ➡️ `playlist_move`
- `playlistclear` ➡️ `playlist_clear`
- `rename` ➡️ `rename_playlist`
- `rm` ➡️ `delete_playlist`
stuff
2024-04-03 23:01:22 +00:00
a3b6d411e4
[music.mpd] Adjust default poll_interval: 5 -> 20 seconds.
2024-04-03 23:01:22 +00:00
288344a348
[Automatic] Updated UI files
2024-03-05 10:19:13 +00:00
8f35fbed16
Merge pull request #404 from BlackLight/snyk-upgrade-66089ad9a01450eef161c7e7fac48843
...
[Snyk] Upgrade axios from 1.6.4 to 1.6.7
2024-03-05 11:15:26 +01:00
0e8408a83f
Merge branch 'master' into snyk-upgrade-66089ad9a01450eef161c7e7fac48843
2024-03-05 11:15:09 +01:00
8c0939c308
Merge pull request #405 from BlackLight/snyk-upgrade-785cc8b707ebb00ef02379485bb64589
...
[Snyk] Upgrade sass-loader from 10.4.1 to 10.5.2
2024-03-05 11:14:19 +01:00
8c2abf5d9a
Merge branch 'master' into snyk-upgrade-785cc8b707ebb00ef02379485bb64589
2024-03-05 11:14:08 +01:00
f7d651983a
Merge pull request #403 from BlackLight/snyk-upgrade-eaf91feb3c2e9502206ab6258f4f7a06
...
[Snyk] Upgrade sass from 1.69.3 to 1.70.0
2024-03-05 11:11:29 +01:00
57f269486c
Merge pull request #402 from BlackLight/snyk-upgrade-7bb8fbc94f3d6132decf153710b18875
...
[Snyk] Upgrade core-js from 3.33.0 to 3.35.1
2024-03-05 11:11:13 +01:00
82c8c79778
Merge pull request #401 from BlackLight/snyk-upgrade-6f8a6cdcfdde123a5d036b41986f9966
...
[Snyk] Upgrade vue from 3.3.6 to 3.4.18
2024-03-05 11:11:00 +01:00
snyk-bot
9de799f6a1
fix: upgrade sass-loader from 10.4.1 to 10.5.2
...
Snyk has created this PR to upgrade sass-loader from 10.4.1 to 10.5.2.
See this package in npm:
https://www.npmjs.com/package/sass-loader
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-03-04 23:22:51 +00:00
snyk-bot
b21a27366c
fix: upgrade axios from 1.6.4 to 1.6.7
...
Snyk has created this PR to upgrade axios from 1.6.4 to 1.6.7.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-03-04 23:22:47 +00:00
snyk-bot
50b712a8d3
fix: upgrade sass from 1.69.3 to 1.70.0
...
Snyk has created this PR to upgrade sass from 1.69.3 to 1.70.0.
See this package in npm:
https://www.npmjs.com/package/sass
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-03-04 23:22:44 +00:00
snyk-bot
aaa38c0f2d
fix: upgrade core-js from 3.33.0 to 3.35.1
...
Snyk has created this PR to upgrade core-js from 3.33.0 to 3.35.1.
See this package in npm:
https://www.npmjs.com/package/core-js
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-03-04 23:22:40 +00:00
snyk-bot
31222b3f05
fix: upgrade vue from 3.3.6 to 3.4.18
...
Snyk has created this PR to upgrade vue from 3.3.6 to 3.4.18.
See this package in npm:
https://www.npmjs.com/package/vue
See this project in Snyk:
https://app.snyk.io/org/blacklight/project/96bfd125-5816-4d9e-83c6-94d1569ab0f1?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-03-04 23:22:36 +00:00
3ebb59ed26
[Automatic] Updated UI files
2024-03-04 00:07:15 +00:00
5c9c9f0a61
[Nav UI] Better alignment of items on the expanded menu.
2024-03-04 01:05:07 +01:00
41cbe40362
[Automatic] Updated UI files
2024-03-03 22:15:59 +00:00
0c6d3a5074
Merge pull request #399 from BlackLight/snyk-fix-cbc2d5f1b27baf97088c91fe8a0ed9ad
...
[Snyk] Security upgrade axios from 1.6.0 to 1.6.4
2024-03-03 23:13:32 +01:00
f78823981b
Merge pull request #396 from BlackLight/snyk-upgrade-f6fc128f6839afbdb22ffdb72a07ffb9
...
[Snyk] Upgrade vue from 3.3.4 to 3.3.6
2024-03-03 23:11:29 +01:00
0dea8c3b44
Merge branch 'master' into snyk-fix-cbc2d5f1b27baf97088c91fe8a0ed9ad
2024-03-03 23:10:22 +01:00