Open avnigo opened 2 years ago
Indeed, looks like pyatv introduced an incompatibility in the version 0.9.7. Please try some older versions, 0.9.1 works fine for me.
Just tried pyatv
v0.9.1 and can confirm it works great! I'll add that to my requirements.txt for future reference. Thanks for the help!
These are private APIs and thus can change at any time as FYI.
Hi @stigger, I was excited to come across your repo, thanks for sharing!
After pairing on tvOS 15, I get an
AttributeError
as follows when I try to run./tvscrobbler.py
:At first I thought it had to do with tvOS 15 tunneling AirPlay over MRP, but it looks like it's authenticated correctly, and I see you had already added support for tvOS 15.
After actually looking at the error, it really does seem that
MrpProtocol
found below has noadd_listener
attribute inpyatv.protocols.mrp.protocol.MrpProtocol
:https://github.com/stigger/trakt-for-appletv/blob/40817b0dc251cbddc21618e53bbe3eae901c35fc/scrobbling.py#L58-L64
Am I missing something obvious? I'm not sure if the
pyatv
dependency requires a more specific version than you listed, but I also haven't found anything includingadd_listener
in their commit history either.After spending a while on this, I figured the solution might be very simple, but I'm not that familiar with
pyatv
, so I'd very much appreciate any help. Thanks!