@sebbo2002/node-pyatv 5.0.0-develop.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/.nycrc +1 -0
  2. package/CHANGELOG.md +26 -0
  3. package/dist/lib/device.d.ts +46 -1
  4. package/dist/lib/device.js +55 -0
  5. package/dist/lib/device.js.map +1 -1
  6. package/dist/lib/index.d.ts +2 -1
  7. package/dist/lib/index.js +2 -1
  8. package/dist/lib/index.js.map +1 -1
  9. package/dist/lib/instance.js +13 -5
  10. package/dist/lib/instance.js.map +1 -1
  11. package/dist/lib/types.d.ts +24 -0
  12. package/docs/coverage/block-navigation.js +8 -0
  13. package/docs/coverage/cobertura-coverage.xml +2818 -7
  14. package/docs/coverage/device-event.ts.html +256 -0
  15. package/docs/coverage/device-events.ts.html +961 -0
  16. package/docs/coverage/device.ts.html +2401 -0
  17. package/docs/coverage/fake-spawn.ts.html +448 -0
  18. package/docs/coverage/favicon.png +0 -0
  19. package/docs/coverage/index.html +132 -22
  20. package/docs/coverage/index.ts.html +62 -48
  21. package/docs/coverage/instance.ts.html +718 -0
  22. package/docs/coverage/sort-arrow-sprite.png +0 -0
  23. package/docs/coverage/sorter.js +26 -0
  24. package/docs/coverage/tools.ts.html +1222 -0
  25. package/docs/coverage/types.ts.html +757 -0
  26. package/docs/reference/assets/highlight.css +18 -4
  27. package/docs/reference/assets/main.js +3 -3
  28. package/docs/reference/assets/search.js +1 -1
  29. package/docs/reference/assets/style.css +6 -82
  30. package/docs/reference/classes/NodePyATVDevice.html +351 -210
  31. package/docs/reference/classes/NodePyATVDeviceEvent.html +27 -20
  32. package/docs/reference/classes/{default.html → NodePyATVInstance.html} +66 -55
  33. package/docs/reference/enums/NodePyATVDeviceState.html +13 -11
  34. package/docs/reference/enums/NodePyATVExecutableType.html +67 -0
  35. package/docs/reference/enums/NodePyATVKeys.html +30 -28
  36. package/docs/reference/enums/NodePyATVListenerState.html +11 -9
  37. package/docs/reference/enums/NodePyATVMediaType.html +11 -9
  38. package/docs/reference/enums/NodePyATVPowerState.html +9 -7
  39. package/docs/reference/enums/NodePyATVProtocol.html +11 -9
  40. package/docs/reference/enums/NodePyATVRepeatState.html +10 -8
  41. package/docs/reference/enums/NodePyATVShuffleState.html +10 -8
  42. package/docs/reference/index.html +59 -6
  43. package/docs/reference/interfaces/NodePyATVDeviceOptions.html +84 -48
  44. package/docs/reference/interfaces/NodePyATVFindAndInstanceOptions.html +50 -49
  45. package/docs/reference/interfaces/NodePyATVFindOptions.html +34 -32
  46. package/docs/reference/interfaces/NodePyATVGetStateOptions.html +10 -8
  47. package/docs/reference/interfaces/NodePyATVInstanceOptions.html +23 -22
  48. package/docs/reference/interfaces/NodePyATVService.html +71 -0
  49. package/docs/reference/interfaces/NodePyATVState.html +22 -20
  50. package/docs/reference/interfaces/NodePyATVVersionResponse.html +9 -7
  51. package/docs/reference/modules.html +23 -8
  52. package/docs/reference/types/NodePyATVEventValueType.html +9 -6
  53. package/docs/tests/index.html +1 -1
  54. package/docs/tests/mochawesome.json +940 -612
  55. package/package.json +8 -8
  56. package/src/lib/device.ts +62 -0
  57. package/src/lib/index.ts +15 -12
  58. package/src/lib/instance.ts +8 -2
  59. package/src/lib/types.ts +26 -0
  60. package/test/device.ts +124 -1
  61. package/test/instance.ts +84 -5
@@ -1,22 +1,24 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDeviceEvent | node-pyatv - v5.0.0-develop.1</title><meta name="description" content="Documentation for node-pyatv - v5.0.0-develop.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDeviceEvent | node-pyatv - v5.1.0</title><meta name="description" content="Documentation for node-pyatv - v5.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
5
  <ul class="results">
6
6
  <li class="state loading">Preparing search index...</li>
7
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.0.0-develop.1</a></div>
7
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.1.0</a></div>
8
8
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
9
9
  <div class="container container-main">
10
10
  <div class="col-8 col-content">
11
11
  <div class="tsd-page-title">
12
12
  <ul class="tsd-breadcrumb">
13
- <li><a href="../modules.html">node-pyatv - v5.0.0-develop.1</a></li>
13
+ <li><a href="../modules.html">node-pyatv - v5.1.0</a></li>
14
14
  <li><a href="NodePyATVDeviceEvent.html">NodePyATVDeviceEvent</a></li></ul>
15
15
  <h1>Class NodePyATVDeviceEvent</h1></div>
16
16
  <section class="tsd-panel tsd-hierarchy">
17
17
  <h4>Hierarchy</h4>
18
18
  <ul class="tsd-hierarchy">
19
- <li><span class="target">NodePyATVDeviceEvent</span></li></ul></section>
19
+ <li><span class="target">NodePyATVDeviceEvent</span></li></ul></section><aside class="tsd-sources">
20
+ <ul>
21
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L6">src/lib/device-event.ts:6</a></li></ul></aside>
20
22
  <section class="tsd-panel-group tsd-index-group">
21
23
  <section class="tsd-panel tsd-index-panel">
22
24
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -35,52 +37,57 @@
35
37
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="device" class="tsd-anchor"></a>
36
38
  <h3 class="tsd-anchor-link"><span>device</span><a href="#device" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
37
39
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
38
- <li class="tsd-signature" id="device.device-1"><span class="tsd-signature-symbol">get</span> device<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></li></ul>
39
- <ul class="tsd-descriptions">
40
+ <li class="tsd-signature" id="device.device-1"><span class="tsd-signature-symbol">get</span> device<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></li>
40
41
  <li class="tsd-description">
41
42
  <div class="tsd-comment tsd-typography"><p>References the device instance this
42
43
  event originates from</p>
43
44
  </div>
44
- <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4></li></ul></section>
45
+ <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
46
+ <ul>
47
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L54">src/lib/device-event.ts:54</a></li></ul></aside></li></ul></section>
45
48
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="key" class="tsd-anchor"></a>
46
49
  <h3 class="tsd-anchor-link"><span>key</span><a href="#key" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
47
50
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
48
- <li class="tsd-signature" id="key.key-1"><span class="tsd-signature-symbol">get</span> key<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a></li></ul>
49
- <ul class="tsd-descriptions">
51
+ <li class="tsd-signature" id="key.key-1"><span class="tsd-signature-symbol">get</span> key<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a></li>
50
52
  <li class="tsd-description">
51
53
  <div class="tsd-comment tsd-typography"><p>References the attribute name which was changed. So if the
52
54
  title has been updated, this would be <code>title</code>.</p>
53
55
  </div>
54
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">keyof </span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a></h4></li></ul></section>
56
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">keyof </span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a></h4><aside class="tsd-sources">
57
+ <ul>
58
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L24">src/lib/device-event.ts:24</a></li></ul></aside></li></ul></section>
55
59
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="newValue" class="tsd-anchor"></a>
56
60
  <h3 class="tsd-anchor-link"><span>new<wbr/>Value</span><a href="#newValue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
57
61
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
58
- <li class="tsd-signature" id="newValue.newValue-1"><span class="tsd-signature-symbol">get</span> newValue<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li></ul>
59
- <ul class="tsd-descriptions">
62
+ <li class="tsd-signature" id="newValue.newValue-1"><span class="tsd-signature-symbol">get</span> newValue<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li>
60
63
  <li class="tsd-description">
61
64
  <div class="tsd-comment tsd-typography">
62
65
  <h3>Alias</h3><p>value</p>
63
66
  </div>
64
- <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4></li></ul></section>
67
+ <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4><aside class="tsd-sources">
68
+ <ul>
69
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L39">src/lib/device-event.ts:39</a></li></ul></aside></li></ul></section>
65
70
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="oldValue" class="tsd-anchor"></a>
66
71
  <h3 class="tsd-anchor-link"><span>old<wbr/>Value</span><a href="#oldValue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
67
72
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
68
- <li class="tsd-signature" id="oldValue.oldValue-1"><span class="tsd-signature-symbol">get</span> oldValue<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li></ul>
69
- <ul class="tsd-descriptions">
73
+ <li class="tsd-signature" id="oldValue.oldValue-1"><span class="tsd-signature-symbol">get</span> oldValue<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li>
70
74
  <li class="tsd-description">
71
75
  <div class="tsd-comment tsd-typography"><p>Holds the old value which was there
72
76
  before the value was changed.</p>
73
77
  </div>
74
- <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4></li></ul></section>
78
+ <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4><aside class="tsd-sources">
79
+ <ul>
80
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L32">src/lib/device-event.ts:32</a></li></ul></aside></li></ul></section>
75
81
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="value" class="tsd-anchor"></a>
76
82
  <h3 class="tsd-anchor-link"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
77
83
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
78
- <li class="tsd-signature" id="value.value-1"><span class="tsd-signature-symbol">get</span> value<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li></ul>
79
- <ul class="tsd-descriptions">
84
+ <li class="tsd-signature" id="value.value-1"><span class="tsd-signature-symbol">get</span> value<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li>
80
85
  <li class="tsd-description">
81
86
  <div class="tsd-comment tsd-typography"><p>New, current value for <code>key</code></p>
82
87
  </div>
83
- <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4></li></ul></section></section></div>
88
+ <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4><aside class="tsd-sources">
89
+ <ul>
90
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L46">src/lib/device-event.ts:46</a></li></ul></aside></li></ul></section></section></div>
84
91
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
85
92
  <div class="tsd-navigation settings">
86
93
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -98,7 +105,7 @@ before the value was changed.</p>
98
105
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
99
106
  <div class="tsd-accordion-details">
100
107
  <ul>
101
- <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.0.0-<wbr/>develop.1</a>
108
+ <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0</a>
102
109
  <ul></ul></li></ul></div></details></nav>
103
110
  <nav class="tsd-navigation secondary menu-sticky">
104
111
  <ul>
@@ -1,28 +1,30 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | node-pyatv - v5.0.0-develop.1</title><meta name="description" content="Documentation for node-pyatv - v5.0.0-develop.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVInstance | node-pyatv - v5.1.0</title><meta name="description" content="Documentation for node-pyatv - v5.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
5
  <ul class="results">
6
6
  <li class="state loading">Preparing search index...</li>
7
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.0.0-develop.1</a></div>
7
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.1.0</a></div>
8
8
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
9
9
  <div class="container container-main">
10
10
  <div class="col-8 col-content">
11
11
  <div class="tsd-page-title">
12
12
  <ul class="tsd-breadcrumb">
13
- <li><a href="../modules.html">node-pyatv - v5.0.0-develop.1</a></li>
14
- <li><a href="default.html">default</a></li></ul>
15
- <h1>Class default</h1></div>
13
+ <li><a href="../modules.html">node-pyatv - v5.1.0</a></li>
14
+ <li><a href="NodePyATVInstance.html">NodePyATVInstance</a></li></ul>
15
+ <h1>Class NodePyATVInstance</h1></div>
16
16
  <section class="tsd-panel tsd-comment">
17
- <div class="tsd-comment tsd-typography"><p>Default class exported by <code>@sebbo2002/node-pyatv</code>. Use <a href="default.html#find">find</a> to scan for devices in your local network. Use
18
- <a href="default.html#device">device</a> to connect to a known device by passing (at least) it&#39;s name and IP.</p>
17
+ <div class="tsd-comment tsd-typography"><p>Default class exported by <code>@sebbo2002/node-pyatv</code>. Use <a href="NodePyATVInstance.html#find">find</a> to scan for devices in your local network. Use
18
+ <a href="NodePyATVInstance.html#device">device</a> to connect to a known device by passing (at least) it&#39;s name and IP.</p>
19
19
  <pre><code class="language-typescript"><span class="hl-2">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-2">from</span><span class="hl-1"> </span><span class="hl-3">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span>
20
20
  </code></pre>
21
21
  </div></section>
22
22
  <section class="tsd-panel tsd-hierarchy">
23
23
  <h4>Hierarchy</h4>
24
24
  <ul class="tsd-hierarchy">
25
- <li><span class="target">default</span></li></ul></section>
25
+ <li><span class="target">NodePyATVInstance</span></li></ul></section><aside class="tsd-sources">
26
+ <ul>
27
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L31">src/lib/instance.ts:31</a></li></ul></aside>
26
28
  <section class="tsd-panel-group tsd-index-group">
