Advertisement
Guest User

Untitled

a guest
Jul 31st, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. (pyatv) parallels@ubuntu:~/pyatv$ atvremote --address 192.168.0.125 --port 49154 --debug --protocol mrp pair
  2. DEBUG: Connected to device
  3. DEBUG: >> Send (Data=080f122439323339666638382d623166352d346366302d616134332d3036383264653261633235662000a2015a0a2438386533636461322d353130312d343232352d386532332d343663393733346664396137120570796174761a066950686f6e65220531344736302a12636f6d2e6170706c652e545652656d6f746532063237332e31323801)
  4. DEBUG: >> Send: Protobuf=type: DEVICE_INFO_MESSAGE
  5. identifier: "9239ff88-b1f5-4cf0-aa43-0682de2ac25f"
  6. priority: 0
  7. [deviceInfoMessage] {
  8. uniqueIdentifier: "88e3cda2-5101-4225-8e23-46c9734fd9a7"
  9. name: "pyatv"
  10. localizedModelName: "iPhone"
  11. systemBuildVersion: "14G60"
  12. applicationBundleIdentifier: "com.apple.TVRemote"
  13. applicationBundleVersion: "273.12"
  14. protocolVersion: 1
  15. }
  16.  
  17. DEBUG: << Receive (Data=e802080f122439323339666638382d623166352d346366302d616134332d3036383264653261633235662000a201ba020a2438333739363234382d343446382d343831392d423836392d39353441313542373032373512084170706c652054561a094170706c65c2a05456220831374a35353430642a16636f6d2e6170706c652e6d6564696172656d6f7465643801404b480150016211636f6d2e6170706c652e54564d757369636801700178018801029a012434353933373830362d444443332d344144332d424230432d373541423741384634314637a2011134303a63623a63303a62623a32363a6534a80104b00101c00100d2012435323438433142312d314339382d343944302d384346332d424337393439323034334543e80101f00100fa0112636f6d2e6170706c652e706f64636173747382022435323438433142312d314339382d343944302d384346332d4243373934393230343345438xxxxxxxxxxxxxxxxxxx)
  18. DEBUG: << Receive: Protobuf=type: DEVICE_INFO_MESSAGE
  19. identifier: "9239ff88-b1f5-4cf0-aa43-xxxxxxxxxx"
  20. priority: 0
  21. [deviceInfoMessage] {
  22. uniqueIdentifier: "83796248-44F8-4819-B869-xxxxxxxxxxx"
  23. name: "Apple TV"
  24. localizedModelName: "Apple\302\240TV"
  25. systemBuildVersion: "17J5540d"
  26. applicationBundleIdentifier: "com.apple.mediaremoted"
  27. protocolVersion: 1
  28. }
  29.  
  30. DEBUG: >> Send (Data=08242000)
  31. DEBUG: >> Send: Protobuf=type: SET_READY_STATE_MESSAGE
  32. priority: 0
  33.  
  34. DEBUG: >> Send (Data=08102000aa01080801100118012001)
  35. DEBUG: >> Send: Protobuf=type: CLIENT_UPDATES_CONFIG_MESSAGE
  36. priority: 0
  37. [clientUpdatesConfigMessage] {
  38. artworkUpdates: true
  39. nowPlayingUpdates: true
  40. volumeUpdates: true
  41. keyboardUpdates: true
  42. }
  43.  
  44. DEBUG: >> Send (Data=08292000)
  45. DEBUG: >> Send: Protobuf=type: WAKE_DEVICE_MESSAGE
  46. priority: 0
  47.  
  48. DEBUG: >> Send (Data=08222000ba020a0a060001000601011000)
  49. DEBUG: >> Send: Protobuf=type: CRYPTO_PAIRING_MESSAGE
  50. priority: 0
  51. [cryptoPairingMessage] {
  52. pairingData: "\000\001\000\006\001\001"
  53. status: 0
  54. }
  55.  
  56. DEBUG: << Receive (Data=1808222000ba021110b1cbffffffffffffff01180020002800)
  57. DEBUG: << Receive: Protobuf=type: CRYPTO_PAIRING_MESSAGE
  58. priority: 0
  59. [cryptoPairingMessage] {
  60. status: -6735
  61. }
  62.  
  63. Traceback (most recent call last):
  64. File "/home/parallels/pyatv/pyatv/__main__.py", line 482, in _run_application
  65. return await cli_handler(loop)
  66. File "/home/parallels/pyatv/pyatv/__main__.py", line 315, in cli_handler
  67. return await _handle_commands(args, loop)
  68. File "/home/parallels/pyatv/pyatv/__main__.py", line 397, in _handle_commands
  69. ret = await _handle_device_command(args, cmd, atv, loop)
  70. File "/home/parallels/pyatv/pyatv/__main__.py", line 418, in _handle_device_command
  71. DeviceCommands(atv, loop, args), cmd, False, *cmd_args))
  72. File "/home/parallels/pyatv/pyatv/__main__.py", line 448, in _exec_command
  73. value = await tmp(*args)
  74. File "/home/parallels/pyatv/pyatv/__main__.py", line 166, in pair
  75. await self.atv.pairing.start()
  76. File "/home/parallels/pyatv/pyatv/mrp/__init__.py", line 301, in start
  77. await self.pairing_procedure.start_pairing()
  78. File "/home/parallels/pyatv/pyatv/mrp/pairing.py", line 44, in start_pairing
  79. self._atv_salt = pairing_data[tlv8.TLV_SALT]
  80. KeyError: '2'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement