Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump codespell from 2.3.0 to 2.4.1 in /requirements #2622

Merged
merged 3 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/development/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ for reference implementation.

When performing device authentication, a device identifier and a private key is
required. Once authenticated, they can be used to authenticate without using a
PIN code. So they must be saved and re-used whenever something is to be played.
PIN code. So they must be saved and reused whenever something is to be played.

In this library, the device identifier and private key is called
*AirPlay credentials* and are concatenated into a string, using : as separator.
Expand Down
4 changes: 2 additions & 2 deletions docs/support/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ the device and use the obtained credentials with playing media. See

## When I scan, other devices like AirPlay speakers and iTunes libraries show up. Why is that?

~~Apple has re-used several protocols across different products. AirPlay is AirPlay and
~~Apple has reused several protocols across different products. AirPlay is AirPlay and
there's no practical difference if it's on a speaker or an Apple TV: it's the same
thing. Because of this, they might show up in the scan results. In the future some
devices might be filtered (like pure AirPlay devices, since you can't connect to them
Expand Down Expand Up @@ -96,7 +96,7 @@ must be done from the beginning again for the next command. This behavior is by
slow.

To get instantaneous feedback, the connection must remain active and commands sent by
re-using the connection. This can be done in many ways, e.g. by implementing a daemon
reusing the connection. This can be done in many ways, e.g. by implementing a daemon
that maintains the connection in the background and receives commands via some interface
(maybe REST). Currently, pyatv does not ship with such a tool since it's first and foremost
a library. You will have to implement a solution that fits your needs.
Expand Down
2 changes: 1 addition & 1 deletion pyatv/protocols/airplay/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def _device_info() -> Dict[str, Any]:
# is set (HasUnifiedAdvertiserInfo). If that flag is set and no RAOP service has
# been found, manually add a service pointing to the AirPlay service. This just
# simplifies the internal handling, but is not very efficient as no connections
# are re-used amongst the protocols.
# are reused amongst the protocols.
if (
AirPlayFlags.HasUnifiedAdvertiserInfo in features
and core.config.get_service(Protocol.RAOP) is None
Expand Down
2 changes: 1 addition & 1 deletion pyatv/protocols/dmap/daap.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _mkurl(self, cmd, *args, session=True, login_id=False):

async def _assure_logged_in(self):
if self._session_id != 0:
_LOGGER.debug("Already logged in, re-using seasion id %d", self._session_id)
_LOGGER.debug("Already logged in, reusing seasion id %d", self._session_id)
else:
await self.login()

Expand Down
2 changes: 1 addition & 1 deletion pyatv/protocols/raop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ async def service_info(
# e.g. "2" which corresponds to "Current User". So we need to filter that.
service.pairing = PairingRequirement.Unsupported
else:
# Same behavior as for AirPlay expected, so re-using that here
# Same behavior as for AirPlay expected, so reusing that here
update_service_details(service)


Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements_docs.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
codespell==2.3.0
codespell==2.4.1
pdoc3==0.11.5
2 changes: 1 addition & 1 deletion scripts/protobuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from google.protobuf.text_format import MessageToString
import requests

# New messages re-using inner message of another type
# New messages reusing inner message of another type
REUSED_MESSAGES = {"DEVICE_INFO_MESSAGE": "DEVICE_INFO_UPDATE_MESSAGE"}

BASE_PATH = os.path.join("pyatv", "protocols", "mrp", "protobuf")
Expand Down
Loading