27
29
  <section class="tsd-panel tsd-index-panel">
28
30
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -30,26 +32,25 @@
30
32
  <div class="tsd-accordion-details">
31
33
  <section class="tsd-index-section">
32
34
  <h3 class="tsd-index-heading">Constructors</h3>
33
- <div class="tsd-index-list"><a href="default.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
35
+ <div class="tsd-index-list"><a href="NodePyATVInstance.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-512-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-512-text"></path></svg><span>constructor</span></a>
34
36
  </div></section>
35
37
  <section class="tsd-index-section">
36
38
  <h3 class="tsd-index-heading">Methods</h3>
37
- <div class="tsd-index-list"><a href="default.html#check" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>check</span></a>
38
- <a href="default.html#device" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>device</span></a>
39
- <a href="default.html#find" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>find</span></a>
40
- <a href="default.html#version" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>version</span></a>
41
- <a href="default.html#check-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check</span></a>
42
- <a href="default.html#device-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>device</span></a>
43
- <a href="default.html#find-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>find</span></a>
44
- <a href="default.html#version-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>version</span></a>
39
+ <div class="tsd-index-list"><a href="NodePyATVInstance.html#check" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>check</span></a>
40
+ <a href="NodePyATVInstance.html#device" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>device</span></a>
41
+ <a href="NodePyATVInstance.html#find" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>find</span></a>
42
+ <a href="NodePyATVInstance.html#version" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>version</span></a>
43
+ <a href="NodePyATVInstance.html#check-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>check</span></a>
44
+ <a href="NodePyATVInstance.html#device-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>device</span></a>
45
+ <a href="NodePyATVInstance.html#find-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>find</span></a>
46
+ <a href="NodePyATVInstance.html#version-2" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>version</span></a>
45
47
  </div></section></div></details></section></section>
46
48
  <section class="tsd-panel-group tsd-member-group">
47
49
  <h2>Constructors</h2>
48
50
  <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
49
51
  <h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
50
52
  <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
51
- <li class="tsd-signature" id="constructor.new_default">new default<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></li></ul>
52
- <ul class="tsd-descriptions">
53
+ <li class="tsd-signature tsd-anchor-link" id="constructor.new_NodePyATVInstance">new <wbr/>Node<wbr/>PyATVInstance<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVInstance.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVInstance</a><a href="#constructor.new_NodePyATVInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
53
54
  <li class="tsd-description">
54
55
  <div class="tsd-comment tsd-typography"><p>Use this to apply <a href="../interfaces/NodePyATVInstanceOptions.html">NodePyATVInstanceOptions</a>
55
56
  (e.g. debug log method) to all further requests</p>
@@ -61,14 +62,15 @@
61
62
  <ul class="tsd-parameter-list">
62
63
  <li>
63
64
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
64
- <h4 class="tsd-returns-title">Returns <a href="default.html" class="tsd-signature-type" data-tsd-kind="Class">default</a></h4></li></ul></section></section>
65
+ <h4 class="tsd-returns-title">Returns <a href="NodePyATVInstance.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVInstance</a></h4><aside class="tsd-sources">
66
+ <ul>
67
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L160">src/lib/instance.ts:160</a></li></ul></aside></li></ul></section></section>
65
68
  <section class="tsd-panel-group tsd-member-group">
66
69
  <h2>Methods</h2>
67
70
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="check" class="tsd-anchor"></a>
68
71
  <h3 class="tsd-anchor-link"><span>check</span><a href="#check" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
69
72
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
70
- <li class="tsd-signature" id="check.check-1">check<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
71
- <ul class="tsd-descriptions">
73
+ <li class="tsd-signature tsd-anchor-link" id="check.check-1">check<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#check.check-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
72
74
  <li class="tsd-description">
73
75
  <div class="tsd-comment tsd-typography"><p>Checks if pyatv is installed and ready to be used.
74
76
  Will throw an error if not.</p>
@@ -78,12 +80,13 @@ Will throw an error if not.</p>
78
80
  <ul class="tsd-parameter-list">
79
81
  <li>
80
82
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
81
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
83
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
84
+ <ul>
85
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L170">src/lib/instance.ts:170</a></li></ul></aside></li></ul></section>
82
86
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="device" class="tsd-anchor"></a>
83
87
  <h3 class="tsd-anchor-link"><span>device</span><a href="#device" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
