Closed alteum-Fib closed 2 years ago
Looks like a type in OAPCK I haven't seen before, will have to look into what that is. I'll try to do that as soon as I can. But I can confirm this as a bug.
Ok thanks !
Envoyé de mon iPhone
Le 11 nov. 2021 à 13:01, Pierre Ståhl @.***> a écrit :
Looks like a type in OAPCK I haven't seen before, will have to look into what that is. I'll try to do that as soon as I can. But I can confirm this as a bug.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
This should be fixed by #1491, can you try if it works?
Thanks.
Can you just remind me how to upgrade to this version ?
I am on Raspberry 4
Envoyé de mon iPhone
Le 4 déc. 2021 à 23:04, Pierre Ståhl @.***> a écrit :
This should be fixed by #1491, can you try if it works?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
I'm not sure how you installed it in the first place. Did you follow a guide somewhere? Basic instructions for installing from a PR is here:
https://pyatv.dev/documentation/#specific-branch-or-a-pull-request
I used
pip3 install pyatv
And
pip3 install --upgrade git+https://github.com/postlund/pyatv.git
Error is still there.
I do not know how to install specific branch ? What is the ID ? Or the branch in this case ?
I am not an expert. Sorry
Envoyé de mon iPhone
Le 5 déc. 2021 à 14:19, Pierre Ståhl @.***> a écrit :
I'm not sure how you installed it in the first place. Did you follow a guide somewhere? Basic instructions for installing from a PR is here:
https://pyatv.dev/documentation/#specific-branch-or-a-pull-request
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Start by uninstalling what you have with:
pip3 uninstall pyatv
Then install from the PR with:
pip3 install git+https://github.com/postlund/pyatv.git@refs/pull/1491/head
Thanks !
Envoyé de mon iPhone
Le 5 déc. 2021 à 14:29, Pierre Ståhl @.***> a écrit :
Start by uninstalling what you have with:
pip3 uninstall pyatv Then install from the PR with:
pip3 install @.***/pull/1491/head — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Hi
Got Did not find branch or tag 'refs/pull/1491/head', assuming revision or ref.
But works !!!!!
Direct start of apps (Netflix, amazon etc…) works
Thanks
Pascal
Le 5 déc. 2021 à 14:29, Pierre Ståhl @.***> a écrit :
pip3 install @./pull/1491/head @./pull/1491/head>
It says that for some reason, not sure why. But it still works. Thanks for verifying 👍
Fixed by #1491.
Describe the bug
I try to get a list of available apps (launching an app gives same issue) using
AppleTVAirplayCredentials=$(cat /etc/openhab/shells/TVMgt/AirplayCreds) echo $AppleTVAirplayCredentials echo "" AppleTVCompanionCredentials=$(cat /etc/openhab/shells/TVMgt/CompanionCreds) echo $AppleTVCompanionCredentials echo "" atvremote --debug --id 50:DE:06:9E:50:7C --airplay-credentials $AppleTVAirplayCredentials --companion-credentials $AppleTVCompanionCredentials app_list
I get a bug
see details below
Error log
openhabian@openhabian:/etc/openhab/shells/TVMgt $ echo $AppleTVAirplayCredentials f3feb76354a4d5fc40465eb0e62cd3771f945c334112e43db2049da510cc7feb:1e05b338af74c2589bea18347fc4fbe11611497a6d427bb76534b1cb120f1b92:43434242323538452d393738432d344144332d413232332d364135353433373043323337:37616364396565302d646339652d343866332d393565322d336132396664626563636264 openhabian@openhabian:/etc/openhab/shells/TVMgt $ echo "*****"
openhabian@openhabian:/etc/openhab/shells/TVMgt $ AppleTVCompanionCredentials=$(cat /etc/openhab/shells/TVMgt/CompanionCreds) openhabian@openhabian:/etc/openhab/shells/TVMgt $ echo $AppleTVCompanionCredentials f3feb76354a4d5fc40465eb0e62cd3771f945c334112e43db2049da510cc7feb:7f005ac6baf4ee9c3955019eae64ab630dc2e1bd10b365a2b01bf8168181f08f:43434242323538452d393738432d344144332d413232332d364135353433373043323337:34313836353536332d333533372d346164632d623237632d396633626534306230343062 openhabian@openhabian:/etc/openhab/shells/TVMgt $ echo "*****"
openhabian@openhabian:/etc/openhab/shells/TVMgt $ atvremote --debug --id 50:DE:06:9E:50:7C --airplay-credentials $AppleTVAirplayCredentials --companion-credentials $AppleTVCompanionCredentials app_list 2021-11-11 12:43:19 DEBUG [pyatv.scripts]: Running with pyatv 0.9.6 2021-11-11 12:43:19 DEBUG [pyatv.support.net]: Binding on :5353 2021-11-11 12:43:19 DEBUG [pyatv.support.net]: Binding on 127.0.0.1:0 2021-11-11 12:43:19 DEBUG [pyatv.support.net]: Binding on 192.168.1.15:0 2021-11-11 12:43:19 DEBUG [pyatv.core.scan]: Auto-discovered Séjour at 192.168.1.3:49152 via Protocol.Companion ({'rpmac': '2', 'rphn': 'fb40ca034f3f', 'rpfl': '0xB6782', 'rpha': '5a0c9025f6ac', 'rpmd': 'AppleTV6,2', 'rpvr': '310.7', 'rpad': '9d7dca317601', 'rphi': 'e91bdf0a7d71', 'rpba': '46:58:30:20:45:59', 'rpmrtid': 'CCBB258E-978C-4AD3-A223-6A554370C237'}) 2021-11-11 12:43:19 DEBUG [pyatv.core.scan]: Auto-discovered Séjour at 192.168.1.3:7000 via Protocol.AirPlay ({'acl': '0', 'btaddr': '50:DE:06:A1:DC:C6', 'deviceid': '50:DE:06:9E:50:7C', 'fex': '1d9/St5/FbwI', 'features': '0x4A7FDFD5,0xBC157FDE', 'flags': '0x644', 'gid': '24FC94BF-D653-425E-8954-4FBCDEF0840E', 'igl': '1', 'gcgl': '1', 'model': 'AppleTV6,2', 'protovers': '1.1', 'pi': '74b61028-7078-4e05-9fa7-d7d10c6e8d22', 'psi': 'CCBB258E-978C-4AD3-A223-6A554370C237', 'pk': 'b3702384ff75e79216ffe35fa00bc41b1cf6b8ad99337bb54c33f5738e59239c', 'srcvers': '595.15.41', 'osvers': '15.1.1', 'vv': '2'}) 2021-11-11 12:43:19 DEBUG [pyatv.core.scan]: Auto-discovered 50DE069E507C@Séjour at 192.168.1.3:7000 via Protocol.RAOP ({'cn': '0,1,2,3', 'da': 'true', 'et': '0,3,5', 'ft': '0x4A7FDFD5,0xBC157FDE', 'sf': '0x644', 'md': '0,1,2', 'am': 'AppleTV6,2', 'pk': 'b3702384ff75e79216ffe35fa00bc41b1cf6b8ad99337bb54c33f5738e59239c', 'tp': 'UDP', 'vn': '65537', 'vs': '595.15.41', 'ov': '15.1.1', 'vv': '2'}) 2021-11-11 12:43:19 INFO [pyatv.scripts.atvremote]: Auto-discovered Séjour at 192.168.1.3 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Adding handler for protocol Protocol.AirPlay 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay]: Remote control channel is supported 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Adding handler for protocol Protocol.MRP 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Adding handler for protocol Protocol.Companion 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Adding handler for protocol Protocol.RAOP 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Connecting to protocol: Protocol.AirPlay 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Connected to protocol: Protocol.AirPlay 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Connecting to protocol: Protocol.MRP 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.remote_control]: Setting up remote control connection to 192.168.1.3:7000 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Connected to 192.168.1.3 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.auth]: Setting up new AirPlay Pair-Verify procedure with type AuthenticationType.HAP 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Sending HTTP/1.1 message: b'POST /pair-verify HTTP/1.1\r\nContent-Length: 37\r\nUser-Agent: AirPlay/320.20\r\nConnection: keep-alive\r\nX-Apple-HKP: 3\r\nContent-Type: application/octet-stream\r\n\r\n\x06\x01\x01\x03 \x02\xd8dj\xaf\x1b\x93O\x97\x80\xcax%\xd0\x8f~\xc3\xd4\xdc\x9a\xa7O\xc0\t\xa7}\xe3\xd8!W' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Received: b'HTTP/1.1 200 OK\r\nDate: Thu, 11 Nov 2021 11:43:19 GMT\r\nContent-Length: 159\r\nContent-Type: application/octet-stream\r\nServer: AirTunes/595.15.41\r\n\r\n\x05x\xdb\xfdCH\xcc\xacsS\x8e\xcb\xf0g\x8dI\x03r3\xc4Mo\xdfK\x8f\xf0jk\x80\xc6\xb5\'\x8f\x1c\n\xbf\x03\x92\xdb$\xb6t\x14i\xdc\xb7\xf1"\xef\xdd\t\x14\x11\x93Sq\xf4\r\x8c\xefnf\xe2\x86)\xb8\xda>\xc2\xfev\xc5\xdb\x80 \xc3rEt\x87C\xd9A\x12\xf7\x160I\xc2M\x1a\xb1\xd8#\x1c\xeb21\x8c\xa5\xbf/\x82\x0c\x9f\xd5\x0cH\xed\xf1f\x9d\xd0\x88~\x1e\xc70\xbb9\x88\xa8\x06\x01\x02\x03 g\xb5\xb2\x01e1Dn\xaf\xb6\x17\xa9:7(\xed\xaeV\xcfA\x1by\x11\xdd\xdf\xb8\xcd\xc5\xe8H\x9b\x0c' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Got HTTP response: HttpResponse(protocol='HTTP', version='1.1', code=200, message='OK', headers={'date': 'Thu, 11 Nov 2021 11:43:19 GMT', 'content-length': '159', 'content-type': 'application/octet-stream', 'server': 'AirTunes/595.15.41'}, body=b'\x05x\xdb\xfdCH\xcc\xacsS\x8e\xcb\xf0g\x8dI\x03r3\xc4Mo\xdfK\x8f\xf0jk\x80\xc6\xb5\'\x8f\x1c\n\xbf\x03\x92\xdb$\xb6t\x14i\xdc\xb7\xf1"\xef\xdd\t\x14\x11\x93Sq\xf4\r\x8c\xefnf\xe2\x86)\xb8\xda>\xc2\xfev\xc5\xdb\x80 \xc3rEt\x87C\xd9A\x12\xf7\x160I\xc2M\x1a\xb1\xd8#\x1c\xeb21\x8c\xa5\xbf/\x82\x0c\x9f\xd5\x0cH\xed\xf1f\x9d\xd0\x88~\x1e\xc70\xbb9\x88\xa8\x06\x01\x02\x03 g\xb5\xb2\x01e1Dn\xaf\xb6\x17\xa9:7(\xed\xaeV\xcfA\x1by\x11\xdd\xdf\xb8\xcd\xc5\xe8H\x9b\x0c'): 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.auth.hap]: Device (Encrypted=dbfd4348ccac73538ecbf0678d49037233c44d6fdf4b8ff06a6b80c6b5278f1c0abf0392db24b6741469dcb7f122efdd091411935371f40d8cef6e66e28629b8da3ec2fe76c5db8020c37245748743d94112f7163049c24d1ab1d8231ceb32318ca5bf2f820c9fd50c48edf1669dd0887e1ec730bb3988a8, Public=f3feb76354a4d5fc40465eb0e62cd3771f945c334112e43db2049da510cc7feb) 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Sending HTTP/1.1 message: b'POST /pair-verify HTTP/1.1\r\nContent-Length: 125\r\nUser-Agent: AirPlay/320.20\r\nConnection: keep-alive\r\nX-Apple-HKP: 3\r\nContent-Type: application/octet-stream\r\n\r\n\x06\x01\x03\x05x\xd8\xde\x07\xe96\x85\x81\x0b\x1b\x99\xbd\xfc\xa4c\x8am\x05J)a\x1c\x9b\x00\xcb\xd3[\|<\xff\xbd\xab\xf7\xd9\xcc\xfdd\xe9\x92\xeb\xe7\xce\xd8h.\x86\x1d\xca\xca\xe7\xee\x1a\xee\xea\xca\xb8er\xec\x12\x9e\xf8\xc6J.\xc7\xa54\x03t4\x19\xc9\x0f\x81&6\xe3Sqy\x97}\x8d\x06t\xd9\xd2PP=~\x02P\xdaT\x7f\xf4\xa7T\xfcx\xe1\x84\xb3\x8e\x91\x0f\xc8\xe2\xb3g$y\xbeb\x9f\xf9\r' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Received: b'HTTP/1.1 200 OK\r\nDate: Thu, 11 Nov 2021 11:43:19 GMT\r\nContent-Length: 3\r\nContent-Type: application/octet-stream\r\nServer: AirTunes/595.15.41\r\n\r\n\x06\x01\x04' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Got HTTP response: HttpResponse(protocol='HTTP', version='1.1', code=200, message='OK', headers={'date': 'Thu, 11 Nov 2021 11:43:19 GMT', 'content-length': '3', 'content-type': 'application/octet-stream', 'server': 'AirTunes/595.15.41'}, body=b'\x06\x01\x04'): 2021-11-11 12:43:19 DEBUG [pyatv.auth.hapsrp]: Keys (Input=91c7b037eec1254791ae2a34464daa47273fef30771bb0b4944444debe24e6e3, Output=361b82d8294db8d03eac8d046a8c9208f93dc448c02ca74814909835937dcd03) 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Sending RTSP/1.0 message: b'SETUP rtsp://192.168.1.15/341071835 RTSP/1.0\r\nUser-Agent: AirPlay/540.31\r\nContent-Length: 367\r\nCSeq: 0\r\nDACP-ID: E56578AC1D45A9D6\r\nActive-Remote: 1928029500\r\nClient-Instance: E56578AC1D45A9D6\r\nContent-Type: application/x-apple-binary-plist\r\n\r\nbplist00\xdb\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16XdeviceID\x10\x13isRemoteControlOnlyZmacAddressUmodelTname^osBuildVersionVosNameYosVersion[sessionUUID]sourceVersion^timingProtocol\x10\x11FF:EE:DD:CC:BB:AA\t\x10\x11AA:BB:CC:DD:EE:FFZiPhone10,6UpyatvU18G82YiPhone OSV14.7.1_\x10$8694357E-5F9E-4BE7-A703-0C86577BC453V550.10TNone\x00\x08\x00\x1f\x00(\x00>\x00I\x00O\x00T\x00c\x00j\x00t\x00\x80\x00\x8e\x00\x9d\x00\xb1\x00\xb2\x00\xc6\x00\xd1\x00\xd7\x00\xdd\x00\xe7\x00\xee\x01\x15\x01\x1c\x00\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00\x17\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01!' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Received: b'RTSP/1.0 200 OK\r\nDate: Thu, 11 Nov 2021 11:43:19 GMT\r\nContent-Length: 59\r\nContent-Type: application/x-apple-binary-plist\r\nServer: AirTunes/595.15.41\r\nCSeq: 0\r\n\r\nbplist00\xd1\x01\x02YeventPort\x11\xc0\x05\x08\x0b\x15\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Got RTSP response: HttpResponse(protocol='RTSP', version='1.0', code=200, message='OK', headers={'date': 'Thu, 11 Nov 2021 11:43:19 GMT', 'content-length': '59', 'content-type': 'application/x-apple-binary-plist', 'server': 'AirTunes/595.15.41', 'cseq': '0'}, body=b'bplist00\xd1\x01\x02YeventPort\x11\xc0\x05\x08\x0b\x15\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18'): 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_srp]: Keys (Input=7f859dd5db622c992ce293979cb591e2247db3867640c3d8e78a35345483b2f9, Output=4492ccdf9007d1c2baef32800f999182d0881bc4f6d44f96081c19b5673b8ba3) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Connected to 192.168.1.3:49157 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Sending RTSP/1.0 message: b'RECORD rtsp://192.168.1.15/341071835 RTSP/1.0\r\nUser-Agent: AirPlay/540.31\r\nCSeq: 1\r\nDACP-ID: E56578AC1D45A9D6\r\nActive-Remote: 1928029500\r\nClient-Instance: E56578AC1D45A9D6\r\n\r\n' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Received: b'RTSP/1.0 200 OK\r\nDate: Thu, 11 Nov 2021 11:43:19 GMT\r\nContent-Length: 0\r\nAudio-Latency: 0\r\nServer: AirTunes/595.15.41\r\nCSeq: 1\r\n\r\n' 2021-11-11 12:43:19 DEBUG [pyatv.auth.hapchannel]: Received data (Data=0004765e09bebee0650e35fe872f7e2e2739e725f6751c93840b64a838b3e56056f90e05e09d5190428d6239f827a3ba87889b59b88b183459899af5fa5266f0ca217cd2c700200dff3e74a5fa8e82a78d5519603cb62dc3cfa09f4f1313d608d45a9788811504a2822e6649b468f803831643aa02c88b92eaf3aeccb8539db6ad62ab3b6edac260ea6f0565799c37d850f2b8935e7a845757abaa50c46eacb1a6b056ebf46308fefe4ca20a06af1738d977e3be3331889bef4a8f1c87c9e532bb997266f5ce855054250f568896fdad96378729eceed14a8d43ad1289609b0aa67378a28e579a203e5978bd529fd2b159a14b09eec90d649558d8b6b0267...) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.channels]: Got message on event channel: HttpRequest(method='POST', path='/command', protocol='RTSP', version='1.0', headers={'cseq': '0', 'content-length': '1399', 'content-type': 'application/x-apple-binary-plist'}, body=b'bplist00\xd2\x01\x02\x03\x04TtypeUvalueZupdateInfo\xdf\x10\x18\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f&\'#)*+,-.&0123;#=>?@ASpsiRvv\x10\x14playbackCapabilities\x10\x15canRecordScreenStream[statusFlags\x10\x18keepAliveSendStatsAsBodyTname\x10\x0fprotocolVersion\x10\x11volumeControlType]senderAddressXdeviceIDRpi^screenDemoMode]initialVolumeZfeaturesExZtxtAirPlay\x10\x10supportedFormats]sourceVersion\x10\x16hasUDPMirroringSupportUmodelRpkZmacAddress\x10\x15receiverHDRCapabilityXfeatures\x10$CCBB258E-978C-4AD3-A223-6A554370C237\x10\x02\xd3 !"###\x10\x15supportsInterstitials\x10\x15supportsFPSSecureStop\x10\x1dsupportsUIForAudioOnlyContent\t\t\t\x08\x11\x06D\tf\x00S\x00\xe9\x00j\x00o\x00u\x00rS1.1\x10\x04\x10\x12192.168.1.15:41000\x10\x1150:DE:06:9E:50:7C\x10$74b61028-7078-4e05-9fa7-d7d10c6e8d22\x08#\x00\x00\x00\x00\x00\x00\x00\x00\1d9/St5/FbwIO\x11\x01\x85\x05acl=0\x18btaddr=50:DE:06:A1:DC:C6\x1adeviceid=50:DE:06:9E:50:7C\x10fex=1d9/St5/FbwI\x1efeatures=0x4A7FDFD5,0xBC157FDE\x0bflags=0x644(gid=24FC94BF-D653-425E-8954-4FBCDEF0840E\x05igl=1\x06gcgl=1\x10model=AppleTV6,2\rprotovers=1.1\'pi=74b61028-7078-4e05-9fa7-d7d10c6e8d22(psi=CCBB258E-978C-4AD3-A223-6A554370C237Cpk=b3702384ff75e79216ffe35fa00bc41b1cf6b8ad99337bb54c33f5738e59239c\x11srcvers=595.15.41\rosvers=15.1.1\x04vv=2\xd44567899:\x10\x15lowLatencyAudioStream\screenStream[audioStream\bufferStream\x10\x00\x12\x01D\x08\x00\x12\x00\xe0\x00\x00Y595.15.41\tZAppleTV6,2O\x10 \xb3p#\x84\xffu\xe7\x92\x16\xff\xe3\xa0\x0b\xc4\x1b\x1c\xf6\xb8\xad\x993{\xb5L3\xf5s\x8eY#\x9c\x10\x1150:DE:06:9E:50:7CT4k30\x13\xbc\x15\x7f\xdeJ\x7f\xdf\xd5\x00\x08\x00\r\x00\x12\x00\x18\x00#\x00V\x00Z\x00]\x00t\x00\x8c\x00\x98\x00\xb3\x00\xb8\x00\xca\x00\xde\x00\xec\x00\xf5\x00\xf8\x01\x07\x01\x15\x01 \x01+\x01>\x01L\x01e\x01k\x01n\x01y\x01\x91\x01\x9a\x01\xc1\x01\xc3\x01\xca\x01\xe2\x01\xfa\x02\x1a\x02\x1b\x02\x1c\x02\x1d\x02\x1e\x02!\x02"\x02/\x023\x025\x02J\x02^\x02\x85\x02\x86\x02\x8f\x02\x9c\x04%\x04.\x04F\x04S\x04\x04l\x04n\x04s\x04x\x04\x82\x04\x83\x04\x8e\x04\xb1\x04\xc5\x04\xca\x00\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x00B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\xd3') 2021-11-11 12:43:19 DEBUG [pyatv.auth.hapchannel]: Sending data (Encrypted=4f0012a4cdd1c8d20c9aa7b75d5333a432d9129234d6b4cb083368f79a778f14dfe48251ead309d025af768cd1e97b2b08f38637bd6b8cac0ac08273bc1c616ad76ab59a95a517b4f230cd8024c004f0f5a43d7ffd555789496e43042c56d1edea) 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Got RTSP response: HttpResponse(protocol='RTSP', version='1.0', code=200, message='OK', headers={'date': 'Thu, 11 Nov 2021 11:43:19 GMT', 'content-length': '0', 'audio-latency': '0', 'server': 'AirTunes/595.15.41', 'cseq': '1'}, body=''): 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Sending RTSP/1.0 message: b'SETUP rtsp://192.168.1.15/341071835 RTSP/1.0\r\nUser-Agent: AirPlay/540.31\r\nContent-Length: 298\r\nCSeq: 2\r\nDACP-ID: E56578AC1D45A9D6\r\nActive-Remote: 1928029500\r\nClient-Instance: E56578AC1D45A9D6\r\nContent-Type: application/x-apple-binary-plist\r\n\r\nbplist00\xd1\x01\x02Wstreams\xa1\x03\xd7\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11YchannelID^clientTypeUUIDZclientUUID[controlTypeTseedTtype\x10\x14wantsDedicatedSocket\x10$95EB1BD5-EA6E-47B9-9F53-2B4E7E309D34\x10$1910A70F-DBC0-4242-AF95-115DB30604E1_\x10$A5CC3EE5-1C18-441C-B74F-A9E2DAE7F093\x10\x02\x13q\xec&I\x06\x92\xe2i\x10\x82\t\x08\x0b\x13\x15$.=HTY^u\x9c\xc3\xea\xec\xf5\xf7\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf8' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Received: b'RTSP/1.0 200 OK\r\nDate: Thu, 11 Nov 2021 11:43:19 GMT\r\nContent-Length: 100\r\nContent-Type: application/x-apple-binary-plist\r\nServer: AirTunes/595.15.41\r\nCSeq: 2\r\n\r\nbplist00\xd1\x01\x02Wstreams\xa1\x03\xd3\x04\x05\x06\x07\x08\tTtypeXstreamIDXdataPort\x10\x82\x10\x01\x11\xc0\x06\x08\x0b\x13\x15\x1c!357\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00:' 2021-11-11 12:43:19 DEBUG [pyatv.support.http]: Got RTSP response: HttpResponse(protocol='RTSP', version='1.0', code=200, message='OK', headers={'date': 'Thu, 11 Nov 2021 11:43:19 GMT', 'content-length': '100', 'content-type': 'application/x-apple-binary-plist', 'server': 'AirTunes/595.15.41', 'cseq': '2'}, body=b'bplist00\xd1\x01\x02Wstreams\xa1\x03\xd3\x04\x05\x06\x07\x08\tTtypeXstreamIDXdataPort\x10\x82\x10\x01\x11\xc0\x06\x08\x0b\x13\x15\x1c!357\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00:'): 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_srp]: Keys (Input=50cfeb3679ad31da6b696ad696261f2dc83be731dd175521c9425ae922065f0c, Output=0527f7ef6e1901a0397c2c700417dd97dff0c27b58ab3ae13b225b88b6158d11) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Connected to 192.168.1.3:49158 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Sending data (Encrypted=3c0194fc3908d6717db93f7ec1d54708b53159fece38e4a18f997062c7faaf1fe5b6a790ff2fc8883b4e35a78da2fe612cdcbab63ca7f8968bd6e947ba9d67bbd35f8220ff364deb078371d04487149577b81fc287e5e29a8d575df067e05ccba0451d1572cf03c3f997ff37116e0bcd66dbc53dec77fdf7b68c0d2ae2b12c157d73d09f22ae37910b5f24a4deae2e9a26637251507f543bab3515d1c96dcfc3f032fccba1b6f136f86a7b74db4ece7cb65e4aa31369c378ed7176921c11bc810698675af85dfd9d45873a7c677619035245d2e8921d3bf1ecd78a71673c42ab39874ccc925d1fca9f60cf8fe194080bac6d53b7cefac68682c2d1ce4de29...) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: >> Send: Protobuf: type: DEVICE_INFO_MESSAGE identifier: "00E60451-7310-4A8D-9E54-BFA18218BCCD" errorCode: NoError [deviceInfoMessage] { uniqueIdentifier: "77310c60-358e-403f-a24c-942015a6353d" name: "pyatv" localizedModelName: "iPhone" systemBuildVersion: "18A393" applicationBundleIdentifier: "com.apple.TVRemote" applicationBundleVersion: "344.28" protocolVersion: 1 lastSupportedMessageType: 108 supportsSystemPairing: true allowsPairing: true systemMediaApplication: "com.apple.TVMusic" supportsACL: true supportsSharedQueue: true supportsExtendedMotion: true sharedQueueVersion: 2 deviceClass: iPhone logicalDeviceCount: 1 } uniqueIdentifier: "EC0DF182-5DCD-4E0A-9CE9-36D7E946D8DB" 2021-11-11 12:43:19 DEBUG [pyatv.core.protocol]: Starting heartbeat loop (AirPlay:192.168.1.3) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Received data (Data=200081dc6a0d001d10dd1335d6e7989b73146ab4573ce9cc5fc0752abbce104e9650a8c78bb0f14a02acded5ccd2940031f52a000c086848654f6d6401cb261ef67d18976d1270975d1337f63f44f431bc81302782b415687aca332a1c11bbb2647ca398965f04293a4f996f631d) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Received data (Data=2000d46a122a7f805ec35e86c0cb4e00e1cee7e8f7a2d35ff7fb15ed205c95fce43586aa5a6681e89d37c810a8386000ba844c023105a9d98f73559d48ef6dcb6ad6489ba4c428c1b481eb20be6dfb3601b211782d561e26ecffb8c912a1f359de72a40cb80f7cf94b9ca4efa5633f3e894c40599c4f9821a13e994d68dec76e0606b722a35b394d5f4247712b2584a4d197e363995f22144bbbdea75b43d24e40f570223fdd1ff23ac5c4e0e15c5ac9128c9b4afcd14e584cadc47b5185b2295448b2929af5fa54f2112271e11868f3d2a1a1b62de0d9db2ee6b8be94e79cfc0dac14ff8582f4dac7cc027543602e2d054e862edc37db1b9c7e29dc0dbf0...) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: DEVICE_INFO_MESSAGE identifier: "00E60451-7310-4A8D-9E54-BFA18218BCCD" [deviceInfoMessage] { uniqueIdentifier: "D50DE7F7-6B13-498A-A694-0553690C9766" name: "S\303\251jour" localizedModelName: "Apple\302\240TV" systemBuildVersion: "19J581" applicationBundleIdentifier: "com.apple.mediaremoted" protocolVersion: 1 lastSupportedMessageType: 121 supportsSystemPairing: true allowsPairing: true systemMediaApplication: "com.apple.TVMusic" supportsACL: true supportsSharedQueue: true supportsExtendedMotion: true sharedQueueVersion: 3 deviceUID: "CCBB258E-978C-4AD3-A223-6A554370C237" managedConfigDeviceID: "50:de:06:9e:50:7c" deviceClass: AppleTV logicalDeviceCount: 1 isProxyGroupPlayer: false groupUID: "24FC94BF-D653-425E-8954-4FBCDEF0840E" isGroupLeader: true isAirplayActive: false systemPodcastApplication: "com.apple.podcasts" enderDefaultGroupUID: "24FC94BF-D653-425E-8954-4FBCDEF0840E" airplayReceivers: "TVAirPlay" clusterType: 0 isClusterAware: true modelID: "AppleTV6,2" 40: 0 41: "577E1BCA-2D9B-41C2-A8F8-C515CE8072D4" 42: "24FC94BF-D653-425E-8954-4FBCDEF0840E" 43: "com.apple.TVBooks" } uniqueIdentifier: "633C1164-124D-49A6-BAA7-D8A9AC0B0DD6" 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Sending data (Encrypted=2000c075e961d76b5df6d2aa0856cb7d96061fcfe44e36365074db41c3d0380bebbdcef6cfdb77c088ce90d690bb97d74553) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Sending data (Encrypted=9300c17df3155843a7c30d533abe5bac6d3c096855a9bd42da869b8aed547563234c261bb9377cc35a1f976e76f59cc27d2c5c949b1d3c8ec5a9130f5d804f0f377054c38ff55bc7b58a392db0962502399ba84cc441ed5611930179d3ece0a7012e8b4a3aa86fdaeaccc5ca0f9a7a55063179036120fa13f448a51c48a26a86817d932c39496c5968162c3d584fd0bc1004e4db4a69c20042a58461f61e0de5bda9d0d749) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: >> Send: Protobuf: type: SET_CONNECTION_STATE_MESSAGE errorCode: NoError [setConnectionStateMessage] { state: Connected } uniqueIdentifier: "6926C725-0DB5-4E45-BB5C-0F7CB8893261" 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Sending data (Encrypted=c1009aa5afd96e4f4817f5add0e2d1eeb68b1fce3fdf7fc36eeba3f42753e1eb877c043fa66c2fc79fd106b12342a32ea153e1ef840a0442b5819eb6fced14240ddcaef8e7ef37e86b4d8c560747af14ff65e4f41ed542ece614582072a0c72f53d12bc422baf7082dc0220dceb2616dd6739eb03ab7c384135e4fd31b72d40ace17c36ecbf7ceccc0cb725853f51add48d2b8b7014c956a0a75ac32ba22bbab3b263694ed0f6459dbf75700e9bfc019f70a4c1ebb8f741a35ff12b6b366dc17ead2aa370c87615e9eded6fabc0e334d3810aa) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: >> Send: Protobuf: type: CLIENT_UPDATES_CONFIG_MESSAGE identifier: "AF6284BA-0DA8-44D6-867D-7F2447B0768B" errorCode: NoError [clientUpdatesConfigMessage] { artworkUpdates: true nowPlayingUpdates: false volumeUpdates: true keyboardUpdates: true outputDeviceUpdates: true } uniqueIdentifier: "8ED7EEDA-80BE-40BB-859E-07833E34CA88" 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Received data (Data=2000c502c4f2b93e010e3bd3bbc08182ea8669932940d1dca35e917f4eb19897dc6f28ce9eb54c9f6cf6edece92c99f1e6ba2a004bb2d8c3aac2cf6adcf1454b9a1b06599da617ccd2a5ce74d7f98ee321f607892429be9cbe230f5d37a5bc09a2ad6d5ea6f9c6cfa60129feeb44) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Received data (Data=20007a130208542c34d6adbb4dff38fff5cd53beb038e8b0d5f819a211c14e7d2cbeaa2ecbd6d05245f9a521df6a879d226b2a00f3dd2295b218bd74d9d1b2fb7197e7521e41f263960bd568697cc9c08337eecbe76ea38e4ce858f524ae6906e4e5cce007c570eff6d93059ffcd) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Received data (Data=200017bfb75e0df4f4a0434019e50ac528363b5b3d566b1ae2135bcbe027d40157d8478804408937466c0161c88a21c17e5c2209aaf81182c725f1ed01c790514eb059f052ba3b658f299de1fb7d3a8585ad3525f2f8660673f5b23f415b7b2cf19245e349c6711cc7be1068d593539fa88d04ecaf68db6b8c96e1bbd02874872f441248bc9c6aa649179aa262da5a57a2c8ce0273080ed859f8db5561af84a3fd40ac27d1b60fec8817dd2e5a857b1f3f348afee81312ad11d946e3a088c418bcf8d280958191db74226e33677427ab586350b8b5388de1df03953ac3c56b7528711af4e608b05b032485ebc2397f96a27bed83e1de2f0d78638017bbda5...) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: UPDATE_OUTPUT_DEVICEMESSAGE [updateOutputDeviceMessage] { outputDevices { name: "S\303\251jour" uniqueIdentifier: "CCBB258E-978C-4AD3-A223-6A554370C237" canAccessRemoteAssets: false isRemoteControllable: false isGroupLeader: false isGroupable: true deviceType: Wired deviceSubType: HDMI modelSpecificInfoData: "bplist00\324\001\002\003\004\005\006\007\nX$versionY$archiverT$topX$objects\022\000\001\206\240\020\017NSKeyedArchiver... isLocalDevice: true supportsExternalScreen: false requiresAuthorization: true sourceInfo { routingContextUID: "577E1BCA-2D9B-41C2-A8F8-C515CE8072D4" multipleBuiltInDevices: false } isDeviceGroupable: true canRelayCommunicationChannel: false isProxyGroupPlayer: false canAccessAppleMusic: false canAccessiCloudMusicLibrary: false groupContainsGroupLeader: false supportsBufferedAirPlay: false canPlayEncryptedProgressiveDownloadAssets: true canFetchMediaDataFromSender: true resentsOptimizedUserInterfaceWhenPlayingFetchedAudioOnlyAssets: true isAirPlayReceiverSessionActive: false parentGroupContainsDiscoverableLeader: false isAddedToHomeKit: false volumeCapabilities: 0 supportsHAP: false usingJSONProtocol: false clusterType: 0 primaryUID: "CCBB258E-978C-4AD3-A223-6A554370C237" configuredClusterSize: 0 producesLowFidelityAudio: false 45: 0 47: "AVOutputDeviceBluetoothListeningModeNormal" 48: 0 50: 18446744073709551615 52: 1 } clusterAwareOutputDevices { name: "S\303\251jour" uniqueIdentifier: "CCBB258E-978C-4AD3-A223-6A554370C237" canAccessRemoteAssets: false isRemoteControllable: false isGroupLeader: false isGroupable: true deviceType: Wired deviceSubType: HDMI modelSpecificInfoData: "bplist00\324\001\002\003\004\005\006\007\nX$versionY$archiverT$topX$objects\022\000\001\206\240_\020\017NSKeyedArchiver... isLocalDevice: true supportsExternalScreen: false requiresAuthorization: true sourceInfo { routingContextUID: "577E1BCA-2D9B-41C2-A8F8-C515CE8072D4" multipleBuiltInDevices: false } isDeviceGroupable: true canRelayCommunicationChannel: false isProxyGroupPlayer: false canAccessAppleMusic: false canAccessiCloudMusicLibrary: false groupContainsGroupLeader: false supportsBufferedAirPlay: false canPlayEncryptedProgressiveDownloadAssets: true canFetchMediaDataFromSender: true resentsOptimizedUserInterfaceWhenPlayingFetchedAudioOnlyAssets: true isAirPlayReceiverSessionActive: false parentGroupContainsDiscoverableLeader: false isAddedToHomeKit: false volumeCapabilities: 0 supportsHAP: false usingJSONProtocol: false clusterType: 0 primaryUID: "CCBB258E-978C-4AD3-A223-6A554370C237" configuredClusterSize: 0 producesLowFidelityAudio: false 45: 0 47: "AVOutputDeviceBluetoothListeningModeNormal" 48: 0 50: 18446744073709551615 52: 1 } } uniqueIdentifier: "6E06A9C9-42BB-4B3C-A8E2-BB059D11BE9A" 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: SET_DEFAULT_SUPPORTED_COMMANDS_MESSAGE [setDefaultSupportedCommandsMessage] { supportedCommands { supportedCommands { command: Play enabled: true } supportedCommands { command: PrepareForSetQueue enabled: true } supportedCommands { command: SetPlaybackQueue enabled: true supportedPlaybackQueueTypes: 7 supportedPlaybackQueueTypes: 3 supportedPlaybackQueueTypes: 6 supportedPlaybackQueueTypes: 2 supportedPlaybackQueueTypes: 5 supportedPlaybackQueueTypes: 1 supportedPlaybackQueueTypes: 8 supportedCustomQueueIdentifiers: "com.apple.music.playbackqueue.radio" supportedCustomQueueIdentifiers: "com.apple.music.playbackqueue.tracklist" supportedCustomQueueIdentifiers: "com.apple.MediaPlaybackCore.playbackContextArchive-v1.opack" supportedCustomQueueIdentifiers: "com.apple.mediaplayer.playbackcontext" } supportedCommands { command: SetPlaybackSession } supportedCommands { command: PreloadedPlaybackSession } } displayID: "com.apple.TVMusic" playbackQueueCapabilities { } playerPath { client { bundleIdentifier: "com.apple.TVMusic" } } } uniqueIdentifier: "FB49A4C4-2FD5-44E6-8485-75713DF39F98" 2021-11-11 12:43:19 DEBUG [pyatv.core.protocol]: Dispatching message with type 72 to <bound method PlayerStateManager._handle_set_default_supported_commands of <pyatv.protocols.mrp.player_state.PlayerStateManager object at 0xb4f0ed50>> 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: SET_DEFAULT_SUPPORTED_COMMANDS_MESSAGE [setDefaultSupportedCommandsMessage] { supportedCommands { supportedCommands { command: Play enabled: true } supportedCommands { command: SetPlaybackQueue enabled: true supportedPlaybackQueueTypes: 3 supportedPlaybackQueueTypes: 6 supportedPlaybackQueueTypes: 2 supportedPlaybackQueueTypes: 5 supportedPlaybackQueueTypes: 1 } supportedCommands { command: SetPlaybackSession enabled: true supportedPlaybackSessionTypes: "com.apple.podcasts.MTPlaybackQueueController.GenericQueue" currentPlaybackSessionTypes: "com.apple.podcasts.MTPlaybackQueueController.GenericQueue" } } displayID: "com.apple.podcasts" playbackQueueCapabilities { } playerPath { client { bundleIdentifier: "com.apple.podcasts" } } } uniqueIdentifier: "7E19977C-EEB9-4F81-83CE-F35D759EEA65" 2021-11-11 12:43:19 DEBUG [pyatv.core.protocol]: Dispatching message with type 72 to <bound method PlayerStateManager._handle_set_default_supported_commands of <pyatv.protocols.mrp.player_state.PlayerStateManager object at 0xb4f0ed50>> 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: ORIGIN_CLIENT_PROPERTIES_MESSAGE uniqueIdentifier: "33A85C8F-BF94-4556-9277-448D5836350D" [originClientPropertiesMessage] { lastPlayingTimestamp: 658316789.2998039 } 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: UPDATE_CLIENT_MESSAGE [updateClientMessage] { client { processIdentifier: 144 bundleIdentifier: "com.apple.TVAirPlay" processUserIdentifier: 501 displayName: "AirPlay" } } uniqueIdentifier: "03E256AB-FB5B-401F-9F65-33912B7E7E03" 2021-11-11 12:43:19 DEBUG [pyatv.core.protocol]: Dispatching message with type 55 to <bound method PlayerStateManager._handle_update_client of <pyatv.protocols.mrp.player_state.PlayerStateManager object at 0xb4f0ed50>> 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: SET_STATE_MESSAGE [setStateMessage] { supportedCommands { supportedCommands { command: Play enabled: true } supportedCommands { command: Pause enabled: true } supportedCommands { command: TogglePlayPause enabled: true } supportedCommands { command: Stop enabled: true } supportedCommands { command: NextTrack enabled: true } supportedCommands { command: PreviousTrack enabled: true } supportedCommands { command: BeginFastForward enabled: true } supportedCommands { command: EndFastForward enabled: true } supportedCommands { command: BeginRewind enabled: true } supportedCommands { command: EndRewind enabled: true } supportedCommands { command: AdvanceRepeatMode enabled: true } supportedCommands { command: AdvanceShuffleMode enabled: true } supportedCommands { command: SeekToPlaybackPosition enabled: true } } displayName: "AirPlay" playbackState: Paused playbackQueueCapabilities { } playerPath { origin { displayName: "S\303\251jour" identifier: 1280262988 } client { processIdentifier: 144 bundleIdentifier: "com.apple.TVAirPlay" } player { identifier: "MediaRemote-DefaultPlayer" displayName: "Default Player" 6: 0 } } playbackStateTimestamp: 658323418.717194 } uniqueIdentifier: "C9E3F3FB-0249-4226-ACFD-E7C522462824" 2021-11-11 12:43:19 DEBUG [pyatv.core.protocol]: Dispatching message with type 4 to <bound method PlayerStateManager._handle_set_state of <pyatv.protocols.mrp.player_state.PlayerStateManager object at 0xb4f0ed50>> 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: PLAYER_CLIENT_PROPERTIES_MESSAGE uniqueIdentifier: "70F17440-69B8-4C2A-A63F-69312E270294" [playerClientPropertiesMessage] { playerPath { origin { displayName: "S\303\251jour" identifier: 1280262988 5: 1 } client { processIdentifier: 144 bundleIdentifier: "com.apple.TVAirPlay" processUserIdentifier: 501 displayName: "AirPlay" } player { identifier: "MediaRemote-DefaultPlayer" displayName: "Default Player" 6: 0 } } lastPlayingTimestamp: -63114076800.0 } 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: UNKNOWN_MESSAGE identifier: "AF6284BA-0DA8-44D6-867D-7F2447B0768B" uniqueIdentifier: "567E9F33-228A-4F1B-A35A-D8D3CFFC2CEE" 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Sending data (Encrypted=2000772ea9dcca22fa0ef8201cbb4c6a91a1ea2afb6e14d6f1097780bd93d6df42841ca9758fbc7ab5e358aa200c034fe16c) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Sending data (Encrypted=b4009047210b7cad674bee492acf120a1c30b97563c269643771b0e389b12f63d24e71dd897775ea323727e6c73a021111035aaf99a4b7c6ca16afd45d4e6334d2271cd51c763653279a9b5635b3b6e8b273bab33b7b77825af1e91808dbec3e7e41fd9d548b4988c64cebf023688d06f4e508ad73bdff938a51cb2c9efe7cc91c824feb99922d06005077223142919e525b0354dd8132240c099e8af8e0050996d1dcdf17abdf639e21d7ca27d4018034a22339998e784563ba27ad0feef53cbefc2deb779a) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: >> Send: Protobuf: type: GET_KEYBOARD_SESSION_MESSAGE identifier: "48B52AA3-7299-4724-8A69-036F7B1B8C82" errorCode: NoError uniqueIdentifier: "A23C5CFD-E44B-4A8E-B9F8-2E6796B3A329" 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Received data (Data=200080ace1e6c502e25e87a821c83d0122023d23c31f6a89e154cb1bf7168740122dc32157d4b63babf3f7e8b8ab918e5c612a001ad79c16e2a91e8ddfce1c49c337426d5f6692748c8f1a75d327edf72409196b7298622f91c40f6ec49b92b8c5ef470501caba2278a811cec6b0) 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Received data (Data=20009e6637edefb0484d4666fe34f0b53ce8f50c49b00d83edff0f9f7f4276eec3fb567b9ca0dc71700a7825abe52e84aad1a9004df0721cb1974639e9f20a9c7cb649cc7a8d94558a526aa2fb59ddaa83b90bdb316adb8c812e7a8f69ed135c555673b9589417555018b0cd2e68ec0cb3c7112553bbd37c3ea6138f2d94756667a8277bbcde63bce181177ce781e13a5af8a9ec98189268ea858b2970378828c0ce37b14d3f2b0e7f0ac5072b35935d12db8541a5b1e2f4244effc39df07ad1359fc48b6f11706243c73e0907e893ab57132c2dcfe5de634e915ce19232ee71c4a08505188c9648baabb8786c) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.airplay.mrp_connection]: << Receive: Protobuf: type: KEYBOARD_MESSAGE identifier: "48B52AA3-7299-4724-8A69-036F7B1B8C82" [keyboardMessage] { state: Unknown attributes { inputTraits { autocapitalizationType: None keyboardType: Default returnKeyType: Default enablesReturnKeyAutomatically: false secureTextEntry: false validTextRangeLocation: 0 validTextRangeLength: 0 } } } uniqueIdentifier: "AB9FE97C-DFE8-492E-8FC8-39C606E39807" 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_channel]: Sending data (Encrypted=2000801c465a316d8dc68cea8577ac8fb1acaaf79232576429b3896dbdd4afe5f47b18cbdfdd21af0ca95c3a62771aee2dac) 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Connected to protocol: Protocol.MRP 2021-11-11 12:43:19 DEBUG [pyatv.core.facade]: Connecting to protocol: Protocol.Companion 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.api]: Connect to Companion from API 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.connection]: Connected to companion device 192.168.1.3:49152 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Companion credentials: f3feb76354a4d5fc40465eb0e62cd3771f945c334112e43db2049da510cc7feb:7f005ac6baf4ee9c3955019eae64ab630dc2e1bd10b365a2b01bf8168181f08f:43434242323538452d393738432d344144332d413232332d364135353433373043323337:34313836353536332d333533372d346164632d623237632d396633626534306230343062 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Exchange OPACK: {'_pd': b'\x06\x01\x01\x03 H9\x86\xe6\x1fT\xfaw\x0c\xb6\xe29\x079\xc7no\x0b\x99\x0bs\xc0\xe5\x02\xc9~N4\x1c\x16\xce}', '_auTy': 4} 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Send OPACK: {'_pd': b'\x06\x01\x01\x03 H9\x86\xe6\x1fT\xfaw\x0c\xb6\xe29\x079\xc7no\x0b\x99\x0bs\xc0\xe5\x02\xc9~N4\x1c\x16\xce}', '_auTy': 4, '_x': 2584} 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.connection]: >> Send data (Data=e3435f706491250601010320483986e61f54fa770cb6e2390739c76e6f0b990b73c0e502c97e4e341c16ce7d455f617554790c425f7831180a, FrameType=05) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.connection]: Received data (Data=060000a6e1435f7064919f05781e33635b60b85dd31331e3bffe3dfcc86d8ffb0bdde84ccfae9fc51b80c7d517dba44bc852ffc2acbecc83a05cb05796893fc8f548084b49c64c421f2be6ccdbdcbb08c026273263e531f74cf5bd2f9a8165253a9b07e870809949dae1983c6a3436448d93bce3287876984763676de3843c04d3bca758490601020320e74918c46f286828478f22e7718c28a237a89ab6965f310ee5fe5c582a641174) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Received frame FrameType.PV_Next: b'\xe1C_pd\x91\x9f\x05x\x1e3c[
\xb8]\xd3\x131\xe3\xbf\xfe=\xfc\xc8m\x8f\xfb\x0b\xdd\xe8L\xcf\xae\x9f\xc5\x1b\x80\xc7\xd5\x17\xdb\xa4K\xc8R\xff\xc2\xac\xbe\xcc\x83\xa0\\\xb0W\x96\x89?\xc8\xf5H\x08KI\xc6LB\x1f+\xe6\xcc\xdb\xdc\xbb\x08\xc0&\'2c\xe51\xf7L\xf5\xbd/\x9a\x81e%:\x9b\x07\xe8p\x80\x99I\xda\xe1\x98<j46D\x8d\x93\xbc\xe3(xv\x98Gcgm\xe3\x84<\x04\xd3\xbc\xa7XI\x06\x01\x02\x03 \xe7I\x18\xc4o(h(G\x8f"\xe7q\x8c(\xa27\xa8\x9a\xb6\x96_1\x0e\xe5\xfe\\X*d\x11t' 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Process incoming auth frame (FrameType.PV_Next): {'_pd': b'\x05x\x1e3c[
\xb8]\xd3\x131\xe3\xbf\xfe=\xfc\xc8m\x8f\xfb\x0b\xdd\xe8L\xcf\xae\x9f\xc5\x1b\x80\xc7\xd5\x17\xdb\xa4K\xc8R\xff\xc2\xac\xbe\xcc\x83\xa0\\xb0W\x96\x89?\xc8\xf5H\x08KI\xc6LB\x1f+\xe6\xcc\xdb\xdc\xbb\x08\xc0&\'2c\xe51\xf7L\xf5\xbd/\x9a\x81e%:\x9b\x07\xe8p\x80\x99I\xda\xe1\x98<j46D\x8d\x93\xbc\xe3(xv\x98Gcgm\xe3\x84<\x04\xd3\xbc\xa7XI\x06\x01\x02\x03 \xe7I\x18\xc4o(h(G\x8f"\xe7q\x8c(\xa27\xa8\x9a\xb6\x96_1\x0e\xe5\xfe\Xd\x11t'} 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.auth]: Device (Encrypted=1e33635b60b85dd31331e3bffe3dfcc86d8ffb0bdde84ccfae9fc51b80c7d517dba44bc852ffc2acbecc83a05cb05796893fc8f548084b49c64c421f2be6ccdbdcbb08c026273263e531f74cf5bd2f9a8165253a9b07e870809949dae1983c6a3436448d93bce3287876984763676de3843c04d3bca75849, Public=f3feb76354a4d5fc40465eb0e62cd3771f945c334112e43db2049da510cc7feb) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Exchange OPACK: {'_pd': b'\x06\x01\x03\x05x\xd6\xc2b\xebK\xa6\x1b\xf4]\xd4\xa0\xd4\x9f^\x18\x9a\x99a#\xc1\x11C~\xfc\xfaq:\xc6\xb8\x13\xe8V\xfe\xac$\xb8%\xfe\xeb\xe7\xb1.\xc2\xff\xe0\x84\xd3\xc1O\x0be}\x1f\xa4>)\xe1\xb5\xbe\xb4\xf2a\x1bmy\x83\x1aCXl\\xc78\xa2\x95w9\xce\xcd_\xf5\x12\xfe>j\x13\x0e\x84\xb8I\x06-\x8aks)\xbcx\x8cy\x1e\x07\xdf\xdf\x87\x84\x1e6\x86\xfb\xfa\xe3H\x9c\x01@\x94(\x8e'} 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Send OPACK: {'pd': b'\x06\x01\x03\x05x\xd6\xc2b\xebK\xa6\x1b\xf4]\xd4\xa0\xd4\x9f^\x18\x9a\x99a#\xc1\x11C~\xfc\xfaq:\xc6\xb8*\x13\xe8V\xfe\xac$\xb8%\xfe\xeb\xe7\xb1.\xc2\xff\xe0\x84\xd3\xc1O\x0be}\x1f\xa4>)\xe1\xb5\xbe\xb4\xf2a\x1bmy\x83\x1aCXl\\xc78\xa2\x95w9\xce\xcd\xf5\x12\xfe>j\x13\x0e\x84\xb8I\x06-\x8aks)\xbcx\x8cy\x1e\x07\xdf\xdf\x87\x84\x1e6\x86\xfb\xfa\xe3H\x9c\x01@\x94(\x8e', '_x': 2585} 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.connection]: >> Send data (Data=e2435f7064917d0601030578d6c262eb4ba61bf45dd4a0d49f5e189a996123c111437efcfa713ac6b82a13e856feac24b825feebe7b12ec2ffe084d3c14f0b657d1fa43e29e1b5beb4f2611b6d79831a43586c5cc738a2957739cecd5ff512fe3e6a130e84b849062d8a6b7329bc788c791e07dfdf87841e3686fbfae3489c014094288e425f7831190a, FrameType=06) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.connection]: Received data (Data=06000009e1435f706473060104) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Received frame FrameType.PV_Next: b'\xe1C_pds\x06\x01\x04' 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Process incoming auth frame (FrameType.PV_Next): {'_pd': b'\x06\x01\x04'} 2021-11-11 12:43:19 DEBUG [pyatv.auth.hap_srp]: Keys (Input=689a6494e979110b101d22274c81af8f136b57ee5a152a2be210fe4625223654, Output=9cd956c244153a64915543fac7b807cd0f3d313c44fa5f1bc751f1c27be51014) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.api]: Sending system information 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Exchange OPACK: {'_i': '_systemInfo', '_t': 2, '_c': {'_bf': 0, '_cf': 512, '_clFl': 128, '_i': 'cafecafecafe', '_idsID': b'41865563-3537-4adc-b27c-9f3be40b040b', '_pubID': 'aa:bb:cc:dd:ee:ff', '_sf': 256, '_sv': '170.18', 'model': 'iPhone14,3', 'name': 'pyatv'}, '_x': 2586} 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Send OPACK: {'_i': '_systemInfo', '_t': 2, '_c': {'_bf': 0, '_cf': 512, '_clFl': 128, '_i': 'cafecafecafe', '_idsID': b'41865563-3537-4adc-b27c-9f3be40b040b', '_pubID': 'aa:bb:cc:dd:ee:ff', '_sf': 256, '_sv': '170.18', 'model': 'iPhone14,3', 'name': 'pyatv'}, '_x': 2586} 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.connection]: >> Send data (Data=e4425f694b5f73797374656d496e666f425f740a425f63ea435f626608435f6366310002455f636c466c3080a04c636166656361666563616665465f6964734944912434313836353536332d333533372d346164632d623237632d396633626534306230343062465f70756249445161613a62623a63633a64643a65653a6666435f7366310001435f7376463137302e3138456d6f64656c4a6950686f6e6531342c33446e616d65457079617476425f78311a0a, FrameType=08) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.connection]: >> Send (Encrypted=b09ba9e2deadd3a1ab6d0204bc4228db1233efe24d22162c1b3afb17d657618017904e5ef3aeeef0e481d3b044ee62831ddd82d934883a7b835a04605a6756e2d94224961fa9d90368275d27b8faa84b76c1a717ad189cb78e8605cc0ad68b3d790da780c0d53ccefb7d790b2b42e261bba0ddca200d24d9ad97e067c37dd7409e082211fb0d1152618059604ad7aaf84616a93cad6996690f0370bcf2f794ce1e86e67a0276e5ad5fca44115e856950294b9c87444f30aa7e7eafd50fc2285ffb523513, Header=080000c4) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.connection]: Received data (Data=080013a2993bf8c7790f7b364c700123c03a43ccbdac4f0e4e4d54abb663fb15e09046ffca3accb539ed525a186b47d1d1111fc960cb752f023378edc8d84364ab6fd9f1abf4c12f0acba132fa8389dc57c0f58f044afb5c00df5b549e1ff2e44aca93ac595594901df6623679f5a403e276e386375227ab094db508c388a4460ded30098b52c81395f8e7ec3ac038fdb306a7ef6f91c1087644ad296d24c00d0da3f8b3a065c8884ab2078ff6bd69f1961a93c5e29d8e64ebda396fe2fe28dfab10a23dde078f1732c556c35c0314167139df8900d4a24b3f53abd5e390e9ef67b3b90041f82298b11f9355a4d45351f0047b1cd5c5cc4095373dba9e98b...) 2021-11-11 12:43:19 DEBUG [pyatv.protocols.companion.protocol]: Received frame FrameType.E_OPACK: b'\xe3B_c\xefE_msSt\tE_msRo\x0bE_hkID\x05t\xf6\xe2n\x9b\xcbQO\xa0\x05\xc4\x1b\xff\xe3(\x9fF_pubIDQ46:58:30:20:45:59C_cf1\x00\x02D_stA\xdaa,com.apple.callservicesd.CompanionLinkManagerXcom.apple.SeymourSessionZcom.apple.tvremoteservicesScom.apple.LiveAudio\com.apple.biomesyncd.rapportWcom.apple.coreduet.syncUcom.apple.siri.wakeup\xb0Qcom.apple.SeymourXcom.apple.home.messagingC_svE310.7E_mrIDa$D50DE7F7-6B13-498A-A694-0553690C9766DnameGS\xc3\xa9jourFhkUID\xd1\x05N\x82\xdf\xe8\xfe>\xe6\x9f\x9a\xe5\x98\xfa\xd9\xb0\x9eI_siriInfo\xe5XcollectorElectionVersion5\x00\x00\x00\x00HpeerData\xe6KproductTypeJAppleTV6,2LbuildVersionF19J581VuserAssignedDeviceName\xb8JaceVersionH12.0-19AQhomeAccessoryInfo\xeaHroomName\xb8SassistantIdentifiera0X-HM://A/AC=3D5F5DC2-EEAE-5478-9EDB-2CEECA07716BLmanufacturerJApple Inc.RschemaCategoryType)IisSpeaker\x02EmodelIMP7P2FD/AWloggingUniqueIdentifier\x05\xf6\x0fh\xd4X\x04\t\t2Rv\xb9]\xb9j\x81PuniqueIdentifier\xa4LcategoryTypea$F6D2A2AC-3A6E-4E6F-8196-678ABE909D8E\xb7\xb8RuserInterfaceIdiomDZEUSRdeviceCapabilities\xe1SvoiceTriggerEnabled\tRsharedDataProtoBuf\x92^\x02\x08\x00:\x19https://guzzoni.apple.comH\x00b\x02\x10\x00j\x02\x10\x00p\x01x\x00\x82\x01EAssistant(Apple TV/AppleTV6,2; Apple TVOS/15.1.1/19J581) Ace/12.0-19A\x88\x01\x00\x9a\x01\x07Celsius\xb2\x01\x0b143442-3,33\xba\x01$CCBB258E-978C-4AD3-A223-6A554370C237\xca\x01\xec\x01Akz5HoU8khrUW3M8iCFiz4XE-FKrJgswAaETeMpMLd3kSao01gOsdVINGxlRUYCVHCWh5Wmx-VS8mNnVFi3uMUJ6Z3B5rdhMqmgFYJi4d2titbFwZuqRSwruk44h09xq8llMBD0_J1jWOt5cSoHfoQ9pQH2MQxINeyV3eny7es3vBs6lE8Yh65rUDzvfat-GKFi3X7Q15HODkWo-M9kVVYg6upZvUW1g6O09CwWtG0b\xd0\x01\x01\xda\x01\x07S\xc3\xa9jour\xe2\x01\x9e\x01\n\r\n\x06caller\x12\x03wlk\n\x0f\n\x06locale\x12\x05fr-FR\n)\n\x05utscf\x12 OjAAAAEAAAAAAAIAEAAAAAwADQAOAA~~\n\n\n\x03pfm\x12\x03atv\n\x0c\n\x02sf\x12\x06143442\n\x07\n\x01v\x12\x0252\n.\n\x04utsk\x12&8db77ea11a7737b4::::::1fe5a129413387a1\xea\x01\x07UnknownTdeviceCapabilitiesV2\xd4\x92#\x03bplist00\xd4\x01\x02\x03\x04\x05\x06\x07\nX$versionY$archiverT$topX$objects\x12\x00\x01\x86\xa0\x10\x0fNSKeyedArchiver\xd1\x08\tTroot\x80\x01\xab\x0b\x0c\x11\x19\x1a\x1f &.2U$null\xd2\r\x0e\x0f\x10\x10 SVDVoiceTriggerCapabilityBackingV$class\x80\x02\x80\n\xd4\x12\x0e\x13\x14\x15\x16\x17\x18\x103primitivesMapVoiceTriggerCapability::supportStatusSkey]primitiveKeys\x80\x07\x80\t\x80\x03\x80\x04\x10\x16VoiceTriggerCapability\xd2\x1b\x0e\x1c\x1eZNS.objects\xa1\x1d\x80\x05\x80\x06\x10%VoiceTriggerCapability::supportStatus\xd2!"#$Z$classnameX$classesWNSArray\xa2#%XNSObject\xd2\'\x0e()]supportStatus\x10\x02\x80\x08\xd2!"+,\x10\x1dSVDBooleanCapabilityPrimitive\xa2-%\x10\x1dSVDBooleanCapabilityPrimitive\xd2!"/0\x102SiriVirtualDeviceResolution.VoiceTriggerCapability\xa21%\x102SiriVirtualDeviceResolution.VoiceTriggerCapability\xd2!"34\x10\x19SVDVoiceTriggerCapability\xa356%\x10\x19SVDVoiceTriggerCapability]SVDCapability\x00\x08\x00\x11\x00\x1a\x00$\x00)\x002\x007\x00I\x00L\x00Q\x00S\x00\x00e\x00j\x00\x8d\x00\x94\x00\x96\x00\x98\x00\xa1\x00\xd7\x00\xdb\x00\xe9\x00\xeb\x00\xed\x00\xef\x00\xf1\x01\n\x01\x0f\x01\x1a\x01\x1c\x01\x1e\x01 \x01H\x01M\x01X\x01a\x01i\x01l\x01u\x01z\x01\x88\x01\x8a\x01\x8c\x01\x91\x01\xb1\x01\xb4\x01\xd4\x01\xd9\x02\x0e\x02\x11\x02F\x02K\x02g\x02k\x02\x87\x00\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x007\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x95\x92\x0b\x03bplist00\xd4\x01\x02\x03\x04\x05\x06\x07\nX$versionY$archiverT$topX$objects\x12\x00\x01\x86\xa0_\x10\x0fNSKeyedArchiver\xd1\x08\tTroot\x80\x01\xab\x0b\x0c\x11\x19\x1a\x1f &.2U$null\xd2\r\x0e\x0f\x10\x10\x1dSVDAppLaunchCapabilityBackingV$class\x80\x02\x80\n\xd4\x0e\x12\x13\x14\x15\x16\x17\x18Skey\x100primitivesMapAppLaunchCapability::supportStatus]primitiveKeys\x80\t\x80\x03\x80\x07\x80\x04\x10\x13AppLaunchCapability\xd2\x1b\x0e\x1c\x1eZNS.objects\xa1\x1d\x80\x05\x80\x06\x10"AppLaunchCapability::supportStatus\xd2!"#$Z$classnameX$classesWNSArray\xa2#%XNSObject\xd2\'\x0e()]supportStatus\x10\x01\x80\x08\xd2!"+,\x10\x1dSVDBooleanCapabilityPrimitive\xa2-%\x10\x1dSVDBooleanCapabilityPrimitive\xd2!"/0\x10/SiriVirtualDeviceResolution.AppLaunchCapability\xa21%\x10/SiriVirtualDeviceResolution.AppLaunchCapability\xd2!"34\x10\x16SVDAppLaunchCapability\xa356%\x10\x16SVDAppLaunchCapability]SVDCapability\x00\x08\x00\x11\x00\x1a\x00$\x00)\x002\x007\x00I\x00L\x00Q\x00S\x00\x00e\x00j\x00\x8a\x00\x91\x00\x93\x00\x95\x00\x9e\x00\xa2\x00\xd5\x00\xe3\x00\xe5\x00\xe7\x00\xe9\x00\xeb\x01\x01\x01\x06\x01\x11\x01\x13\x01\x15\x01\x17\x01<\x01A\x01L\x01U\x01]\x01\x01i\x01n\x01|\x01~\x01\x80\x01\x85\x01\xa5\x01\xa8\x01\xc8\x01\xcd\x01\xff\x02\x02\x024\x029\x02R\x02V\x02o\x00\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x007\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02}\x92+\x03bplist00\xd4\x01\x02\x03\x04\x05\x06\x07\nX$versionY$archiverT$topX$objects\x12\x00\x01\x86\xa0_\x10\x0fNSKeyedArchiver\xd1\x08\tTroot\x80\x01\xab\x0b\x0c\x11\x19\x1a\x1f &*.2U$null\xd2\r\x0e\x0f\x10_\x10!SVDVideoPlaybackCapabilityBackingV$class\x80\x02\x80\n\xd4\x0e\x12\x13\x14\x15\x16\x17\x18Skey_\x104primitivesMap_VideoPlaybackCapability::supportStatus]primitiveKeys\x80\t\x80\x03\x80\x07\x80\x04_\x10\x17VideoPlaybackCapability\xd2\x1b\x0e\x1c\x1eZNS.objects\xa1\x1d\x80\x05\x80\x06_\x10&VideoPlaybackCapability::supportStatus\xd2!"#$Z$classnameX$classesWNSArray\xa2#%XNSObject\xd2\'\x0e()]supportStatus\x10\x01\x80\x08\xd2!"+,_\x10\x1dSVDBooleanCapabilityPrimitive\xa2-%_\x10\x1dSVDBooleanCapabilityPrimitive\xd2!"/0_\x103SiriVirtualDeviceResolution.VideoPlaybackCapability\xa21%_\x103SiriVirtualDeviceResolution.VideoPlaybackCapability\xd2!"34_\x10\x1aSVDVideoPlaybackCapability\xa356%_\x10\x1aSVDVideoPlaybackCapability]SVDCapability\x00\x08\x00\x11\x00\x1a\x00$\x00)\x002\x007\x00I\x00L\x00Q\x00S\x00_\x00e\x00j\x00\x8e\x00\x95\x00\x97\x00\x99\x00\xa2\x00\xa6\x00\xdd\x00\xeb\x00\xed\x00\xef\x00\xf1\x00\xf3\x01\r\x01\x12\x01\x1d\x01\x1f\x01!\x01#\x01L\x01Q\x01\\\x01e\x01m\x01p\x01y\x01~\x01\x8c\x01\x8e\x01\x90\x01\x95\x01\xb5\x01\xb8\x01\xd8\x01\xdd\x02\x13\x02\x16\x02L\x02Q\x02n\x02r\x02\x8f\x00\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x007\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x9d\x923\x03bplist00\xd4\x01\x02\x03\x04\x05\x06\x07\nX$versionY$archiverT$topX$objects\x12\x00\x01\x86\xa0_\x10\x0fNSKeyedArchiver\xd1\x08\tTroot\x80\x01\xab\x0b\x0c\x11\x19\x1a\x1f &*.2U$null\xd2\r\x0e\x0f\x10_\x10"SVDSeymourRoutingCapabilityBackingV$class\x80\x02\x80\n\xd4\x12\x0e\x13\x14\x15\x16\x17\x18_\x105primitivesMap_SeymourRoutingCapability::supportStatusSkey]primitiveKeys\x80\x07\x80\t\x80\x03\x80\x04_\x10\x18SeymourRoutingCapability\xd2\x1b\x0e\x1c\x1eZNS.objects\xa1\x1d\x80\x05\x80\x06_\x10\'SeymourRoutingCapability::supportStatus\xd2!"#$Z$classnameX$classesWNSArray\xa2#%XNSObject\xd2\'\x0e()]supportStatus\x10\x01\x80\x08\xd2!"+,_\x10\x1dSVDBooleanCapabilityPrimitive\xa2-%_\x10\x1dSVDBooleanCapabilityPrimitive\xd2!"/0_\x104SiriVirtualDeviceResolution.SeymourRoutingCapability\xa21%_\x104SiriVirtualDeviceResolution.SeymourRoutingCapability\xd2!"34_\x10\x1bSVDSeymourRoutingCapability\xa356%_\x10\x1bSVDSeymourRoutingCapability]SVDCapability\x00\x08\x00\x11\x00\x1a\x00$\x00)\x002\x007\x00I\x00L\x00Q\x00S\x00_\x00e\x00j\x00\x8f\x00\x96\x00\x98\x00\x9a\x00\xa3\x00\xdb\x00\xdf\x00\xed\x00\xef\x00\xf1\x00\xf3\x00\xf5\x01\x10\x01\x15\x01 \x01"\x01$\x01&\x01P\x01U\x01
\x01i\x01q\x01t\x01}\x01\x82\x01\x90\x01\x92\x01\x94\x01\x99\x01\xb9\x01\xbc\x01\xdc\x01\xe1\x02\x18\x02\x1b\x02R\x02W\x02u\x02y\x02\x97\x00\x00\x00\x00\x00\x00\x02\x01\x00\x00\x00\x00\x00\x00\x007\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\xa5G_idsCIDa$b9db6722-3b1b-4e37-862c-934308bf3387B_iL8b816c364dc8F_accIDTpascalwauters@me.comE_clFl1\x80\x00C_bf1\x80\x07\xc1.\xc0I_roomName\xb8F_mRtIDa$CCBB258E-978C-4AD3-A223-6A554370C237F_idsIDa$CEDBEC93-F2D8-445F-A8A5-924D6EA5FF90C_sf2\x00\x00\x01\x00C_dCGunknown\x03B_t\x0bB_x1\x1a\n' 2021-11-11 12:43:19 ERROR [pyatv.protocols.companion.protocol]: failed to process frame Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/protocol.py", line 198, in frame_received opackdata, = opack.unpack(data) File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/opack.py", line 126, in unpack return _unpack(data, []) File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/opack.py", line 209, in _unpack value, ptr = _unpack(ptr, object_list) File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/opack.py", line 203, in _unpack value, ptr = _unpack(ptr, object_list) File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/opack.py", line 222, in _unpack raise TypeError(hex(data[0])) TypeError: 0xc0 2021-11-11 12:43:21 DEBUG [pyatv.core.protocol]: Sending periodic heartbeat 0 (AirPlay:192.168.1.3) 2021-11-11 12:43:21 DEBUG [pyatv.support.http]: Sending RTSP/1.0 message: b'POST /feedback RTSP/1.0\r\nUser-Agent: AirPlay/540.31\r\nCSeq: 3\r\nDACP-ID: E56578AC1D45A9D6\r\nActive-Remote: 1928029500\r\nClient-Instance: E56578AC1D45A9D6\r\n\r\n' 2021-11-11 12:43:21 DEBUG [pyatv.support.http]: Received: b'RTSP/1.0 200 OK\r\nDate: Thu, 11 Nov 2021 11:43:21 GMT\r\nContent-Length: 55\r\nContent-Type: application/x-apple-binary-plist\r\nServer: AirTunes/595.15.41\r\nCSeq: 3\r\n\r\nbplist00\xd1\x01\x02Wstreams\xa0\x08\x0b\x13\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14' 2021-11-11 12:43:21 DEBUG [pyatv.support.http]: Got RTSP response: HttpResponse(protocol='RTSP', version='1.0', code=200, message='OK', headers={'date': 'Thu, 11 Nov 2021 11:43:21 GMT', 'content-length': '55', 'content-type': 'application/x-apple-binary-plist', 'server': 'AirTunes/595.15.41', 'cseq': '3'}, body=b'bplist00\xd1\x01\x02Wstreams\xa0\x08\x0b\x13\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14'): 2021-11-11 12:43:21 DEBUG [pyatv.core.protocol]: Got heartbeat 0 (AirPlay:192.168.1.3) 2021-11-11 12:43:23 DEBUG [pyatv.core.protocol]: Sending periodic heartbeat 1 (AirPlay:192.168.1.3) 2021-11-11 12:43:23 DEBUG [pyatv.support.http]: Sending RTSP/1.0 message: b'POST /feedback RTSP/1.0\r\nUser-Agent: AirPlay/540.31\r\nCSeq: 4\r\nDACP-ID: E56578AC1D45A9D6\r\nActive-Remote: 1928029500\r\nClient-Instance: E56578AC1D45A9D6\r\n\r\n' 2021-11-11 12:43:23 DEBUG [pyatv.support.http]: Received: b'RTSP/1.0 200 OK\r\nDate: Thu, 11 Nov 2021 11:43:23 GMT\r\nContent-Length: 55\r\nContent-Type: application/x-apple-binary-plist\r\nServer: AirTunes/595.15.41\r\nCSeq: 4\r\n\r\nbplist00\xd1\x01\x02Wstreams\xa0\x08\x0b\x13\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14' 2021-11-11 12:43:23 DEBUG [pyatv.support.http]: Got RTSP response: HttpResponse(protocol='RTSP', version='1.0', code=200, message='OK', headers={'date': 'Thu, 11 Nov 2021 11:43:23 GMT', 'content-length': '55', 'content-type': 'application/x-apple-binary-plist', 'server': 'AirTunes/595.15.41', 'cseq': '4'}, body=b'bplist00\xd1\x01\x02Wstreams\xa0\x08\x0b\x13\x00\x00\x00\x00\x00\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14'): 2021-11-11 12:43:23 DEBUG [pyatv.core.protocol]: Got heartbeat 1 (AirPlay:192.168.1.3) Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/api.py", line 155, in _send_command "_c": content, File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/protocol.py", line 157, in exchange_opack return await self._exchange_generic_opack(frame_type, data, identifier, timeout) File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/protocol.py", line 170, in _exchange_generic_opack unpacked_object = await self._queues[identifier].wait(timeout) File "/usr/local/lib/python3.7/dist-packages/pyatv/support/collections.py", line 130, in wait await asyncio.wait_for(self._event.wait(), timeout) File "/usr/lib/python3.7/asyncio/tasks.py", line 423, in wait_for raise futures.TimeoutError() concurrent.futures._base.TimeoutErrorThe above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/pyatv/scripts/atvremote.py", line 719, in _run_application return await cli_handler(loop) File "/usr/local/lib/python3.7/dist-packages/pyatv/scripts/atvremote.py", line 513, in cli_handler return await _handle_commands(args, config, loop) File "/usr/local/lib/python3.7/dist-packages/pyatv/scripts/atvremote.py", line 604, in _handle_commands atv = await connect(config, loop, protocol=args.protocol) File "/usr/local/lib/python3.7/dist-packages/pyatv/init.py", line 103, in connect await atv.connect() File "/usr/local/lib/python3.7/dist-packages/pyatv/core/facade.py", line 470, in connect if await setup_data.connect(): File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/init.py", line 396, in _connect await api.connect() File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/api.py", line 134, in connect await self.system_info() File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/api.py", line 183, in system_info "name": "pyatv", File "/usr/local/lib/python3.7/dist-packages/pyatv/protocols/companion/api.py", line 161, in _send_command raise exceptions.ProtocolError(f"Command {identifier} failed") from ex pyatv.exceptions.ProtocolError: Command _systemInfo failed
How to reproduce the bug?
-
What is expected behavior?
get list of apps
Operating System
linux
Python
3.7
pyatv
0.9.6
Device
15.1
Additional context
-