Commit c6dc811
authored
Compute paired= from audio protocols only, not Companion (#28)
PR #27 introduced an "all Mandatory protocols must have credentials"
rule for the paired flag. That's too strict: many tvOS devices
(including Apple TV 4K on tvOS 18+) list Companion as Mandatory, and
Companion is the remote-control protocol, not the audio one. Streaming
audio only needs RAOP and AirPlay paired.
With the old rule, the Living Room Apple TV came back paired=False
even though both RAOP and AirPlay had credentials, which hid it from
the stream picker.
Now we check only RAOP and AirPlay services when computing paired=.
needs_pairing stays gated on RAOP since that's the protocol the Pair
button starts pairing with.1 parent 5466f9c commit c6dc811
1 file changed
Lines changed: 19 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1581 | 1581 | | |
1582 | 1582 | | |
1583 | 1583 | | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
1584 | 1588 | | |
1585 | | - | |
1586 | | - | |
| 1589 | + | |
| 1590 | + | |
1587 | 1591 | | |
1588 | 1592 | | |
1589 | 1593 | | |
1590 | 1594 | | |
1591 | 1595 | | |
1592 | | - | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
1599 | 1608 | | |
1600 | 1609 | | |
1601 | 1610 | | |
| |||
1604 | 1613 | | |
1605 | 1614 | | |
1606 | 1615 | | |
1607 | | - | |
| 1616 | + | |
1608 | 1617 | | |
1609 | 1618 | | |
1610 | 1619 | | |
| |||
0 commit comments