84
88
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
85
- <li class="tsd-signature" id="device.device-1">device<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></li></ul>
86
- <ul class="tsd-descriptions">
89
+ <li class="tsd-signature tsd-anchor-link" id="device.device-1">device<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><a href="#device.device-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
87
90
  <li class="tsd-description">
88
91
  <div class="tsd-comment tsd-typography"><p>Create a <a href="NodePyATVDevice.html">NodePyATVDevice</a> to query the state and control it.
89
92
  At least <code>host</code> and <code>name</code> are required.</p>
@@ -93,12 +96,13 @@ At least <code>host</code> and <code>name</code> are required.</p>
93
96
  <ul class="tsd-parameter-list">
94
97
  <li>
95
98
  <h5>options: <a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a></h5></li></ul></div>
96
- <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4></li></ul></section>
99
+ <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
100
+ <ul>
101
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L208">src/lib/instance.ts:208</a></li></ul></aside></li></ul></section>
97
102
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="find" class="tsd-anchor"></a>
98
103
  <h3 class="tsd-anchor-link"><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
99
104
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
100
- <li class="tsd-signature" id="find.find-1">find<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
101
- <ul class="tsd-descriptions">
105
+ <li class="tsd-signature tsd-anchor-link" id="find.find-1">find<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find.find-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
102
106
  <li class="tsd-description">
103
107
  <div class="tsd-comment tsd-typography"><p>Scan the network for Apple TVs by using pyatv&#39;s atvscript. See <a href="../interfaces/NodePyATVFindAndInstanceOptions.html">NodePyATVFindAndInstanceOptions</a>
104
108
  for the options allowed. Use the <code>host</code> / <code>hosts</code> attribute to filter by IP addresses. Resolves with
@@ -111,12 +115,13 @@ an array of <a href="NodePyATVDevice.html">NodePyATVDevice</a>.</p>
111
115
  <ul class="tsd-parameter-list">
112
116
  <li>
113
117
  <h5>options: <a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
114
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
118
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
119
+ <ul>
120
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L198">src/lib/instance.ts:198</a></li></ul></aside></li></ul></section>
115
121
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a>
116
122
  <h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
117
123
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
118
- <li class="tsd-signature" id="version.version-1">version<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
119
- <ul class="tsd-descriptions">
124
+ <li class="tsd-signature tsd-anchor-link" id="version.version-1">version<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#version.version-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
120
125
  <li class="tsd-description">
121
126
  <div class="tsd-comment tsd-typography"><p>Resolves with the version of pyatv and of the module itself.
122
127
  If a value can&#39;t be found, null is returned instead.</p>
@@ -126,12 +131,13 @@ If a value can&#39;t be found, null is returned instead.</p>
126
131
  <ul class="tsd-parameter-list">
127
132
  <li>
128
133
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
129
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
134
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
135
+ <ul>
136
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L180">src/lib/instance.ts:180</a></li></ul></aside></li></ul></section>
130
137
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="check-2" class="tsd-anchor"></a>
131
138
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>check</span><a href="#check-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
132
139
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
133
- <li class="tsd-signature" id="check-2.check-3">check<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
134
- <ul class="tsd-descriptions">
140
+ <li class="tsd-signature tsd-anchor-link" id="check-2.check-3">check<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#check-2.check-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
135
141
  <li class="tsd-description">
136
142
  <div class="tsd-comment tsd-typography"><p>Checks if pyatv is installed and ready to be used.
137
143
  Will throw an error if not.</p>
@@ -141,12 +147,13 @@ Will throw an error if not.</p>
141
147
  <ul class="tsd-parameter-list">
142
148
  <li>
143
149
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
144
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
150
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
151
+ <ul>
152
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L40">src/lib/instance.ts:40</a></li></ul></aside></li></ul></section>
145
153
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="device-2" class="tsd-anchor"></a>
146
154
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>device</span><a href="#device-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
147
155
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
148
- <li class="tsd-signature" id="device-2.device-3">device<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></li></ul>
149
- <ul class="tsd-descriptions">
156
+ <li class="tsd-signature tsd-anchor-link" id="device-2.device-3">device<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><a href="#device-2.device-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
150
157
  <li class="tsd-description">
151
158
  <div class="tsd-comment tsd-typography"><p>Create a <a href="NodePyATVDevice.html">NodePyATVDevice</a> to query the state and control it.
152
159
  At least <code>host</code> and <code>name</code> are required.</p>
@@ -156,12 +163,13 @@ At least <code>host</code> and <code>name</code> are required.</p>
156
163
  <ul class="tsd-parameter-list">
