python-airplay icon indicating copy to clipboard operation
python-airplay copied to clipboard

Implement __repr__ to indicate which AirPlay device an instance is connected to

Open cnelson opened this issue 8 years ago • 4 comments

Currently:

>>> AirPlay.find(fast=True)
[<airplay.airplay.AirPlay object at 0x1005d9a90>]

Ideally, something like:

>>> AirPlay.find(fast=True)
[<airplay.airplay.AirPlay self.name / self.host:self.port>]

cnelson avatar Feb 27 '16 05:02 cnelson

Hi, does your code still work with Apple tv3 (latest OS)? I got an empty list back (zeroconf installed)

Regards

qbvn avatar Oct 20 '16 19:10 qbvn

I used it last night and it worked for me. Can other devices find the apple tv on your network? You may try increasing the timeout setting.

cnelson avatar Oct 20 '16 20:10 cnelson

timeout=100, still not working ap = AirPlay.find(timeout=100) ap: <type:'list'>: []

all iDevices can find and stream to the Apple TV.

qbvn avatar Oct 21 '16 16:10 qbvn

@qbvn What python version and OS are you seeing this happen on?

cnelson avatar Dec 21 '16 05:12 cnelson