PyLoxone-Audio 0.1.3__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/API.md +4 -4
- pyloxone_audio-0.1.4/CHANGELOG.md +9 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/DIAGNOSTICS-REFERENCE.md +3 -3
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/KNOWN-ISSUES.md +3 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/MANIFEST.in +1 -1
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/PKG-INFO +2 -2
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/PyLoxone_Audio.egg-info/PKG-INFO +2 -2
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/PyLoxone_Audio.egg-info/SOURCES.txt +1 -1
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/README.md +1 -1
- pyloxone_audio-0.1.4/RELEASE-NOTES-0.1.4.md +14 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/USER-GUIDE.md +4 -4
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/__init__.py +1 -1
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/grouping.py +14 -4
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyproject.toml +1 -1
- pyloxone_audio-0.1.3/CHANGELOG.md +0 -13
- pyloxone_audio-0.1.3/RELEASE-NOTES-0.1.3.md +0 -32
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/AUTOMATION-GROUPING.md +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/DIAGNOSTICS.md +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/LICENSE +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/NOTICE.md +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/PyLoxone_Audio.egg-info/dependency_links.txt +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/PyLoxone_Audio.egg-info/requires.txt +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/PyLoxone_Audio.egg-info/top_level.txt +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/announcement.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/catalogue.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/clock.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/diagnostic_events.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/metadata.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/models.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/native.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/py.typed +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/radio.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/selection.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/pyloxone_audio/sources.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/setup.cfg +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/conftest.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/fixtures/audioserver/README.md +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/fixtures/audioserver/sebastian_alarm_end.txt +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/fixtures/audioserver/sebastian_loxone_radio.json +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/fixtures/audioserver/sebastian_tts.json +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/fixtures/audioserver/sebastian_tunein.json +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/pytest.ini +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audio_grouping.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audio_modes.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_announcement.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_connection.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_events.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_library_source.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_metadata.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_playback.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_seek.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_timing.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_wire.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_automation_group_intent.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_boundary_environment.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_boundary_ownership.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_boundary_qualification.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_diagnostic_events.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_diagnostic_operations.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_diagnostic_request_kinds.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_diagnostic_timing.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_diagnostic_wire.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_distribution_dependencies.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_exact_track_start.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_group_commands.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_group_coordinator.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_group_planning.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_group_revocation_r1.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_group_transport.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_grouping_numeric_validation.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_playback_failure_recovery.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_portable_policies.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_published_authentication.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_restore_readiness.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_room_reply_review03.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_room_transport.py +0 -0
- {pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_volume_failure_recovery.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# PyLoxone-Audio 0.1.
|
|
1
|
+
# PyLoxone-Audio 0.1.4 — API and compatibility
|
|
2
2
|
|
|
3
3
|
An Apache-2.0 Python library for native audio communication, consumed by the
|
|
4
|
-
existing PyLoxone integration. The matching reference adapter is 0.10.3.
|
|
4
|
+
existing PyLoxone integration. The matching reference adapter is 0.10.3.dev19
|
|
5
5
|
on stock PyLoxone 0.10.3. See [NOTICE.md](NOTICE.md) for attribution.
|
|
6
6
|
|
|
7
7
|
## Concrete public API and ownership
|
|
@@ -85,9 +85,9 @@ the supported enable/export workflow, exact bounds and evidence/privacy limits.
|
|
|
85
85
|
|
|
86
86
|
## Installation and host compatibility
|
|
87
87
|
|
|
88
|
-
Requires Python >=3.14. Install `PyLoxone-Audio==0.1.
|
|
88
|
+
Requires Python >=3.14. Install `PyLoxone-Audio==0.1.4` for standalone consumers.
|
|
89
89
|
Home Assistant users need the matching component and frontend described in the
|
|
90
|
-
[installation guide](preview-build/README.md); HA installs Python dependencies.
|
|
90
|
+
[installation guide](https://github.com/davehocking/PyLoxone-Audio/blob/main/preview-build/README.md); HA installs Python dependencies.
|
|
91
91
|
Keep domain `loxone`, existing entries/entities and the exact compatible pin.
|
|
92
92
|
Source and installed-wheel checks use synthetic external I/O and real local
|
|
93
93
|
WebSocket/crypto boundaries. They do not require household credentials.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.4
|
|
4
|
+
|
|
5
|
+
- Allow serial member qualification and volume feedback to complete in larger audio groups.
|
|
6
|
+
- Give group and individual-room volume sliders their own full-width lines.
|
|
7
|
+
- Matched library 0.1.4, reference adapter 0.10.3.dev19 and frontend r12 on stock PyLoxone 0.10.3.
|
|
8
|
+
|
|
9
|
+
[Release notes](RELEASE-NOTES-0.1.4.md). Earlier releases remain in Git history and GitHub Releases.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Audio diagnostics and native Home Assistant tools
|
|
2
2
|
|
|
3
|
-
For library 0.1.
|
|
4
|
-
[installation guide](preview-build/README.md).
|
|
3
|
+
For library 0.1.4 and reference adapter 0.10.3.dev19. Start with the
|
|
4
|
+
[installation guide](https://github.com/davehocking/PyLoxone-Audio/blob/main/preview-build/README.md).
|
|
5
5
|
New users default OFF; existing saved preferences are preserved. Install the
|
|
6
6
|
matching adapter/library pair: installing only the wheel does not add the switch.
|
|
7
7
|
The event schema remains version1 with an extended fixed allowlist; defaults and
|
|
8
|
-
storage/age bounds remain unchanged. The 0.1.
|
|
8
|
+
storage/age bounds remain unchanged. The 0.1.4 library and reference adapter add source-independent incident correlation and noise control.
|
|
9
9
|
Diagnostics neither enables the Audio Server client nor repairs playback. Set the
|
|
10
10
|
Audio Server host and existing experimental playback option separately; see
|
|
11
11
|
[Required setup](README.md#required-setup).
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
- Radio startup can be slow and room-favourite artwork can be missing. Allow the
|
|
15
15
|
station to start before repeating a play request.
|
|
16
16
|
|
|
17
|
+
- Browse can occasionally time out. Reopen Browse if it does; avoid repeated
|
|
18
|
+
playback requests while a group operation is still pending.
|
|
19
|
+
|
|
17
20
|
Use [Audio diagnostics](DIAGNOSTICS.md) to report a problem. Include the incident
|
|
18
21
|
time/timezone, versions, normal steps and expected versus observed behaviour.
|
|
19
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyLoxone-Audio
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Native audio transport and source policies for PyLoxone
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/davehocking/PyLoxone-Audio
|
|
@@ -20,7 +20,7 @@ Dynamic: license-file
|
|
|
20
20
|
|
|
21
21
|
Audio features for [PyLoxone](https://github.com/JoDehli/PyLoxone), using your existing Home Assistant integration and room players.
|
|
22
22
|
|
|
23
|
-
**Version 0.1.
|
|
23
|
+
**Version 0.1.4:** library **0.1.4**, reference adapter **0.10.3.dev19**, frontend **r12**, based on PyLoxone **0.10.3**. Install the matching preview below; Home Assistant resolves `PyLoxone-Audio==0.1.4` through its normal dependency handling. Installing the library alone does not update the integration.
|
|
24
24
|
|
|
25
25
|
## Start here
|
|
26
26
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyLoxone-Audio
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Native audio transport and source policies for PyLoxone
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/davehocking/PyLoxone-Audio
|
|
@@ -20,7 +20,7 @@ Dynamic: license-file
|
|
|
20
20
|
|
|
21
21
|
Audio features for [PyLoxone](https://github.com/JoDehli/PyLoxone), using your existing Home Assistant integration and room players.
|
|
22
22
|
|
|
23
|
-
**Version 0.1.
|
|
23
|
+
**Version 0.1.4:** library **0.1.4**, reference adapter **0.10.3.dev19**, frontend **r12**, based on PyLoxone **0.10.3**. Install the matching preview below; Home Assistant resolves `PyLoxone-Audio==0.1.4` through its normal dependency handling. Installing the library alone does not update the integration.
|
|
24
24
|
|
|
25
25
|
## Start here
|
|
26
26
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Audio features for [PyLoxone](https://github.com/JoDehli/PyLoxone), using your existing Home Assistant integration and room players.
|
|
4
4
|
|
|
5
|
-
**Version 0.1.
|
|
5
|
+
**Version 0.1.4:** library **0.1.4**, reference adapter **0.10.3.dev19**, frontend **r12**, based on PyLoxone **0.10.3**. Install the matching preview below; Home Assistant resolves `PyLoxone-Audio==0.1.4` through its normal dependency handling. Installing the library alone does not update the integration.
|
|
6
6
|
|
|
7
7
|
## Start here
|
|
8
8
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# PyLoxone-Audio 0.1.4
|
|
2
|
+
|
|
3
|
+
Library **0.1.4**, reference adapter **0.10.3.dev19**, frontend **r12**,
|
|
4
|
+
based on PyLoxone **0.10.3**. Install the matching component and frontend;
|
|
5
|
+
installing the library alone does not update the integration.
|
|
6
|
+
|
|
7
|
+
Larger groups now have time for serial member qualification and volume feedback.
|
|
8
|
+
Group and room volume sliders each use a full-width line, with percentage and
|
|
9
|
+
−/+ controls above. Existing controls, grouping rules and defaults are retained.
|
|
10
|
+
|
|
11
|
+
[Install, upgrade or roll back](https://github.com/davehocking/PyLoxone-Audio/blob/main/preview-build/README.md). Set **Audioserver host**
|
|
12
|
+
and enable **Use Audio Server player play/pause (experimental; off by default)**
|
|
13
|
+
in the existing Loxone entry's options. Audio diagnostics remains separate and
|
|
14
|
+
optional. See the [user guide](USER-GUIDE.md) and [current limits](KNOWN-ISSUES.md).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Using the audio players
|
|
2
2
|
|
|
3
|
-
Install the [matching preview](preview-build/README.md) and complete [Required setup](README.md#required-setup) first.
|
|
3
|
+
Install the [matching preview](https://github.com/davehocking/PyLoxone-Audio/blob/main/preview-build/README.md) and complete [Required setup](README.md#required-setup) first.
|
|
4
4
|
|
|
5
5
|
## Choose music or return to a source
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ Returning to Spotify or Local Library can restore the remembered track and try i
|
|
|
12
12
|
|
|
13
13
|
## Create or edit a group
|
|
14
14
|
|
|
15
|
-
Open the room's expanded player (**More info**) and choose **Join** to open **Audio groups**. The media-control card's grouping entry also opens the manager for supported Loxone rooms. If the ordinary picker appears instead, check [frontend setup](preview-build/README.md#frontend).
|
|
15
|
+
Open the room's expanded player (**More info**) and choose **Join** to open **Audio groups**. The media-control card's grouping entry also opens the manager for supported Loxone rooms. If the ordinary picker appears instead, check [frontend setup](https://github.com/davehocking/PyLoxone-Audio/blob/main/preview-build/README.md#frontend).
|
|
16
16
|
|
|
17
17
|
- **Create Group:** choose at least two free rooms and select **Create**. The first selected room leads. A preselected room can be unticked.
|
|
18
18
|
- Select a free room to add it immediately; there is no Apply button.
|
|
@@ -31,7 +31,7 @@ Only Loxone-managed audio rooms are offered. This manager supports dynamic group
|
|
|
31
31
|
| Leader Browse, Source or supported seeking | Shared group music |
|
|
32
32
|
| Follower's **Media controls on <leader name>** link | Opens the current leader's player |
|
|
33
33
|
|
|
34
|
-
Use the leader to change the group's music. Shuffle/Repeat appear where native capability and state support them. Group volume shows the rounded mean of room levels; it is not a command to give every room the same volume. Startup/resume volume behaviour remains native to Loxone.
|
|
34
|
+
Use the leader to change the group's music. Shuffle/Repeat appear where native capability and state support them. Each volume slider occupies its own full-width line, with percentage and −/+ controls above it. Group volume shows the rounded mean of room levels; it is not a command to give every room the same volume. Startup/resume volume behaviour remains native to Loxone.
|
|
35
35
|
|
|
36
36
|
## Automations and troubleshooting
|
|
37
37
|
|
|
@@ -39,4 +39,4 @@ Use the leader to change the group's music. Shuffle/Repeat appear where native c
|
|
|
39
39
|
|
|
40
40
|
If something fails, check [Required setup](README.md#required-setup), room availability and the matching backend/frontend versions. For Source errors, first play actual content in Browse; for grouped content, use the leader. If the controls look old, refresh the browser before restarting the backend.
|
|
41
41
|
|
|
42
|
-
[Report a problem](DIAGNOSTICS.md) · [Known issues](KNOWN-ISSUES.md) · [Install, upgrade or roll back](preview-build/README.md)
|
|
42
|
+
[Report a problem](DIAGNOSTICS.md) · [Known issues](KNOWN-ISSUES.md) · [Install, upgrade or roll back](https://github.com/davehocking/PyLoxone-Audio/blob/main/preview-build/README.md)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Concrete PyLoxone-Audio API, independent of Home Assistant.
|
|
3
3
|
|
|
4
|
-
Apache-2.0. Version 0.1.
|
|
4
|
+
Apache-2.0. Version 0.1.4.
|
|
5
5
|
The historical fake-backed facade contract is outside this distribution.
|
|
6
6
|
"""
|
|
7
7
|
from .announcement import async_send_prepared_announcement
|
|
@@ -476,7 +476,7 @@ class AudioGroupCoordinator:
|
|
|
476
476
|
nonlocal sent
|
|
477
477
|
sent = True
|
|
478
478
|
try:
|
|
479
|
-
async with asyncio.timeout(self.timeout), self._lock:
|
|
479
|
+
async with asyncio.timeout(self.timeout) as deadline, self._lock:
|
|
480
480
|
if (
|
|
481
481
|
not request_current() or self._closed or self.snapshot is None or self.uncertain
|
|
482
482
|
or generation != self._generation or context != self.context()
|
|
@@ -500,11 +500,17 @@ class AudioGroupCoordinator:
|
|
|
500
500
|
if not applicable():
|
|
501
501
|
raise AudioCommandError("Grouped transport is unavailable")
|
|
502
502
|
if prepare is not None:
|
|
503
|
-
#
|
|
504
|
-
#
|
|
503
|
+
# Keep the original lock-wait bound. Serial qualification
|
|
504
|
+
# gets one bounded request (including cleanup) per member,
|
|
505
|
+
# then transmission gets its own original bound. A party
|
|
506
|
+
# must not spend its command budget closing status sockets.
|
|
507
|
+
if action == "play":
|
|
508
|
+
deadline.reschedule(asyncio.get_running_loop().time() + self.timeout * len(players))
|
|
505
509
|
await prepare(players, applicable)
|
|
506
510
|
if not applicable():
|
|
507
511
|
raise AudioCommandError("Grouped pre-command qualification was superseded")
|
|
512
|
+
if action == "play":
|
|
513
|
+
deadline.reschedule(asyncio.get_running_loop().time() + self.timeout)
|
|
508
514
|
if room_only:
|
|
509
515
|
await self.commands.async_execute(target, action, is_current=applicable, on_send=on_send, guard_cleanup=True)
|
|
510
516
|
else:
|
|
@@ -558,7 +564,7 @@ class AudioGroupCoordinator:
|
|
|
558
564
|
|
|
559
565
|
self._requests.add(current)
|
|
560
566
|
try:
|
|
561
|
-
async with asyncio.timeout(self.timeout), self._lock:
|
|
567
|
+
async with asyncio.timeout(self.timeout) as deadline, self._lock:
|
|
562
568
|
if not current():
|
|
563
569
|
raise AudioCommandError("Volume request superseded")
|
|
564
570
|
self._scope, self._context, self._conflict = frozenset(players), self.context(), False
|
|
@@ -569,6 +575,10 @@ class AudioGroupCoordinator:
|
|
|
569
575
|
raise AudioCommandError("Partial volume request superseded; no rollback")
|
|
570
576
|
if targets[player] == initial[player]:
|
|
571
577
|
continue
|
|
578
|
+
# Each serial send/feedback pair retains the original8s
|
|
579
|
+
# bound. Unrelated feedback cannot renew a stalled member.
|
|
580
|
+
if not room_only:
|
|
581
|
+
deadline.reschedule(asyncio.get_running_loop().time() + self.timeout)
|
|
572
582
|
sent_targets[player] = targets[player]
|
|
573
583
|
sent = True
|
|
574
584
|
send(player, targets[player])
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 0.1.3
|
|
4
|
-
|
|
5
|
-
- Native grouping from room players, leader/follower controls and automation actions.
|
|
6
|
-
- Source-return, exact-track, seek qualification and metadata recovery improvements.
|
|
7
|
-
- Source-independent bounded diagnostics with operation timelines and noise control.
|
|
8
|
-
- Simplified user, installation and maintainer guides.
|
|
9
|
-
- Normal `PyLoxone-Audio==0.1.3` dependency; reference adapter 0.10.3.dev18 on stock
|
|
10
|
-
PyLoxone 0.10.3, with frontend r10.
|
|
11
|
-
|
|
12
|
-
[Release notes](RELEASE-NOTES-0.1.3.md). Earlier releases remain in Git history and
|
|
13
|
-
GitHub Releases.
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# PyLoxone-Audio 0.1.3
|
|
2
|
-
|
|
3
|
-
Library **0.1.3**, reference adapter **0.10.3.dev18**, frontend **r10**,
|
|
4
|
-
based on stock PyLoxone **0.10.3**. This is a matched installation: installing
|
|
5
|
-
only the Python library does not replace the Home Assistant component.
|
|
6
|
-
|
|
7
|
-
## Changes since 0.1.2
|
|
8
|
-
|
|
9
|
-
- Native audio-group management from room players, with leader/follower controls
|
|
10
|
-
and automation grouping actions.
|
|
11
|
-
- Improved source return, exact-track and seek qualification, metadata recovery
|
|
12
|
-
and request/lifecycle ownership safeguards.
|
|
13
|
-
- Source-independent optional diagnostics: operation/command timelines, owned HA
|
|
14
|
-
state publication, bounded noise sampling and explicit report omissions.
|
|
15
|
-
- Shorter installation, user and maintainer guides. Home Assistant uses the
|
|
16
|
-
normal `PyLoxone-Audio==0.1.3` dependency.
|
|
17
|
-
|
|
18
|
-
[Install, upgrade or roll back](preview-build/README.md), then set
|
|
19
|
-
**Audioserver host** and enable **Use Audio Server player play/pause
|
|
20
|
-
(experimental; off by default)** in the existing entry's options. The option also
|
|
21
|
-
unlocks Browse/Search, source return, supported seeking, modes, announcements and
|
|
22
|
-
enhanced grouping. Audio diagnostics is a separate optional switch, default off
|
|
23
|
-
for new users; existing explicit preferences are preserved.
|
|
24
|
-
|
|
25
|
-
Bookmarks are process-local and can be lost on restart/reload. Return/position
|
|
26
|
-
support is source-dependent, does not restore a full queue, and does not change
|
|
27
|
-
native startup/resume volume behaviour. Dynamic groups are limited to one Audio
|
|
28
|
-
Server. Radio startup and favourite artwork remain known limitations.
|
|
29
|
-
See the [user guide](USER-GUIDE.md) and [Known issues](KNOWN-ISSUES.md).
|
|
30
|
-
|
|
31
|
-
See the [maintainer guide](adapters/pyloxone/jo-review/README.md) for the
|
|
32
|
-
versioned adapter interface and [PUBLISHING.md](PUBLISHING.md) for release tooling.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/fixtures/audioserver/sebastian_tts.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_announcement.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_audioserver_library_source.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_diagnostic_request_kinds.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_distribution_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_grouping_numeric_validation.py
RENAMED
|
File without changes
|
{pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_playback_failure_recovery.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyloxone_audio-0.1.3 → pyloxone_audio-0.1.4}/tests/library/test_published_authentication.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|