157
164
  <li>
158
165
  <h5>options: <a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a></h5></li></ul></div>
159
- <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4></li></ul></section>
166
+ <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
167
+ <ul>
168
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L144">src/lib/instance.ts:144</a></li></ul></aside></li></ul></section>
160
169
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="find-2" class="tsd-anchor"></a>
161
170
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>find</span><a href="#find-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
162
171
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
163
- <li class="tsd-signature" id="find-2.find-3">find<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
164
- <ul class="tsd-descriptions">
172
+ <li class="tsd-signature tsd-anchor-link" id="find-2.find-3">find<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find-2.find-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
165
173
  <li class="tsd-description">
166
174
  <div class="tsd-comment tsd-typography"><p>Scan the network for Apple TVs by using pyatv&#39;s atvscript. See <a href="../interfaces/NodePyATVFindAndInstanceOptions.html">NodePyATVFindAndInstanceOptions</a>
167
175
  for the options allowed. Use the <code>host</code> / <code>hosts</code> attribute to filter by IP addresses. Resolves with
@@ -174,12 +182,13 @@ an array of <a href="NodePyATVDevice.html">NodePyATVDevice</a>.</p>
174
182
  <ul class="tsd-parameter-list">
175
183
  <li>
176
184
  <h5>options: <a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
177
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
185
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
186
+ <ul>
187
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L112">src/lib/instance.ts:112</a></li></ul></aside></li></ul></section>
178
188
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="version-2" class="tsd-anchor"></a>
179
189
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>version</span><a href="#version-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
180
190
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
181
- <li class="tsd-signature" id="version-2.version-3">version<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
182
- <ul class="tsd-descriptions">
191
+ <li class="tsd-signature tsd-anchor-link" id="version-2.version-3">version<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#version-2.version-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
183
192
  <li class="tsd-description">
184
193
  <div class="tsd-comment tsd-typography"><p>Resolves with the version of pyatv and of the module itself.
185
194
  If a value can&#39;t be found, null is returned instead.</p>
@@ -189,7 +198,9 @@ If a value can&#39;t be found, null is returned instead.</p>
189
198
  <ul class="tsd-parameter-list">
190
199
  <li>
191
200
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
192
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section></section></div>
201
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
202
+ <ul>
203
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L62">src/lib/instance.ts:62</a></li></ul></aside></li></ul></section></section></div>
193
204
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
194
205
  <div class="tsd-navigation settings">
195
206
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -207,21 +218,21 @@ If a value can&#39;t be found, null is returned instead.</p>
207
218
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
208
219
  <div class="tsd-accordion-details">
209
220
  <ul>
210
- <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.0.0-<wbr/>develop.1</a>
221
+ <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0</a>
211
222
  <ul></ul></li></ul></div></details></nav>
212
223
  <nav class="tsd-navigation secondary menu-sticky">
213
224
  <ul>
214
- <li class="current tsd-kind-class"><a href="default.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>default</span></a>
225
+ <li class="current tsd-kind-class"><a href="NodePyATVInstance.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Node<wbr/>PyATVInstance</span></a>
215
226
  <ul>
216
- <li class="tsd-kind-constructor tsd-parent-kind-class"><a href="default.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
217
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="default.html#check" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>check</a></li>
218
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="default.html#device" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>device</a></li>
219
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="default.html#find" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>find</a></li>
220
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="default.html#version" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>version</a></li>
221
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="default.html#check-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>check</a></li>
222
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="default.html#device-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>device</a></li>
223
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="default.html#find-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>find</a></li>
224
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="default.html#version-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>version</a></li></ul></li></ul></nav></div></div>
227
+ <li class="tsd-kind-constructor tsd-parent-kind-class"><a href="NodePyATVInstance.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
228
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVInstance.html#check" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>check</a></li>
229
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVInstance.html#device" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>device</a></li>
230
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVInstance.html#find" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>find</a></li>
231
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVInstance.html#version" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>version</a></li>
232
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVInstance.html#check-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>check</a></li>
233
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVInstance.html#device-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>device</a></li>
234
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVInstance.html#find-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>find</a></li>
235
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVInstance.html#version-2" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>version</a></li></ul></li></ul></nav></div></div>
225
236
  <div class="container tsd-generator">
226
237
  <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
227
238
  <div class="overlay"></div><script src="../assets/main.js"></script></body></html>